english_tea 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/Gemfile +6 -0
  4. data/LICENSE.txt +21 -0
  5. data/README.md +37 -0
  6. data/Rakefile +10 -0
  7. data/app/assets/stylesheets/english_tea/all.scss +154 -0
  8. data/app/assets/stylesheets/english_tea/border/_index.scss +77 -0
  9. data/app/assets/stylesheets/english_tea/buttons/_index.scss +44 -0
  10. data/app/assets/stylesheets/english_tea/color/_border.scss +32 -0
  11. data/app/assets/stylesheets/english_tea/color/_buttons.scss +182 -0
  12. data/app/assets/stylesheets/english_tea/color/_index.scss +57 -0
  13. data/app/assets/stylesheets/english_tea/color/_jobs.scss +46 -0
  14. data/app/assets/stylesheets/english_tea/color/_social.scss +21 -0
  15. data/app/assets/stylesheets/english_tea/color/_status.scss +25 -0
  16. data/app/assets/stylesheets/english_tea/dimension/_margin.scss +196 -0
  17. data/app/assets/stylesheets/english_tea/dimension/_padding.scss +166 -0
  18. data/app/assets/stylesheets/english_tea/dimension/_position.scss +80 -0
  19. data/app/assets/stylesheets/english_tea/forms/_autocomplete.scss +67 -0
  20. data/app/assets/stylesheets/english_tea/forms/_choices.scss +204 -0
  21. data/app/assets/stylesheets/english_tea/forms/_datepicker.scss +142 -0
  22. data/app/assets/stylesheets/english_tea/forms/_index.scss +246 -0
  23. data/app/assets/stylesheets/english_tea/forms/_media.scss +61 -0
  24. data/app/assets/stylesheets/english_tea/forms/_numeric.scss +47 -0
  25. data/app/assets/stylesheets/english_tea/forms/_range.scss +124 -0
  26. data/app/assets/stylesheets/english_tea/forms/_select.scss +398 -0
  27. data/app/assets/stylesheets/english_tea/forms/_text.scss +51 -0
  28. data/app/assets/stylesheets/english_tea/forms/_uploader.scss +51 -0
  29. data/app/assets/stylesheets/english_tea/layout/_alignment.scss +89 -0
  30. data/app/assets/stylesheets/english_tea/layout/_clearfix.scss +15 -0
  31. data/app/assets/stylesheets/english_tea/layout/_display.scss +93 -0
  32. data/app/assets/stylesheets/english_tea/layout/_flex.scss +266 -0
  33. data/app/assets/stylesheets/english_tea/layout/_float.scss +33 -0
  34. data/app/assets/stylesheets/english_tea/layout/_grid.scss +210 -0
  35. data/app/assets/stylesheets/english_tea/layout/_layers.scss +11 -0
  36. data/app/assets/stylesheets/english_tea/layout/_position.scss +36 -0
  37. data/app/assets/stylesheets/english_tea/layout/_sizing.scss +264 -0
  38. data/app/assets/stylesheets/english_tea/layout/_visibility.scss +121 -0
  39. data/app/assets/stylesheets/english_tea/marketing/_double_login.scss +10 -0
  40. data/app/assets/stylesheets/english_tea/marketing/_index.scss +1350 -0
  41. data/app/assets/stylesheets/english_tea/media/_icons.scss +61 -0
  42. data/app/assets/stylesheets/english_tea/modules/_avatars.scss +40 -0
  43. data/app/assets/stylesheets/english_tea/modules/_billing.scss +60 -0
  44. data/app/assets/stylesheets/english_tea/modules/_box-shadow.scss +11 -0
  45. data/app/assets/stylesheets/english_tea/modules/_bubbles.scss +36 -0
  46. data/app/assets/stylesheets/english_tea/modules/_celebrate.scss +27 -0
  47. data/app/assets/stylesheets/english_tea/modules/_cursors.scss +51 -0
  48. data/app/assets/stylesheets/english_tea/modules/_fadein.scss +38 -0
  49. data/app/assets/stylesheets/english_tea/modules/_index.scss +224 -0
  50. data/app/assets/stylesheets/english_tea/modules/_job_posts.scss +303 -0
  51. data/app/assets/stylesheets/english_tea/modules/_listings.scss +32 -0
  52. data/app/assets/stylesheets/english_tea/modules/_menu.scss +57 -0
  53. data/app/assets/stylesheets/english_tea/modules/_modal.scss +37 -0
  54. data/app/assets/stylesheets/english_tea/modules/_navigation.scss +94 -0
  55. data/app/assets/stylesheets/english_tea/modules/_notification.scss +8 -0
  56. data/app/assets/stylesheets/english_tea/modules/_notifications_stream.scss +18 -0
  57. data/app/assets/stylesheets/english_tea/modules/_overlay.scss +49 -0
  58. data/app/assets/stylesheets/english_tea/modules/_profile.scss +239 -0
  59. data/app/assets/stylesheets/english_tea/modules/_projects.scss +55 -0
  60. data/app/assets/stylesheets/english_tea/modules/_stickybanner.scss +46 -0
  61. data/app/assets/stylesheets/english_tea/modules/_tabs.scss +14 -0
  62. data/app/assets/stylesheets/english_tea/modules/_tiles.scss +401 -0
  63. data/app/assets/stylesheets/english_tea/modules/_tooltips.scss +53 -0
  64. data/app/assets/stylesheets/english_tea/setup/_config.scss +515 -0
  65. data/app/assets/stylesheets/english_tea/setup/_default.scss +286 -0
  66. data/app/assets/stylesheets/english_tea/setup/_functions.scss +110 -0
  67. data/app/assets/stylesheets/english_tea/setup/_mixins.scss +258 -0
  68. data/app/assets/stylesheets/english_tea/setup/_normalize.scss +427 -0
  69. data/app/assets/stylesheets/english_tea/transition/_index.scss +97 -0
  70. data/app/assets/stylesheets/english_tea/typography/_fonts.scss +41 -0
  71. data/app/assets/stylesheets/english_tea/typography/_hierarchy.scss +40 -0
  72. data/app/assets/stylesheets/english_tea/typography/_style.scss +126 -0
  73. data/bin/console +14 -0
  74. data/bin/setup +8 -0
  75. data/english_tea.gemspec +28 -0
  76. data/lib/english_tea/rails/engine.rb +6 -0
  77. data/lib/english_tea/version.rb +3 -0
  78. data/lib/english_tea.rb +5 -0
  79. data/vendor/assets/stylesheets/snapper.scss +83 -0
  80. metadata +179 -0
