timequake 1.0.7 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/hamburgers/_base.scss +86 -0
  3. data/app/assets/stylesheets/hamburgers/hamburgers.scss +118 -0
  4. data/app/assets/stylesheets/hamburgers/types/_3dx-r.scss +35 -0
  5. data/app/assets/stylesheets/hamburgers/types/_3dx.scss +35 -0
  6. data/app/assets/stylesheets/hamburgers/types/_3dxy-r.scss +35 -0
  7. data/app/assets/stylesheets/hamburgers/types/_3dxy.scss +35 -0
  8. data/app/assets/stylesheets/hamburgers/types/_3dy-r.scss +35 -0
  9. data/app/assets/stylesheets/hamburgers/types/_3dy.scss +35 -0
  10. data/app/assets/stylesheets/hamburgers/types/_arrow-r.scss +16 -0
  11. data/app/assets/stylesheets/hamburgers/types/_arrow.scss +16 -0
  12. data/app/assets/stylesheets/hamburgers/types/_arrowalt-r.scss +36 -0
  13. data/app/assets/stylesheets/hamburgers/types/_arrowalt.scss +36 -0
  14. data/app/assets/stylesheets/hamburgers/types/_arrowturn-r.scss +18 -0
  15. data/app/assets/stylesheets/hamburgers/types/_arrowturn.scss +18 -0
  16. data/app/assets/stylesheets/hamburgers/types/_boring.scss +30 -0
  17. data/app/assets/stylesheets/hamburgers/types/_collapse-r.scss +47 -0
  18. data/app/assets/stylesheets/hamburgers/types/_collapse.scss +47 -0
  19. data/app/assets/stylesheets/hamburgers/types/_elastic-r.scss +41 -0
  20. data/app/assets/stylesheets/hamburgers/types/_elastic.scss +41 -0
  21. data/app/assets/stylesheets/hamburgers/types/_emphatic-r.scss +53 -0
  22. data/app/assets/stylesheets/hamburgers/types/_emphatic.scss +53 -0
  23. data/app/assets/stylesheets/hamburgers/types/_minus.scss +34 -0
  24. data/app/assets/stylesheets/hamburgers/types/_slider-r.scss +38 -0
  25. data/app/assets/stylesheets/hamburgers/types/_slider.scss +38 -0
  26. data/app/assets/stylesheets/hamburgers/types/_spin-r.scss +43 -0
  27. data/app/assets/stylesheets/hamburgers/types/_spin.scss +43 -0
  28. data/app/assets/stylesheets/hamburgers/types/_spring-r.scss +47 -0
  29. data/app/assets/stylesheets/hamburgers/types/_spring.scss +44 -0
  30. data/app/assets/stylesheets/hamburgers/types/_squeeze.scss +43 -0
  31. data/app/assets/stylesheets/hamburgers/types/_stand-r.scss +45 -0
  32. data/app/assets/stylesheets/hamburgers/types/_stand.scss +45 -0
  33. data/app/assets/stylesheets/hamburgers/types/_vortex-r.scss +48 -0
  34. data/app/assets/stylesheets/hamburgers/types/_vortex.scss +48 -0
  35. data/app/assets/stylesheets/timequake/_index.scss +7 -1
  36. data/app/assets/stylesheets/timequake/buttons.scss +3 -1
  37. data/app/assets/stylesheets/timequake/colors.scss +1 -0
  38. data/app/assets/stylesheets/timequake/display.scss +143 -0
  39. data/app/assets/stylesheets/timequake/flex.scss +128 -0
  40. data/app/assets/stylesheets/timequake/forms.scss +25 -0
  41. data/app/assets/stylesheets/timequake/layout.scss +57 -0
  42. data/app/assets/stylesheets/timequake/margin.scss +246 -0
  43. data/app/assets/stylesheets/timequake/modals.scss +3 -7
  44. data/app/assets/stylesheets/timequake/padding.scss +246 -0
  45. data/app/assets/stylesheets/timequake/typography.scss +62 -2
  46. data/app/assets/stylesheets/timequake/universal.scss +14 -1
  47. data/app/assets/stylesheets/timequake/visibility.scss +39 -0
  48. data/lib/generators/timequake/templates/timequake_overrides.scss +81 -3
  49. data/lib/timequake/version.rb +1 -1
  50. metadata +42 -3
