fomantic-ui 2.9.4-beta.91 → 2.9.4-beta.93
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 +9 -0
- package/.github/workflows/ci.yml +2 -2
- package/CONTRIBUTORS.md +3 -0
- 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 +34 -23
- package/dist/components/search.js +12 -1
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +2 -2
- 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 +93 -78
- package/dist/semantic.js +37 -26
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- 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/search.js +11 -0
- package/src/definitions/modules/search.less +32 -23
- 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 +14 -2
- package/src/themes/default/modules/search.variables +14 -14
- package/tasks/config/project/release.js +19 -1
- package/tasks/config/tasks.js +6 -6
@@ -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) {
|
@@ -126,6 +126,7 @@
|
|
126
126
|
.on('mousedown' + eventNamespace, selector.results, module.event.result.mousedown)
|
127
127
|
.on('mouseup' + eventNamespace, selector.results, module.event.result.mouseup)
|
128
128
|
.on('click' + eventNamespace, selector.result, module.event.result.click)
|
129
|
+
.on('click' + eventNamespace, selector.remove, module.event.remove.click)
|
129
130
|
;
|
130
131
|
},
|
131
132
|
},
|
@@ -201,6 +202,12 @@
|
|
201
202
|
callback();
|
202
203
|
}
|
203
204
|
},
|
205
|
+
remove: {
|
206
|
+
click: function () {
|
207
|
+
module.clear.value();
|
208
|
+
$prompt.trigger('focus');
|
209
|
+
},
|
210
|
+
},
|
204
211
|
result: {
|
205
212
|
mousedown: function () {
|
206
213
|
module.resultsClicked = true;
|
@@ -837,6 +844,9 @@
|
|
837
844
|
$module.data(metadata.cache, cache);
|
838
845
|
}
|
839
846
|
},
|
847
|
+
value: function () {
|
848
|
+
module.set.value('');
|
849
|
+
},
|
840
850
|
},
|
841
851
|
|
842
852
|
read: {
|
@@ -1456,6 +1466,7 @@
|
|
1456
1466
|
|
1457
1467
|
selector: {
|
1458
1468
|
prompt: '.prompt',
|
1469
|
+
remove: '> .icon.input > .remove.icon',
|
1459
1470
|
searchButton: '.search.button',
|
1460
1471
|
results: '.results',
|
1461
1472
|
message: '.results > .message',
|
@@ -271,37 +271,46 @@
|
|
271
271
|
Types
|
272
272
|
*******************************/
|
273
273
|
|
274
|
-
& when (@
|
274
|
+
& when (@variationSearchClear) {
|
275
275
|
/* --------------
|
276
|
-
|
276
|
+
Clear Icon
|
277
277
|
--------------- */
|
278
278
|
|
279
|
-
.ui.search.
|
280
|
-
|
279
|
+
.ui.search > .icon.input > .remove.icon {
|
280
|
+
pointer-events: all;
|
281
|
+
transition: @clearableIconTransition;
|
282
|
+
cursor: pointer;
|
283
|
+
opacity: @clearableIconOpacity;
|
284
|
+
&:hover {
|
285
|
+
opacity: @clearableIconHoverOpacity;
|
286
|
+
}
|
281
287
|
}
|
282
|
-
|
283
|
-
|
284
|
-
.ui.search.selection > .icon.input > .remove.icon {
|
285
|
-
pointer-events: none;
|
286
|
-
position: absolute;
|
287
|
-
left: auto;
|
288
|
-
opacity: 0;
|
289
|
-
color: @selectionCloseIconColor;
|
290
|
-
top: @selectionCloseTop;
|
291
|
-
right: @selectionCloseRight;
|
292
|
-
transition: @selectionCloseTransition;
|
288
|
+
.ui.search > .icon.input:not([class*="left icon"]) > .icon ~ .remove.icon {
|
289
|
+
right: @clearableIconInputRight;
|
293
290
|
}
|
294
|
-
.ui.search
|
291
|
+
.ui.search input[type="search"]::-webkit-search-cancel-button {
|
292
|
+
-webkit-appearance: none;
|
295
293
|
cursor: pointer;
|
296
|
-
|
297
|
-
|
294
|
+
transition: @clearableIconTransition;
|
295
|
+
opacity: @clearableIconOpacity;
|
296
|
+
background: @clearableIconBackground;
|
297
|
+
height: @clearableIconHeight;
|
298
|
+
width: @clearableIconWidth;
|
299
|
+
&:hover {
|
300
|
+
opacity: @clearableIconHoverOpacity;
|
301
|
+
}
|
302
|
+
}
|
303
|
+
& when (@variationSearchLoading) {
|
304
|
+
.ui.loading.search input[type="search"]::-webkit-search-cancel-button {
|
305
|
+
display: none;
|
306
|
+
}
|
298
307
|
}
|
299
|
-
.ui.search
|
300
|
-
|
308
|
+
.ui.search > .icon.input > input:placeholder-shown ~ .remove.icon,
|
309
|
+
.ui.search.loading > .icon.input > .remove.icon {
|
310
|
+
display: none;
|
301
311
|
}
|
302
|
-
.ui.search
|
303
|
-
|
304
|
-
color: @selectionCloseIconHoverColor;
|
312
|
+
.ui.search > .icon.input > input:-ms-input-placeholder ~ .remove.icon when (@supportIE) {
|
313
|
+
display: none;
|
305
314
|
}
|
306
315
|
}
|
307
316
|
|