fomantic-ui 2.9.1-beta.27 → 2.9.1-beta.29
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/.eslintrc.js +0 -1
- package/.github/workflows/ci.yml +6 -0
- package/.prettierrc.js +12 -0
- package/.stylelintrc.js +13 -7
- package/README.md +1 -1
- package/dist/components/accordion.css +9 -21
- package/dist/components/accordion.js +3 -3
- package/dist/components/accordion.min.css +2 -2
- package/dist/components/accordion.min.js +2 -2
- package/dist/components/ad.css +2 -3
- package/dist/components/ad.min.css +2 -2
- package/dist/components/api.js +3 -3
- package/dist/components/api.min.js +2 -2
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +336 -713
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +5 -10
- package/dist/components/calendar.js +3 -3
- package/dist/components/calendar.min.css +2 -2
- package/dist/components/calendar.min.js +2 -2
- package/dist/components/card.css +88 -201
- package/dist/components/card.min.css +2 -2
- package/dist/components/checkbox.css +35 -86
- package/dist/components/checkbox.js +3 -3
- package/dist/components/checkbox.min.css +2 -2
- package/dist/components/checkbox.min.js +2 -2
- package/dist/components/comment.css +4 -8
- package/dist/components/comment.min.css +2 -2
- package/dist/components/container.css +1 -1
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +20 -129
- package/dist/components/dimmer.js +3 -3
- package/dist/components/dimmer.min.css +2 -2
- package/dist/components/dimmer.min.js +2 -2
- package/dist/components/divider.css +3 -6
- package/dist/components/divider.min.css +2 -2
- package/dist/components/dropdown.css +51 -149
- package/dist/components/dropdown.js +13 -7
- package/dist/components/dropdown.min.css +2 -2
- package/dist/components/dropdown.min.js +2 -2
- package/dist/components/embed.css +2 -7
- package/dist/components/embed.js +3 -3
- package/dist/components/embed.min.css +2 -2
- package/dist/components/embed.min.js +2 -2
- package/dist/components/emoji.css +1 -2
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +7 -21
- package/dist/components/feed.min.css +2 -2
- package/dist/components/flag.css +1 -1
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +30 -71
- package/dist/components/flyout.js +3 -16
- package/dist/components/flyout.min.css +2 -2
- package/dist/components/flyout.min.js +2 -2
- package/dist/components/form.css +32 -101
- package/dist/components/form.js +3 -3
- package/dist/components/form.min.css +2 -2
- package/dist/components/form.min.js +2 -2
- package/dist/components/grid.css +72 -182
- package/dist/components/grid.min.css +2 -2
- package/dist/components/header.css +5 -11
- package/dist/components/header.min.css +2 -2
- package/dist/components/icon.css +37 -74
- package/dist/components/icon.min.css +2 -2
- package/dist/components/image.css +8 -21
- package/dist/components/image.min.css +2 -2
- package/dist/components/input.css +15 -50
- package/dist/components/input.min.css +2 -2
- package/dist/components/item.css +13 -38
- package/dist/components/item.min.css +2 -2
- package/dist/components/label.css +18 -45
- package/dist/components/label.min.css +2 -2
- package/dist/components/list.css +1 -7
- package/dist/components/list.min.css +2 -2
- package/dist/components/loader.css +21 -103
- package/dist/components/loader.min.css +2 -2
- package/dist/components/menu.css +49 -145
- package/dist/components/menu.min.css +1 -1
- package/dist/components/message.css +50 -114
- package/dist/components/message.min.css +2 -2
- package/dist/components/modal.css +20 -54
- package/dist/components/modal.js +3 -11
- package/dist/components/modal.min.css +2 -2
- package/dist/components/modal.min.js +2 -2
- package/dist/components/nag.css +2 -5
- package/dist/components/nag.js +3 -3
- package/dist/components/nag.min.css +2 -2
- package/dist/components/nag.min.js +2 -2
- package/dist/components/placeholder.css +7 -25
- package/dist/components/placeholder.min.css +2 -2
- package/dist/components/popup.css +68 -139
- package/dist/components/popup.js +16 -7
- package/dist/components/popup.min.css +2 -2
- package/dist/components/popup.min.js +2 -2
- package/dist/components/progress.css +25 -120
- package/dist/components/progress.js +3 -3
- package/dist/components/progress.min.css +2 -2
- package/dist/components/progress.min.js +2 -2
- package/dist/components/rail.css +1 -1
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +2 -39
- package/dist/components/rating.js +3 -3
- package/dist/components/rating.min.css +2 -2
- package/dist/components/rating.min.js +2 -2
- package/dist/components/reset.css +6 -11
- package/dist/components/reset.min.css +2 -2
- package/dist/components/reveal.css +26 -58
- package/dist/components/reveal.min.css +2 -2
- package/dist/components/search.css +8 -22
- package/dist/components/search.js +3 -3
- package/dist/components/search.min.css +2 -2
- package/dist/components/search.min.js +2 -2
- package/dist/components/segment.css +32 -89
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +4 -16
- package/dist/components/shape.js +3 -15
- package/dist/components/shape.min.css +2 -2
- package/dist/components/shape.min.js +2 -2
- package/dist/components/sidebar.css +59 -147
- package/dist/components/sidebar.js +3 -16
- package/dist/components/sidebar.min.css +2 -2
- package/dist/components/sidebar.min.js +2 -2
- package/dist/components/site.css +1 -14
- package/dist/components/site.js +11 -38
- package/dist/components/site.min.css +2 -2
- package/dist/components/site.min.js +2 -2
- package/dist/components/slider.css +8 -26
- package/dist/components/slider.js +3 -3
- package/dist/components/slider.min.css +1 -1
- package/dist/components/slider.min.js +2 -2
- package/dist/components/state.js +3 -3
- package/dist/components/state.min.js +2 -2
- package/dist/components/statistic.css +11 -43
- package/dist/components/statistic.min.css +2 -2
- package/dist/components/step.css +26 -89
- package/dist/components/step.min.css +2 -2
- package/dist/components/sticky.css +1 -5
- package/dist/components/sticky.js +3 -11
- package/dist/components/sticky.min.css +2 -2
- package/dist/components/sticky.min.js +2 -2
- package/dist/components/tab.css +3 -5
- package/dist/components/tab.js +3 -3
- package/dist/components/tab.min.css +2 -2
- package/dist/components/tab.min.js +2 -2
- package/dist/components/table.css +202 -409
- 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 +32 -108
- package/dist/components/toast.js +3 -3
- package/dist/components/toast.min.css +2 -2
- package/dist/components/toast.min.js +2 -2
- package/dist/components/transition.css +264 -1312
- package/dist/components/transition.js +3 -3
- package/dist/components/transition.min.css +2 -2
- package/dist/components/transition.min.js +2 -2
- package/dist/components/visibility.js +3 -11
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +51 -3547
- package/dist/semantic.js +107 -181
- package/dist/semantic.min.css +2 -2
- package/dist/semantic.min.js +2 -2
- package/examples/fixed.html +1 -1
- package/examples/grid.html +1 -1
- package/package.json +2 -2
- package/src/definitions/behaviors/api.js +2 -2
- package/src/definitions/behaviors/form.js +2 -2
- package/src/definitions/behaviors/state.js +2 -2
- package/src/definitions/behaviors/visibility.js +2 -10
- package/src/definitions/collections/table.less +4 -0
- package/src/definitions/elements/button.less +7 -2
- package/src/definitions/elements/icon.less +19 -27
- package/src/definitions/elements/image.less +0 -4
- package/src/definitions/elements/loader.less +2 -0
- package/src/definitions/elements/segment.less +3 -1
- package/src/definitions/globals/site.js +10 -37
- package/src/definitions/modules/accordion.js +2 -2
- package/src/definitions/modules/calendar.js +2 -2
- package/src/definitions/modules/checkbox.js +2 -2
- package/src/definitions/modules/dimmer.js +2 -2
- package/src/definitions/modules/dimmer.less +2 -10
- package/src/definitions/modules/dropdown.js +12 -6
- package/src/definitions/modules/dropdown.less +1 -4
- package/src/definitions/modules/embed.js +2 -2
- package/src/definitions/modules/flyout.js +2 -15
- package/src/definitions/modules/flyout.less +0 -1
- package/src/definitions/modules/modal.js +2 -10
- package/src/definitions/modules/modal.less +0 -2
- package/src/definitions/modules/nag.js +2 -2
- package/src/definitions/modules/popup.js +15 -6
- package/src/definitions/modules/popup.less +2 -0
- package/src/definitions/modules/progress.js +2 -2
- package/src/definitions/modules/rating.js +2 -2
- package/src/definitions/modules/rating.less +2 -4
- package/src/definitions/modules/search.js +2 -2
- package/src/definitions/modules/search.less +0 -1
- package/src/definitions/modules/shape.js +2 -14
- package/src/definitions/modules/sidebar.js +2 -15
- package/src/definitions/modules/sidebar.less +0 -1
- package/src/definitions/modules/slider.js +2 -2
- package/src/definitions/modules/sticky.js +2 -10
- package/src/definitions/modules/sticky.less +0 -7
- package/src/definitions/modules/tab.js +2 -2
- package/src/definitions/modules/toast.js +2 -2
- package/src/definitions/modules/toast.less +3 -1
- package/src/definitions/modules/transition.js +2 -2
- package/src/definitions/views/card.less +4 -15
- package/src/semantic.less +6 -6
- package/src/themes/amazon/elements/button.variables +4 -9
- package/src/themes/bootstrap3/elements/button.variables +3 -7
- package/src/themes/classic/elements/button.variables +6 -12
- package/src/themes/classic/views/card.overrides +2 -4
- package/src/themes/colored/modules/checkbox.variables +1 -3
- package/src/themes/default/collections/form.variables +1 -2
- package/src/themes/default/collections/menu.variables +2 -4
- package/src/themes/default/collections/message.variables +38 -76
- package/src/themes/default/collections/table.variables +2 -4
- package/src/themes/default/elements/button.variables +6 -12
- package/src/themes/default/elements/flag.variables +3 -3
- package/src/themes/default/elements/icon.variables +9 -11
- package/src/themes/default/elements/input.variables +1 -2
- package/src/themes/default/elements/list.variables +3 -7
- package/src/themes/default/elements/placeholder.variables +12 -8
- package/src/themes/default/elements/segment.variables +5 -6
- package/src/themes/default/elements/step.variables +1 -2
- package/src/themes/default/globals/site.variables +41 -83
- package/src/themes/default/modules/accordion.variables +4 -8
- package/src/themes/default/modules/checkbox.variables +4 -8
- package/src/themes/default/modules/dimmer.variables +1 -3
- package/src/themes/default/modules/dropdown.variables +1 -2
- package/src/themes/default/modules/embed.variables +2 -5
- package/src/themes/default/modules/modal.variables +3 -6
- package/src/themes/default/modules/progress.variables +1 -2
- package/src/themes/default/modules/rating.variables +1 -2
- package/src/themes/default/modules/search.variables +3 -6
- package/src/themes/default/modules/shape.variables +1 -2
- package/src/themes/default/modules/slider.variables +3 -1
- package/src/themes/default/views/card.variables +8 -18
- package/src/themes/github/collections/form.variables +1 -2
- package/src/themes/github/collections/menu.variables +1 -2
- package/src/themes/github/collections/message.variables +2 -4
- package/src/themes/github/elements/button.variables +4 -8
- package/src/themes/github/elements/input.variables +1 -2
- package/src/themes/github/modules/dropdown.variables +1 -3
- package/src/themes/material/elements/button.variables +2 -4
- package/src/themes/material/elements/icon.variables +1 -2
- package/src/themes/pulsar/elements/loader.overrides +0 -38
- package/src/themes/raised/elements/button.variables +1 -2
- package/src/themes/round/elements/button.variables +1 -3
- package/src/themes/striped/modules/progress.overrides +11 -11
- package/tasks/README.md +2 -2
- package/tasks/admin/components/create.js +2 -2
- package/tasks/build/assets.js +1 -1
- package/tasks/build/css.js +1 -1
- package/tasks/build/javascript.js +1 -1
- package/tasks/build.js +2 -2
- package/tasks/collections/docs.js +1 -1
- package/tasks/collections/install.js +2 -2
- package/tasks/collections/various.js +1 -1
- package/tasks/config/admin/release.js +5 -5
- package/tasks/config/admin/templates/README.md +8 -8
- package/tasks/config/admin/templates/bower.json +3 -2
- package/tasks/config/admin/templates/component-package.js +3 -3
- package/tasks/config/admin/templates/package.json +5 -5
- package/tasks/config/tasks.js +15 -11
- package/tasks/docs/build.js +2 -2
- package/tasks/install.js +2 -3
- package/tasks/watch.js +1 -1
@@ -11,8 +11,7 @@
|
|
11
11
|
opacity @defaultDuration @defaultEasing,
|
12
12
|
background-color @defaultDuration @defaultEasing,
|
13
13
|
color @defaultDuration @defaultEasing,
|
14
|
-
background @defaultDuration @defaultEasing
|
15
|
-
;
|
14
|
+
background @defaultDuration @defaultEasing;
|
16
15
|
|
17
16
|
@hoverBackgroundColor: #e0e0e0;
|
18
17
|
|
@@ -24,18 +23,14 @@
|
|
24
23
|
@backgroundImage: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1));
|
25
24
|
@boxShadow:
|
26
25
|
0 1px 0 1px rgba(255, 255, 255, 0.3) inset,
|
27
|
-
0 0 0 1px #adb2bb inset
|
28
|
-
;
|
26
|
+
0 0 0 1px #adb2bb inset;
|
29
27
|
|
30
28
|
@coloredBackgroundImage: linear-gradient(rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
|
31
|
-
@coloredBoxShadow:
|
32
|
-
0 1px 0 0 rgba(255, 255, 255, 0.2) inset
|
33
|
-
;
|
29
|
+
@coloredBoxShadow: 0 1px 0 0 rgba(255, 255, 255, 0.2) inset;
|
34
30
|
|
35
31
|
@downBoxShadow:
|
36
32
|
0 0 0 1px #adb2bb inset,
|
37
|
-
0 1px 3px rgba(0, 0, 0, 0.2) inset
|
38
|
-
;
|
33
|
+
0 1px 3px rgba(0, 0, 0, 0.2) inset;
|
39
34
|
|
40
35
|
@labeledIconBackgroundColor: #313a43;
|
41
36
|
@labeledIconColor: #fff;
|
@@ -38,8 +38,7 @@
|
|
38
38
|
@basicHoverBackground: transparent;
|
39
39
|
@basicDownBoxShadow:
|
40
40
|
0 0 0 1px #adadad inset,
|
41
|
-
0 3px 5px rgba(0, 0, 0, 0.125) inset
|
42
|
-
;
|
41
|
+
0 3px 5px rgba(0, 0, 0, 0.125) inset;
|
43
42
|
|
44
43
|
@groupButtonOffset: 0 0 0 -1px;
|
45
44
|
@verticalGroupOffset: 0 0 -1px 0;
|
@@ -47,15 +46,12 @@
|
|
47
46
|
/* States */
|
48
47
|
|
49
48
|
@hoverBackgroundColor: #e6e6e6;
|
50
|
-
@hoverBoxShadow:
|
51
|
-
0 0 0 1px #adadad inset
|
52
|
-
;
|
49
|
+
@hoverBoxShadow: 0 0 0 1px #adadad inset;
|
53
50
|
|
54
51
|
@downBackgroundColor: #e6e6e6;
|
55
52
|
@downBoxShadow:
|
56
53
|
0 0 0 1px #adadad inset,
|
57
|
-
0 3px 5px rgba(0, 0, 0, 0.125) inset
|
58
|
-
;
|
54
|
+
0 3px 5px rgba(0, 0, 0, 0.125) inset;
|
59
55
|
|
60
56
|
@activeBackgroundColor: #e6e6e6;
|
61
57
|
|
@@ -14,8 +14,7 @@
|
|
14
14
|
@backgroundImage: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.09));
|
15
15
|
@boxShadow:
|
16
16
|
0 0 0 1px @borderColor inset,
|
17
|
-
@shadowBoxShadow
|
18
|
-
;
|
17
|
+
@shadowBoxShadow;
|
19
18
|
|
20
19
|
/* Padding */
|
21
20
|
@verticalPadding: 0.8em;
|
@@ -28,8 +27,7 @@
|
|
28
27
|
@groupBoxShadow: none;
|
29
28
|
@groupButtonBoxShadow:
|
30
29
|
0 0 0 1px @borderColor inset,
|
31
|
-
@shadowBoxShadow
|
32
|
-
;
|
30
|
+
@shadowBoxShadow;
|
33
31
|
@verticalBoxShadow: 0 0 0 1px @borderColor inset;
|
34
32
|
@groupButtonOffset: 0 0 0 -1px;
|
35
33
|
@verticalGroupOffset: 0 0 -1px 0;
|
@@ -50,8 +48,7 @@
|
|
50
48
|
@focusBackgroundImage: none;
|
51
49
|
@focusBoxShadow:
|
52
50
|
0 0 1px rgba(81, 167, 232, 0.8) inset,
|
53
|
-
0 0 3px 2px rgba(81, 167, 232, 0.8)
|
54
|
-
;
|
51
|
+
0 0 3px 2px rgba(81, 167, 232, 0.8);
|
55
52
|
@focusColor: @hoveredTextColor;
|
56
53
|
@iconFocusOpacity: 0.85;
|
57
54
|
|
@@ -60,8 +57,7 @@
|
|
60
57
|
@downBackgroundImage: "";
|
61
58
|
@downBoxShadow:
|
62
59
|
0 0 0 1px rgba(0, 0, 0, 0.1) inset,
|
63
|
-
0 1px 4px 0 rgba(0, 0, 0, 0.1) inset !important
|
64
|
-
;
|
60
|
+
0 1px 4px 0 rgba(0, 0, 0, 0.1) inset !important;
|
65
61
|
@downColor: @pressedTextColor;
|
66
62
|
|
67
63
|
/* Active */
|
@@ -70,16 +66,14 @@
|
|
70
66
|
@activeColor: @selectedTextColor;
|
71
67
|
@activeBoxShadow:
|
72
68
|
0 0 0 1px rgba(0, 0, 0, 0.1) inset,
|
73
|
-
0 1px 4px 0 rgba(0, 0, 0, 0.1) inset !important
|
74
|
-
;
|
69
|
+
0 1px 4px 0 rgba(0, 0, 0, 0.1) inset !important;
|
75
70
|
|
76
71
|
/* Active + Hovered */
|
77
72
|
@activeHoverBackgroundColor: #dadada;
|
78
73
|
@activeHoverBackgroundImage: none;
|
79
74
|
@activeHoverBoxShadow:
|
80
75
|
0 0 0 1px rgba(0, 0, 0, 0.1) inset,
|
81
|
-
0 1px 4px 0 rgba(0, 0, 0, 0.1) inset !important
|
82
|
-
;
|
76
|
+
0 1px 4px 0 rgba(0, 0, 0, 0.1) inset !important;
|
83
77
|
@activeHoverColor: @selectedTextColor;
|
84
78
|
|
85
79
|
/* Loading */
|
@@ -17,8 +17,7 @@
|
|
17
17
|
@width: 300px;
|
18
18
|
@boxShadow:
|
19
19
|
0 0 0 1px @borderColor,
|
20
|
-
0 3px 0 0 @borderColor
|
21
|
-
;
|
20
|
+
0 3px 0 0 @borderColor;
|
22
21
|
@border: none;
|
23
22
|
@zIndex: "";
|
24
23
|
|
@@ -87,8 +86,7 @@
|
|
87
86
|
@hoverBorder: none;
|
88
87
|
@hoverBoxShadow:
|
89
88
|
0 0 0 1px @selectedBorderColor,
|
90
|
-
0 3px 0 0 @selectedBorderColor
|
91
|
-
;
|
89
|
+
0 3px 0 0 @selectedBorderColor;
|
92
90
|
|
93
91
|
/* -------------------
|
94
92
|
Variations
|
@@ -37,8 +37,7 @@
|
|
37
37
|
@inputColor: @textColor;
|
38
38
|
@inputTransition:
|
39
39
|
color @defaultDuration @defaultEasing,
|
40
|
-
border-color @defaultDuration @defaultEasing
|
41
|
-
;
|
40
|
+
border-color @defaultDuration @defaultEasing;
|
42
41
|
@inputBoxShadow: 0 0 0 0 transparent inset;
|
43
42
|
|
44
43
|
/* Select */
|
@@ -27,8 +27,7 @@
|
|
27
27
|
@itemTransition:
|
28
28
|
background @defaultDuration @defaultEasing,
|
29
29
|
box-shadow @defaultDuration @defaultEasing,
|
30
|
-
color @defaultDuration @defaultEasing
|
31
|
-
;
|
30
|
+
color @defaultDuration @defaultEasing;
|
32
31
|
@itemFontWeight: @normal;
|
33
32
|
@itemTextColor: @textColor;
|
34
33
|
|
@@ -431,8 +430,7 @@
|
|
431
430
|
@attachedBorder: @borderWidth solid @solidBorderColor;
|
432
431
|
@attachedBottomBoxShadow:
|
433
432
|
@boxShadow,
|
434
|
-
@attachedBoxShadow
|
435
|
-
;
|
433
|
+
@attachedBoxShadow;
|
436
434
|
|
437
435
|
/* Resize large sizes */
|
438
436
|
@mini: @11px;
|
@@ -21,15 +21,13 @@
|
|
21
21
|
@shadowShadow: 0 0 0 0 rgba(0, 0, 0, 0);
|
22
22
|
@boxShadow:
|
23
23
|
@borderShadow,
|
24
|
-
@shadowShadow
|
25
|
-
;
|
24
|
+
@shadowShadow;
|
26
25
|
|
27
26
|
@transition:
|
28
27
|
opacity @defaultDuration @defaultEasing,
|
29
28
|
color @defaultDuration @defaultEasing,
|
30
29
|
background @defaultDuration @defaultEasing,
|
31
|
-
box-shadow @defaultDuration @defaultEasing
|
32
|
-
;
|
30
|
+
box-shadow @defaultDuration @defaultEasing;
|
33
31
|
|
34
32
|
/* Header */
|
35
33
|
@headerFontSize: @relativeLarge;
|
@@ -75,154 +73,118 @@
|
|
75
73
|
@attachedBoxShadow: 0 0 0 @borderWidth @borderColor inset;
|
76
74
|
@attachedBottomBoxShadow:
|
77
75
|
@attachedBoxShadow,
|
78
|
-
@subtleShadow
|
79
|
-
;
|
76
|
+
@subtleShadow;
|
80
77
|
|
81
78
|
/* Floating */
|
82
79
|
@floatingBoxShadow:
|
83
80
|
@borderShadow,
|
84
|
-
@floatingShadow
|
85
|
-
;
|
81
|
+
@floatingShadow;
|
86
82
|
|
87
83
|
/* Colors */
|
88
84
|
@redBoxShadow:
|
89
85
|
0 0 0 @borderWidth @redBorderColor inset,
|
90
|
-
@shadowShadow
|
91
|
-
;
|
86
|
+
@shadowShadow;
|
92
87
|
@redBoxFloatingShadow:
|
93
88
|
0 0 0 @borderWidth @redBorderColor inset,
|
94
|
-
@floatingShadow
|
95
|
-
;
|
89
|
+
@floatingShadow;
|
96
90
|
@orangeBoxShadow:
|
97
91
|
0 0 0 @borderWidth @orangeBorderColor inset,
|
98
|
-
@shadowShadow
|
99
|
-
;
|
92
|
+
@shadowShadow;
|
100
93
|
@orangeBoxFloatingShadow:
|
101
94
|
0 0 0 @borderWidth @orangeBorderColor inset,
|
102
|
-
@floatingShadow
|
103
|
-
;
|
95
|
+
@floatingShadow;
|
104
96
|
@yellowBoxShadow:
|
105
97
|
0 0 0 @borderWidth @yellowBorderColor inset,
|
106
|
-
@shadowShadow
|
107
|
-
;
|
98
|
+
@shadowShadow;
|
108
99
|
@yellowBoxFloatingShadow:
|
109
100
|
0 0 0 @borderWidth @yellowBorderColor inset,
|
110
|
-
@floatingShadow
|
111
|
-
;
|
101
|
+
@floatingShadow;
|
112
102
|
@oliveBoxShadow:
|
113
103
|
0 0 0 @borderWidth @oliveBorderColor inset,
|
114
|
-
@shadowShadow
|
115
|
-
;
|
104
|
+
@shadowShadow;
|
116
105
|
@oliveBoxFloatingShadow:
|
117
106
|
0 0 0 @borderWidth @oliveBorderColor inset,
|
118
|
-
@floatingShadow
|
119
|
-
;
|
107
|
+
@floatingShadow;
|
120
108
|
@greenBoxShadow:
|
121
109
|
0 0 0 @borderWidth @greenBorderColor inset,
|
122
|
-
@shadowShadow
|
123
|
-
;
|
110
|
+
@shadowShadow;
|
124
111
|
@greenBoxFloatingShadow:
|
125
112
|
0 0 0 @borderWidth @greenBorderColor inset,
|
126
|
-
@floatingShadow
|
127
|
-
;
|
113
|
+
@floatingShadow;
|
128
114
|
@tealBoxShadow:
|
129
115
|
0 0 0 @borderWidth @tealBorderColor inset,
|
130
|
-
@shadowShadow
|
131
|
-
;
|
116
|
+
@shadowShadow;
|
132
117
|
@tealBoxFloatingShadow:
|
133
118
|
0 0 0 @borderWidth @tealBorderColor inset,
|
134
|
-
@floatingShadow
|
135
|
-
;
|
119
|
+
@floatingShadow;
|
136
120
|
@blueBoxShadow:
|
137
121
|
0 0 0 @borderWidth @blueBorderColor inset,
|
138
|
-
@shadowShadow
|
139
|
-
;
|
122
|
+
@shadowShadow;
|
140
123
|
@blueBoxFloatingShadow:
|
141
124
|
0 0 0 @borderWidth @blueBorderColor inset,
|
142
|
-
@floatingShadow
|
143
|
-
;
|
125
|
+
@floatingShadow;
|
144
126
|
@violetBoxShadow:
|
145
127
|
0 0 0 @borderWidth @violetBorderColor inset,
|
146
|
-
@shadowShadow
|
147
|
-
;
|
128
|
+
@shadowShadow;
|
148
129
|
@violetBoxFloatingShadow:
|
149
130
|
0 0 0 @borderWidth @violetBorderColor inset,
|
150
|
-
@floatingShadow
|
151
|
-
;
|
131
|
+
@floatingShadow;
|
152
132
|
@purpleBoxShadow:
|
153
133
|
0 0 0 @borderWidth @purpleBorderColor inset,
|
154
|
-
@shadowShadow
|
155
|
-
;
|
134
|
+
@shadowShadow;
|
156
135
|
@purpleBoxFloatingShadow:
|
157
136
|
0 0 0 @borderWidth @purpleBorderColor inset,
|
158
|
-
@floatingShadow
|
159
|
-
;
|
137
|
+
@floatingShadow;
|
160
138
|
@pinkBoxShadow:
|
161
139
|
0 0 0 @borderWidth @pinkBorderColor inset,
|
162
|
-
@shadowShadow
|
163
|
-
;
|
140
|
+
@shadowShadow;
|
164
141
|
@pinkBoxFloatingShadow:
|
165
142
|
0 0 0 @borderWidth @pinkBorderColor inset,
|
166
|
-
@floatingShadow
|
167
|
-
;
|
143
|
+
@floatingShadow;
|
168
144
|
@brownBoxShadow:
|
169
145
|
0 0 0 @borderWidth @brownBorderColor inset,
|
170
|
-
@shadowShadow
|
171
|
-
;
|
146
|
+
@shadowShadow;
|
172
147
|
@brownBoxFloatingShadow:
|
173
148
|
0 0 0 @borderWidth @brownBorderColor inset,
|
174
|
-
@floatingShadow
|
175
|
-
;
|
149
|
+
@floatingShadow;
|
176
150
|
|
177
151
|
/* Warning / Positive / Negative / Info */
|
178
152
|
@positiveBoxShadow:
|
179
153
|
0 0 0 @borderWidth @positiveBorderColor inset,
|
180
|
-
@shadowShadow
|
181
|
-
;
|
154
|
+
@shadowShadow;
|
182
155
|
@positiveBoxFloatingShadow:
|
183
156
|
0 0 0 @borderWidth @positiveBorderColor inset,
|
184
|
-
@floatingShadow
|
185
|
-
;
|
157
|
+
@floatingShadow;
|
186
158
|
@negativeBoxShadow:
|
187
159
|
0 0 0 @borderWidth @negativeBorderColor inset,
|
188
|
-
@shadowShadow
|
189
|
-
;
|
160
|
+
@shadowShadow;
|
190
161
|
@negativeBoxFloatingShadow:
|
191
162
|
0 0 0 @borderWidth @negativeBorderColor inset,
|
192
|
-
@floatingShadow
|
193
|
-
;
|
163
|
+
@floatingShadow;
|
194
164
|
@infoBoxShadow:
|
195
165
|
0 0 0 @borderWidth @infoBorderColor inset,
|
196
|
-
@shadowShadow
|
197
|
-
;
|
166
|
+
@shadowShadow;
|
198
167
|
@infoBoxFloatingShadow:
|
199
168
|
0 0 0 @borderWidth @infoBorderColor inset,
|
200
|
-
@floatingShadow
|
201
|
-
;
|
169
|
+
@floatingShadow;
|
202
170
|
@warningBoxShadow:
|
203
171
|
0 0 0 @borderWidth @warningBorderColor inset,
|
204
|
-
@shadowShadow
|
205
|
-
;
|
172
|
+
@shadowShadow;
|
206
173
|
@warningBoxFloatingShadow:
|
207
174
|
0 0 0 @borderWidth @warningBorderColor inset,
|
208
|
-
@floatingShadow
|
209
|
-
;
|
175
|
+
@floatingShadow;
|
210
176
|
@errorBoxShadow:
|
211
177
|
0 0 0 @borderWidth @errorBorderColor inset,
|
212
|
-
@shadowShadow
|
213
|
-
;
|
178
|
+
@shadowShadow;
|
214
179
|
@errorBoxFloatingShadow:
|
215
180
|
0 0 0 @borderWidth @errorBorderColor inset,
|
216
|
-
@floatingShadow
|
217
|
-
;
|
181
|
+
@floatingShadow;
|
218
182
|
@successBoxShadow:
|
219
183
|
0 0 0 @borderWidth @successBorderColor inset,
|
220
|
-
@shadowShadow
|
221
|
-
;
|
184
|
+
@shadowShadow;
|
222
185
|
@successBoxFloatingShadow:
|
223
186
|
0 0 0 @borderWidth @successBorderColor inset,
|
224
|
-
@floatingShadow
|
225
|
-
;
|
187
|
+
@floatingShadow;
|
226
188
|
|
227
189
|
@miniMessageSize: @relativeMini;
|
228
190
|
@tinyMessageSize: @relativeTiny;
|
@@ -14,8 +14,7 @@
|
|
14
14
|
@borderRadius: @defaultBorderRadius;
|
15
15
|
@transition:
|
16
16
|
background @defaultDuration @defaultEasing,
|
17
|
-
color @defaultDuration @defaultEasing
|
18
|
-
;
|
17
|
+
color @defaultDuration @defaultEasing;
|
19
18
|
@background: @white;
|
20
19
|
@color: @textColor;
|
21
20
|
@borderWidth: 1px;
|
@@ -169,8 +168,7 @@
|
|
169
168
|
@attachedBorder: @borderWidth solid @solidBorderColor;
|
170
169
|
@attachedBottomBoxShadow:
|
171
170
|
@boxShadow,
|
172
|
-
@attachedBoxShadow
|
173
|
-
;
|
171
|
+
@attachedBoxShadow;
|
174
172
|
|
175
173
|
/* Striped */
|
176
174
|
@stripedBackground: rgba(0, 0, 50, 0.02);
|
@@ -40,8 +40,7 @@
|
|
40
40
|
@borderBoxShadow: 0 0 0 @borderBoxShadowWidth @borderBoxShadowColor inset;
|
41
41
|
@boxShadow:
|
42
42
|
@borderBoxShadow,
|
43
|
-
@shadowBoxShadow
|
44
|
-
;
|
43
|
+
@shadowBoxShadow;
|
45
44
|
|
46
45
|
/* Icon */
|
47
46
|
@iconHeight: auto;
|
@@ -62,8 +61,7 @@
|
|
62
61
|
background-color @defaultDuration @defaultEasing,
|
63
62
|
color @defaultDuration @defaultEasing,
|
64
63
|
box-shadow @defaultDuration @defaultEasing,
|
65
|
-
background @defaultDuration @defaultEasing
|
66
|
-
;
|
64
|
+
background @defaultDuration @defaultEasing;
|
67
65
|
|
68
66
|
/*
|
69
67
|
@willChange: box-shadow, transform, opacity, color, background;
|
@@ -108,8 +106,7 @@
|
|
108
106
|
@downPressedShadow: none;
|
109
107
|
@downBoxShadow:
|
110
108
|
@borderBoxShadow,
|
111
|
-
@downPressedShadow
|
112
|
-
;
|
109
|
+
@downPressedShadow;
|
113
110
|
@downColor: @pressedTextColor;
|
114
111
|
|
115
112
|
/* Active */
|
@@ -129,8 +126,7 @@
|
|
129
126
|
@loadingPointerEvents: auto;
|
130
127
|
@loadingTransition:
|
131
128
|
all 0s linear,
|
132
|
-
opacity @defaultDuration @defaultEasing
|
133
|
-
;
|
129
|
+
opacity @defaultDuration @defaultEasing;
|
134
130
|
|
135
131
|
/* -------------------
|
136
132
|
Types
|
@@ -208,8 +204,7 @@
|
|
208
204
|
@basicHoverTextColor: @hoveredTextColor;
|
209
205
|
@basicHoverBoxShadow:
|
210
206
|
0 0 0 @basicBorderSize @selectedBorderColor inset,
|
211
|
-
0 0 0 0 @borderColor inset
|
212
|
-
;
|
207
|
+
0 0 0 0 @borderColor inset;
|
213
208
|
|
214
209
|
/* Basic Focus */
|
215
210
|
@basicFocusBackground: @basicHoverBackground;
|
@@ -221,8 +216,7 @@
|
|
221
216
|
@basicDownTextColor: @pressedTextColor;
|
222
217
|
@basicDownBoxShadow:
|
223
218
|
0 0 0 @basicBorderSize rgba(0, 0, 0, 0.15) inset,
|
224
|
-
0 1px 4px 0 @borderColor inset
|
225
|
-
;
|
219
|
+
0 1px 4px 0 @borderColor inset;
|
226
220
|
|
227
221
|
/* Basic Active */
|
228
222
|
@basicActiveBackground: @transparentBlack;
|
@@ -1159,7 +1159,7 @@
|
|
1159
1159
|
countrycode: sa;
|
1160
1160
|
class: saudi_arabia;
|
1161
1161
|
aliasClass: saudiarabia;
|
1162
|
-
aliasClass2: saudi
|
1162
|
+
aliasClass2: saudi;
|
1163
1163
|
};
|
1164
1164
|
@1f1f8-1f1f3: {
|
1165
1165
|
countrycode: sn;
|
@@ -1579,7 +1579,7 @@
|
|
1579
1579
|
countrycode: sj;
|
1580
1580
|
class: svalbard_and_jan_mayen;
|
1581
1581
|
aliasClass: svalbard;
|
1582
|
-
aliasClass2: jan_mayen
|
1582
|
+
aliasClass2: jan_mayen;
|
1583
1583
|
};
|
1584
1584
|
@1f1f9-1f1e6: {
|
1585
1585
|
countrycode: ta;
|
@@ -1598,7 +1598,7 @@
|
|
1598
1598
|
class: united_nations;
|
1599
1599
|
aliasClass: united_nations;
|
1600
1600
|
aliasClass2: false;
|
1601
|
-
}
|
1601
|
+
};
|
1602
1602
|
};
|
1603
1603
|
|
1604
1604
|
@size-map: {
|
@@ -45,8 +45,7 @@ Icons are order A-Z in their group, Solid, Outline, Thin (Pro only) and Brand
|
|
45
45
|
@fonts: {
|
46
46
|
@solid: {
|
47
47
|
font-family: @fontName;
|
48
|
-
src: url("@{fontPath}/@{fontName}.woff2") format("woff2")
|
49
|
-
if(@supportIE, e(",") url("@{fontPath}/@{fontName}.woff") format("woff"));
|
48
|
+
src: url("@{fontPath}/@{fontName}.woff2") format("woff2") if(@supportIE, e(",") url("@{fontPath}/@{fontName}.woff") format("woff"));
|
50
49
|
font-style: normal;
|
51
50
|
font-weight: @normal;
|
52
51
|
font-display: block;
|
@@ -56,8 +55,7 @@ Icons are order A-Z in their group, Solid, Outline, Thin (Pro only) and Brand
|
|
56
55
|
};
|
57
56
|
@outline: {
|
58
57
|
font-family: @outlineFontName;
|
59
|
-
src: url("@{fontPath}/@{outlineFontName}.woff2") format("woff2")
|
60
|
-
if(@supportIE, e(",") url("@{fontPath}/@{outlineFontName}.woff") format("woff"));
|
58
|
+
src: url("@{fontPath}/@{outlineFontName}.woff2") format("woff2") if(@supportIE, e(",") url("@{fontPath}/@{outlineFontName}.woff") format("woff"));
|
61
59
|
font-style: normal;
|
62
60
|
font-weight: @normal;
|
63
61
|
font-display: block;
|
@@ -67,8 +65,7 @@ Icons are order A-Z in their group, Solid, Outline, Thin (Pro only) and Brand
|
|
67
65
|
};
|
68
66
|
@brand: {
|
69
67
|
font-family: @brandFontName;
|
70
|
-
src: url("@{fontPath}/@{brandFontName}.woff2") format("woff2")
|
71
|
-
if(@supportIE, e(",") url("@{fontPath}/@{brandFontName}.woff") format("woff"));
|
68
|
+
src: url("@{fontPath}/@{brandFontName}.woff2") format("woff2") if(@supportIE, e(",") url("@{fontPath}/@{brandFontName}.woff") format("woff"));
|
72
69
|
font-style: normal;
|
73
70
|
font-weight: @normal;
|
74
71
|
font-display: block;
|
@@ -78,7 +75,10 @@ Icons are order A-Z in their group, Solid, Outline, Thin (Pro only) and Brand
|
|
78
75
|
};
|
79
76
|
};
|
80
77
|
|
81
|
-
// Underscores in map keys will be replaced by
|
78
|
+
// Underscores in map keys will be replaced by @iconClassSeparator to separate classnames at compile time
|
79
|
+
@iconClassSeparator: ".";
|
80
|
+
@iconForcedOrder: false;
|
81
|
+
@iconForcedAttribute: class;
|
82
82
|
|
83
83
|
/* Deprecated (In/Out Naming Conflict) */
|
84
84
|
@icon-deprecated-map: {
|
@@ -2104,14 +2104,12 @@ Icons are order A-Z in their group, Solid, Outline, Thin (Pro only) and Brand
|
|
2104
2104
|
-@cornerIconStroke -@cornerIconStroke 0 @white,
|
2105
2105
|
@cornerIconStroke -@cornerIconStroke 0 @white,
|
2106
2106
|
-@cornerIconStroke @cornerIconStroke 0 @white,
|
2107
|
-
@cornerIconStroke @cornerIconStroke 0 @white
|
2108
|
-
;
|
2107
|
+
@cornerIconStroke @cornerIconStroke 0 @white;
|
2109
2108
|
@cornerIconInvertedShadow:
|
2110
2109
|
-@cornerIconStroke -@cornerIconStroke 0 @black,
|
2111
2110
|
@cornerIconStroke -@cornerIconStroke 0 @black,
|
2112
2111
|
-@cornerIconStroke @cornerIconStroke 0 @black,
|
2113
|
-
@cornerIconStroke @cornerIconStroke 0 @black
|
2114
|
-
;
|
2112
|
+
@cornerIconStroke @cornerIconStroke 0 @black;
|
2115
2113
|
|
2116
2114
|
@cornerOffset: 0;
|
2117
2115
|
@borderedGroupCornerOffset: 1.15em;
|
@@ -106,9 +106,7 @@
|
|
106
106
|
@linkListItemHoverColor: @hoveredTextColor;
|
107
107
|
@linkListItemDownColor: @pressedTextColor;
|
108
108
|
@linkListItemActiveColor: @selectedTextColor;
|
109
|
-
@linkListTransition:
|
110
|
-
@defaultDuration color @defaultEasing
|
111
|
-
;
|
109
|
+
@linkListTransition: @defaultDuration color @defaultEasing;
|
112
110
|
|
113
111
|
/* Inverted Link List */
|
114
112
|
@invertedLinkListItemColor: @invertedUnselectedTextColor;
|
@@ -124,8 +122,7 @@
|
|
124
122
|
@selectionListTransition:
|
125
123
|
@defaultDuration color @defaultEasing,
|
126
124
|
@defaultDuration padding-left @defaultEasing,
|
127
|
-
@defaultDuration background-color @defaultEasing
|
128
|
-
;
|
125
|
+
@defaultDuration background-color @defaultEasing;
|
129
126
|
|
130
127
|
/* Selection List States */
|
131
128
|
@selectionListBackground: transparent;
|
@@ -153,8 +150,7 @@
|
|
153
150
|
@animatedListTransition:
|
154
151
|
@animatedDuration color @defaultEasing @animatedDelay,
|
155
152
|
@animatedDuration padding-left @defaultEasing @animatedDelay,
|
156
|
-
@animatedDuration background-color @defaultEasing @animatedDelay
|
157
|
-
;
|
153
|
+
@animatedDuration background-color @defaultEasing @animatedDelay;
|
158
154
|
@animatedListIndent: 1em;
|
159
155
|
|
160
156
|
/* Bulleted */
|
@@ -34,15 +34,19 @@
|
|
34
34
|
/* Glow Gradient */
|
35
35
|
@placeholderLoadingAnimationDuration: 2s;
|
36
36
|
@placeholderLoadingGradientWidth: 1200px;
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
rgba(0, 0, 0, 0.08)
|
37
|
+
// prettier-ignore
|
38
|
+
@placeholderLoadingGradient: linear-gradient(
|
39
|
+
to right,
|
40
|
+
rgba(0, 0, 0, 0.08) 0,
|
41
|
+
rgba(0, 0, 0, 0.15) 15%,
|
42
|
+
rgba(0, 0, 0, 0.08) 30%
|
41
43
|
);
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
rgba(255, 255, 255, 0.08)
|
44
|
+
// prettier-ignore
|
45
|
+
@placeholderInvertedLoadingGradient: linear-gradient(
|
46
|
+
to right,
|
47
|
+
rgba(255, 255, 255, 0.08) 0,
|
48
|
+
rgba(255, 255, 255, 0.14) 15%,
|
49
|
+
rgba(255, 255, 255, 0.08) 30%
|
46
50
|
);
|
47
51
|
|
48
52
|
/* Variations */
|
@@ -106,8 +106,7 @@
|
|
106
106
|
@attachedBorder: @borderWidth solid @solidBorderColor;
|
107
107
|
@attachedBottomBoxShadow:
|
108
108
|
@boxShadow,
|
109
|
-
@attachedBoxShadow
|
110
|
-
;
|
109
|
+
@attachedBoxShadow;
|
111
110
|
|
112
111
|
/* Inverted */
|
113
112
|
@invertedBackground: @black;
|
@@ -132,21 +131,21 @@
|
|
132
131
|
@tertiaryColor: @mutedTextColor;
|
133
132
|
|
134
133
|
@secondaryInvertedLightness: 0.2;
|
134
|
+
// prettier-ignore
|
135
135
|
@secondaryInvertedBackground:
|
136
136
|
lighten(@black, (@secondaryInvertedLightness * 100))
|
137
137
|
linear-gradient(
|
138
138
|
rgba(255, 255, 255, @secondaryInvertedLightness) 0,
|
139
139
|
rgba(255, 255, 255, @secondaryInvertedLightness) 100%
|
140
|
-
)
|
141
|
-
;
|
140
|
+
);
|
142
141
|
@secondaryInvertedColor: @invertedMutedTextColor;
|
143
142
|
|
144
143
|
@tertiaryInvertedLightness: 0.35;
|
144
|
+
// prettier-ignore
|
145
145
|
@tertiaryInvertedBackground:
|
146
146
|
lighten(@black, (@tertiaryInvertedLightness * 100))
|
147
147
|
linear-gradient(
|
148
148
|
rgba(255, 255, 255, @tertiaryInvertedLightness) 0,
|
149
149
|
rgba(255, 255, 255, @tertiaryInvertedLightness) 100%
|
150
|
-
)
|
151
|
-
;
|
150
|
+
);
|
152
151
|
@tertiaryInvertedColor: @invertedMutedTextColor;
|
@@ -27,8 +27,7 @@
|
|
27
27
|
background-color @defaultDuration @defaultEasing,
|
28
28
|
opacity @defaultDuration @defaultEasing,
|
29
29
|
color @defaultDuration @defaultEasing,
|
30
|
-
box-shadow @defaultDuration @defaultEasing
|
31
|
-
;
|
30
|
+
box-shadow @defaultDuration @defaultEasing;
|
32
31
|
@lineHeight: @relativeLarge;
|
33
32
|
@alignItems: center;
|
34
33
|
@justifyContent: center;
|