@@ -0,0 +1,246 @@
1
+ .mx-hr {
2
+ margin-left: .5rem !important;
3
+ margin-right: .5rem !important;
4
+ }
5
+
6
+ .my-hr {
7
+ margin-top: .5rem !important;
8
+ margin-bottom: .5rem !important;
9
+ }
10
+
11
+ @for $i from 0 through 8 {
12
+ .mx-#{$i} {
13
+ margin-left: #{$i}rem !important;
14
+ margin-right: #{$i}rem !important;
15
+ }
16
+
17
+ .my-#{$i} {
18
+ margin-top: #{$i}rem !important;
19
+ margin-bottom: #{$i}rem !important;
20
+ }
21
+ }
22
+
23
+ .m-hr { margin: .5rem !important; }
24
+ @for $i from 0 through 8 {
25
+ .m-#{$i} { margin: #{$i}rem !important; }
26
+ }
27
+
28
+ .mb-hr { margin-bottom: .5rem !important; }
29
+ @for $i from 0 through 8 {
30
+ .mb-#{$i} { margin-bottom: #{$i}rem !important; }
31
+ }
32
+
33
+ .mt-hr { margin-top: .5rem !important; }
34
+ @for $i from 0 through 8 {
35
+ .mt-#{$i} { margin-top: #{$i}rem !important; }
36
+ }
37
+
38
+ .mr-hr { margin-right: .5rem !important; }
39
+ @for $i from 0 through 8 {
40
+ .mr-#{$i} { margin-right: #{$i}rem !important; }
41
+ }
42
+
43
+ .ml-hr { margin-left: .5rem !important; }
44
+ @for $i from 0 through 8 {
45
+ .ml-#{$i} { margin-left: #{$i}rem !important; }
46
+ }
47
+
48
+ // MEDIUM
49
+ @media (min-width: $medium) {
50
+ .md-mx-hr {
51
+ margin-left: .5rem !important;
52
+ margin-right: .5rem !important;
53
+ }
54
+
55
+ .md-my-hr {
56
+ margin-top: .5rem !important;
57
+ margin-bottom: .5rem !important;
58
+ }
59
+
60
+ @for $i from 0 through 8 {
61
+ .md-mx-#{$i} {
62
+ margin-left: #{$i}rem !important;
63
+ margin-right: #{$i}rem !important;
64
+ }
65
+
66
+ .md-my-#{$i} {
67
+ margin-top: #{$i}rem !important;
68
+ margin-bottom: #{$i}rem !important;
69
+ }
70
+ }
71
+
72
+ .md-m-hr { margin: .5rem !important; }
73
+ @for $i from 0 through 8 {
74
+ .md-m-#{$i} { margin: #{$i}rem !important; }
75
+ }
76
+
77
+ .md-mb-hr { margin-bottom: .5rem !important; }
78
+ @for $i from 0 through 8 {
79
+ .md-mb-#{$i} { margin-bottom: #{$i}rem !important; }
80
+ }
81
+
82
+ .md-mt-hr { margin-top: .5rem !important; }
83
+ @for $i from 0 through 8 {
84
+ .md-mt-#{$i} { margin-top: #{$i}rem !important; }
85
+ }
86
+
87
+ .md-mr-hr { margin-right: .5rem !important; }
88
+ @for $i from 0 through 8 {
89
+ .md-mr-#{$i} { margin-right: #{$i}rem !important; }
90
+ }
91
+
92
+ .md-ml-hr { margin-left: .5rem !important; }
93
+ @for $i from 0 through 8 {
94
+ .md-ml-#{$i} { margin-left: #{$i}rem !important; }
95
+ }
96
+ }
97
+
98
+ // LARGE
99
+ @media (min-width: $large) {
100
+ .lg-mx-hr {
101
+ margin-left: .5rem !important;
102
+ margin-right: .5rem !important;
103
+ }
104
+
105
+ .lg-my-hr {
106
+ margin-top: .5rem !important;
107
+ margin-bottom: .5rem !important;
108
+ }
109
+
110
+ @for $i from 0 through 8 {
111
+ .lg-mx-#{$i} {
112
+ margin-left: #{$i}rem !important;
113
+ margin-right: #{$i}rem !important;
114
+ }
115
+
116
+ .lg-my-#{$i} {
117
+ margin-top: #{$i}rem !important;
118
+ margin-bottom: #{$i}rem !important;
119
+ }
120
+ }
121
+
122
+ .lg-m-hr { margin: .5rem !important; }
123
+ @for $i from 0 through 8 {
124
+ .lg-m-#{$i} { margin: #{$i}rem !important; }
125
+ }
126
+
127
+ .lg-mb-hr { margin-bottom: .5rem !important; }
128
+ @for $i from 0 through 8 {
129
+ .lg-mb-#{$i} { margin-bottom: #{$i}rem !important; }
130
+ }
131
+
132
+ .lg-mt-hr { margin-top: .5rem !important; }
133
+ @for $i from 0 through 8 {
134
+ .lg-mt-#{$i} { margin-top: #{$i}rem !important; }
135
+ }
136
+
137
+ .lg-mr-hr { margin-right: .5rem !important; }
138
+ @for $i from 0 through 8 {
139
+ .lg-mr-#{$i} { margin-right: #{$i}rem !important; }
140
+ }
141
+
142
+ .lg-ml-hr { margin-left: .5rem !important; }
143
+ @for $i from 0 through 8 {
144
+ .lg-ml-#{$i} { margin-left: #{$i}rem !important; }
145
+ }
146
+ }
147
+
148
+ // XLARGE
149
+ @media (min-width: $xlarge) {
150
+ .xlg-mx-hr {
151
+ margin-left: .5rem !important;
152
+ margin-right: .5rem !important;
153
+ }
154
+
155
+ .xlg-my-hr {
156
+ margin-top: .5rem !important;
157
+ margin-bottom: .5rem !important;
158
+ }
159
+
160
+ @for $i from 0 through 8 {
161
+ .xlg-mx-#{$i} {
162
+ margin-left: #{$i}rem !important;
163
+ margin-right: #{$i}rem !important;
164
+ }
165
+
166
+ .xlg-my-#{$i} {
167
+ margin-top: #{$i}rem !important;
168
+ margin-bottom: #{$i}rem !important;
169
+ }
170
+ }
171
+
172
+ .xlg-m-hr { margin: .5rem !important; }
173
+ @for $i from 0 through 8 {
174
+ .xlg-m-#{$i} { margin: #{$i}rem !important; }
175
+ }
176
+
177
+ .xlg-mb-hr { margin-bottom: .5rem !important; }
178
+ @for $i from 0 through 8 {
179
+ .xlg-mb-#{$i} { margin-bottom: #{$i}rem !important; }
180
+ }
181
+
182
+ .xlg-mt-hr { margin-top: .5rem !important; }
183
+ @for $i from 0 through 8 {
184
+ .xlg-mt-#{$i} { margin-top: #{$i}rem !important; }
185
+ }
186
+
187
+ .xlg-mr-hr { margin-right: .5rem !important; }
188
+ @for $i from 0 through 8 {
189
+ .xlg-mr-#{$i} { margin-right: #{$i}rem !important; }
190
+ }
191
+
192
+ .xlg-ml-hr { margin-left: .5rem !important; }
193
+ @for $i from 0 through 8 {
194
+ .xlg-ml-#{$i} { margin-left: #{$i}rem !important; }
195
+ }
196
+ }
197
+
198
+ // XXLARGE
199
+ @media (min-width: $xxlarge) {
200
+ .xxlg-mx-hr {
201
+ margin-left: .5rem !important;
202
+ margin-right: .5rem !important;
203
+ }
204
+
205
+ .xxlg-my-hr {
206
+ margin-top: .5rem !important;
207
+ margin-bottom: .5rem !important;
208
+ }
209
+
210
+ @for $i from 0 through 8 {
211
+ .xxlg-mx-#{$i} {
212
+ margin-left: #{$i}rem !important;
213
+ margin-right: #{$i}rem !important;
214
+ }
215
+
216
+ .xxlg-my-#{$i} {
217
+ margin-top: #{$i}rem !important;
218
+ margin-bottom: #{$i}rem !important;
219
+ }
220
+ }
221
+
222
+ .xxlg-m-hr { margin: .5rem !important; }
223
+ @for $i from 0 through 8 {
224
+ .xxlg-m-#{$i} { margin: #{$i}rem !important; }
225
+ }
226
+
227
+ .xxlg-mb-hr { margin-bottom: .5rem !important; }
228
+ @for $i from 0 through 8 {
229
+ .xxlg-mb-#{$i} { margin-bottom: #{$i}rem !important; }
230
+ }
231
+
232
+ .xxlg-mt-hr { margin-top: .5rem !important; }
233
+ @for $i from 0 through 8 {
234
+ .xxlg-mt-#{$i} { margin-top: #{$i}rem !important; }
235
+ }
236
+
237
+ .xxlg-mr-hr { margin-right: .5rem !important; }
238
+ @for $i from 0 through 8 {
239
+ .xxlg-mr-#{$i} { margin-right: #{$i}rem !important; }
240
+ }
241
+
242
+ .xxlg-ml-hr { margin-left: .5rem !important; }
243
+ @for $i from 0 through 8 {
244
+ .xxlg-ml-#{$i} { margin-left: #{$i}rem !important; }
245
+ }
246
+ }
@@ -2,9 +2,7 @@ $modal-bg-color: $white !default;
2
2
  $modal-max-width: 1200px !default;
