fomantic-ui 2.9.0-beta.2 → 2.9.0-beta.202
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.all-contributorsrc +197 -3
- package/CONTRIBUTING.md +1 -1
- package/CONTRIBUTORS.md +74 -37
- package/README.md +1 -1
- package/dist/components/accordion.css +162 -26
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +2 -2
- package/dist/components/accordion.min.js +2 -2
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +30 -26
- package/dist/components/api.min.js +3 -3
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +81 -81
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +110 -11
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +3 -3
- package/dist/components/card.css +26 -19
- package/dist/components/card.min.css +2 -2
- package/dist/components/checkbox.css +2 -1
- package/dist/components/checkbox.js +17 -11
- package/dist/components/checkbox.min.css +2 -2
- package/dist/components/checkbox.min.js +3 -3
- package/dist/components/comment.css +11 -11
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +77 -1
- package/dist/components/container.min.css +2 -2
- package/dist/components/dimmer.css +28 -14
- package/dist/components/dimmer.js +7 -1
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +3 -3
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +30 -7
- package/dist/components/dropdown.js +59 -34
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +3 -3
- package/dist/components/embed.css +1 -1
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +2 -2
- package/dist/components/emoji.css +2 -2
- package/dist/components/feed.css +28 -28
- package/dist/components/feed.min.css +2 -2
- package/dist/components/flag.css +731 -625
- package/dist/components/flag.min.css +2 -2
- package/dist/components/form.css +106 -55
- package/dist/components/form.js +25 -23
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +3 -3
- package/dist/components/grid.css +11 -8
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +6 -1
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +734 -17
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +13 -13
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +1 -1
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +1 -1
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +1 -1
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +31 -7
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +41 -41
- package/dist/components/message.min.css +2 -2
- package/dist/components/modal.css +13 -1
- package/dist/components/modal.js +121 -46
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +3 -3
- package/dist/components/nag.css +1 -1
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +2 -2
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +5 -3
- package/dist/components/popup.js +1 -1
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +2 -2
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +6 -3
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +3 -3
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +7 -46
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +2 -2
- package/dist/components/rating.min.js +2 -2
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +1 -1
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +90 -6
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +2 -2
- package/dist/components/sidebar.css +4 -2
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +2 -2
- package/dist/components/sidebar.min.js +2 -2
- package/dist/components/site.css +61 -39
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +2 -2
- package/dist/components/site.min.js +2 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +2 -2
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +4 -4
- package/dist/components/step.min.css +2 -2
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +2 -2
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +3 -3
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +23 -5
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +3 -3
- package/dist/components/table.css +1168 -26
- package/dist/components/table.min.css +2 -2
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +45 -1
- package/dist/components/toast.js +56 -28
- package/dist/components/toast.min.css +2 -2
- package/dist/components/toast.min.js +3 -3
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +2 -2
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +3 -3
- package/dist/components/visibility.js +2 -2
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +4300 -1394
- package/dist/semantic.js +473 -207
- package/dist/semantic.min.css +3 -3
- package/dist/semantic.min.js +3 -3
- package/examples/assets/library/iframe-content.js +8 -8
- package/examples/assets/library/iframe.js +3 -3
- package/package.json +2 -2
- package/src/definitions/behaviors/api.js +29 -25
- package/src/definitions/behaviors/form.js +24 -22
- package/src/definitions/behaviors/visibility.js +1 -1
- package/src/definitions/collections/form.less +193 -140
- package/src/definitions/collections/grid.less +716 -680
- package/src/definitions/collections/menu.less +174 -127
- package/src/definitions/collections/message.less +48 -46
- package/src/definitions/collections/table.less +849 -262
- package/src/definitions/elements/button.less +360 -347
- package/src/definitions/elements/container.less +126 -8
- package/src/definitions/elements/emoji.less +15 -9
- package/src/definitions/elements/flag.less +7 -17
- package/src/definitions/elements/header.less +42 -35
- package/src/definitions/elements/icon.less +38 -31
- package/src/definitions/elements/input.less +256 -21
- package/src/definitions/elements/label.less +92 -91
- package/src/definitions/elements/list.less +55 -45
- package/src/definitions/elements/loader.less +30 -29
- package/src/definitions/elements/segment.less +146 -27
- package/src/definitions/elements/step.less +52 -48
- package/src/definitions/elements/text.less +17 -15
- package/src/definitions/globals/site.less +23 -2
- package/src/definitions/modules/accordion.less +175 -24
- package/src/definitions/modules/calendar.js +109 -10
- package/src/definitions/modules/checkbox.js +16 -10
- package/src/definitions/modules/checkbox.less +34 -178
- package/src/definitions/modules/dimmer.js +6 -0
- package/src/definitions/modules/dimmer.less +21 -8
- package/src/definitions/modules/dropdown.js +58 -33
- package/src/definitions/modules/dropdown.less +101 -69
- package/src/definitions/modules/modal.js +120 -45
- package/src/definitions/modules/modal.less +12 -0
- package/src/definitions/modules/nag.less +20 -19
- package/src/definitions/modules/popup.less +5 -1
- package/src/definitions/modules/progress.js +5 -2
- package/src/definitions/modules/progress.less +19 -18
- package/src/definitions/modules/rating.less +49 -42
- package/src/definitions/modules/search.less +32 -16
- package/src/definitions/modules/sidebar.less +33 -19
- package/src/definitions/modules/slider.less +39 -38
- package/src/definitions/modules/sticky.js +1 -1
- package/src/definitions/modules/tab.js +22 -4
- package/src/definitions/modules/toast.js +55 -27
- package/src/definitions/modules/toast.less +53 -16
- package/src/definitions/modules/transition.js +1 -1
- package/src/definitions/views/card.less +402 -361
- package/src/definitions/views/comment.less +92 -81
- package/src/definitions/views/feed.less +164 -144
- package/src/definitions/views/item.less +249 -196
- package/src/definitions/views/statistic.less +90 -88
- package/src/themes/bookish/elements/header.overrides +1 -1
- package/src/themes/chubby/elements/button.overrides +1 -1
- package/src/themes/chubby/elements/header.overrides +1 -1
- package/src/themes/default/collections/menu.variables +6 -0
- package/src/themes/default/collections/table.variables +52 -0
- package/src/themes/default/elements/button.variables +2 -1
- package/src/themes/default/elements/container.variables +8 -0
- package/src/themes/default/elements/flag.overrides +1635 -986
- package/src/themes/default/elements/flag.variables +7 -5
- package/src/themes/default/elements/icon.overrides +35 -28
- package/src/themes/default/elements/icon.variables +1 -0
- package/src/themes/default/elements/input.variables +15 -0
- package/src/themes/default/elements/segment.variables +8 -0
- package/src/themes/default/elements/step.overrides +1 -1
- package/src/themes/default/globals/site.variables +6 -0
- package/src/themes/default/globals/variation.variables +135 -6
- package/src/themes/default/modules/accordion.variables +49 -2
- package/src/themes/default/modules/checkbox.variables +5 -5
- package/src/themes/default/modules/dimmer.variables +1 -1
- package/src/themes/default/modules/dropdown.variables +1 -1
- package/src/themes/default/modules/modal.variables +13 -0
- package/src/themes/default/modules/toast.variables +3 -0
- package/src/themes/famfamfam/elements/flag.overrides +1026 -0
- package/src/themes/famfamfam/elements/flag.variables +13 -0
- package/src/themes/instagram/views/card.overrides +1 -1
- package/src/themes/material/collections/menu.overrides +1 -1
- package/src/themes/material/elements/button.overrides +1 -1
- package/src/themes/material/elements/header.overrides +1 -1
- package/src/themes/material/modules/dropdown.overrides +1 -1
- package/src/themes/material/modules/modal.overrides +1 -1
- package/src/themes/rtl/globals/site.overrides +1 -1
- package/tasks/admin/components/init.js +2 -2
- package/tasks/admin/distributions/init.js +2 -2
- package/tasks/build/css.js +6 -1
- package/test/helpers/sinon.js +1 -1
@@ -179,85 +179,86 @@
|
|
179
179
|
Count
|
180
180
|
---------------*/
|
181
181
|
|
182
|
+
& when (@variationStatisticEqualWidth) {
|
183
|
+
.ui.ten.statistics {
|
184
|
+
margin: @itemGroupMargin;
|
185
|
+
}
|
186
|
+
.ui.ten.statistics .statistic {
|
187
|
+
min-width: @tenColumn;
|
188
|
+
margin: @itemMargin;
|
189
|
+
}
|
182
190
|
|
183
|
-
.ui.
|
184
|
-
|
185
|
-
}
|
186
|
-
.ui.
|
187
|
-
|
188
|
-
|
189
|
-
}
|
190
|
-
|
191
|
-
.ui.nine.statistics {
|
192
|
-
margin: @itemGroupMargin;
|
193
|
-
}
|
194
|
-
.ui.nine.statistics .statistic {
|
195
|
-
min-width: @nineColumn;
|
196
|
-
margin: @itemMargin;
|
197
|
-
}
|
191
|
+
.ui.nine.statistics {
|
192
|
+
margin: @itemGroupMargin;
|
193
|
+
}
|
194
|
+
.ui.nine.statistics .statistic {
|
195
|
+
min-width: @nineColumn;
|
196
|
+
margin: @itemMargin;
|
197
|
+
}
|
198
198
|
|
199
|
-
.ui.eight.statistics {
|
200
|
-
|
201
|
-
}
|
202
|
-
.ui.eight.statistics .statistic {
|
203
|
-
|
204
|
-
|
205
|
-
}
|
199
|
+
.ui.eight.statistics {
|
200
|
+
margin: @itemGroupMargin;
|
201
|
+
}
|
202
|
+
.ui.eight.statistics .statistic {
|
203
|
+
min-width: @eightColumn;
|
204
|
+
margin: @itemMargin;
|
205
|
+
}
|
206
206
|
|
207
|
-
.ui.seven.statistics {
|
208
|
-
|
209
|
-
}
|
210
|
-
.ui.seven.statistics .statistic {
|
211
|
-
|
212
|
-
|
213
|
-
}
|
207
|
+
.ui.seven.statistics {
|
208
|
+
margin: @itemGroupMargin;
|
209
|
+
}
|
210
|
+
.ui.seven.statistics .statistic {
|
211
|
+
min-width: @sevenColumn;
|
212
|
+
margin: @itemMargin;
|
213
|
+
}
|
214
214
|
|
215
|
-
.ui.six.statistics {
|
216
|
-
|
217
|
-
}
|
218
|
-
.ui.six.statistics .statistic {
|
219
|
-
|
220
|
-
|
221
|
-
}
|
215
|
+
.ui.six.statistics {
|
216
|
+
margin: @itemGroupMargin;
|
217
|
+
}
|
218
|
+
.ui.six.statistics .statistic {
|
219
|
+
min-width: @sixColumn;
|
220
|
+
margin: @itemMargin;
|
221
|
+
}
|
222
222
|
|
223
|
-
.ui.five.statistics {
|
224
|
-
|
225
|
-
}
|
226
|
-
.ui.five.statistics .statistic {
|
227
|
-
|
228
|
-
|
229
|
-
}
|
223
|
+
.ui.five.statistics {
|
224
|
+
margin: @itemGroupMargin;
|
225
|
+
}
|
226
|
+
.ui.five.statistics .statistic {
|
227
|
+
min-width: @fiveColumn;
|
228
|
+
margin: @itemMargin;
|
229
|
+
}
|
230
230
|
|
231
|
-
.ui.four.statistics {
|
232
|
-
|
233
|
-
}
|
234
|
-
.ui.four.statistics .statistic {
|
235
|
-
|
236
|
-
|
237
|
-
}
|
231
|
+
.ui.four.statistics {
|
232
|
+
margin: @itemGroupMargin;
|
233
|
+
}
|
234
|
+
.ui.four.statistics .statistic {
|
235
|
+
min-width: @fourColumn;
|
236
|
+
margin: @itemMargin;
|
237
|
+
}
|
238
238
|
|
239
|
-
.ui.three.statistics {
|
240
|
-
|
241
|
-
}
|
242
|
-
.ui.three.statistics .statistic {
|
243
|
-
|
244
|
-
|
245
|
-
}
|
239
|
+
.ui.three.statistics {
|
240
|
+
margin: @itemGroupMargin;
|
241
|
+
}
|
242
|
+
.ui.three.statistics .statistic {
|
243
|
+
min-width: @threeColumn;
|
244
|
+
margin: @itemMargin;
|
245
|
+
}
|
246
246
|
|
247
|
-
.ui.two.statistics {
|
248
|
-
|
249
|
-
}
|
250
|
-
.ui.two.statistics .statistic {
|
251
|
-
|
252
|
-
|
253
|
-
}
|
247
|
+
.ui.two.statistics {
|
248
|
+
margin: @itemGroupMargin;
|
249
|
+
}
|
250
|
+
.ui.two.statistics .statistic {
|
251
|
+
min-width: @twoColumn;
|
252
|
+
margin: @itemMargin;
|
253
|
+
}
|
254
254
|
|
255
|
-
.ui.one.statistics {
|
256
|
-
|
257
|
-
}
|
258
|
-
.ui.one.statistics .statistic {
|
259
|
-
|
260
|
-
|
255
|
+
.ui.one.statistics {
|
256
|
+
margin: @itemGroupMargin;
|
257
|
+
}
|
258
|
+
.ui.one.statistics .statistic {
|
259
|
+
min-width: @oneColumn;
|
260
|
+
margin: @itemMargin;
|
261
|
+
}
|
261
262
|
}
|
262
263
|
|
263
264
|
|
@@ -323,25 +324,26 @@
|
|
323
324
|
/*--------------
|
324
325
|
Colors
|
325
326
|
---------------*/
|
326
|
-
|
327
|
-
each(@
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
}
|
337
|
-
& when (@variationStatisticInverted) {
|
338
|
-
.ui.inverted.@{color}.statistics .statistic > .value,
|
339
|
-
.ui.statistics .inverted.@{color}.statistic > .value,
|
340
|
-
.ui.inverted.@{color}.statistic > .value {
|
341
|
-
color: @l;
|
327
|
+
& when not (@variationStatisticColors = false) {
|
328
|
+
each(@variationStatisticColors, {
|
329
|
+
@color: @value;
|
330
|
+
@c: @colors[@@color][color];
|
331
|
+
@l: @colors[@@color][light];
|
332
|
+
|
333
|
+
.ui.@{color}.statistics .statistic > .value,
|
334
|
+
.ui.statistics .@{color}.statistic > .value,
|
335
|
+
.ui.@{color}.statistic > .value {
|
336
|
+
color: @c;
|
342
337
|
}
|
343
|
-
|
344
|
-
}
|
338
|
+
& when (@variationStatisticInverted) {
|
339
|
+
.ui.inverted.@{color}.statistics .statistic > .value,
|
340
|
+
.ui.statistics .inverted.@{color}.statistic > .value,
|
341
|
+
.ui.inverted.@{color}.statistic > .value {
|
342
|
+
color: @l;
|
343
|
+
}
|
344
|
+
}
|
345
|
+
})
|
346
|
+
}
|
345
347
|
|
346
348
|
& when (@variationStatisticFloated) {
|
347
349
|
/*--------------
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Overrides
|
3
3
|
*******************************/
|
4
4
|
|
5
|
-
@import url(https://fonts.googleapis.com/
|
5
|
+
@import (css) url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro');
|
6
6
|
|
7
7
|
.ui.labeled.icon.buttons > .button > .icon,
|
8
8
|
.ui.labeled.icon.button > .icon {
|
@@ -481,3 +481,9 @@
|
|
481
481
|
|
482
482
|
@invertedDropdownSelectedItemBackground: @strongTransparentWhite;
|
483
483
|
@invertedDropdownSelectedItemColor: @invertedDropdownItemColor;
|
484
|
+
|
485
|
+
/* Tabular */
|
486
|
+
@invertedTabularBorderColor: @solidWhiteBorderColor;
|
487
|
+
@invertedTabularBorder: @borderWidth solid @invertedTabularBorderColor;
|
488
|
+
@invertedTabularActiveBackground: none @black;
|
489
|
+
@invertedTabularHoveredTextColor: @invertedHoveredTextColor;
|
@@ -42,6 +42,7 @@
|
|
42
42
|
@headerBorder: 1px solid @internalBorderColor;
|
43
43
|
@headerDivider: none;
|
44
44
|
@headerBackground: @offWhite;
|
45
|
+
@headerBackgroundHex: @offWhite;
|
45
46
|
@headerAlign: inherit;
|
46
47
|
@headerVerticalAlign: inherit;
|
47
48
|
@headerColor: @textColor;
|
@@ -57,6 +58,7 @@
|
|
57
58
|
@footerBorder: 1px solid @borderColor;
|
58
59
|
@footerDivider: none;
|
59
60
|
@footerBackground: @offWhite;
|
61
|
+
@footerBackgroundHex: @offWhite;
|
60
62
|
@footerAlign: inherit;
|
61
63
|
@footerVerticalAlign: inherit;
|
62
64
|
@footerColor: @textColor;
|
@@ -118,29 +120,39 @@
|
|
118
120
|
@positiveBoxShadow: @stateMarkerWidth 0 0 @positiveBorderColor inset;
|
119
121
|
@positiveBackgroundHover: darken(@positiveBackgroundColor, 3);
|
120
122
|
@positiveColorHover: darken(@positiveColor, 3);
|
123
|
+
@invertedPositiveColor: @positiveTextColor;
|
124
|
+
@invertedPositiveBackgroundColor: @positiveBorderColor;
|
121
125
|
|
122
126
|
/* Negative */
|
123
127
|
@negativeColor: @negativeTextColor;
|
124
128
|
@negativeBoxShadow: @stateMarkerWidth 0 0 @negativeBorderColor inset;
|
125
129
|
@negativeBackgroundHover: darken(@negativeBackgroundColor, 3);
|
126
130
|
@negativeColorHover: darken(@negativeColor, 3);
|
131
|
+
@invertedNegativeColor: @negativeTextColor;
|
132
|
+
@invertedNegativeBackgroundColor: @negativeBorderColor;
|
127
133
|
|
128
134
|
/* Error */
|
129
135
|
@errorColor: @errorTextColor;
|
130
136
|
@errorBoxShadow: @stateMarkerWidth 0 0 @errorBorderColor inset;
|
131
137
|
@errorBackgroundHover: darken(@errorBackgroundColor, 3);
|
132
138
|
@errorColorHover: darken(@errorColor, 3);
|
139
|
+
@invertedErrorColor: @errorTextColor;
|
140
|
+
@invertedErrorBackgroundColor: @errorBorderColor;
|
133
141
|
|
134
142
|
/* Warning */
|
135
143
|
@warningColor: @warningTextColor;
|
136
144
|
@warningBoxShadow: @stateMarkerWidth 0 0 @warningBorderColor inset;
|
137
145
|
@warningBackgroundHover: darken(@warningBackgroundColor, 3);
|
138
146
|
@warningColorHover: darken(@warningColor, 3);
|
147
|
+
@invertedWarningColor: @warningTextColor;
|
148
|
+
@invertedWarningBackgroundColor: #EEC97E;
|
139
149
|
|
140
150
|
/* Active */
|
141
151
|
@activeColor: @textColor;
|
142
152
|
@activeBackgroundColor: #E0E0E0;
|
143
153
|
@activeBoxShadow: @stateMarkerWidth 0 0 @activeColor inset;
|
154
|
+
@invertedActiveColor: @textColor;
|
155
|
+
@invertedActiveBackgroundColor: #A0A0A0;
|
144
156
|
|
145
157
|
@activeBackgroundHover: #EFEFEF;
|
146
158
|
@activeColorHover: @selectedTextColor;
|
@@ -212,9 +224,15 @@
|
|
212
224
|
@invertedCellColor: @invertedTextColor;
|
213
225
|
|
214
226
|
@invertedHeaderBackground: @veryStrongTransparentBlack;
|
227
|
+
@invertedHeaderBackgroundHex: #252525;
|
215
228
|
@invertedHeaderColor: @invertedTextColor;
|
216
229
|
@invertedHeaderBorderColor: @invertedCellBorderColor;
|
217
230
|
|
231
|
+
@invertedFooterBackground: @invertedHeaderBackground;
|
232
|
+
@invertedFooterBackgroundHex: @invertedHeaderBackgroundHex;
|
233
|
+
@invertedFooterColor: @invertedHeaderColor;
|
234
|
+
@invertedFooterBorderColor: @invertedHeaderBorderColor;
|
235
|
+
|
218
236
|
@invertedDefinitionColumnBackground: @subtleTransparentWhite;
|
219
237
|
@invertedDefinitionColumnColor: @invertedSelectedTextColor;
|
220
238
|
@invertedDefinitionColumnFontWeight: @bold;
|
@@ -243,6 +261,40 @@
|
|
243
261
|
@veryCompactVerticalPadding: 0.4em;
|
244
262
|
@veryCompactHorizontalPadding: 0.6em;
|
245
263
|
|
264
|
+
/* Scrolling */
|
265
|
+
@scrollingMobileMaxItems: 3;
|
266
|
+
@scrollingTabletMaxItems: 4;
|
267
|
+
@scrollingComputerMaxItems: 6;
|
268
|
+
@scrollingWidescreenMaxItems: 8;
|
269
|
+
|
270
|
+
@scrollingItemHeight: (@cellVerticalPadding * 2) + @lineHeight;
|
271
|
+
@scrollingMobileMaxBodyHeight: (@scrollingItemHeight * @scrollingMobileMaxItems);
|
272
|
+
@scrollingTabletMaxBodyHeight: (@scrollingItemHeight * @scrollingTabletMaxItems);
|
273
|
+
@scrollingComputerMaxBodyHeight: (@scrollingItemHeight * @scrollingComputerMaxItems);
|
274
|
+
@scrollingWidescreenMaxBodyHeight: (@scrollingItemHeight * @scrollingWidescreenMaxItems);
|
275
|
+
|
276
|
+
/* Stuck */
|
277
|
+
@stuckBackground: @background;
|
278
|
+
@stuckHeaderBackground: @offWhite;
|
279
|
+
@stuckFooterBackground: @stuckHeaderBackground;
|
280
|
+
|
281
|
+
@invertedStuckBackground: @invertedBackground;
|
282
|
+
@invertedStuckHeaderBackground: @invertedHeaderBackgroundHex;
|
283
|
+
@invertedStuckFooterBackground: @invertedStuckHeaderBackground;
|
284
|
+
|
285
|
+
@stuckZIndex: 800;
|
286
|
+
|
287
|
+
@overflowingMobileMaxItems: 5;
|
288
|
+
@overflowingTabletMaxItems: 6;
|
289
|
+
@overflowingComputerMaxItems: 8;
|
290
|
+
@overflowingWidescreenMaxItems: 10;
|
291
|
+
|
292
|
+
@overflowingItemHeight: (@cellVerticalPadding * 2) + @lineHeight;
|
293
|
+
@overflowingMobileMaxHeight: (@overflowingItemHeight * @overflowingMobileMaxItems);
|
294
|
+
@overflowingTabletMaxHeight: (@overflowingItemHeight * @overflowingTabletMaxItems);
|
295
|
+
@overflowingComputerMaxHeight: (@overflowingItemHeight * @overflowingComputerMaxItems);
|
296
|
+
@overflowingWidescreenMaxHeight: (@overflowingItemHeight * @overflowingWidescreenMaxItems);
|
297
|
+
|
246
298
|
|
247
299
|
/* Sizes */
|
248
300
|
@small: 0.9em;
|
@@ -253,7 +253,8 @@
|
|
253
253
|
/*-------------
|
254
254
|
Tertiary
|
255
255
|
-------------*/
|
256
|
-
@
|
256
|
+
@tertiaryVerticalPadding: 0.5em;
|
257
|
+
@tertiaryHorizontalPadding: 0.5em;
|
257
258
|
@tertiaryLineHeight: 0.2em;
|
258
259
|
@tertiaryTextColor: @textColor;
|
259
260
|
@tertiaryLineColor: lighten(@tertiaryTextColor, 20%);
|
@@ -47,6 +47,14 @@
|
|
47
47
|
@computerVeryRelaxedGridWidth: e(%("calc(%d + %d)", @computerWidth, @veryRelaxedGridGutterWidth));
|
48
48
|
@largeMonitorVeryRelaxedGridWidth: e(%("calc(%d + %d)", @largeMonitorWidth, @veryRelaxedGridGutterWidth));
|
49
49
|
|
50
|
+
/*-------------------
|
51
|
+
Scrolling
|
52
|
+
--------------------*/
|
53
|
+
@scrollingMobileMaxHeight: 15em;
|
54
|
+
@scrollingTabletMaxHeight: 18em;
|
55
|
+
@scrollingComputerMaxHeight: 24em;
|
56
|
+
@scrollingWidescreenMaxHeight: 30em;
|
57
|
+
|
50
58
|
/*-------------------
|
51
59
|
Types
|
52
60
|
--------------------*/
|