@@ -0,0 +1,93 @@
1
+ // ==========================================================================
2
+ // Display classes
3
+ // ==========================================================================
4
+
5
+ .inline
6
+ {
7
+ display: inline !important;
8
+ }
9
+
10
+ .block
11
+ {
12
+ display: block !important;
13
+ }
14
+
15
+ .inline-block
16
+ {
17
+ display: inline-block !important;
18
+ }
19
+
20
+ .table
21
+ {
22
+ display: table !important;
23
+ }
24
+
25
+ .table-cell
26
+ {
27
+ display: table-cell !important;
28
+ }
29
+
30
+ // ---
31
+ // OVERFLOW
32
+ // ---
33
+
34
+ .o
35
+ {
36
+ overflow: auto !important;
37
+ }
38
+
39
+ .ox
40
+ {
41
+ overflow-x: auto !important;
42
+ }
43
+
44
+ .oy
45
+ {
46
+ overflow-y: auto !important;
47
+ }
48
+
49
+ .o-hidden
50
+ {
51
+ overflow: hidden !important;
52
+ }
53
+
54
+ .ox-hidden
55
+ {
56
+ overflow-x: hidden !important;
57
+ }
58
+
59
+ .oy-hidden
60
+ {
61
+ overflow-y: hidden !important;
62
+ }
63
+
64
+ .o-scroll
65
+ {
66
+ overflow: scroll !important;
67
+ }
68
+
69
+ .ox-scroll
70
+ {
71
+ overflow-x: scroll !important;
72
+ }
73
+
74
+ .oy-scroll
75
+ {
76
+ overflow-y: scroll !important;
77
+ -webkit-overflow-scrolling: touch;
78
+ }
79
+
80
+ .o-visible
81
+ {
82
+ overflow: visible;
83
+ }
84
+
85
+ .ox-visible
86
+ {
87
+ overflow-x: visible;
88
+ }
89
+
90
+ .oy-visible
91
+ {
92
+ overflow-y: visible;
93
+ }
@@ -0,0 +1,266 @@
1
+ // ==========================================================================
2
+ // Flexbox layout for elements
3
+ // ==========================================================================
4
+
5
+ .flex
6
+ {
7
+ @include display(flex !important);
8
+ @include flex-wrap(wrap !important);
9
+ }
10
+
11
+ .flex-inline
12
+ {
13
+ @include display(inline-flex !important);
14
+ }
15
+
16
+ .flex-column
17
+ {
18
+ @include flex-direction(column !important);
19
+ }
20
+
21
+ @include _bp-prefixer(flex)
22
+ {
23
+ // ---
24
+ // WRAPPING
25
+ // ---
26
+
27
+ &-wrap
28
+ {
29
+ @include flex-wrap(wrap !important);
30
+ }
31
+
32
+ &-nowrap
33
+ {
34
+ @include flex-wrap(nowrap !important);
35
+ }
36
+
37
+ // ---
38
+ // ALIGN ITEMS
39
+ // ---
40
+
41
+ &-top
42
+ {
43
+ @include align-items(flex-start !important);
44
+ }
45
+
46
+ &-middle
47
+ {
48
+ @include align-items(center !important);
49
+ }
50
+
51
+ &-bottom
52
+ {
53
+ @include align-items(flex-end !important);
54
+ }
55
+
56
+ &-stretch
57
+ {
58
+ @include align-items(stretch !important);
59
+ }
60
+
61
+ &-baseline
62
+ {
63
+ @include align-items(baseline !important);
64
+ }
65
+
66
+ // ---
67
+ // ALIGN CONTENT
68
+ // ---
69
+
70
+ &-content-top
71
+ {
72
+ @include align-content(flex-start !important);
73
+ }
74
+
75
+ &-content-middle
76
+ {
77
+ @include align-content(center !important);
78
+ }
79
+
80
+ &-content-bottom
81
+ {
82
+ @include align-content(flex-end !important);
83
+ }
84
+
85
+ &-content-stretch
86
+ {
87
+ @include align-content(stretch !important);
88
+ }
89
+
90
+ &-content-between
91
+ {
92
+ @include align-content(space-between !important);
93
+ }
94
+
95
+ &-content-around
96
+ {
97
+ @include align-content(space-around !important);
98
+ }
99
+
100
+ // ---
101
+ // JUSTIFY CONTENT
102
+ // ---
103
+
104
+ &-left
105
+ {
106
+ @include justify-content(flex-start !important);
107
+ }
108
+
109
+ &-center
110
+ {
111
+ @include justify-content(center !important);
112
+ }
113
+
114
+ &-right
115
+ {
116
+ @include justify-content(flex-end !important);
117
+ }
118
+
119
+ &-between
120
+ {
121
+ @include justify-content(space-between !important);
122
+ }
123
+
124
+ &-around
125
+ {
126
+ @include justify-content(space-around !important);
127
+ }
128
+ }
129
+
130
+ // ---
131
+ // FLEX CHILDREN SHRINK/GROW
132
+ // ---
133
+
134
+ .shrink
135
+ {
136
+ @include flex-shrink(1 !important);
137
+ }
138
+
139
+ .noshrink
140
+ {
141
+ @include flex-shrink(0 !important);
142
+ }
143
+
144
+ .grow
145
+ {
146
+ @include flex-grow(1 !important);
147
+ }
148
+
149
+ .nogrow
150
+ {
151
+ @include flex-grow(0 !important);
152
+ }
153
+
154
+ // ---
155
+ // FLEX CHILDREN SELF
156
+ // ---
157
+
158
+ .self-stretch
159
+ {
160
+ @include align-self(stretch !important);
161
+ }
162
+
163
+ .self-top
164
+ {
165
+ @include align-self(flex-start !important);
166
+ }
167
+
168
+ .self-middle
169
+ {
170
+ @include align-self(center !important);
171
+ }
172
+
173
+ .self-bottom
174
+ {
175
+ @include align-self(flex-end !important);
176
+ }
177
+
178
+ .self-baseline
179
+ {
180
+ @include align-self(baseline !important);
181
+ }
182
+
183
+ // ---
184
+ // FLEX CHILDREN ORDER
185
+ // ---
186
+
187
+ @include _bp-prefixer(order)
188
+ {
189
+ &-first
190
+ {
191
+ @include order(-1);
192
+ }
193
+
194
+ &-last
195
+ {
196
+ @include order(999);
197
+ }
198
+
199
+ &-reset
200
+ {
201
+ @include order(initial);
202
+ }
203
+
204
+ @for $i from 1 through 6
205
+ {
206
+ &#{$i}
207
+ {
208
+ @include order($i);
209
+ }
210
+ }
211
+ }
212
+
213
+ // ---
214
+ // FLEX CHILDREN SIZING
215
+ // ---
216
+
217
+ @include _bp-prefixer(up)
218
+ {
219
+ @for $i from 1 through 10
220
+ {
221
+ &#{$i}
222
+ {
223
+ @include flex-basis(percentage(1 / $i) !important);
224
+ max-width: percentage(1 / $i); // IE11 padding fix
225
+ &.grow {
226
+ max-width: none;
227
+ }
228
+ }
229
+ }
230
+
231
+ &2-3
232
+ {
233
+ @include flex-basis(percentage(2 / 3) !important);
234
+ max-width: percentage(2 / 3); // IE11 padding fix
235
+ &.grow {
236
+ max-width: none;
237
+ }
238
+ }
239
+
240
+ &3-4
241
+ {
242
+ @include flex-basis(percentage(3 / 4) !important);
243
+ max-width: percentage(3 / 4); // IE11 padding fix
244
+ &.grow {
245
+ max-width: none;
246
+ }
247
+ }
248
+
249
+ &4-5
250
+ {
251
+ @include flex-basis(percentage(4 / 5) !important);
252
+ max-width: percentage(4 / 5); // IE11 padding fix
253
+ &.grow {
254
+ max-width: none;
255
+ }
256
+ }
257
+
258
+ &auto
259
+ {
260
+ @include flex-basis(auto !important);
261
+ max-width: none; // IE11 padding fix
262
+ &.grow {
263
+ max-width: none;
264
+ }
265
+ }
266
+ }
@@ -0,0 +1,33 @@
1
+ // ==========================================================================
2
+ // Element float positioning classes
3
+ // ==========================================================================
4
+
5
+ .fl-left
6
+ {
7
+ float: left !important;
8
+ }
9
+
10
+ .fl-right
11
+ {
12
+ float: right !important;
13
+ }
14
+
15
+ .fl-none
16
+ {
17
+ float: none !important;
18
+ }
19
+
20
+ .fl-clear
21
+ {
22
+ clear: both !important;
23
+ }
24
+
25
+ .fl-clear-left
26
+ {
27
+ clear: left !important;
28
+ }
29
+
30
+ .fl-clear-right
31
+ {
32
+ clear: right !important;
33
+ }
@@ -0,0 +1,210 @@
1
+ // ==========================================================================
2
+ // Flexbox-based grid classes
3
+ // ==========================================================================
4
+
5
+ // ---
6
+ // GRID CONTAINER W/GUTTERS
7
+ // ---
8
+
9
+ .g
10
+ {
11
+ @include display(flex !important);
12
+ @include flex-wrap(wrap);
13
+
14
+ padding-right: _rem($base-gutter);
15
+
16
+ @include _mq(map-get($breakpoints, bps))
17
+ {
18
+ padding-right: _rem($base-gutter-large);
19
+ }
20
+
21
+ > .g
22
+ {
23
+ padding-right: 0;
24
+ }
25
+ }
26
+
27
+ // ---
28
+ // FLUSH GRID
29
+ // Force flush (w/breakpoint prefixed versions)
30
+ // ---
31
+
32
+ .g-flush
33
+ {
34
+ padding: 0;
35
+ }
36
+
37
+ @include _bp-prefixer-basic
38
+ {
39
+ &g-flush
40
+ {
41
+ padding: 0;
42
+ }
43
+ }
44
+
45
+ // ---
46
+ // GUTTER GRID
47
+ // Force gutters (w/breakpoint prefixed versions)
48
+ // ---
49
+
50
+ .g-gutter
51
+ {
52
+ padding-right: _rem($base-gutter);
53
+ }
54
+
55
+ @include _bp-prefixer-basic
56
+ {
57
+ &g-gutter
58
+ {
59
+ padding-right: _rem($base-gutter-large);
60
+ }
61
+ }
62
+
63
+ // ---
64
+ // ALIGN ITEMS
65
+ // ---
66
+
67
+ .g-top
68
+ {
69
+ @include align-items(flex-start);
70
+ }
71
+
72
+ .g-middle
73
+ {
74
+ @include align-items(center);
75
+ }
76
+
77
+ .g-bottom
78
+ {
79
+ @include align-items(flex-end);
80
+ }
81
+
82
+ .g-stretch
83
+ {
84
+ @include align-items(stretch);
85
+ }
86
+
87
+ .g-baseline
88
+ {
89
+ @include align-items(baseline);
90
+ }
91
+
92
+ // ---
93
+ // ALIGN CONTENT
94
+ // ---
95
+
96
+ .g-content-top
97
+ {
98
+ @include align-content(flex-start);
99
+ }
100
+
101
+ .g-content-middle
102
+ {
103
+ @include align-content(center);
104
+ }
105
+
106
+ .g-content-bottom
107
+ {
108
+ @include align-content(flex-end);
109
+ }
110
+
111
+ .g-content-stretch
112
+ {
113
+ @include align-content(stretch);
114
+ }
115
+
116
+ .g-content-baseline
117
+ {
118
+ @include align-content(baseline);
119
+ }
120
+
121
+ // ---
122
+ // JUSTIFY CONTENT
123
+ // ---
124
+
125
+ .g-left
126
+ {
127
+ @include justify-content(flex-start);
128
+ }
129
+
130
+ .g-center
131
+ {
132
+ @include justify-content(center);
133
+ }
134
+
135
+ .g-right
136
+ {
137
+ @include justify-content(flex-end);
138
+ }
139
+
140
+ .g-between
141
+ {
142
+ @include justify-content(space-between);
143
+ }
144
+
145
+ .g-around
146
+ {
147
+ @include justify-content(space-around);
148
+ }
149
+
150
+ // ---
151
+ // GRID COLUMNS
152
+ // ---
153
+
154
+ .gc
155
+ {
156
+ @include flex-shrink(0);
157
+ width: 100%;
158
+
159
+ @mixin _generate-cols($cols, $gutter)
160
+ {
161
+ @for $i from 1 through $cols
162
+ {
163
+ &-#{$i}of#{$cols}
164
+ {
165
+ padding-left: $gutter;
166
+ width: percentage($i / $cols);
167
+ }
168
+ }
169
+ }
170
+
171
+ @each $key, $val in $grid-scale
172
+ {
173
+ $_bp: map-get($val, bp);
174
+ $_bp-val: map-get($breakpoints, $_bp);
175
+
176
+ $_cols: map-get($val, cols);
177
+ $_gutter: _rem(map-get($val, gutter));
178
+
179
+ @if $_bp == none
180
+ {
181
+ @include _generate-cols($_cols, $_gutter);
182
+ }
183
+ @else
184
+ {
185
+ @include _mq($_bp-val)
186
+ {
187
+ @include _generate-cols($_cols, $_gutter);
188
+ }
189
+ }
190
+ }
191
+ }
192
+
193
+ // ---
194
+ // FLUSH GRID COLUMN
195
+ // ---
196
+
197
+ .gc-flush
198
+ {
199
+ padding-left: 0;
200
+ }
201
+
202
+ // ---
203
+ // STRETCH-TO-FILL GRID COLUMN
204
+ // ---
205
+
206
+ .gc-fill
207
+ {
208
+ @include flex-grow(1);
209
+ min-width: none;
210
+ }
@@ -0,0 +1,11 @@
1
+ // ==========================================================================
2
+ // Z-Index layers classes
3
+ // ==========================================================================
4
+
5
+ @each $key, $val in $layer-scale
6
+ {
7
+ .z#{$key}
8
+ {
9
+ z-index: $val !important;
10
+ }
11
+ }
@@ -0,0 +1,36 @@
1
+ // ==========================================================================
2
+ // Element positioning classes
3
+ // ==========================================================================
4
+
5
+ .relative
6
+ {
7
+ position: relative;
8
+ }
9
+
10
+ .absolute
11
+ {
12
+ position: absolute;
13
+ }
14
+
15
+ .fixed
16
+ {
17
+ position: fixed;
18
+ }
19
+
20
+ @include _bp-prefixer-basic
21
+ {
22
+ &relative
23
+ {
24
+ position: relative;
25
+ }
26
+
27
+ &absolute
28
+ {
29
+ position: absolute;
30
+ }
31
+
32
+ &fixed
33
+ {
34
+ position: fixed;
35
+ }
36
+ }