3
3
  $modal-content-padding: 20px !default;
4
4
  $modal-border-radius: 5px !default;
5
- $modal-border-color: $white !default;
6
- $modal-border-width: 5px !default;
7
- $modal-border-style: solid !default;
5
+ $modal-border: 5px solid $white !default;
8
6
  $modal-close-size: 30px !default;
9
7
  $modal-close-color: $copy-color !default;
10
8
  $modal-close-transform: rotate(45deg) !default;
@@ -19,7 +17,7 @@ $modal-close-transform: rotate(45deg) !default;
19
17
  display: flex;
20
18
  justify-content: center;
21
19
  align-items: center;
22
- z-index: 0;
20
+ z-index: -1;
23
21
  opacity: 0;
24
22
  transition: 500ms all;
25
23
 
@@ -39,9 +37,7 @@ $modal-close-transform: rotate(45deg) !default;
39
37
  background: $modal-bg-color;
40
38
  border-radius: $modal-border-radius;
41
39
  padding: $modal-content-padding;
42
- border-width: $modal-border-width;
43
- border-style: $modal-border-style;
44
- border-color: $modal-border-color;
40
+ border: $modal-border;
45
41
  max-width: $modal-max-width;
46
42
 
47
43
  .modal-close {
@@ -0,0 +1,246 @@
1
+ .px-hr {
2
+ padding-left: .5rem !important;
3
+ padding-right: .5rem !important;
4
+ }
5
+
6
+ .py-hr {
7
+ padding-top: .5rem !important;
8
+ padding-bottom: .5rem !important;
9
+ }
10
+
11
+ @for $i from 0 through 8 {
12
+ .px-#{$i} {
13
+ padding-left: #{$i}rem !important;
14
+ padding-right: #{$i}rem !important;
15
+ }
16
+
17
+ .py-#{$i} {
18
+ padding-top: #{$i}rem !important;
19
+ padding-bottom: #{$i}rem !important;
20
+ }
21
+ }
22
+
23
+ .p-hr { padding: .5rem !important; }
24
+ @for $i from 0 through 8 {
25
+ .p-#{$i} { padding: #{$i}rem !important; }
26
+ }
27
+
28
+ .pb-hr { padding-bottom: .5rem !important; }
29
+ @for $i from 0 through 8 {
30
+ .pb-#{$i} { padding-bottom: #{$i}rem !important; }
31
+ }
32
+
33
+ .pt-hr { padding-top: .5rem !important; }
34
+ @for $i from 0 through 8 {
35
+ .pt-#{$i} { padding-top: #{$i}rem !important; }
36
+ }
37
+
38
+ .pr-hr { padding-right: .5rem !important; }
39
+ @for $i from 0 through 8 {
40
+ .pr-#{$i} { padding-right: #{$i}rem !important; }
41
+ }
42
+
43
+ .pl-hr { padding-left: .5rem !important; }
44
+ @for $i from 0 through 8 {
45
+ .pl-#{$i} { padding-left: #{$i}rem !important; }
46
+ }
47
+
48
+ // MEDIUM
49
+ @media (min-width: $medium) {
50
+ .md-px-hr {
51
+ padding-left: .5rem !important;
52
+ padding-right: .5rem !important;
53
+ }
54
+
55
+ .md-py-hr {
56
+ padding-top: .5rem !important;
57
+ padding-bottom: .5rem !important;
58
+ }
59
+
60
+ @for $i from 0 through 8 {
61
+ .md-px-#{$i} {
62
+ padding-left: #{$i}rem !important;
63
+ padding-right: #{$i}rem !important;
64
+ }
65
+
66
+ .md-py-#{$i} {
67
+ padding-top: #{$i}rem !important;
68
+ padding-bottom: #{$i}rem !important;
69
+ }
70
+ }
71
+
72
+ .md-p-hr { padding: .5rem !important; }
73
+ @for $i from 0 through 8 {
74
+ .md-p-#{$i} { padding: #{$i}rem !important; }
75
+ }
76
+
77
+ .md-pb-hr { padding-bottom: .5rem !important; }
78
+ @for $i from 0 through 8 {
79
+ .md-pb-#{$i} { padding-bottom: #{$i}rem !important; }
80
+ }
81
+
82
+ .md-pt-hr { padding-top: .5rem !important; }
83
+ @for $i from 0 through 8 {
84
+ .md-pt-#{$i} { padding-top: #{$i}rem !important; }
85
+ }
86
+
87
+ .md-pr-hr { padding-right: .5rem !important; }
88
+ @for $i from 0 through 8 {
89
+ .md-pr-#{$i} { padding-right: #{$i}rem !important; }
90
+ }
91
+
92
+ .md-pl-hr { padding-left: .5rem !important; }
93
+ @for $i from 0 through 8 {
94
+ .md-pl-#{$i} { padding-left: #{$i}rem !important; }
95
+ }
96
+ }
97
+
98
+ // LARGE
99
+ @media (min-width: $large) {
100
+ .lg-px-hr {
101
+ padding-left: .5rem !important;
102
+ padding-right: .5rem !important;
103
+ }
104
+
105
+ .lg-py-hr {
106
+ padding-top: .5rem !important;
107
+ padding-bottom: .5rem !important;
108
+ }
109
+
110
+ @for $i from 0 through 8 {
111
+ .lg-px-#{$i} {
112
+ padding-left: #{$i}rem !important;
113
+ padding-right: #{$i}rem !important;
114
+ }
115
+
116
+ .lg-py-#{$i} {
117
+ padding-top: #{$i}rem !important;
118
+ padding-bottom: #{$i}rem !important;
119
+ }
120
+ }
121
+
122
+ .lg-p-hr { padding: .5rem !important; }
123
+ @for $i from 0 through 8 {
124
+ .lg-p-#{$i} { padding: #{$i}rem !important; }
125
+ }
126
+
127
+ .lg-pb-hr { padding-bottom: .5rem !important; }
128
+ @for $i from 0 through 8 {
129
+ .lg-pb-#{$i} { padding-bottom: #{$i}rem !important; }
130
+ }
131
+
132
+ .lg-pt-hr { padding-top: .5rem !important; }
133
+ @for $i from 0 through 8 {
134
+ .lg-pt-#{$i} { padding-top: #{$i}rem !important; }
135
+ }
136
+
137
+ .lg-pr-hr { padding-right: .5rem !important; }
138
+ @for $i from 0 through 8 {
139
+ .lg-pr-#{$i} { padding-right: #{$i}rem !important; }
140
+ }
141
+
142
+ .lg-pl-hr { padding-left: .5rem !important; }
143
+ @for $i from 0 through 8 {
144
+ .lg-pl-#{$i} { padding-left: #{$i}rem !important; }
145
+ }
146
+ }
147
+
148
+ // XLARGE
149
+ @media (min-width: $xlarge) {
150
+ .xlg-px-hr {
151
+ padding-left: .5rem !important;
152
+ padding-right: .5rem !important;
153
+ }
154
+
155
+ .xlg-py-hr {
156
+ padding-top: .5rem !important;
157
+ padding-bottom: .5rem !important;
158
+ }
159
+
160
+ @for $i from 0 through 8 {
161
+ .xlg-px-#{$i} {
162
+ padding-left: #{$i}rem !important;
163
+ padding-right: #{$i}rem !important;
164
+ }
165
+
166
+ .xlg-py-#{$i} {
167
+ padding-top: #{$i}rem !important;
168
+ padding-bottom: #{$i}rem !important;
169
+ }
170
+ }
171
+
172
+ .xlg-p-hr { padding: .5rem !important; }
173
+ @for $i from 0 through 8 {
174
+ .xlg-p-#{$i} { padding: #{$i}rem !important; }
175
+ }
176
+
177
+ .xlg-pb-hr { padding-bottom: .5rem !important; }
178
+ @for $i from 0 through 8 {
179
+ .xlg-pb-#{$i} { padding-bottom: #{$i}rem !important; }
180
+ }
181
+
182
+ .xlg-pt-hr { padding-top: .5rem !important; }
183
+ @for $i from 0 through 8 {
184
+ .xlg-pt-#{$i} { padding-top: #{$i}rem !important; }
185
+ }
186
+
187
+ .xlg-pr-hr { padding-right: .5rem !important; }
188
+ @for $i from 0 through 8 {
189
+ .xlg-pr-#{$i} { padding-right: #{$i}rem !important; }
190
+ }
191
+
192
+ .xlg-pl-hr { padding-left: .5rem !important; }
193
+ @for $i from 0 through 8 {
194
+ .xlg-pl-#{$i} { padding-left: #{$i}rem !important; }
195
+ }
196
+ }
197
+
198
+ // XXLARGE
199
+ @media (min-width: $xxlarge) {
200
+ .xxlg-px-hr {
201
+ padding-left: .5rem !important;
202
+ padding-right: .5rem !important;
203
+ }
204
+
205
+ .xxlg-py-hr {
206
+ padding-top: .5rem !important;
207
+ padding-bottom: .5rem !important;
208
+ }
209
+
210
+ @for $i from 0 through 8 {
211
+ .xxlg-px-#{$i} {
212
+ padding-left: #{$i}rem !important;
213
+ padding-right: #{$i}rem !important;
214
+ }
215
+
216
+ .xxlg-py-#{$i} {
217
+ padding-top: #{$i}rem !important;
218
+ padding-bottom: #{$i}rem !important;
219
+ }
220
+ }
221
+
222
+ .xxlg-p-hr { padding: .5rem !important; }
223
+ @for $i from 0 through 8 {
224
+ .xxlg-p-#{$i} { padding: #{$i}rem !important; }
225
+ }
226
+
227
+ .xxlg-pb-hr { padding-bottom: .5rem !important; }
228
+ @for $i from 0 through 8 {
229
+ .xxlg-pb-#{$i} { padding-bottom: #{$i}rem !important; }
230
+ }
231
+
232
+ .xxlg-pt-hr { padding-top: .5rem !important; }
233
+ @for $i from 0 through 8 {
234
+ .xxlg-pt-#{$i} { padding-top: #{$i}rem !important; }
235
+ }
236
+
237
+ .xxlg-pr-hr { padding-right: .5rem !important; }
238
+ @for $i from 0 through 8 {
239
+ .xxlg-pr-#{$i} { padding-right: #{$i}rem !important; }
240
+ }
241
+
242
+ .xxlg-pl-hr { padding-left: .5rem !important; }
243
+ @for $i from 0 through 8 {
244
+ .xxlg-pl-#{$i} { padding-left: #{$i}rem !important; }
245
+ }
246
+ }