english_tea 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +21 -0
- data/README.md +37 -0
- data/Rakefile +10 -0
- data/app/assets/stylesheets/english_tea/all.scss +154 -0
- data/app/assets/stylesheets/english_tea/border/_index.scss +77 -0
- data/app/assets/stylesheets/english_tea/buttons/_index.scss +44 -0
- data/app/assets/stylesheets/english_tea/color/_border.scss +32 -0
- data/app/assets/stylesheets/english_tea/color/_buttons.scss +182 -0
- data/app/assets/stylesheets/english_tea/color/_index.scss +57 -0
- data/app/assets/stylesheets/english_tea/color/_jobs.scss +46 -0
- data/app/assets/stylesheets/english_tea/color/_social.scss +21 -0
- data/app/assets/stylesheets/english_tea/color/_status.scss +25 -0
- data/app/assets/stylesheets/english_tea/dimension/_margin.scss +196 -0
- data/app/assets/stylesheets/english_tea/dimension/_padding.scss +166 -0
- data/app/assets/stylesheets/english_tea/dimension/_position.scss +80 -0
- data/app/assets/stylesheets/english_tea/forms/_autocomplete.scss +67 -0
- data/app/assets/stylesheets/english_tea/forms/_choices.scss +204 -0
- data/app/assets/stylesheets/english_tea/forms/_datepicker.scss +142 -0
- data/app/assets/stylesheets/english_tea/forms/_index.scss +246 -0
- data/app/assets/stylesheets/english_tea/forms/_media.scss +61 -0
- data/app/assets/stylesheets/english_tea/forms/_numeric.scss +47 -0
- data/app/assets/stylesheets/english_tea/forms/_range.scss +124 -0
- data/app/assets/stylesheets/english_tea/forms/_select.scss +398 -0
- data/app/assets/stylesheets/english_tea/forms/_text.scss +51 -0
- data/app/assets/stylesheets/english_tea/forms/_uploader.scss +51 -0
- data/app/assets/stylesheets/english_tea/layout/_alignment.scss +89 -0
- data/app/assets/stylesheets/english_tea/layout/_clearfix.scss +15 -0
- data/app/assets/stylesheets/english_tea/layout/_display.scss +93 -0
- data/app/assets/stylesheets/english_tea/layout/_flex.scss +266 -0
- data/app/assets/stylesheets/english_tea/layout/_float.scss +33 -0
- data/app/assets/stylesheets/english_tea/layout/_grid.scss +210 -0
- data/app/assets/stylesheets/english_tea/layout/_layers.scss +11 -0
- data/app/assets/stylesheets/english_tea/layout/_position.scss +36 -0
- data/app/assets/stylesheets/english_tea/layout/_sizing.scss +264 -0
- data/app/assets/stylesheets/english_tea/layout/_visibility.scss +121 -0
- data/app/assets/stylesheets/english_tea/marketing/_double_login.scss +10 -0
- data/app/assets/stylesheets/english_tea/marketing/_index.scss +1350 -0
- data/app/assets/stylesheets/english_tea/media/_icons.scss +61 -0
- data/app/assets/stylesheets/english_tea/modules/_avatars.scss +40 -0
- data/app/assets/stylesheets/english_tea/modules/_billing.scss +60 -0
- data/app/assets/stylesheets/english_tea/modules/_box-shadow.scss +11 -0
- data/app/assets/stylesheets/english_tea/modules/_bubbles.scss +36 -0
- data/app/assets/stylesheets/english_tea/modules/_celebrate.scss +27 -0
- data/app/assets/stylesheets/english_tea/modules/_cursors.scss +51 -0
- data/app/assets/stylesheets/english_tea/modules/_fadein.scss +38 -0
- data/app/assets/stylesheets/english_tea/modules/_index.scss +224 -0
- data/app/assets/stylesheets/english_tea/modules/_job_posts.scss +303 -0
- data/app/assets/stylesheets/english_tea/modules/_listings.scss +32 -0
- data/app/assets/stylesheets/english_tea/modules/_menu.scss +57 -0
- data/app/assets/stylesheets/english_tea/modules/_modal.scss +37 -0
- data/app/assets/stylesheets/english_tea/modules/_navigation.scss +94 -0
- data/app/assets/stylesheets/english_tea/modules/_notification.scss +8 -0
- data/app/assets/stylesheets/english_tea/modules/_notifications_stream.scss +18 -0
- data/app/assets/stylesheets/english_tea/modules/_overlay.scss +49 -0
- data/app/assets/stylesheets/english_tea/modules/_profile.scss +239 -0
- data/app/assets/stylesheets/english_tea/modules/_projects.scss +55 -0
- data/app/assets/stylesheets/english_tea/modules/_stickybanner.scss +46 -0
- data/app/assets/stylesheets/english_tea/modules/_tabs.scss +14 -0
- data/app/assets/stylesheets/english_tea/modules/_tiles.scss +401 -0
- data/app/assets/stylesheets/english_tea/modules/_tooltips.scss +53 -0
- data/app/assets/stylesheets/english_tea/setup/_config.scss +515 -0
- data/app/assets/stylesheets/english_tea/setup/_default.scss +286 -0
- data/app/assets/stylesheets/english_tea/setup/_functions.scss +110 -0
- data/app/assets/stylesheets/english_tea/setup/_mixins.scss +258 -0
- data/app/assets/stylesheets/english_tea/setup/_normalize.scss +427 -0
- data/app/assets/stylesheets/english_tea/transition/_index.scss +97 -0
- data/app/assets/stylesheets/english_tea/typography/_fonts.scss +41 -0
- data/app/assets/stylesheets/english_tea/typography/_hierarchy.scss +40 -0
- data/app/assets/stylesheets/english_tea/typography/_style.scss +126 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/english_tea.gemspec +28 -0
- data/lib/english_tea/rails/engine.rb +6 -0
- data/lib/english_tea/version.rb +3 -0
- data/lib/english_tea.rb +5 -0
- data/vendor/assets/stylesheets/snapper.scss +83 -0
- metadata +179 -0
@@ -0,0 +1,264 @@
|
|
1
|
+
// ==========================================================================
|
2
|
+
// Element sizing classes
|
3
|
+
// ==========================================================================
|
4
|
+
|
5
|
+
// ---
|
6
|
+
// ELASTIC WIDTHS
|
7
|
+
// ---
|
8
|
+
|
9
|
+
.minstretch
|
10
|
+
{
|
11
|
+
min-width: 100% !important;
|
12
|
+
}
|
13
|
+
|
14
|
+
.minvstretch
|
15
|
+
{
|
16
|
+
min-width: 100vw !important;
|
17
|
+
}
|
18
|
+
|
19
|
+
.fit
|
20
|
+
{
|
21
|
+
max-width: 100% !important;
|
22
|
+
}
|
23
|
+
|
24
|
+
.vfit
|
25
|
+
{
|
26
|
+
max-width: 100vw !important;
|
27
|
+
}
|
28
|
+
|
29
|
+
.unfit
|
30
|
+
{
|
31
|
+
max-width: none !important;
|
32
|
+
}
|
33
|
+
|
34
|
+
.stretch
|
35
|
+
{
|
36
|
+
width: 100% !important;
|
37
|
+
}
|
38
|
+
|
39
|
+
.vstretch
|
40
|
+
{
|
41
|
+
width: 100vw !important;
|
42
|
+
}
|
43
|
+
|
44
|
+
.unstretch
|
45
|
+
{
|
46
|
+
width: auto !important;
|
47
|
+
}
|
48
|
+
|
49
|
+
// ---
|
50
|
+
// ELASTIC HEIGHTS
|
51
|
+
// ---
|
52
|
+
|
53
|
+
.minfull
|
54
|
+
{
|
55
|
+
min-height: 100% !important;
|
56
|
+
}
|
57
|
+
|
58
|
+
.minvfull
|
59
|
+
{
|
60
|
+
min-height: 100vh !important;
|
61
|
+
}
|
62
|
+
|
63
|
+
.maxfull
|
64
|
+
{
|
65
|
+
max-height: 100% !important;
|
66
|
+
}
|
67
|
+
|
68
|
+
.maxvfull
|
69
|
+
{
|
70
|
+
max-height: 100vh !important;
|
71
|
+
}
|
72
|
+
|
73
|
+
.maxunfull
|
74
|
+
{
|
75
|
+
max-height: none !important;
|
76
|
+
}
|
77
|
+
|
78
|
+
.full
|
79
|
+
{
|
80
|
+
height: 100% !important;
|
81
|
+
}
|
82
|
+
|
83
|
+
.vfull
|
84
|
+
{
|
85
|
+
height: 100vh !important;
|
86
|
+
}
|
87
|
+
|
88
|
+
.unfull
|
89
|
+
{
|
90
|
+
height: auto !important;
|
91
|
+
}
|
92
|
+
|
93
|
+
@include _bp-prefixer-basic
|
94
|
+
{
|
95
|
+
// ---
|
96
|
+
// ELASTIC WIDTHS
|
97
|
+
// ---
|
98
|
+
|
99
|
+
&minstretch
|
100
|
+
{
|
101
|
+
min-width: 100% !important;
|
102
|
+
}
|
103
|
+
|
104
|
+
&minvstretch
|
105
|
+
{
|
106
|
+
min-width: 100vw !important;
|
107
|
+
}
|
108
|
+
|
109
|
+
&fit
|
110
|
+
{
|
111
|
+
max-width: 100% !important;
|
112
|
+
}
|
113
|
+
|
114
|
+
&vfit
|
115
|
+
{
|
116
|
+
max-width: 100vw !important;
|
117
|
+
}
|
118
|
+
|
119
|
+
&unfit
|
120
|
+
{
|
121
|
+
max-width: none !important;
|
122
|
+
}
|
123
|
+
|
124
|
+
&stretch
|
125
|
+
{
|
126
|
+
width: 100% !important;
|
127
|
+
}
|
128
|
+
|
129
|
+
&vstretch
|
130
|
+
{
|
131
|
+
width: 100vw !important;
|
132
|
+
}
|
133
|
+
|
134
|
+
&unstretch
|
135
|
+
{
|
136
|
+
width: auto !important;
|
137
|
+
}
|
138
|
+
|
139
|
+
// ---
|
140
|
+
// ELASTIC HEIGHTS
|
141
|
+
// ---
|
142
|
+
|
143
|
+
&minfull
|
144
|
+
{
|
145
|
+
min-height: 100% !important;
|
146
|
+
}
|
147
|
+
|
148
|
+
&minvfull
|
149
|
+
{
|
150
|
+
min-height: 100vh !important;
|
151
|
+
}
|
152
|
+
|
153
|
+
&maxfull
|
154
|
+
{
|
155
|
+
max-height: 100% !important;
|
156
|
+
}
|
157
|
+
|
158
|
+
&maxvfull
|
159
|
+
{
|
160
|
+
max-height: 100vh !important;
|
161
|
+
}
|
162
|
+
|
163
|
+
&maxunfull
|
164
|
+
{
|
165
|
+
max-height: none !important;
|
166
|
+
}
|
167
|
+
|
168
|
+
&full
|
169
|
+
{
|
170
|
+
height: 100% !important;
|
171
|
+
}
|
172
|
+
|
173
|
+
&vfull
|
174
|
+
{
|
175
|
+
height: 100vh !important;
|
176
|
+
}
|
177
|
+
|
178
|
+
&unfull
|
179
|
+
{
|
180
|
+
height: auto !important;
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
// ---
|
185
|
+
// MAX WIDTH
|
186
|
+
// Width limited section
|
187
|
+
// ---
|
188
|
+
|
189
|
+
.mw
|
190
|
+
{
|
191
|
+
margin-right: auto;
|
192
|
+
margin-left: auto;
|
193
|
+
max-width: _rem($max-width);
|
194
|
+
padding-right: _rem($base-gutter);
|
195
|
+
padding-left: _rem($base-gutter);
|
196
|
+
|
197
|
+
@include _mq(map-get($breakpoints, bps))
|
198
|
+
{
|
199
|
+
padding-right: _rem($base-gutter-large);
|
200
|
+
padding-left: _rem($base-gutter-large);
|
201
|
+
}
|
202
|
+
}
|
203
|
+
|
204
|
+
// ---
|
205
|
+
// COPY AND FORM SECTIONS
|
206
|
+
// Set a measure for freeform text and form sections
|
207
|
+
// ---
|
208
|
+
|
209
|
+
.mw-copy
|
210
|
+
{
|
211
|
+
max-width: _rem($max-measure-type);
|
212
|
+
}
|
213
|
+
|
214
|
+
.mw-form
|
215
|
+
{
|
216
|
+
max-width: _rem($max-measure-form);
|
217
|
+
}
|
218
|
+
|
219
|
+
.mw-callout
|
220
|
+
{
|
221
|
+
max-width: _rem($max-measure-callout);
|
222
|
+
}
|
223
|
+
|
224
|
+
// ---
|
225
|
+
// FIXED WIDTHS
|
226
|
+
// ---
|
227
|
+
|
228
|
+
@include _bp-prefixer(w)
|
229
|
+
{
|
230
|
+
@each $key, $val in $fixed-widths
|
231
|
+
{
|
232
|
+
&#{$key}
|
233
|
+
{
|
234
|
+
max-width: _rem($val) !important; // Make safari behave
|
235
|
+
width: _rem($val) !important;
|
236
|
+
}
|
237
|
+
}
|
238
|
+
}
|
239
|
+
|
240
|
+
// ---
|
241
|
+
// MIN/MAX FIXED HEIGHTS
|
242
|
+
// ---
|
243
|
+
|
244
|
+
@include _bp-prefixer(minh)
|
245
|
+
{
|
246
|
+
@for $i from 0 through 10
|
247
|
+
{
|
248
|
+
&#{$i + 1}
|
249
|
+
{
|
250
|
+
min-height: _rem(($i) * 50 + 100px) !important;
|
251
|
+
}
|
252
|
+
}
|
253
|
+
}
|
254
|
+
|
255
|
+
@include _bp-prefixer(maxh)
|
256
|
+
{
|
257
|
+
@for $i from 0 through 10
|
258
|
+
{
|
259
|
+
&#{$i + 1}
|
260
|
+
{
|
261
|
+
max-height: _rem(($i) * 50 + 100px) !important;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
}
|
@@ -0,0 +1,121 @@
|
|
1
|
+
// ==========================================================================
|
2
|
+
// Element visibility classes
|
3
|
+
// ==========================================================================
|
4
|
+
|
5
|
+
.hide
|
6
|
+
{
|
7
|
+
display: none !important;
|
8
|
+
}
|
9
|
+
|
10
|
+
.show
|
11
|
+
{
|
12
|
+
display: block !important;
|
13
|
+
}
|
14
|
+
|
15
|
+
.show-inline-block
|
16
|
+
{
|
17
|
+
display: inline-block !important;
|
18
|
+
}
|
19
|
+
|
20
|
+
.show-inline
|
21
|
+
{
|
22
|
+
display: inline !important;
|
23
|
+
}
|
24
|
+
|
25
|
+
.show-flex
|
26
|
+
{
|
27
|
+
@include display(flex !important);
|
28
|
+
}
|
29
|
+
|
30
|
+
.invisible
|
31
|
+
{
|
32
|
+
visibility: hidden !important;
|
33
|
+
}
|
34
|
+
|
35
|
+
.visible
|
36
|
+
{
|
37
|
+
visibility: visible !important;
|
38
|
+
}
|
39
|
+
|
40
|
+
@include _bp-prefixer-basic
|
41
|
+
{
|
42
|
+
&hide
|
43
|
+
{
|
44
|
+
display: none !important;
|
45
|
+
}
|
46
|
+
|
47
|
+
&show
|
48
|
+
{
|
49
|
+
display: block !important;
|
50
|
+
}
|
51
|
+
|
52
|
+
&show-inline-block
|
53
|
+
{
|
54
|
+
display: inline-block !important;
|
55
|
+
}
|
56
|
+
|
57
|
+
&show-inline
|
58
|
+
{
|
59
|
+
display: inline !important;
|
60
|
+
}
|
61
|
+
|
62
|
+
&show-flex
|
63
|
+
{
|
64
|
+
@include display(flex !important);
|
65
|
+
}
|
66
|
+
|
67
|
+
&invisible
|
68
|
+
{
|
69
|
+
visibility: hidden !important;
|
70
|
+
}
|
71
|
+
|
72
|
+
&visible
|
73
|
+
{
|
74
|
+
visibility: visible !important;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
.touchevents .hide-touch
|
79
|
+
{
|
80
|
+
display: none !important;
|
81
|
+
}
|
82
|
+
|
83
|
+
.hide-text
|
84
|
+
{
|
85
|
+
text-indent: -999em;
|
86
|
+
}
|
87
|
+
|
88
|
+
.hide-visually,
|
89
|
+
.visually-hidden
|
90
|
+
{
|
91
|
+
border: 0;
|
92
|
+
clip: rect(0 0 0 0);
|
93
|
+
height: 1px;
|
94
|
+
margin: -1px;
|
95
|
+
overflow: hidden;
|
96
|
+
padding: 0;
|
97
|
+
position: absolute;
|
98
|
+
width: 1px;
|
99
|
+
}
|
100
|
+
|
101
|
+
// ---
|
102
|
+
// TRANSPARENCY
|
103
|
+
// ---
|
104
|
+
|
105
|
+
@each $key, $val in $opacity-scale
|
106
|
+
{
|
107
|
+
.trans#{$key}
|
108
|
+
{
|
109
|
+
opacity: $val;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
// ---
|
114
|
+
// BLUR SECTION
|
115
|
+
// ---
|
116
|
+
|
117
|
+
.blur
|
118
|
+
{
|
119
|
+
@include _will-change();
|
120
|
+
@include filter(blur(10px));
|
121
|
+
}
|