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,21 @@
1
+ // ==========================================================================
2
+ // Social network color declaration classes
3
+ // ==========================================================================
4
+
5
+ @each $key, $val in $colors-social
6
+ {
7
+ .c-txt-soc-#{$key}
8
+ {
9
+ color: $val !important;
10
+ }
11
+
12
+ .c-fill-soc-#{$key}
13
+ {
14
+ background-color: $val !important;
15
+ }
16
+
17
+ .c-b-soc-#{$key}
18
+ {
19
+ border-color: $val !important;
20
+ }
21
+ }
@@ -0,0 +1,25 @@
1
+ // ==========================================================================
2
+ // Status color declaration classes
3
+ // Pulled from $colors and $colors-status
4
+ // ==========================================================================
5
+
6
+ @each $key, $val in $colors-status
7
+ {
8
+ @each $_key, $_val in $val
9
+ {
10
+ .c-txt-#{$key}#{$_key}
11
+ {
12
+ color: $_val !important;
13
+ }
14
+
15
+ .c-fill-#{$key}#{$_key}
16
+ {
17
+ background-color: $_val !important;
18
+ }
19
+
20
+ .c-b-#{$key}#{$_key}
21
+ {
22
+ border-color: $_val !important;
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,196 @@
1
+ // ==========================================================================
2
+ // Margin dimension classes
3
+ // ==========================================================================
4
+
5
+ @include _bp-prefixer(m)
6
+ {
7
+ // ---
8
+ // HALF BASE RHYTHM SHORTHANDS
9
+ // ---
10
+
11
+ &half
12
+ {
13
+ margin: _rem($base-rhythm-half) !important;
14
+ }
15
+
16
+ &thalf
17
+ {
18
+ margin-top: _rem($base-rhythm-half) !important;
19
+ }
20
+
21
+ &rhalf
22
+ {
23
+ margin-right: _rem($base-rhythm-half) !important;
24
+ }
25
+
26
+ &bhalf
27
+ {
28
+ margin-bottom: _rem($base-rhythm-half) !important;
29
+ }
30
+
31
+ &lhalf
32
+ {
33
+ margin-left: _rem($base-rhythm-half) !important;
34
+ }
35
+
36
+ // ---
37
+ // X/Y MARGIN SHORTHANDS
38
+ // ---
39
+
40
+ &xhalf
41
+ {
42
+ margin-right: _rem($base-rhythm-half) !important;
43
+ margin-left:_rem($base-rhythm-half) !important;
44
+ }
45
+
46
+ &yhalf
47
+ {
48
+ margin-top: _rem($base-rhythm-half) !important;
49
+ margin-bottom: _rem($base-rhythm-half) !important;
50
+ }
51
+
52
+ @each $key, $val in $gutter-scale
53
+ {
54
+ &#{$key}
55
+ {
56
+ margin: _rem($val) !important;
57
+ }
58
+
59
+ &t#{$key}
60
+ {
61
+ margin-top: _rem($val) !important;
62
+ }
63
+
64
+ &r#{$key}
65
+ {
66
+ margin-right: _rem($val) !important;
67
+ }
68
+
69
+ &b#{$key}
70
+ {
71
+ margin-bottom: _rem($val) !important;
72
+ }
73
+
74
+ &l#{$key}
75
+ {
76
+ margin-left: _rem($val) !important;
77
+ }
78
+
79
+ // ---
80
+ // X/Y MARGIN SHORTHANDS
81
+ // ---
82
+
83
+ &x#{$key}
84
+ {
85
+ margin-right: _rem($val) !important;
86
+ margin-left: _rem($val) !important;
87
+ }
88
+
89
+ &y#{$key}
90
+ {
91
+ margin-top: _rem($val) !important;
92
+ margin-bottom: _rem($val) !important;
93
+ }
94
+
95
+ // ---
96
+ // NEGATIVE MARGINS
97
+ // ---
98
+
99
+ &t-neg#{$key}
100
+ {
101
+ margin-top: _rem(-$val) !important;
102
+ }
103
+
104
+ &r-neg#{$key}
105
+ {
106
+ margin-right: _rem(-$val) !important;
107
+ }
108
+
109
+ &b-neg#{$key}
110
+ {
111
+ margin-bottom: _rem(-$val) !important;
112
+ }
113
+
114
+ &l-neg#{$key}
115
+ {
116
+ margin-left: _rem(-$val) !important;
117
+ }
118
+ }
119
+
120
+ // ---
121
+ // RESET MARGINS
122
+ // ---
123
+
124
+ &auto
125
+ {
126
+ margin: auto !important;
127
+ }
128
+
129
+ &tauto
130
+ {
131
+ margin-top: auto !important;
132
+ }
133
+
134
+ &rauto
135
+ {
136
+ margin-right: auto !important;
137
+ }
138
+
139
+ &bauto
140
+ {
141
+ margin-bottom: auto !important;
142
+ }
143
+
144
+ &lauto
145
+ {
146
+ margin-left: auto !important;
147
+ }
148
+
149
+ &xauto
150
+ {
151
+ margin-right: auto !important;
152
+ margin-left: auto !important;
153
+ }
154
+
155
+ &yauto
156
+ {
157
+ margin-top: auto !important;
158
+ margin-bottom: auto !important;
159
+ }
160
+
161
+ &x-neggutter-half
162
+ {
163
+ margin-right: _rem(-$base-gutter) !important;
164
+ margin-left: _rem(-$base-gutter) !important;
165
+ }
166
+
167
+ &y-neggutter-half
168
+ {
169
+ margin-top: _rem(-$base-gutter) !important;
170
+ margin-bottom: _rem(-$base-gutter) !important;
171
+ }
172
+ }
173
+
174
+ .mx-neggutter
175
+ {
176
+ margin-right: _rem(-$base-gutter) !important;
177
+ margin-left: _rem(-$base-gutter) !important;
178
+
179
+ @include _mq(map-get($breakpoints, bps))
180
+ {
181
+ margin-right: _rem(-$base-gutter-large) !important;
182
+ margin-left: _rem(-$base-gutter-large) !important;
183
+ }
184
+ }
185
+
186
+ .my-neggutter
187
+ {
188
+ margin-top: _rem(-$base-gutter) !important;
189
+ margin-bottom: _rem(-$base-gutter) !important;
190
+
191
+ @include _mq(map-get($breakpoints, bps))
192
+ {
193
+ margin-top: _rem(-$base-gutter-large) !important;
194
+ margin-bottom: _rem(-$base-gutter-large) !important;
195
+ }
196
+ }
@@ -0,0 +1,166 @@
1
+ // ==========================================================================
2
+ // Padding dimension classes
3
+ // ==========================================================================
4
+
5
+ // ---
6
+ // GUTTER-SIZED PADDING
7
+ // ---
8
+
9
+ .pxgutter
10
+ {
11
+ padding-right: _rem($base-gutter) !important;
12
+ padding-left: _rem($base-gutter) !important;
13
+
14
+ @include _mq(map-get($breakpoints, bps))
15
+ {
16
+ padding-right: _rem($base-gutter-large) !important;
17
+ padding-left: _rem($base-gutter-large) !important;
18
+ }
19
+ }
20
+
21
+ .pygutter
22
+ {
23
+ padding-top: _rem($base-gutter) !important;
24
+ padding-bottom: _rem($base-gutter) !important;
25
+
26
+ @include _mq(map-get($breakpoints, bps))
27
+ {
28
+ padding-top: _rem($base-gutter-large) !important;
29
+ padding-bottom: _rem($base-gutter-large) !important;
30
+ }
31
+ }
32
+
33
+ @include _bp-prefixer(p)
34
+ {
35
+ // ---
36
+ // HALF GUTTER MEASURES
37
+ // ---
38
+
39
+ &gutter-half
40
+ {
41
+ padding: _rem($base-gutter) !important;
42
+ }
43
+
44
+ &xgutter-half
45
+ {
46
+ padding-right: _rem($base-gutter) !important;
47
+ padding-left: _rem($base-gutter) !important;
48
+ }
49
+
50
+ &ygutter-half
51
+ {
52
+ padding-top: _rem($base-gutter) !important;
53
+ padding-bottom: _rem($base-gutter) !important;
54
+ }
55
+
56
+ // ---
57
+ // HALF BASE RHYTHM MEASURES
58
+ // ---
59
+
60
+ &half
61
+ {
62
+ padding: _rem($base-rhythm-half) !important;
63
+ }
64
+
65
+ &thalf
66
+ {
67
+ padding-top: _rem($base-rhythm-half) !important;
68
+ }
69
+
70
+ &rhalf
71
+ {
72
+ padding-right: _rem($base-rhythm-half) !important;
73
+ }
74
+
75
+ &bhalf
76
+ {
77
+ padding-bottom: _rem($base-rhythm-half) !important;
78
+ }
79
+
80
+ &lhalf
81
+ {
82
+ padding-left: _rem($base-rhythm-half) !important;
83
+ }
84
+
85
+ // ---
86
+ // X/Y HALF BASE RHYTHM SHORTHANDS
87
+ // ---
88
+
89
+ &xhalf
90
+ {
91
+ padding-right: _rem($base-rhythm-half) !important;
92
+ padding-left:_rem($base-rhythm-half) !important;
93
+ }
94
+
95
+ &yhalf
96
+ {
97
+ padding-top: _rem($base-rhythm-half) !important;
98
+ padding-bottom: _rem($base-rhythm-half) !important;
99
+ }
100
+
101
+ @each $key, $val in $gutter-scale
102
+ {
103
+ &#{$key}
104
+ {
105
+ padding: _rem($val) !important;
106
+ }
107
+
108
+ &t#{$key}
109
+ {
110
+ padding-top: _rem($val) !important;
111
+ }
112
+
113
+ &r#{$key}
114
+ {
115
+ padding-right: _rem($val) !important;
116
+ }
117
+
118
+ &b#{$key}
119
+ {
120
+ padding-bottom: _rem($val) !important;
121
+ }
122
+
123
+ &l#{$key}
124
+ {
125
+ padding-left: _rem($val) !important;
126
+ }
127
+
128
+ &x#{$key}
129
+ {
130
+ padding-right: _rem($val) !important;
131
+ padding-left: _rem($val) !important;
132
+ }
133
+
134
+ &y#{$key}
135
+ {
136
+ padding-top: _rem($val) !important;
137
+ padding-bottom: _rem($val) !important;
138
+ }
139
+ }
140
+
141
+ // ---
142
+ // RESET PADDING
143
+ // ---
144
+
145
+ &rauto
146
+ {
147
+ padding-right: auto !important;
148
+ }
149
+
150
+ &lauto
151
+ {
152
+ padding-left: auto !important;
153
+ }
154
+
155
+ &xauto
156
+ {
157
+ padding-right: auto !important;
158
+ padding-left: auto !important;
159
+ }
160
+
161
+ &yauto
162
+ {
163
+ padding-top: auto !important;
164
+ padding-bottom: auto !important;
165
+ }
166
+ }
@@ -0,0 +1,80 @@
1
+ // ==========================================================================
2
+ // Position dimension classes
3
+ // ==========================================================================
4
+
5
+ @include _bp-prefixer(pos)
6
+ {
7
+ @each $key, $val in (t: top, r: right, b: bottom, l: left)
8
+ {
9
+ // ---
10
+ // HALF OFFSETS
11
+ // ---
12
+
13
+ &-#{$key}half
14
+ {
15
+ #{$val}: _rem($base-rhythm-half) !important;
16
+ }
17
+
18
+ // ---
19
+ // NEGATIVE HALF OFFSETS
20
+ // ---
21
+
22
+ &-#{$key}-neghalf
23
+ {
24
+ #{$val}: _rem(-$base-rhythm-half) !important;
25
+ }
26
+
27
+ // ---
28
+ // GUTTERED OFFSETS
29
+ // ---
30
+
31
+ @each $gkey, $gval in $gutter-scale
32
+ {
33
+ &-#{$key}#{$gkey}
34
+ {
35
+ #{$val}: _rem($gval) !important;
36
+ }
37
+ }
38
+
39
+ // ---
40
+ // RESET OFFSETS
41
+ // ---
42
+
43
+ &-#{$key}auto
44
+ {
45
+ #{$val}: auto !important;
46
+ }
47
+
48
+ // ---
49
+ // PUSH OFFSETS
50
+ // ---
51
+
52
+ &-#{$key}push
53
+ {
54
+ #{$val}: 100% !important;
55
+ }
56
+ }
57
+
58
+ // ---
59
+ // CENTERING SHORTHANDS
60
+ // ---
61
+
62
+ &-xcenter
63
+ {
64
+ left: 50%;
65
+ @include transform(translate3d(-50%, 0, 0));
66
+ }
67
+
68
+ &-ycenter
69
+ {
70
+ top: 50%;
71
+ @include transform(translate3d(0, -50%, 0));
72
+ }
73
+
74
+ &-xycenter
75
+ {
76
+ left: 50%;
77
+ top: 50%;
78
+ @include transform(translate3d(-50%, -50%, 0));
79
+ }
80
+ }
@@ -0,0 +1,67 @@
1
+ // ==========================================================================
2
+ // Shorthand styling classes for Google Autocomplete search dropdown
3
+ // ==========================================================================
4
+
5
+ .pac-container
6
+ {
7
+ background-color: map-get($colors, 1);
8
+ border: 1px solid map-get($colors, 3);
9
+ border-top: none;
10
+ border-radius: 0;
11
+ box-shadow: none;
12
+ color: map-get($colors, 6);
13
+ font-family: $type-font-body;
14
+ padding: _rem($base-rhythm) _rem($base-gutter-large) _rem($base-rhythm) 0;
15
+
16
+ .pac-item
17
+ {
18
+ $_pac-type: map-get($type-scale, 3);
19
+
20
+ background: transparent url('data:image/svg+xml,#{$icon-location}') no-repeat _rem($base-gutter) center;
21
+ background-size: _rem(map-get($icon-scale, base));
22
+ border: none;
23
+ color: inherit;
24
+ font-size: _rem(map-get($_pac-type, size));
25
+ line-height: _rem(map-get($_pac-type, line-height));
26
+ padding: _rem($base-rhythm) 0 _rem($base-rhythm) _rem($base-gutter-large + $base-gutter);
27
+
28
+ @include transition(all $transition-timing-text $transition-easing-text);
29
+
30
+ &:active,
31
+ &:focus,
32
+ &:hover
33
+ {
34
+ background-color: transparent;
35
+ color: map-get($colors, 4);
36
+ }
37
+ }
38
+
39
+ // Hide Google's icon in favor of our own
40
+ // which is added on .pac-item instead
41
+ .pac-icon
42
+ {
43
+ display: none !important;
44
+ }
45
+
46
+ // Highlighted query matches
47
+ .pac-item-query
48
+ {
49
+ color: map-get($colors, 10);
50
+ display: inline-block;
51
+ font-size: inherit;
52
+ padding-right: _rem($base-rhythm-half);
53
+
54
+ &:active,
55
+ &:focus,
56
+ &:hover
57
+ {
58
+ color: map-get($colors, 6);
59
+ }
60
+
61
+ // Exact character matches within the highlighted query matches
62
+ .pac-matched
63
+ {
64
+ font-weight: $type-weight-medium;
65
+ }
66
+ }
67
+ }