fomantic-ui 2.9.0-beta.26 → 2.9.0-beta.262
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 +206 -3
- package/.github/workflows/ci.yml +4 -4
- package/.github/workflows/nightly.yml +4 -4
- package/.github/workflows/release.yml +30 -0
- package/CONTRIBUTORS.md +75 -37
- package/README.md +8 -8
- 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 +34 -30
- 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 +176 -134
- package/dist/components/button.min.css +2 -2
- package/dist/components/calendar.css +18 -1
- package/dist/components/calendar.js +10 -9
- package/dist/components/calendar.min.css +2 -2
- 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 +94 -1
- package/dist/components/container.min.css +2 -2
- package/dist/components/dimmer.css +28 -14
- package/dist/components/dimmer.js +11 -5
- 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 +49 -13
- package/dist/components/dropdown.js +66 -39
- 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 +10147 -8139
- package/dist/components/emoji.min.css +1 -1
- package/dist/components/feed.css +28 -28
- package/dist/components/feed.min.css +2 -2
- package/dist/components/flag.css +734 -625
- package/dist/components/flag.min.css +2 -2
- package/dist/components/form.css +118 -55
- package/dist/components/form.js +38 -29
- 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 +3 -1
- package/dist/components/header.min.css +2 -2
- package/dist/components/icon.css +126 -47
- 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 +742 -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 +29 -5
- 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 +127 -49
- 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 +1 -1
- package/dist/components/popup.js +2 -2
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +3 -3
- package/dist/components/progress.css +1 -1
- package/dist/components/progress.js +4 -1
- 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 +1 -1
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +1 -1
- 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 +2 -2
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +3 -3
- package/dist/components/segment.css +91 -7
- package/dist/components/segment.min.css +2 -2
- package/dist/components/shape.css +1 -1
- package/dist/components/shape.js +3 -3
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +3 -3
- package/dist/components/sidebar.css +4 -2
- package/dist/components/sidebar.js +8 -6
- package/dist/components/sidebar.min.css +2 -2
- package/dist/components/sidebar.min.js +3 -3
- 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 +1 -1
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +2 -2
- 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 +39 -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 +21 -16
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +3 -3
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +2 -2
- package/dist/semantic.css +21916 -16238
- package/dist/semantic.js +433 -246
- package/dist/semantic.min.css +3 -3
- package/dist/semantic.min.js +3 -3
- package/dist/themes/default/assets/fonts/brand-icons.eot +0 -0
- package/dist/themes/default/assets/fonts/brand-icons.svg +801 -654
- package/dist/themes/default/assets/fonts/brand-icons.ttf +0 -0
- package/dist/themes/default/assets/fonts/brand-icons.woff +0 -0
- package/dist/themes/default/assets/fonts/brand-icons.woff2 +0 -0
- package/dist/themes/default/assets/fonts/icons.eot +0 -0
- package/dist/themes/default/assets/fonts/icons.svg +1175 -1079
- package/dist/themes/default/assets/fonts/icons.ttf +0 -0
- package/dist/themes/default/assets/fonts/icons.woff +0 -0
- package/dist/themes/default/assets/fonts/icons.woff2 +0 -0
- package/dist/themes/default/assets/fonts/outline-icons.eot +0 -0
- package/dist/themes/default/assets/fonts/outline-icons.svg +93 -95
- package/dist/themes/default/assets/fonts/outline-icons.ttf +0 -0
- package/dist/themes/default/assets/fonts/outline-icons.woff +0 -0
- package/dist/themes/default/assets/fonts/outline-icons.woff2 +0 -0
- package/examples/assets/library/iframe-content.js +8 -8
- package/examples/assets/library/iframe.js +3 -3
- package/package.json +10 -9
- package/src/definitions/behaviors/api.js +33 -29
- package/src/definitions/behaviors/form.js +37 -28
- package/src/definitions/collections/form.less +204 -140
- package/src/definitions/collections/grid.less +716 -680
- package/src/definitions/collections/menu.less +173 -126
- package/src/definitions/collections/message.less +48 -46
- package/src/definitions/collections/table.less +849 -262
- package/src/definitions/elements/button.less +586 -449
- package/src/definitions/elements/container.less +145 -8
- package/src/definitions/elements/emoji.less +15 -9
- package/src/definitions/elements/flag.less +7 -17
- package/src/definitions/elements/header.less +44 -35
- package/src/definitions/elements/icon.less +38 -31
- package/src/definitions/elements/input.less +264 -22
- 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 +147 -28
- 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 +9 -8
- package/src/definitions/modules/calendar.less +20 -0
- package/src/definitions/modules/checkbox.js +16 -10
- package/src/definitions/modules/checkbox.less +34 -178
- package/src/definitions/modules/dimmer.js +10 -4
- package/src/definitions/modules/dimmer.less +21 -8
- package/src/definitions/modules/dropdown.js +65 -38
- package/src/definitions/modules/dropdown.less +145 -94
- package/src/definitions/modules/modal.js +126 -48
- package/src/definitions/modules/modal.less +12 -0
- package/src/definitions/modules/nag.less +20 -19
- package/src/definitions/modules/popup.js +1 -1
- package/src/definitions/modules/progress.js +3 -0
- package/src/definitions/modules/progress.less +19 -18
- package/src/definitions/modules/rating.less +35 -34
- package/src/definitions/modules/search.js +1 -1
- package/src/definitions/modules/search.less +32 -16
- package/src/definitions/modules/shape.js +2 -2
- package/src/definitions/modules/sidebar.js +7 -5
- package/src/definitions/modules/sidebar.less +33 -19
- package/src/definitions/modules/slider.less +39 -38
- package/src/definitions/modules/tab.js +22 -4
- package/src/definitions/modules/toast.js +55 -27
- package/src/definitions/modules/toast.less +48 -16
- package/src/definitions/modules/transition.js +20 -15
- 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/assets/fonts/brand-icons.eot +0 -0
- package/src/themes/default/assets/fonts/brand-icons.svg +801 -654
- package/src/themes/default/assets/fonts/brand-icons.ttf +0 -0
- package/src/themes/default/assets/fonts/brand-icons.woff +0 -0
- package/src/themes/default/assets/fonts/brand-icons.woff2 +0 -0
- package/src/themes/default/assets/fonts/icons.eot +0 -0
- package/src/themes/default/assets/fonts/icons.svg +1175 -1079
- package/src/themes/default/assets/fonts/icons.ttf +0 -0
- package/src/themes/default/assets/fonts/icons.woff +0 -0
- package/src/themes/default/assets/fonts/icons.woff2 +0 -0
- package/src/themes/default/assets/fonts/outline-icons.eot +0 -0
- package/src/themes/default/assets/fonts/outline-icons.svg +93 -95
- package/src/themes/default/assets/fonts/outline-icons.ttf +0 -0
- package/src/themes/default/assets/fonts/outline-icons.woff +0 -0
- package/src/themes/default/assets/fonts/outline-icons.woff2 +0 -0
- package/src/themes/default/collections/form.variables +4 -0
- 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 +7 -1
- package/src/themes/default/elements/container.variables +12 -0
- package/src/themes/default/elements/emoji.overrides +1734 -1232
- package/src/themes/default/elements/flag.overrides +1641 -986
- package/src/themes/default/elements/flag.variables +7 -5
- package/src/themes/default/elements/icon.overrides +75 -48
- 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 +139 -6
- package/src/themes/default/modules/accordion.variables +49 -2
- package/src/themes/default/modules/calendar.variables +3 -0
- 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 +4 -10
- 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/joypixels/elements/emoji.overrides +1759 -1257
- package/src/themes/joypixels/elements/emoji.variables +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/globals/site.variables +0 -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/src/themes/twitter/elements/emoji.overrides +1734 -1232
- package/tasks/build/css.js +6 -1
- package/tasks/config/project/install.js +11 -5
- package/tasks/install.js +1 -0
- package/test/helpers/sinon.js +2 -2
@@ -42,8 +42,10 @@
|
|
42
42
|
.ui.ui.ui.relaxed.grid.container {
|
43
43
|
width: @mobileRelaxedGridWidth;
|
44
44
|
}
|
45
|
-
|
46
|
-
|
45
|
+
& when (@variationContainerVeryRelaxed) {
|
46
|
+
.ui.ui.ui.very.relaxed.grid.container {
|
47
|
+
width: @mobileVeryRelaxedGridWidth;
|
48
|
+
}
|
47
49
|
}
|
48
50
|
}
|
49
51
|
}
|
@@ -64,8 +66,10 @@
|
|
64
66
|
.ui.ui.ui.relaxed.grid.container {
|
65
67
|
width: @tabletRelaxedGridWidth;
|
66
68
|
}
|
67
|
-
|
68
|
-
|
69
|
+
& when (@variationContainerVeryRelaxed) {
|
70
|
+
.ui.ui.ui.very.relaxed.grid.container {
|
71
|
+
width: @tabletVeryRelaxedGridWidth;
|
72
|
+
}
|
69
73
|
}
|
70
74
|
}
|
71
75
|
}
|
@@ -86,8 +90,10 @@
|
|
86
90
|
.ui.ui.ui.relaxed.grid.container {
|
87
91
|
width: @computerRelaxedGridWidth;
|
88
92
|
}
|
89
|
-
|
90
|
-
|
93
|
+
& when (@variationContainerVeryRelaxed) {
|
94
|
+
.ui.ui.ui.very.relaxed.grid.container {
|
95
|
+
width: @computerVeryRelaxedGridWidth;
|
96
|
+
}
|
91
97
|
}
|
92
98
|
}
|
93
99
|
}
|
@@ -108,8 +114,10 @@
|
|
108
114
|
.ui.ui.ui.relaxed.grid.container {
|
109
115
|
width: @largeMonitorRelaxedGridWidth;
|
110
116
|
}
|
111
|
-
|
112
|
-
|
117
|
+
& when (@variationContainerVeryRelaxed) {
|
118
|
+
.ui.ui.ui.very.relaxed.grid.container {
|
119
|
+
width: @largeMonitorVeryRelaxedGridWidth;
|
120
|
+
}
|
113
121
|
}
|
114
122
|
}
|
115
123
|
}
|
@@ -129,6 +137,25 @@
|
|
129
137
|
}
|
130
138
|
}
|
131
139
|
|
140
|
+
& when (@variationContainerWide) {
|
141
|
+
/* Wide Container */
|
142
|
+
@media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) {
|
143
|
+
.ui.ui.ui.wide.container {
|
144
|
+
width: @tabletWideWidth;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
@media only screen and (min-width: @computerBreakpoint) and (max-width: @largestSmallMonitor) {
|
148
|
+
.ui.ui.ui.wide.container {
|
149
|
+
width: @computerWideWidth;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
@media only screen and (min-width: @largeMonitorBreakpoint) {
|
153
|
+
.ui.ui.ui.wide.container {
|
154
|
+
width: @largeMonitorWideWidth;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
158
|
+
|
132
159
|
& when (@variationContainerFluid) {
|
133
160
|
/* Fluid */
|
134
161
|
.ui.fluid.container {
|
@@ -156,5 +183,115 @@
|
|
156
183
|
hyphens: auto;
|
157
184
|
}
|
158
185
|
}
|
186
|
+
& when (@variationContainerScrolling) {
|
187
|
+
/*--------------
|
188
|
+
Scrolling
|
189
|
+
---------------*/
|
190
|
+
.ui.scrolling.container {
|
191
|
+
overflow: auto;
|
192
|
+
}
|
193
|
+
@media only screen and (max-width : @largestMobileScreen) {
|
194
|
+
& when (@variationContainerScrollingShort) {
|
195
|
+
.ui.scrolling.container.short {
|
196
|
+
max-height: @scrollingMobileMaxHeight * 0.75;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
& when (@variationContainerScrollingVeryShort) {
|
200
|
+
.ui.scrolling.container[class*="very short"] {
|
201
|
+
max-height: @scrollingMobileMaxHeight * 0.5;
|
202
|
+
}
|
203
|
+
}
|
204
|
+
.ui.scrolling.container {
|
205
|
+
max-height: @scrollingMobileMaxHeight;
|
206
|
+
}
|
207
|
+
& when (@variationContainerScrollingLong) {
|
208
|
+
.ui.scrolling.container.long {
|
209
|
+
max-height: @scrollingMobileMaxHeight * 2;
|
210
|
+
}
|
211
|
+
}
|
212
|
+
& when (@variationContainerScrollingVeryLong) {
|
213
|
+
.ui.scrolling.container[class*="very long"] {
|
214
|
+
max-height: @scrollingMobileMaxHeight * 3;
|
215
|
+
}
|
216
|
+
}
|
217
|
+
}
|
218
|
+
|
219
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
220
|
+
& when (@variationContainerScrollingShort) {
|
221
|
+
.ui.scrolling.container.short {
|
222
|
+
max-height: @scrollingTabletMaxHeight * 0.75;
|
223
|
+
}
|
224
|
+
}
|
225
|
+
& when (@variationContainerScrollingVeryShort) {
|
226
|
+
.ui.scrolling.container[class*="very short"] {
|
227
|
+
max-height: @scrollingTabletMaxHeight * 0.5;
|
228
|
+
}
|
229
|
+
}
|
230
|
+
.ui.scrolling.container {
|
231
|
+
max-height: @scrollingTabletMaxHeight;
|
232
|
+
}
|
233
|
+
& when (@variationContainerScrollingLong) {
|
234
|
+
.ui.scrolling.container.long {
|
235
|
+
max-height: @scrollingTabletMaxHeight * 2;
|
236
|
+
}
|
237
|
+
}
|
238
|
+
& when (@variationContainerScrollingVeryLong) {
|
239
|
+
.ui.scrolling.container[class*="very long"] {
|
240
|
+
max-height: @scrollingTabletMaxHeight * 3;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}
|
244
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
245
|
+
& when (@variationContainerScrollingShort) {
|
246
|
+
.ui.scrolling.container.short {
|
247
|
+
max-height: @scrollingComputerMaxHeight * 0.75;
|
248
|
+
}
|
249
|
+
}
|
250
|
+
& when (@variationContainerScrollingVeryShort) {
|
251
|
+
.ui.scrolling.container[class*="very short"] {
|
252
|
+
max-height: @scrollingComputerMaxHeight * 0.5;
|
253
|
+
}
|
254
|
+
}
|
255
|
+
.ui.scrolling.container {
|
256
|
+
max-height: @scrollingComputerMaxHeight;
|
257
|
+
}
|
258
|
+
& when (@variationContainerScrollingLong) {
|
259
|
+
.ui.scrolling.container.long {
|
260
|
+
max-height: @scrollingComputerMaxHeight * 2;
|
261
|
+
}
|
262
|
+
}
|
263
|
+
& when (@variationContainerScrollingVeryLong) {
|
264
|
+
.ui.scrolling.container[class*="very long"]{
|
265
|
+
max-height: @scrollingComputerMaxHeight * 3;
|
266
|
+
}
|
267
|
+
}
|
268
|
+
}
|
269
|
+
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
270
|
+
& when (@variationContainerScrollingShort) {
|
271
|
+
.ui.scrolling.container.short {
|
272
|
+
max-height: @scrollingWidescreenMaxHeight * 0.75;
|
273
|
+
}
|
274
|
+
}
|
275
|
+
& when (@variationContainerScrollingVeryShort) {
|
276
|
+
.ui.scrolling.container[class*="very short"] {
|
277
|
+
max-height: @scrollingWidescreenMaxHeight * 0.5;
|
278
|
+
}
|
279
|
+
}
|
280
|
+
.ui.scrolling.container {
|
281
|
+
max-height: @scrollingWidescreenMaxHeight;
|
282
|
+
}
|
283
|
+
& when (@variationContainerScrollingLong) {
|
284
|
+
.ui.scrolling.container.long {
|
285
|
+
max-height: @scrollingWidescreenMaxHeight * 2;
|
286
|
+
}
|
287
|
+
}
|
288
|
+
& when (@variationContainerScrollingVeryLong) {
|
289
|
+
.ui.scrolling.container[class*="very long"] {
|
290
|
+
max-height: @scrollingWidescreenMaxHeight * 3;
|
291
|
+
}
|
292
|
+
}
|
293
|
+
}
|
294
|
+
}
|
295
|
+
|
159
296
|
|
160
297
|
.loadUIOverrides();
|
@@ -47,8 +47,10 @@ em[data-emoji]:before {
|
|
47
47
|
States
|
48
48
|
*******************************/
|
49
49
|
|
50
|
-
|
51
|
-
|
50
|
+
& when (@variationEmojiDisabled) {
|
51
|
+
em[data-emoji].disabled {
|
52
|
+
opacity: @disabledOpacity;
|
53
|
+
}
|
52
54
|
}
|
53
55
|
|
54
56
|
|
@@ -56,17 +58,21 @@ em[data-emoji].disabled {
|
|
56
58
|
Variations
|
57
59
|
*******************************/
|
58
60
|
|
59
|
-
|
60
|
-
|
61
|
+
& when (@variationEmojiLoading) {
|
62
|
+
em[data-emoji].loading:before {
|
63
|
+
animation: loader @loadingDuration linear infinite;
|
64
|
+
}
|
61
65
|
}
|
62
66
|
|
63
67
|
|
64
|
-
|
65
|
-
|
66
|
-
|
68
|
+
& when (@variationEmojiLink) {
|
69
|
+
/*-------------------
|
70
|
+
Link
|
71
|
+
--------------------*/
|
67
72
|
|
68
|
-
em[data-emoji].link:not(.disabled) {
|
69
|
-
|
73
|
+
em[data-emoji].link:not(.disabled) {
|
74
|
+
cursor: pointer;
|
75
|
+
}
|
70
76
|
}
|
71
77
|
|
72
78
|
.loadUIOverrides();
|
@@ -24,29 +24,19 @@
|
|
24
24
|
*******************************/
|
25
25
|
|
26
26
|
i.flag:not(.icon) {
|
27
|
-
display: inline-block;
|
28
|
-
|
29
|
-
width: @width;
|
30
|
-
height: @height;
|
31
|
-
|
32
|
-
line-height: @height;
|
33
|
-
vertical-align: @verticalAlign;
|
34
|
-
margin: 0 @margin 0 0;
|
35
|
-
|
36
|
-
text-decoration: inherit;
|
37
|
-
|
38
27
|
speak: none;
|
39
|
-
-webkit-font-smoothing: antialiased;
|
40
28
|
backface-visibility: hidden;
|
41
29
|
}
|
42
30
|
|
43
|
-
/* Sprite */
|
44
31
|
i.flag:not(.icon):before {
|
32
|
+
content: '\00A0\00A0\00A0\00A0\00A0\00A0\00A0';
|
45
33
|
display: inline-block;
|
46
|
-
|
47
|
-
background:
|
48
|
-
|
49
|
-
|
34
|
+
line-height: @flagLineHeight;
|
35
|
+
background-repeat: no-repeat;
|
36
|
+
background-position: center center;
|
37
|
+
& when not (@flagFileType = 'svg') {
|
38
|
+
background-size: contain;
|
39
|
+
}
|
50
40
|
}
|
51
41
|
|
52
42
|
.loadUIOverrides();
|
@@ -223,6 +223,7 @@
|
|
223
223
|
.ui.icon.header:first-child {
|
224
224
|
margin-top: @iconHeaderFirstMargin;
|
225
225
|
}
|
226
|
+
.ui.icon.header > .image.icon,
|
226
227
|
.ui.icon.header > .icons,
|
227
228
|
.ui.icon.header > i.icon {
|
228
229
|
float: none;
|
@@ -249,15 +250,18 @@
|
|
249
250
|
font-size: @squareHeaderIconSize;
|
250
251
|
}
|
251
252
|
& when (@variationHeaderBlock) {
|
253
|
+
.ui.block.icon.header > .image.icon,
|
252
254
|
.ui.block.icon.header > .icons,
|
253
255
|
.ui.block.icon.header > i.icon {
|
254
256
|
margin-bottom: 0;
|
255
257
|
}
|
256
258
|
}
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
259
|
+
& when (@variationHeaderAligned) {
|
260
|
+
.ui.icon.header.aligned {
|
261
|
+
margin-left: auto;
|
262
|
+
margin-right: auto;
|
263
|
+
display: block;
|
264
|
+
}
|
261
265
|
}
|
262
266
|
}
|
263
267
|
|
@@ -306,37 +310,38 @@
|
|
306
310
|
/*-------------------
|
307
311
|
Colors
|
308
312
|
--------------------*/
|
309
|
-
|
310
|
-
each(@
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
}
|
320
|
-
a.ui.@{color}.header:hover {
|
321
|
-
color: @h;
|
322
|
-
}
|
323
|
-
& when (@variationHeaderDividing) {
|
324
|
-
.ui.@{color}.dividing.header {
|
325
|
-
border-bottom: @dividedColoredBorderWidth solid @c;
|
313
|
+
& when not (@variationHeaderColors = false) {
|
314
|
+
each(@variationHeaderColors, {
|
315
|
+
@color: @value;
|
316
|
+
@c: @colors[@@color][color];
|
317
|
+
@l: @colors[@@color][light];
|
318
|
+
@h: @colors[@@color][hover];
|
319
|
+
@lh: @colors[@@color][lightHover];
|
320
|
+
|
321
|
+
.ui.@{color}.header {
|
322
|
+
color: @c;
|
326
323
|
}
|
327
|
-
|
328
|
-
|
329
|
-
.ui.inverted.@{color}.header.header.header {
|
330
|
-
color: @l;
|
324
|
+
a.ui.@{color}.header:hover {
|
325
|
+
color: @h;
|
331
326
|
}
|
332
|
-
|
333
|
-
color
|
327
|
+
& when (@variationHeaderDividing) {
|
328
|
+
.ui.@{color}.dividing.header {
|
329
|
+
border-bottom: @dividedColoredBorderWidth solid @c;
|
330
|
+
}
|
334
331
|
}
|
335
|
-
|
336
|
-
|
332
|
+
& when (@variationHeaderInverted) {
|
333
|
+
.ui.inverted.@{color}.header.header.header {
|
334
|
+
color: @l;
|
335
|
+
}
|
336
|
+
a.ui.inverted.@{color}.header.header.header:hover {
|
337
|
+
color: @lh;
|
338
|
+
}
|
339
|
+
.ui.inverted.@{color}.dividing.header {
|
340
|
+
border-bottom: @dividedColoredBorderWidth solid @l;
|
341
|
+
}
|
337
342
|
}
|
338
|
-
}
|
339
|
-
}
|
343
|
+
})
|
344
|
+
}
|
340
345
|
|
341
346
|
& when (@variationHeaderAligned) {
|
342
347
|
/*-------------------
|
@@ -403,8 +408,10 @@ each(@colors, {
|
|
403
408
|
padding-bottom: @dividedBorderPadding;
|
404
409
|
border-bottom: @dividedBorder;
|
405
410
|
}
|
406
|
-
|
407
|
-
|
411
|
+
& when (@variationHeaderSub) {
|
412
|
+
.ui.dividing.header .sub.header {
|
413
|
+
padding-bottom: @dividedSubHeaderPadding;
|
414
|
+
}
|
408
415
|
}
|
409
416
|
.ui.dividing.header i.icon {
|
410
417
|
margin-bottom: @dividedIconPadding;
|
@@ -454,8 +461,10 @@ each(@colors, {
|
|
454
461
|
border: @attachedBorder;
|
455
462
|
border-radius: 0;
|
456
463
|
}
|
457
|
-
|
458
|
-
|
464
|
+
& when (@variationHeaderBlock) {
|
465
|
+
.ui.attached.block.header {
|
466
|
+
background: @blockBackground;
|
467
|
+
}
|
459
468
|
}
|
460
469
|
.ui.attached:not(.top).header {
|
461
470
|
border-top: none;
|
@@ -22,16 +22,17 @@
|
|
22
22
|
/*******************************
|
23
23
|
Icon
|
24
24
|
*******************************/
|
25
|
-
|
26
|
-
@font-face {
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
25
|
+
& when (@importIcons) {
|
26
|
+
@font-face {
|
27
|
+
font-family: 'Icons';
|
28
|
+
src: @fallbackSRC;
|
29
|
+
src: @src;
|
30
|
+
font-style: normal;
|
31
|
+
font-weight: @normal;
|
32
|
+
font-variant: normal;
|
33
|
+
text-decoration: inherit;
|
34
|
+
text-transform: none;
|
35
|
+
}
|
35
36
|
}
|
36
37
|
|
37
38
|
i.icon {
|
@@ -104,6 +105,7 @@ i.emphasized.icon:not(.disabled), i.emphasized.icons:not(.disabled) {
|
|
104
105
|
Fitted
|
105
106
|
--------------------*/
|
106
107
|
|
108
|
+
i.fitted.icons,
|
107
109
|
i.fitted.icon {
|
108
110
|
width: auto;
|
109
111
|
margin: 0 !important;
|
@@ -319,30 +321,31 @@ i.emphasized.icon:not(.disabled), i.emphasized.icons:not(.disabled) {
|
|
319
321
|
/*-------------------
|
320
322
|
Colors
|
321
323
|
--------------------*/
|
322
|
-
|
323
|
-
each(@
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
}
|
331
|
-
& when (@variationIconInverted) {
|
332
|
-
i.inverted.@{color}.icon.icon.icon.icon.icon {
|
333
|
-
color: @l;
|
324
|
+
& when not (@variationIconColors = false) {
|
325
|
+
each(@variationIconColors, {
|
326
|
+
@color: @value;
|
327
|
+
@c: @colors[@@color][color];
|
328
|
+
@l: @colors[@@color][light];
|
329
|
+
|
330
|
+
i.@{color}.icon.icon.icon.icon.icon {
|
331
|
+
color: @c;
|
334
332
|
}
|
335
|
-
& when (@
|
336
|
-
i.inverted
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
color
|
333
|
+
& when (@variationIconInverted) {
|
334
|
+
i.inverted.@{color}.icon.icon.icon.icon.icon {
|
335
|
+
color: @l;
|
336
|
+
}
|
337
|
+
& when (@variationIconBordered) or (@variationIconCircular) {
|
338
|
+
i.inverted.bordered.@{color}.icon.icon.icon.icon.icon,
|
339
|
+
i.inverted.circular.@{color}.icon.icon.icon.icon.icon,
|
340
|
+
i.inverted.bordered.@{color}.icons,
|
341
|
+
i.inverted.circular.@{color}.icons {
|
342
|
+
background-color: @c;
|
343
|
+
color: @white;
|
344
|
+
}
|
342
345
|
}
|
343
346
|
}
|
344
|
-
}
|
345
|
-
}
|
347
|
+
})
|
348
|
+
}
|
346
349
|
|
347
350
|
|
348
351
|
/*-------------------
|
@@ -375,6 +378,10 @@ i.icons {
|
|
375
378
|
display: inline-block;
|
376
379
|
position: relative;
|
377
380
|
line-height: 1;
|
381
|
+
min-width: @width;
|
382
|
+
min-height: @height;
|
383
|
+
margin: 0 @distanceFromText 0 0;
|
384
|
+
text-align: center;
|
378
385
|
}
|
379
386
|
|
380
387
|
i.icons .icon {
|