kickstart_rails 3.0.36 → 3.0.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kickstart_rails/version.rb +1 -1
- metadata +2 -154
- data/app/assets/javascripts/kickstart_rails/docs.js +0 -166
- data/app/assets/javascripts/kickstart_rails/docs/throttler_edge.js +0 -2
- data/app/assets/javascripts/kickstart_rails/docs/throttler_edgeActions.js +0 -8
- data/app/assets/javascripts/kickstart_rails/docs/throttler_edgePreload.js +0 -18
- data/app/assets/javascripts/kickstart_rails/kickstart.js +0 -450
- data/app/assets/javascripts/kickstart_rails/kickstart.min.js +0 -1
- data/app/assets/javascripts/kickstart_rails/navbar-fixer.js +0 -19
- data/app/assets/javascripts/kickstart_rails/test.js +0 -6705
- data/app/assets/javascripts/kickstart_rails/throttler_edge.js +0 -2
- data/app/assets/javascripts/kickstart_rails/throttler_edgeActions.js +0 -8
- data/app/assets/javascripts/kickstart_rails/throttler_edgePreload.js +0 -18
- data/app/assets/stylesheets/components/_alerts.sass +0 -23
- data/app/assets/stylesheets/components/_buttons.sass +0 -159
- data/app/assets/stylesheets/components/_dropdown_menu.sass +0 -69
- data/app/assets/stylesheets/components/_forms.sass +0 -106
- data/app/assets/stylesheets/components/_growls.sass +0 -2
- data/app/assets/stylesheets/components/_hr.sass +0 -5
- data/app/assets/stylesheets/components/_images.sass +0 -40
- data/app/assets/stylesheets/components/_labels.sass +0 -15
- data/app/assets/stylesheets/components/_modals.sass +0 -73
- data/app/assets/stylesheets/components/_nav.sass +0 -219
- data/app/assets/stylesheets/components/_navbar.sass +0 -270
- data/app/assets/stylesheets/components/_notifications.sass +0 -20
- data/app/assets/stylesheets/components/_pagination.sass +0 -11
- data/app/assets/stylesheets/components/_progress.sass +0 -12
- data/app/assets/stylesheets/components/_root-element.sass +0 -12
- data/app/assets/stylesheets/components/_status.sass +0 -12
- data/app/assets/stylesheets/components/_tables.sass +0 -70
- data/app/assets/stylesheets/components/_tabs.sass +0 -37
- data/app/assets/stylesheets/components/_tiles.sass +0 -42
- data/app/assets/stylesheets/components/_tooltips.sass +0 -26
- data/app/assets/stylesheets/components/_typography.sass +0 -141
- data/app/assets/stylesheets/core/_animations.sass +0 -8
- data/app/assets/stylesheets/core/_base.sass +0 -16
- data/app/assets/stylesheets/core/_base_components.sass +0 -15
- data/app/assets/stylesheets/core/_components.sass +0 -20
- data/app/assets/stylesheets/core/_dependent_components.sass +0 -12
- data/app/assets/stylesheets/core/_direct-apply.sass +0 -337
- data/app/assets/stylesheets/core/_grid.sass +0 -142
- data/app/assets/stylesheets/core/_icons.sass +0 -3
- data/app/assets/stylesheets/core/_index.sass +0 -7
- data/app/assets/stylesheets/core/_mixins.sass +0 -22
- data/app/assets/stylesheets/core/_normalize.sass +0 -339
- data/app/assets/stylesheets/core/_root-element.sass +0 -17
- data/app/assets/stylesheets/core/_typography.sass +0 -180
- data/app/assets/stylesheets/core/components/_alerts.sass +0 -23
- data/app/assets/stylesheets/core/components/_buttons.sass +0 -159
- data/app/assets/stylesheets/core/components/_dropdown_menu.sass +0 -69
- data/app/assets/stylesheets/core/components/_forms.sass +0 -106
- data/app/assets/stylesheets/core/components/_growls.sass +0 -2
- data/app/assets/stylesheets/core/components/_hr.sass +0 -5
- data/app/assets/stylesheets/core/components/_images.sass +0 -40
- data/app/assets/stylesheets/core/components/_labels.sass +0 -15
- data/app/assets/stylesheets/core/components/_modals.sass +0 -73
- data/app/assets/stylesheets/core/components/_navbar.sass +0 -270
- data/app/assets/stylesheets/core/components/_notifications.sass +0 -20
- data/app/assets/stylesheets/core/components/_pagination.sass +0 -11
- data/app/assets/stylesheets/core/components/_progress.sass +0 -12
- data/app/assets/stylesheets/core/components/_tables.sass +0 -70
- data/app/assets/stylesheets/core/components/_tabs.sass +0 -37
- data/app/assets/stylesheets/core/components/_tooltips.sass +0 -26
- data/app/assets/stylesheets/docs.sass +0 -99
- data/app/assets/stylesheets/external/_index.sass +0 -9
- data/app/assets/stylesheets/foovendor/_fooindex.sass +0 -9
- data/app/assets/stylesheets/fullpage.sass +0 -7
- data/app/assets/stylesheets/kickstart-semantic.sass +0 -10
- data/app/assets/stylesheets/kickstart.sass +0 -344
- data/app/assets/stylesheets/kickstart_rails/core/_animations.sass +0 -8
- data/app/assets/stylesheets/kickstart_rails/core/_base.sass +0 -16
- data/app/assets/stylesheets/kickstart_rails/core/_base_components.sass +0 -15
- data/app/assets/stylesheets/kickstart_rails/core/_dependent_components.sass +0 -12
- data/app/assets/stylesheets/kickstart_rails/core/_direct-apply.sass +0 -337
- data/app/assets/stylesheets/kickstart_rails/core/_grid.sass +0 -142
- data/app/assets/stylesheets/kickstart_rails/core/_icons.sass +0 -3
- data/app/assets/stylesheets/kickstart_rails/core/_index.sass +0 -7
- data/app/assets/stylesheets/kickstart_rails/core/_mixins.sass +0 -22
- data/app/assets/stylesheets/kickstart_rails/core/_normalize.sass +0 -339
- data/app/assets/stylesheets/kickstart_rails/core/_root-element.sass +0 -17
- data/app/assets/stylesheets/kickstart_rails/core/_typography.sass +0 -180
- data/app/assets/stylesheets/kickstart_rails/core/components/_alerts.sass +0 -23
- data/app/assets/stylesheets/kickstart_rails/core/components/_buttons.sass +0 -159
- data/app/assets/stylesheets/kickstart_rails/core/components/_dropdown_menu.sass +0 -69
- data/app/assets/stylesheets/kickstart_rails/core/components/_forms.sass +0 -106
- data/app/assets/stylesheets/kickstart_rails/core/components/_growls.sass +0 -2
- data/app/assets/stylesheets/kickstart_rails/core/components/_hr.sass +0 -5
- data/app/assets/stylesheets/kickstart_rails/core/components/_images.sass +0 -40
- data/app/assets/stylesheets/kickstart_rails/core/components/_labels.sass +0 -15
- data/app/assets/stylesheets/kickstart_rails/core/components/_modals.sass +0 -73
- data/app/assets/stylesheets/kickstart_rails/core/components/_navbar.sass +0 -270
- data/app/assets/stylesheets/kickstart_rails/core/components/_notifications.sass +0 -20
- data/app/assets/stylesheets/kickstart_rails/core/components/_pagination.sass +0 -11
- data/app/assets/stylesheets/kickstart_rails/core/components/_progress.sass +0 -12
- data/app/assets/stylesheets/kickstart_rails/core/components/_tables.sass +0 -70
- data/app/assets/stylesheets/kickstart_rails/core/components/_tabs.sass +0 -37
- data/app/assets/stylesheets/kickstart_rails/core/components/_tooltips.sass +0 -26
- data/app/assets/stylesheets/kickstart_rails/docs.sass +0 -99
- data/app/assets/stylesheets/kickstart_rails/fullpage.sass +0 -7
- data/app/assets/stylesheets/kickstart_rails/kickstart-semantic.sass +0 -10
- data/app/assets/stylesheets/kickstart_rails/kickstart.sass +0 -344
- data/app/assets/stylesheets/kickstart_rails/pages/docs/form.sass +0 -0
- data/app/assets/stylesheets/kickstart_rails/pages/docs/grid.sass +0 -73
- data/app/assets/stylesheets/kickstart_rails/pages/docs/index.sass +0 -210
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/alerts.sass +0 -5
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/buttons.sass +0 -52
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/forms.sass +0 -31
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/images.sass +0 -7
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/labels.sass +0 -10
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/modals.sass +0 -18
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/navigation.sass +0 -14
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/notifications.sass +0 -17
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/tables.sass +0 -13
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/tabs.sass +0 -7
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/tooltips.sass +0 -7
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/typography.sass +0 -56
- data/app/assets/stylesheets/kickstart_rails/pages/index.sass +0 -105
- data/app/assets/stylesheets/kickstart_rails/themes/default/theme.sass +0 -264
- data/app/assets/stylesheets/kickstart_rails/vendor/_index.sass +0 -10
- data/app/assets/stylesheets/kickstart_rails/vendor/switch/README.md +0 -34
- data/app/assets/stylesheets/kickstart_rails/vendor/switch/example.sass +0 -14
- data/app/assets/stylesheets/kickstart_rails/vendor/switch/gulpfile.js +0 -16
- data/app/assets/stylesheets/kickstart_rails/vendor/switch/index.html +0 -18
- data/app/assets/stylesheets/kickstart_rails/vendor/switch/package.json +0 -24
- data/app/assets/stylesheets/kickstart_rails/vendor/switch/switch.sass +0 -53
- data/app/assets/stylesheets/pages/docs/form.sass +0 -0
- data/app/assets/stylesheets/pages/docs/grid.sass +0 -73
- data/app/assets/stylesheets/pages/docs/index.sass +0 -210
- data/app/assets/stylesheets/pages/docs/ui/alerts.sass +0 -5
- data/app/assets/stylesheets/pages/docs/ui/buttons.sass +0 -52
- data/app/assets/stylesheets/pages/docs/ui/forms.sass +0 -31
- data/app/assets/stylesheets/pages/docs/ui/image.sass +0 -4
- data/app/assets/stylesheets/pages/docs/ui/images.sass +0 -7
- data/app/assets/stylesheets/pages/docs/ui/labels.sass +0 -10
- data/app/assets/stylesheets/pages/docs/ui/modals.sass +0 -18
- data/app/assets/stylesheets/pages/docs/ui/navigation.sass +0 -14
- data/app/assets/stylesheets/pages/docs/ui/notifications.sass +0 -17
- data/app/assets/stylesheets/pages/docs/ui/tables.sass +0 -13
- data/app/assets/stylesheets/pages/docs/ui/tabs.sass +0 -7
- data/app/assets/stylesheets/pages/docs/ui/tooltips.sass +0 -7
- data/app/assets/stylesheets/pages/docs/ui/typography.sass +0 -56
- data/app/assets/stylesheets/pages/index.sass +0 -105
- data/app/assets/stylesheets/themes/_canary.sass +0 -266
- data/app/assets/stylesheets/themes/_default.sass +0 -264
- data/app/assets/stylesheets/themes/_shabbychic.sass +0 -252
- data/app/assets/stylesheets/themes/default/theme.sass +0 -264
- data/app/assets/stylesheets/vendor/_index.sass +0 -10
- data/app/assets/stylesheets/vendor/switch/README.md +0 -34
- data/app/assets/stylesheets/vendor/switch/example.sass +0 -14
- data/app/assets/stylesheets/vendor/switch/gulpfile.js +0 -16
- data/app/assets/stylesheets/vendor/switch/index.html +0 -18
- data/app/assets/stylesheets/vendor/switch/index.sass +0 -53
- data/app/assets/stylesheets/vendor/switch/package.json +0 -24
- data/app/assets/stylesheets/vendor/switch/switch.sass +0 -53
@@ -1,12 +0,0 @@
|
|
1
|
-
// Dependent Components
|
2
|
-
// ====================
|
3
|
-
// These components extend the core and base components.
|
4
|
-
|
5
|
-
// Components
|
6
|
-
@import components/_growls
|
7
|
-
@import components/_modals
|
8
|
-
@import components/_notifications
|
9
|
-
@import components/_tabs
|
10
|
-
@import components/_tooltips
|
11
|
-
@import components/_forms
|
12
|
-
@import components/_pagination
|
@@ -1,337 +0,0 @@
|
|
1
|
-
// Direct applications
|
2
|
-
// ===================
|
3
|
-
// Regardless of semantic or non-semantic usage, some styles
|
4
|
-
// Should be applied directly to classes or elements no matter
|
5
|
-
// what. This include should be included near the end of the
|
6
|
-
// import chain but before kickstart.sass to accomplish this.
|
7
|
-
|
8
|
-
body
|
9
|
-
&.dismiss-modal
|
10
|
-
cursor: pointer
|
11
|
-
|
12
|
-
// Buttons
|
13
|
-
// -------
|
14
|
-
|
15
|
-
button,
|
16
|
-
input[type="submit"],
|
17
|
-
input[type="button"],
|
18
|
-
+button
|
19
|
-
|
20
|
-
input[type="file"]::-webkit-file-upload-button
|
21
|
-
+button
|
22
|
-
|
23
|
-
+dropdown_menu
|
24
|
-
|
25
|
-
// Forms
|
26
|
-
// -----
|
27
|
-
|
28
|
-
%error_message
|
29
|
-
font-style: italic
|
30
|
-
margin:
|
31
|
-
top: 7px
|
32
|
-
bottom: 14px
|
33
|
-
|
34
|
-
form
|
35
|
-
.errors, .warnings, .successes
|
36
|
-
p
|
37
|
-
@extend %error_message
|
38
|
-
|
39
|
-
.errors
|
40
|
-
+field-colors(map-get($colors, red))
|
41
|
-
|
42
|
-
.warnings
|
43
|
-
+field-colors(map-get($colors, yellow))
|
44
|
-
|
45
|
-
.successes
|
46
|
-
+field-colors(map-get($colors, green))
|
47
|
-
|
48
|
-
p
|
49
|
-
&.error, &.warning, &.success
|
50
|
-
@extend %error_message
|
51
|
-
|
52
|
-
label, span, p
|
53
|
-
&.error
|
54
|
-
color: map-get($colors, red)
|
55
|
-
|
56
|
-
&.warning
|
57
|
-
color: map-get($colors, yellow)
|
58
|
-
|
59
|
-
&.success
|
60
|
-
color: map-get($colors, green)
|
61
|
-
|
62
|
-
input, select
|
63
|
-
&.error
|
64
|
-
border-color: map-get($colors, red)
|
65
|
-
|
66
|
-
&.warning
|
67
|
-
border-color: map-get($colors, yellow)
|
68
|
-
|
69
|
-
&.success
|
70
|
-
border-color: map-get($colors, green)
|
71
|
-
|
72
|
-
|
73
|
-
// Growls
|
74
|
-
// ------
|
75
|
-
|
76
|
-
.growl_container
|
77
|
-
position: fixed
|
78
|
-
top: 0
|
79
|
-
right: 0
|
80
|
-
padding: $space/2
|
81
|
-
z-index: 2000
|
82
|
-
width: 300px
|
83
|
-
overflow: auto
|
84
|
-
max-height: 100vh
|
85
|
-
|
86
|
-
.growl
|
87
|
-
box-shadow: 0px 0px $space/2 rgba(0, 0, 0, 0.5)
|
88
|
-
transition: all 0.5s
|
89
|
-
|
90
|
-
&.show, &.hide
|
91
|
-
+fadeInDown
|
92
|
-
|
93
|
-
&.hide
|
94
|
-
animation-direction: reverse
|
95
|
-
|
96
|
-
+growl
|
97
|
-
|
98
|
-
// Status
|
99
|
-
// ------
|
100
|
-
|
101
|
-
.status_bar
|
102
|
-
+status_bar
|
103
|
-
.status_bar-status
|
104
|
-
&[data-type="status-red"]
|
105
|
-
+label(map-get($colors, red))
|
106
|
-
|
107
|
-
&[data-type="status-orange"]
|
108
|
-
+label(map-get($colors, orange))
|
109
|
-
|
110
|
-
&[data-type="status-yellow"]
|
111
|
-
+label(map-get($colors, yellow))
|
112
|
-
|
113
|
-
&[data-type="status-green"]
|
114
|
-
+label(map-get($colors, green))
|
115
|
-
|
116
|
-
&[data-type="status-blue"]
|
117
|
-
+label(map-get($colors, blue))
|
118
|
-
|
119
|
-
&[data-type="status-violet"]
|
120
|
-
+label(map-get($colors, violet))
|
121
|
-
|
122
|
-
// Tabs
|
123
|
-
// ----
|
124
|
-
|
125
|
-
[data-panel]
|
126
|
-
display: none
|
127
|
-
|
128
|
-
&.open
|
129
|
-
display: block
|
130
|
-
|
131
|
-
// Tooltips
|
132
|
-
// --------
|
133
|
-
|
134
|
-
=tooltip_base
|
135
|
-
margin-bottom: 0
|
136
|
-
position: absolute
|
137
|
-
display: block
|
138
|
-
opacity: 0
|
139
|
-
bottom: 100%
|
140
|
-
box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.25)
|
141
|
-
pointer-events: none
|
142
|
-
max-width: 350px
|
143
|
-
min-width: 100px
|
144
|
-
text-align: center
|
145
|
-
transition: all 0.25s
|
146
|
-
|
147
|
-
=tooltip_arrow
|
148
|
-
border-top-style: solid
|
149
|
-
border-top-width: 10px
|
150
|
-
border-left: 10px solid transparent
|
151
|
-
border-right: 10px solid transparent
|
152
|
-
width: 0px
|
153
|
-
height: 0px
|
154
|
-
content: ' '
|
155
|
-
display: block
|
156
|
-
background: transparent
|
157
|
-
position: absolute
|
158
|
-
left: 50%
|
159
|
-
margin-left: -8px
|
160
|
-
opacity: 0
|
161
|
-
|
162
|
-
=pseudo-tooltip-color($color: $primary-color)
|
163
|
-
&:after
|
164
|
-
+label($color)
|
165
|
-
margin-bottom: 0
|
166
|
-
|
167
|
-
&:before
|
168
|
-
border-top-color: $color
|
169
|
-
|
170
|
-
[data-ks-tooltip]
|
171
|
-
position: relative
|
172
|
-
|
173
|
-
+pseudo-tooltip-color
|
174
|
-
|
175
|
-
&:after
|
176
|
-
content: attr(data-ks-tooltip)
|
177
|
-
+tooltip_base
|
178
|
-
transform: translateY(0px)
|
179
|
-
z-index: 10
|
180
|
-
|
181
|
-
&:before
|
182
|
-
+tooltip_arrow
|
183
|
-
bottom: 100%
|
184
|
-
z-index: 100
|
185
|
-
|
186
|
-
&:hover
|
187
|
-
&:after, &:before
|
188
|
-
opacity: 1
|
189
|
-
|
190
|
-
&:after
|
191
|
-
transform: translateY(-8px)
|
192
|
-
transition: transform 0.25s
|
193
|
-
|
194
|
-
// Positioning
|
195
|
-
|
196
|
-
&[data-ks-tooltip-position="bottom"]
|
197
|
-
&:after
|
198
|
-
top: 100%
|
199
|
-
bottom: auto
|
200
|
-
margin-top: 15px
|
201
|
-
transform: translateY(-6px)
|
202
|
-
|
203
|
-
&:before
|
204
|
-
transform: rotate(180deg)
|
205
|
-
top: 100%
|
206
|
-
bottom: auto
|
207
|
-
|
208
|
-
&[data-ks-tooltip-position="left"]
|
209
|
-
&:after
|
210
|
-
transform: translateY(6px)
|
211
|
-
top: 50%
|
212
|
-
bottom: auto
|
213
|
-
margin:
|
214
|
-
top: -19px
|
215
|
-
right: 12px
|
216
|
-
left: auto
|
217
|
-
right: 100%
|
218
|
-
|
219
|
-
&:before
|
220
|
-
transform: rotate(-90deg)
|
221
|
-
top: 50%
|
222
|
-
margin-top: -4px
|
223
|
-
bottom: auto
|
224
|
-
left: auto
|
225
|
-
right: 100%
|
226
|
-
|
227
|
-
&[data-ks-tooltip-position="right"]
|
228
|
-
&:after
|
229
|
-
transform: translateY(6px)
|
230
|
-
top: 50%
|
231
|
-
bottom: auto
|
232
|
-
margin:
|
233
|
-
top: -19px
|
234
|
-
left: 16px
|
235
|
-
left: 100%
|
236
|
-
right: auto
|
237
|
-
|
238
|
-
&:before
|
239
|
-
transform: rotate(90deg)
|
240
|
-
top: 50%
|
241
|
-
margin-top: -4px
|
242
|
-
margin-left: 4px
|
243
|
-
bottom: auto
|
244
|
-
left: 100%
|
245
|
-
right: auto
|
246
|
-
|
247
|
-
&[data-ks-tooltip-color="red"]
|
248
|
-
+pseudo-tooltip-color(map-get($colors, red))
|
249
|
-
|
250
|
-
&[data-ks-tooltip-color="orange"]
|
251
|
-
+pseudo-tooltip-color(map-get($colors, orange))
|
252
|
-
|
253
|
-
&[data-ks-tooltip-color="yellow"]
|
254
|
-
+pseudo-tooltip-color(map-get($colors, yellow))
|
255
|
-
|
256
|
-
&[data-ks-tooltip-color="green"]
|
257
|
-
+pseudo-tooltip-color(map-get($colors, green))
|
258
|
-
|
259
|
-
&[data-ks-tooltip-color="blue"]
|
260
|
-
+pseudo-tooltip-color(map-get($colors, blue))
|
261
|
-
|
262
|
-
&[data-ks-tooltip-color="violet"]
|
263
|
-
+pseudo-tooltip-color(map-get($colors, violet))
|
264
|
-
|
265
|
-
.tooltip
|
266
|
-
+tooltip_base
|
267
|
-
left: -30px
|
268
|
-
right: -30px
|
269
|
-
transform: translateY(8px)
|
270
|
-
z-index: 10
|
271
|
-
+label(map-get($colors, blue))
|
272
|
-
margin: 10px auto
|
273
|
-
|
274
|
-
&:after
|
275
|
-
+tooltip_arrow
|
276
|
-
top: 100%
|
277
|
-
|
278
|
-
&.tooltip-bottom
|
279
|
-
top: 100%
|
280
|
-
bottom: auto
|
281
|
-
|
282
|
-
&:after
|
283
|
-
bottom: 100%
|
284
|
-
top: auto
|
285
|
-
transform: rotate(180deg)
|
286
|
-
|
287
|
-
&.tooltip-left
|
288
|
-
right: 100%
|
289
|
-
left: auto
|
290
|
-
|
291
|
-
&:after
|
292
|
-
transform: rotate(-90deg)
|
293
|
-
left: 100%
|
294
|
-
|
295
|
-
&.tooltip-right
|
296
|
-
left: 100%
|
297
|
-
right: auto
|
298
|
-
|
299
|
-
&:after
|
300
|
-
transform: rotate(90deg)
|
301
|
-
left: auto
|
302
|
-
right: 100%
|
303
|
-
margin:
|
304
|
-
left: 0
|
305
|
-
right: -8px
|
306
|
-
|
307
|
-
&.tooltip-right, &.tooltip-left
|
308
|
-
top: 0
|
309
|
-
bottom: auto
|
310
|
-
margin: 0
|
311
|
-
|
312
|
-
&:after
|
313
|
-
top: 8px
|
314
|
-
|
315
|
-
&.tooltip-red
|
316
|
-
+label(map-get($colors, red))
|
317
|
-
|
318
|
-
&.tooltip-orange
|
319
|
-
+label(map-get($colors, orange))
|
320
|
-
|
321
|
-
&.tooltip-yellow
|
322
|
-
+label(map-get($colors, yellow))
|
323
|
-
|
324
|
-
&.tooltip-green
|
325
|
-
+label(map-get($colors, green))
|
326
|
-
|
327
|
-
&.tooltip-blue
|
328
|
-
+label(map-get($colors, blue))
|
329
|
-
|
330
|
-
&.tooltip-violet
|
331
|
-
+label(map-get($colors, violet))
|
332
|
-
|
333
|
-
&.tooltip-primary
|
334
|
-
+label(map-get($colors, primary))
|
335
|
-
|
336
|
-
&.tooltip-secondary
|
337
|
-
+label(map-get($colors, secondary))
|
@@ -1,142 +0,0 @@
|
|
1
|
-
// Still playing with this
|
2
|
-
$mobile: (
|
3
|
-
default: 360px,
|
4
|
-
large: 480px,
|
5
|
-
larger: 600px,
|
6
|
-
largest: 768px
|
7
|
-
)
|
8
|
-
|
9
|
-
//
|
10
|
-
$display: (
|
11
|
-
smallest: 960px,
|
12
|
-
smaller: 1024px,
|
13
|
-
small: 1200px,
|
14
|
-
default: 1400px
|
15
|
-
)
|
16
|
-
|
17
|
-
$phone: 360px
|
18
|
-
$phablet: 480px
|
19
|
-
$tablet: 768px
|
20
|
-
$tablet-landscape: 960px
|
21
|
-
$desktop: 1024px
|
22
|
-
$large-monitor: 1200px
|
23
|
-
$xl-monitor: 1400px
|
24
|
-
$xxl-monitor: 1800px
|
25
|
-
|
26
|
-
$grid-columns: 12
|
27
|
-
$grid-gutter: 15px
|
28
|
-
|
29
|
-
// Grid breakpoints
|
30
|
-
// ----------------
|
31
|
-
// Critical breakpoints where offsets and alternative grid styles will
|
32
|
-
// be displayed
|
33
|
-
|
34
|
-
$showOffsets: $tablet-landscape // Offsets render at this breakpoint
|
35
|
-
$showColumns: $phablet // Allow < 12 columns
|
36
|
-
$showPartialColumns: $tablet // Simpler alternative to actual columns
|
37
|
-
$showFullColumns: $desktop // Actual user-defined column measurement
|
38
|
-
|
39
|
-
=container-default($fluid: false)
|
40
|
-
margin: 0px auto
|
41
|
-
|
42
|
-
@if $fluid == false
|
43
|
-
max-width: $tablet
|
44
|
-
padding:
|
45
|
-
left: $space
|
46
|
-
right: $space
|
47
|
-
|
48
|
-
@if $fluid == false
|
49
|
-
@media screen and (min-width: $showOffsets)
|
50
|
-
max-width: $desktop
|
51
|
-
|
52
|
-
@media screen and (min-width: $xxl-monitor)
|
53
|
-
max-width: $large-monitor
|
54
|
-
|
55
|
-
=row
|
56
|
-
display: flex
|
57
|
-
width: 100%
|
58
|
-
justify-content: space-between
|
59
|
-
align-items: stretch
|
60
|
-
flex-wrap: wrap
|
61
|
-
|
62
|
-
=measure-columns($columns, $prop)
|
63
|
-
// TODO: DRY this somehow?
|
64
|
-
@if $prop == "width"
|
65
|
-
width: calc(#{percentage($columns/$grid-columns)} - #{(($grid-columns/$columns - 1) * $grid-gutter)/($grid-columns/$columns)})
|
66
|
-
|
67
|
-
@else if $prop == "margin-left"
|
68
|
-
margin-left: calc(#{percentage($columns/$grid-columns)} - #{(($grid-columns/$columns - 1) * $grid-gutter)/($grid-columns/$columns) - $grid-gutter})
|
69
|
-
|
70
|
-
@else if $prop == "margin-right"
|
71
|
-
margin-right: calc(#{percentage($columns/$grid-columns)} - #{(($grid-columns/$columns - 1) * $grid-gutter)/($grid-columns/$columns) - $grid-gutter})
|
72
|
-
|
73
|
-
=set-offset($columns, $side: "margin-right")
|
74
|
-
// Never show leftes and rights on mobile
|
75
|
-
// +measure-columns(0, $side)
|
76
|
-
|
77
|
-
// Look for keywords
|
78
|
-
@if $columns == "half"
|
79
|
-
@media screen and (min-width: $showPartialColumns)
|
80
|
-
+measure-columns(6, $side)
|
81
|
-
|
82
|
-
@else if $columns == "third"
|
83
|
-
@media screen and (min-width: $showPartialColumns)
|
84
|
-
+measure-columns(6, $side)
|
85
|
-
|
86
|
-
@media screen and (min-width: $showFullColumns)
|
87
|
-
+measure-columns(4, $side)
|
88
|
-
|
89
|
-
@else if $columns == "twothirds"
|
90
|
-
@media screen and (min-width: $showPartialColumns)
|
91
|
-
+measure-columns(6, $side)
|
92
|
-
|
93
|
-
@media screen and (min-width: $showFullColumns)
|
94
|
-
+measure-columns(8, $side)
|
95
|
-
|
96
|
-
@else
|
97
|
-
@media screen and (min-width: $showPartialColumns)
|
98
|
-
+measure-columns($columns, $side)
|
99
|
-
|
100
|
-
// Convenience mixins
|
101
|
-
=right($columns)
|
102
|
-
+set-offset($columns, "margin-right")
|
103
|
-
=left($columns)
|
104
|
-
+set-offset($columns, "margin-left")
|
105
|
-
|
106
|
-
=set-column($columns, $right, $left)
|
107
|
-
+measure-columns($columns, "width")
|
108
|
-
clear: none
|
109
|
-
display: block
|
110
|
-
// margin-left: 0
|
111
|
-
|
112
|
-
@if $right != 0
|
113
|
-
+set-offset($right, "margin-right")
|
114
|
-
|
115
|
-
@if $left != 0
|
116
|
-
+set-offset($left, "margin-left")
|
117
|
-
|
118
|
-
=column($columns: 12, $right: 0, $left: 0)
|
119
|
-
// Everything is a full width column on mobile by default
|
120
|
-
+set-column(12, 0, 0)
|
121
|
-
|
122
|
-
// Look for keywords
|
123
|
-
@if $columns == "half"
|
124
|
-
@media screen and (min-width: $showPartialColumns)
|
125
|
-
+set-column($grid-columns/2, $right, $left)
|
126
|
-
|
127
|
-
@else if $columns == "third"
|
128
|
-
@media screen and (min-width: $showPartialColumns)
|
129
|
-
+set-column($grid-columns/2, $right, $left)
|
130
|
-
@media screen and (min-width: $showFullColumns)
|
131
|
-
+set-column($grid-columns/3, $right, $left)
|
132
|
-
|
133
|
-
@else if $columns == "twothirds"
|
134
|
-
@media screen and (min-width: $showPartialColumns)
|
135
|
-
+set-column($grid-columns/2, $right, $left)
|
136
|
-
@media screen and (min-width: $showFullColumns)
|
137
|
-
+set-column(($grid-columns * 2/3), $right, $left)
|
138
|
-
|
139
|
-
@else
|
140
|
-
// No keywords found, pass in values.
|
141
|
-
@media screen and (min-width: $showColumns)
|
142
|
-
+set-column($columns, $right, $left)
|