fomantic-ui 2.9.4-beta.91 → 2.9.4-beta.92
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/.github/workflows/ci.yml +2 -2
- package/dist/components/accordion.css +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +1 -1
- package/dist/components/ad.css +1 -1
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +1 -1
- package/dist/components/api.min.js +1 -1
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +1 -1
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +1 -1
- package/dist/components/card.css +1 -1
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +1 -1
- package/dist/components/comment.css +1 -1
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +1 -1
- package/dist/components/dimmer.js +1 -1
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +1 -1
- package/dist/components/divider.css +1 -1
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +1 -1
- 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 +1 -1
- package/dist/components/emoji.css +1 -1
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +1 -1
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +3 -3
- package/dist/components/flyout.js +1 -1
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +1 -1
- package/dist/components/form.css +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +1 -1
- package/dist/components/grid.css +1 -1
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +1 -1
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +1 -1
- package/dist/components/icon.min.css +1 -1
- package/dist/components/image.css +1 -1
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +1 -1
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +1 -1
- 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 +1 -1
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +1 -1
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +3 -3
- package/dist/components/modal.js +1 -1
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +1 -1
- 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 +1 -1
- package/dist/components/placeholder.css +1 -1
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +1 -1
- package/dist/components/popup.js +1 -1
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +1 -1
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +1 -1
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +1 -1
- 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 +1 -1
- package/dist/components/segment.css +1 -1
- package/dist/components/segment.min.css +1 -1
- 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 +1 -1
- package/dist/components/sidebar.css +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +1 -1
- package/dist/components/site.css +1 -1
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.css +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +1 -1
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +1 -1
- package/dist/components/statistic.css +1 -1
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +1 -1
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +1 -1
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +1 -1
- package/dist/components/tab.css +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +1 -1
- package/dist/components/table.css +1 -1
- package/dist/components/table.min.css +1 -1
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +1 -1
- package/dist/components/transition.css +1 -1
- package/dist/components/transition.js +1 -1
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +1 -1
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +57 -57
- package/dist/semantic.js +26 -26
- package/dist/semantic.min.css +1 -1
- package/dist/semantic.min.js +1 -1
- package/package.json +1 -1
- package/src/definitions/collections/form.less +37 -24
- package/src/definitions/collections/grid.less +81 -66
- package/src/definitions/collections/menu.less +38 -27
- package/src/definitions/collections/table.less +114 -103
- package/src/definitions/elements/button.less +36 -24
- package/src/definitions/elements/container.less +6 -4
- package/src/definitions/elements/divider.less +4 -1
- package/src/definitions/elements/emoji.less +3 -1
- package/src/definitions/elements/header.less +7 -4
- package/src/definitions/elements/icon.less +35 -28
- package/src/definitions/elements/input.less +21 -13
- package/src/definitions/elements/label.less +14 -8
- package/src/definitions/elements/list.less +28 -21
- package/src/definitions/elements/loader.less +17 -12
- package/src/definitions/elements/segment.less +12 -7
- package/src/definitions/elements/step.less +95 -91
- package/src/definitions/modules/accordion.less +15 -13
- package/src/definitions/modules/calendar.less +6 -4
- package/src/definitions/modules/checkbox.less +12 -6
- package/src/definitions/modules/dimmer.less +10 -7
- package/src/definitions/modules/dropdown.less +68 -51
- package/src/definitions/modules/flyout.less +51 -45
- package/src/definitions/modules/modal.less +109 -82
- package/src/definitions/modules/nag.less +8 -4
- package/src/definitions/modules/popup.less +3 -1
- package/src/definitions/modules/progress.less +10 -4
- package/src/definitions/modules/slider.less +31 -24
- package/src/definitions/modules/toast.less +35 -24
- package/src/definitions/views/card.less +7 -5
- package/src/definitions/views/feed.less +3 -1
- package/src/definitions/views/item.less +7 -5
- package/src/themes/default/globals/variation.variables +13 -1
@@ -17,6 +17,13 @@
|
|
17
17
|
|
18
18
|
@import (multiple) "../../theme.config";
|
19
19
|
|
20
|
+
@notFullscreen: if(@variationModalFullscreen, e(":not(.fullscreen)"));
|
21
|
+
@notInside: if(@variationModalCloseInside, e(":not(.inside)"));
|
22
|
+
@notAligned: if(@variationModalAligned, e(":not(.aligned)"));
|
23
|
+
@notClose: if(@variationModalClose, e(":not(.close)"));
|
24
|
+
|
25
|
+
@notFluid: if(@variationButtonFluid, e(":not(.fluid)"));
|
26
|
+
|
20
27
|
/*******************************
|
21
28
|
Modal
|
22
29
|
*******************************/
|
@@ -37,9 +44,9 @@
|
|
37
44
|
outline: none;
|
38
45
|
}
|
39
46
|
|
40
|
-
.ui.modal > :first-child:not(.
|
47
|
+
.ui.modal > :first-child@{notClose}:not(.dimmer),
|
41
48
|
.ui.modal > i.icon:first-child + *,
|
42
|
-
.ui.modal > .dimmer:first-child +
|
49
|
+
.ui.modal > .dimmer:first-child + *@{notClose},
|
43
50
|
.ui.modal > .dimmer:first-child + i.icon + * {
|
44
51
|
border-top-left-radius: @borderRadius;
|
45
52
|
border-top-right-radius: @borderRadius;
|
@@ -58,27 +65,29 @@
|
|
58
65
|
Content
|
59
66
|
*******************************/
|
60
67
|
|
61
|
-
|
62
|
-
|
63
|
-
|
68
|
+
& when (@variationModalClose) {
|
69
|
+
/* --------------
|
70
|
+
Close
|
71
|
+
--------------- */
|
64
72
|
|
65
|
-
.ui.modal > .close {
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
}
|
78
|
-
.ui.modal > .close:focus,
|
79
|
-
.ui.modal > .close:hover {
|
80
|
-
|
81
|
-
|
73
|
+
.ui.modal > .close {
|
74
|
+
cursor: pointer;
|
75
|
+
position: absolute;
|
76
|
+
top: @closeTop;
|
77
|
+
right: @closeRight;
|
78
|
+
z-index: 1;
|
79
|
+
opacity: @closeOpacity;
|
80
|
+
font-size: @closeSize;
|
81
|
+
color: @closeColor;
|
82
|
+
width: @closeHitbox;
|
83
|
+
height: @closeHitbox;
|
84
|
+
padding: @closePadding;
|
85
|
+
}
|
86
|
+
.ui.modal > .close:focus,
|
87
|
+
.ui.modal > .close:hover {
|
88
|
+
opacity: 1;
|
89
|
+
outline: none;
|
90
|
+
}
|
82
91
|
}
|
83
92
|
|
84
93
|
/* --------------
|
@@ -172,7 +181,7 @@
|
|
172
181
|
border-top: @actionBorder;
|
173
182
|
text-align: @actionAlign;
|
174
183
|
}
|
175
|
-
.ui.modal .actions > .button
|
184
|
+
.ui.modal .actions > .button@{notFluid} {
|
176
185
|
margin-left: @buttonDistance;
|
177
186
|
}
|
178
187
|
.ui.ui.modal > .basic.actions,
|
@@ -182,7 +191,7 @@
|
|
182
191
|
& when (@variationModalLeftActions) {
|
183
192
|
.ui.modal > .left.actions {
|
184
193
|
text-align: left;
|
185
|
-
& > .button
|
194
|
+
& > .button@{notFluid} {
|
186
195
|
margin-left: @buttonLeftDistance;
|
187
196
|
margin-right: @buttonLeftDistance;
|
188
197
|
}
|
@@ -194,7 +203,7 @@
|
|
194
203
|
.ui.modal > .centered,
|
195
204
|
.ui.modal > .center.aligned {
|
196
205
|
text-align: center;
|
197
|
-
&.actions > .button
|
206
|
+
&.actions > .button@{notFluid} when (@variationModalActions) {
|
198
207
|
margin-left: @buttonCenteredDistance;
|
199
208
|
margin-right: @buttonCenteredDistance;
|
200
209
|
}
|
@@ -207,55 +216,62 @@
|
|
207
216
|
|
208
217
|
/* Modal Width */
|
209
218
|
@media only screen and (max-width: @largestMobileScreen) {
|
210
|
-
.ui.modal
|
219
|
+
.ui.modal@{notFullscreen} {
|
211
220
|
width: @mobileWidth;
|
212
221
|
margin: @mobileMargin;
|
213
222
|
}
|
214
223
|
}
|
215
224
|
@media only screen and (min-width: @tabletBreakpoint) {
|
216
|
-
.ui.modal
|
225
|
+
.ui.modal@{notFullscreen} {
|
217
226
|
width: @tabletWidth;
|
218
227
|
margin: @tabletMargin;
|
219
228
|
}
|
220
229
|
}
|
221
230
|
@media only screen and (min-width: @computerBreakpoint) {
|
222
|
-
.ui.modal
|
231
|
+
.ui.modal@{notFullscreen} {
|
223
232
|
width: @computerWidth;
|
224
233
|
margin: @computerMargin;
|
225
|
-
& > .active.dimmer + .close
|
234
|
+
& > .active.dimmer + .close@{notInside} when (@variationModalClose) {
|
226
235
|
pointer-events: none;
|
227
236
|
opacity: @closeOpacityDimmed;
|
228
237
|
}
|
229
238
|
}
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
239
|
+
& when (@variationModalClose) {
|
240
|
+
.ui.dimmer > .ui.modal@{notFullscreen} > .close@{notInside} {
|
241
|
+
text-shadow: @closeShadow;
|
242
|
+
}
|
243
|
+
& when (@variationDimmerInverted) {
|
244
|
+
.ui.inverted.dimmer > .ui.modal@{notFullscreen} > .close@{notInside} {
|
245
|
+
text-shadow: @invertedCloseShadow;
|
246
|
+
}
|
247
|
+
}
|
235
248
|
}
|
236
249
|
}
|
237
250
|
@media only screen and (min-width: @largeMonitorBreakpoint) {
|
238
|
-
.ui.modal
|
251
|
+
.ui.modal@{notFullscreen} {
|
239
252
|
width: @largeMonitorWidth;
|
240
253
|
margin: @largeMonitorMargin;
|
241
254
|
}
|
242
255
|
}
|
243
256
|
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
244
|
-
.ui.modal
|
257
|
+
.ui.modal@{notFullscreen} {
|
245
258
|
width: @widescreenMonitorWidth;
|
246
259
|
margin: @widescreenMonitorMargin;
|
247
260
|
}
|
248
261
|
}
|
249
262
|
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
263
|
+
& when (@variationModalClose) {
|
264
|
+
/* Tablet and Mobile */
|
265
|
+
@media only screen and (max-width: @largestTabletScreen) {
|
266
|
+
.ui.modal > .close + .header {
|
267
|
+
padding-right: @closeHitbox;
|
268
|
+
}
|
269
|
+
|
270
|
+
.ui.modal > .close {
|
271
|
+
top: @innerCloseTop;
|
272
|
+
right: @innerCloseRight;
|
273
|
+
color: @innerCloseColor;
|
274
|
+
}
|
259
275
|
}
|
260
276
|
}
|
261
277
|
|
@@ -264,8 +280,10 @@
|
|
264
280
|
.ui.modal > .header {
|
265
281
|
padding: @mobileHeaderPadding;
|
266
282
|
}
|
267
|
-
|
268
|
-
|
283
|
+
& when (@variationModalClose) {
|
284
|
+
.ui.modal > .close + .header {
|
285
|
+
padding-right: @closeHitbox;
|
286
|
+
}
|
269
287
|
}
|
270
288
|
.ui.overlay.fullscreen.modal > .content.content.content {
|
271
289
|
min-height: @overlayFullscreenScrollingContentMaxHeightMobile;
|
@@ -277,9 +295,11 @@
|
|
277
295
|
display: block;
|
278
296
|
padding: @mobileContentPadding !important;
|
279
297
|
}
|
280
|
-
|
281
|
-
|
282
|
-
|
298
|
+
& when (@variationModalClose) {
|
299
|
+
.ui.modal > .close {
|
300
|
+
top: @mobileCloseTop !important;
|
301
|
+
right: @mobileCloseRight !important;
|
302
|
+
}
|
283
303
|
}
|
284
304
|
|
285
305
|
/* rtl:ignore */
|
@@ -351,10 +371,12 @@
|
|
351
371
|
color: @basicModalHeaderColor;
|
352
372
|
border-bottom: none;
|
353
373
|
}
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
374
|
+
& when (@variationModalClose) {
|
375
|
+
.ui.basic.modal > .close {
|
376
|
+
top: @basicModalCloseTop;
|
377
|
+
right: @basicModalCloseRight;
|
378
|
+
color: @basicInnerCloseColor;
|
379
|
+
}
|
358
380
|
}
|
359
381
|
.ui.inverted.dimmer > .basic.modal {
|
360
382
|
color: @basicInvertedModalColor;
|
@@ -370,14 +392,14 @@
|
|
370
392
|
.ui.legacy.legacy.page.dimmer > .ui.modal {
|
371
393
|
left: 50% !important;
|
372
394
|
}
|
373
|
-
.ui.legacy.legacy.modal
|
374
|
-
.ui.legacy.legacy.page.dimmer > .ui.modal
|
395
|
+
.ui.legacy.legacy.modal@{notAligned},
|
396
|
+
.ui.legacy.legacy.page.dimmer > .ui.modal@{notAligned} {
|
375
397
|
top: 50%;
|
376
398
|
}
|
377
|
-
.ui.legacy.legacy.page.dimmer > .ui.scrolling.modal
|
378
|
-
.ui.page.dimmer > .ui.scrolling.legacy.legacy.modal
|
379
|
-
.ui.top.aligned.legacy.legacy.page.dimmer > .ui.modal
|
380
|
-
.ui.top.aligned.dimmer > .ui.legacy.legacy.modal
|
399
|
+
.ui.legacy.legacy.page.dimmer > .ui.scrolling.modal@{notAligned},
|
400
|
+
.ui.page.dimmer > .ui.scrolling.legacy.legacy.modal@{notAligned},
|
401
|
+
.ui.top.aligned.legacy.legacy.page.dimmer > .ui.modal@{notAligned},
|
402
|
+
.ui.top.aligned.dimmer > .ui.legacy.legacy.modal@{notAligned} {
|
381
403
|
top: auto;
|
382
404
|
}
|
383
405
|
& when (@variationModalOverlay) {
|
@@ -450,7 +472,7 @@
|
|
450
472
|
.modals.dimmer .ui.scrolling.modal.fullscreen {
|
451
473
|
top: 0;
|
452
474
|
}
|
453
|
-
.modals.dimmer .ui.scrolling.modal
|
475
|
+
.modals.dimmer .ui.scrolling.modal@{notFullscreen} {
|
454
476
|
margin: @scrollingMargin auto;
|
455
477
|
top: @scrollingTop;
|
456
478
|
}
|
@@ -470,7 +492,7 @@
|
|
470
492
|
.scrolling.undetached.dimmable.dimmed > .dimmer {
|
471
493
|
overflow: hidden;
|
472
494
|
}
|
473
|
-
.scrolling.undetached.dimmable .ui.scrolling.modal
|
495
|
+
.scrolling.undetached.dimmable .ui.scrolling.modal@{notFullscreen} {
|
474
496
|
position: absolute;
|
475
497
|
left: 50%;
|
476
498
|
}
|
@@ -517,19 +539,21 @@
|
|
517
539
|
border-radius: 0;
|
518
540
|
}
|
519
541
|
}
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
542
|
+
& when (@variationModalClose) {
|
543
|
+
.ui.modal > .close.inside + .header:not(.centered):not(.center):not(.icon),
|
544
|
+
.ui.fullscreen.modal > .close + .header:not(.centered):not(.center):not(.icon) {
|
545
|
+
padding-right: @closeHitbox;
|
546
|
+
}
|
547
|
+
.ui.modal > .close.inside,
|
548
|
+
.ui.fullscreen.modal > .close {
|
549
|
+
top: @innerCloseTop;
|
550
|
+
right: @innerCloseRight;
|
551
|
+
color: @innerCloseColor;
|
552
|
+
}
|
553
|
+
& when (@variationModalBasic) {
|
554
|
+
.ui.basic.fullscreen.modal > .close {
|
555
|
+
color: @basicInnerCloseColor;
|
556
|
+
}
|
533
557
|
}
|
534
558
|
}
|
535
559
|
}
|
@@ -611,14 +635,17 @@
|
|
611
635
|
color: @invertedActionColor;
|
612
636
|
}
|
613
637
|
}
|
638
|
+
& when (@variationModalClose) {
|
639
|
+
& when (@variationDimmerInverted) {
|
640
|
+
.ui.inverted.dimmer > .modal > .close {
|
641
|
+
color: @invertedDimmerCloseColor;
|
642
|
+
}
|
643
|
+
}
|
614
644
|
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
@media only screen and (max-width: @largestTabletScreen) {
|
620
|
-
.ui.dimmer .inverted.modal > .close {
|
621
|
-
color: @invertedCloseColor;
|
645
|
+
@media only screen and (max-width: @largestTabletScreen) {
|
646
|
+
.ui.dimmer .inverted.modal > .close {
|
647
|
+
color: @invertedCloseColor;
|
648
|
+
}
|
622
649
|
}
|
623
650
|
}
|
624
651
|
& when (@variationModalFullscreen) or (@variationModalCloseInside) {
|
@@ -17,6 +17,10 @@
|
|
17
17
|
|
18
18
|
@import (multiple) "../../theme.config";
|
19
19
|
|
20
|
+
@notBottom: if(@variationNagBottom, e(":not(.bottom)"));
|
21
|
+
@notFixed: if(@variationNagFixed, e(":not(.fixed)"));
|
22
|
+
@notOverlay: if(@variationNagOverlay, e(":not(.overlay)"));
|
23
|
+
|
20
24
|
/*******************************
|
21
25
|
Nag
|
22
26
|
*******************************/
|
@@ -63,7 +67,7 @@ a.ui.nag {
|
|
63
67
|
transition: @closeTransition;
|
64
68
|
}
|
65
69
|
|
66
|
-
.ui.nag
|
70
|
+
.ui.nag@{notOverlay}@{notFixed} {
|
67
71
|
border-radius: @borderRadius;
|
68
72
|
}
|
69
73
|
|
@@ -192,7 +196,7 @@ a.ui.nag {
|
|
192
196
|
.ui.ui.nags .nag {
|
193
197
|
border-radius: @groupedBorderRadius;
|
194
198
|
}
|
195
|
-
.ui.nags
|
199
|
+
.ui.nags@{notBottom} .nag:last-child {
|
196
200
|
border-radius: @topBorderRadius;
|
197
201
|
}
|
198
202
|
& when(@variationNagBottom) {
|
@@ -200,10 +204,10 @@ a.ui.nag {
|
|
200
204
|
border-radius: @bottomBorderRadius;
|
201
205
|
}
|
202
206
|
}
|
203
|
-
.ui.nags
|
207
|
+
.ui.nags@{notFixed}@{notOverlay} .nag:first-child {
|
204
208
|
border-radius: @bottomBorderRadius;
|
205
209
|
}
|
206
|
-
.ui.nags
|
210
|
+
.ui.nags@{notFixed}@{notOverlay} .nag:only-child {
|
207
211
|
border-radius: @borderRadius;
|
208
212
|
}
|
209
213
|
}
|
@@ -17,6 +17,8 @@
|
|
17
17
|
|
18
18
|
@import (multiple) "../../theme.config";
|
19
19
|
|
20
|
+
@notPadded: if(@variationGridPadded, e(":not(.padded)"));
|
21
|
+
|
20
22
|
/*******************************
|
21
23
|
Popup
|
22
24
|
*******************************/
|
@@ -696,7 +698,7 @@
|
|
696
698
|
*******************************/
|
697
699
|
|
698
700
|
/* Immediate Nested Grid */
|
699
|
-
.ui.ui.ui.popup > .ui.grid
|
701
|
+
.ui.ui.ui.popup > .ui.grid@{notPadded} {
|
700
702
|
width: @nestedGridWidth;
|
701
703
|
margin: @nestedGridMargin;
|
702
704
|
}
|
@@ -17,6 +17,12 @@
|
|
17
17
|
|
18
18
|
@import (multiple) "../../theme.config";
|
19
19
|
|
20
|
+
@notIndeterminate: if(@variationProgressIndeterminate, e(":not(.indeterminate)"));
|
21
|
+
@notSliding: if(@variationProgressSliding, e(":not(.sliding)"));
|
22
|
+
@notFilling: if(@variationProgressFilling, e(":not(.filling)"));
|
23
|
+
@notSwinging: if(@variationProgressSwinging, e(":not(.swinging)"));
|
24
|
+
@notBasic: if(@variationProgressBasic, e(":not(.basic)"));
|
25
|
+
|
20
26
|
/*******************************
|
21
27
|
Progress
|
22
28
|
*******************************/
|
@@ -66,8 +72,8 @@
|
|
66
72
|
min-width: @barMinWidth;
|
67
73
|
}
|
68
74
|
}
|
69
|
-
.ui.ui.ui.progress:not([data-percent])
|
70
|
-
.ui.ui.ui.progress[data-percent="0"]
|
75
|
+
.ui.ui.ui.progress:not([data-percent])@{notIndeterminate} .bar:not(:empty),
|
76
|
+
.ui.ui.ui.progress[data-percent="0"]@{notIndeterminate} .bar:not(:empty) {
|
71
77
|
background: transparent;
|
72
78
|
}
|
73
79
|
.ui.progress[data-percent="0"] .bar .progress {
|
@@ -396,7 +402,7 @@
|
|
396
402
|
Inverted
|
397
403
|
--------------- */
|
398
404
|
|
399
|
-
.ui.inverted.progress
|
405
|
+
.ui.inverted.progress@{notBasic} {
|
400
406
|
background: @invertedBackground;
|
401
407
|
border: @invertedBorder;
|
402
408
|
}
|
@@ -573,7 +579,7 @@
|
|
573
579
|
animation-name: progress-filling;
|
574
580
|
}
|
575
581
|
}
|
576
|
-
.ui.indeterminate.progress
|
582
|
+
.ui.indeterminate.progress@{notSliding}@{notFilling}@{notSwinging} .bar::before {
|
577
583
|
background: @indeterminatePulseColor;
|
578
584
|
}
|
579
585
|
& when (@variationProgressSliding) or (@variationProgressSwinging) or (@variationProgressFilling) {
|
@@ -17,16 +17,23 @@
|
|
17
17
|
|
18
18
|
@import (multiple) "../../theme.config";
|
19
19
|
|
20
|
-
|
20
|
+
@notVertical: if(@variationSliderVertical, e(":not(.vertical)"));
|
21
|
+
@notDisabled: if(@variationSliderDisabled, e(":not(.disabled)"));
|
22
|
+
@notBottom: if(@variationSliderBottomAligned, e(":not(.bottom)"));
|
23
|
+
@notRight: if(@variationSliderRightAligned, e(":not(.right)"));
|
24
|
+
|
25
|
+
@notCheckbox: if(@variationCheckboxSlider, e(":not(.checkbox)"));
|
26
|
+
|
27
|
+
.ui.slider@{notVertical}@{notCheckbox} {
|
21
28
|
width: 100%;
|
22
29
|
padding: @padding;
|
23
30
|
}
|
24
31
|
|
25
|
-
.ui.slider
|
32
|
+
.ui.slider@{notCheckbox} {
|
26
33
|
position: relative;
|
27
34
|
}
|
28
35
|
|
29
|
-
.ui.slider:
|
36
|
+
.ui.slider@{notCheckbox}:focus {
|
30
37
|
outline: 0;
|
31
38
|
}
|
32
39
|
|
@@ -35,7 +42,7 @@
|
|
35
42
|
z-index: 2;
|
36
43
|
}
|
37
44
|
|
38
|
-
.ui.slider
|
45
|
+
.ui.slider@{notVertical} .inner {
|
39
46
|
height: @height;
|
40
47
|
}
|
41
48
|
|
@@ -49,7 +56,7 @@
|
|
49
56
|
background-color: @trackColor;
|
50
57
|
}
|
51
58
|
|
52
|
-
.ui.slider
|
59
|
+
.ui.slider@{notVertical} .inner .track {
|
53
60
|
width: 100%;
|
54
61
|
height: @trackHeight;
|
55
62
|
top: @trackPositionTop;
|
@@ -62,7 +69,7 @@
|
|
62
69
|
background-color: @trackFillColor;
|
63
70
|
}
|
64
71
|
|
65
|
-
.ui.slider
|
72
|
+
.ui.slider@{notVertical} .inner .track-fill {
|
66
73
|
height: @trackFillHeight;
|
67
74
|
top: @trackPositionTop;
|
68
75
|
left: 0;
|
@@ -80,12 +87,12 @@
|
|
80
87
|
transition: @thumbTransition;
|
81
88
|
}
|
82
89
|
|
83
|
-
.ui.slider
|
90
|
+
.ui.slider@{notDisabled} .inner .thumb:hover {
|
84
91
|
cursor: @thumbHoverPointer;
|
85
92
|
background: @thumbHoverBackground;
|
86
93
|
}
|
87
94
|
|
88
|
-
.ui.slider:
|
95
|
+
.ui.slider@{notDisabled}:focus .inner .thumb {
|
89
96
|
background: @thumbHoverBackground;
|
90
97
|
}
|
91
98
|
|
@@ -98,7 +105,7 @@
|
|
98
105
|
Disabled
|
99
106
|
--------------- */
|
100
107
|
|
101
|
-
.ui.disabled.slider
|
108
|
+
.ui.disabled.slider@{notCheckbox} {
|
102
109
|
opacity: @disabledOpactiy;
|
103
110
|
}
|
104
111
|
|
@@ -121,7 +128,7 @@
|
|
121
128
|
right: 0;
|
122
129
|
}
|
123
130
|
|
124
|
-
.ui.reversed.slider
|
131
|
+
.ui.reversed.slider@{notVertical} .inner .thumb {
|
125
132
|
left: auto;
|
126
133
|
right: 0;
|
127
134
|
}
|
@@ -198,7 +205,7 @@
|
|
198
205
|
right: 0;
|
199
206
|
}
|
200
207
|
|
201
|
-
.ui.labeled.slider
|
208
|
+
.ui.labeled.slider@{notVertical} > .labels {
|
202
209
|
transform: translateY(-50%);
|
203
210
|
}
|
204
211
|
|
@@ -251,13 +258,13 @@
|
|
251
258
|
}
|
252
259
|
}
|
253
260
|
& when (@variationSliderUiLabel) {
|
254
|
-
.ui.labeled.slider
|
261
|
+
.ui.labeled.slider@{notVertical}@{notBottom} .labels .ui.label {
|
255
262
|
margin-top: -@uiLabelMargin;
|
256
263
|
}
|
257
|
-
.ui.labeled.ticked.slider
|
264
|
+
.ui.labeled.ticked.slider@{notVertical}@{notBottom} .labels .ui.label::after {
|
258
265
|
margin-top: @uiLabelMargin;
|
259
266
|
}
|
260
|
-
.ui.labeled.ticked.slider
|
267
|
+
.ui.labeled.ticked.slider@{notVertical} > .labels .ui.label::after {
|
261
268
|
height: @uiLabelTickHeight;
|
262
269
|
}
|
263
270
|
}
|
@@ -288,7 +295,7 @@
|
|
288
295
|
width: (@labelHeight / 2);
|
289
296
|
height: @labelWidth;
|
290
297
|
}
|
291
|
-
.ui.labeled.vertical.slider
|
298
|
+
.ui.labeled.vertical.slider@{notRight} > .labels .halftick.label::after {
|
292
299
|
margin-left: @verticalTickDistance;
|
293
300
|
}
|
294
301
|
|
@@ -299,7 +306,7 @@
|
|
299
306
|
}
|
300
307
|
}
|
301
308
|
& when (@variationSliderUiLabel) {
|
302
|
-
.ui.labeled.ticked.vertical.slider
|
309
|
+
.ui.labeled.ticked.vertical.slider@{notRight} > .labels .ui.label::after {
|
303
310
|
margin-left: @verticalUiLabelMargin;
|
304
311
|
}
|
305
312
|
}
|
@@ -343,8 +350,8 @@
|
|
343
350
|
transition: @hoverOpacityTransition;
|
344
351
|
}
|
345
352
|
|
346
|
-
.ui.hover.slider:
|
347
|
-
.ui.hover.slider:
|
353
|
+
.ui.hover.slider@{notDisabled}:hover .inner .thumb,
|
354
|
+
.ui.hover.slider@{notDisabled}:focus .inner .thumb {
|
348
355
|
opacity: @hoverVarHoverOpacity;
|
349
356
|
}
|
350
357
|
|
@@ -481,20 +488,20 @@
|
|
481
488
|
height: @@h;
|
482
489
|
width: @@h;
|
483
490
|
}
|
484
|
-
.ui.slider.@{value}
|
491
|
+
.ui.slider.@{value}@{notVertical} .inner {
|
485
492
|
height: @@h;
|
486
493
|
}
|
487
|
-
.ui.slider.@{value}
|
488
|
-
.ui.slider.@{value}
|
494
|
+
.ui.slider.@{value}@{notVertical} .inner .track,
|
495
|
+
.ui.slider.@{value}@{notVertical} .inner .track-fill {
|
489
496
|
height: @@th;
|
490
497
|
top: @@tp;
|
491
498
|
}
|
492
499
|
& when (@variationSliderLabeled) {
|
493
|
-
.ui.@{value}.labeled.slider
|
494
|
-
.ui.@{value}.labeled.slider
|
500
|
+
.ui.@{value}.labeled.slider@{notVertical} > .labels,
|
501
|
+
.ui.@{value}.labeled.slider@{notVertical} > .labels .label::after {
|
495
502
|
height: @@lh;
|
496
503
|
}
|
497
|
-
.ui.@{value}.labeled.slider
|
504
|
+
.ui.@{value}.labeled.slider@{notVertical} > .labels .halftick.label::after {
|
498
505
|
height: (@@lh / 2);
|
499
506
|
}
|
500
507
|
}
|