fomantic-ui 2.9.1-beta.19 → 2.9.1-beta.20

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.
Files changed (212) hide show
  1. package/.eslintrc.js +1 -0
  2. package/.stylelintrc.js +46 -0
  3. package/dist/components/accordion.css +19 -26
  4. package/dist/components/accordion.js +1 -1
  5. package/dist/components/accordion.min.css +1 -1
  6. package/dist/components/accordion.min.js +1 -1
  7. package/dist/components/ad.css +31 -41
  8. package/dist/components/ad.min.css +1 -1
  9. package/dist/components/api.js +1 -1
  10. package/dist/components/api.min.js +1 -1
  11. package/dist/components/breadcrumb.css +1 -1
  12. package/dist/components/breadcrumb.min.css +1 -1
  13. package/dist/components/button.css +71 -96
  14. package/dist/components/button.min.css +1 -1
  15. package/dist/components/calendar.css +6 -8
  16. package/dist/components/calendar.js +1 -1
  17. package/dist/components/calendar.min.css +1 -1
  18. package/dist/components/calendar.min.js +1 -1
  19. package/dist/components/card.css +83 -115
  20. package/dist/components/card.min.css +1 -1
  21. package/dist/components/checkbox.css +47 -64
  22. package/dist/components/checkbox.js +1 -1
  23. package/dist/components/checkbox.min.css +1 -1
  24. package/dist/components/checkbox.min.js +1 -1
  25. package/dist/components/comment.css +37 -51
  26. package/dist/components/comment.min.css +1 -1
  27. package/dist/components/container.css +4 -5
  28. package/dist/components/container.min.css +1 -1
  29. package/dist/components/dimmer.css +31 -41
  30. package/dist/components/dimmer.js +1 -1
  31. package/dist/components/dimmer.min.css +1 -1
  32. package/dist/components/dimmer.min.js +1 -1
  33. package/dist/components/divider.css +32 -44
  34. package/dist/components/divider.min.css +1 -1
  35. package/dist/components/dropdown.css +109 -152
  36. package/dist/components/dropdown.js +1 -1
  37. package/dist/components/dropdown.min.css +1 -1
  38. package/dist/components/dropdown.min.js +1 -1
  39. package/dist/components/embed.css +13 -19
  40. package/dist/components/embed.js +1 -1
  41. package/dist/components/embed.min.css +1 -1
  42. package/dist/components/embed.min.js +1 -1
  43. package/dist/components/emoji.css +7 -6
  44. package/dist/components/feed.css +24 -32
  45. package/dist/components/feed.min.css +1 -1
  46. package/dist/components/flag.css +5 -3
  47. package/dist/components/flag.min.css +1 -1
  48. package/dist/components/flyout.css +39 -56
  49. package/dist/components/flyout.js +1 -1
  50. package/dist/components/flyout.min.css +1 -1
  51. package/dist/components/flyout.min.js +1 -1
  52. package/dist/components/form.css +85 -111
  53. package/dist/components/form.js +1 -1
  54. package/dist/components/form.min.css +1 -1
  55. package/dist/components/form.min.js +1 -1
  56. package/dist/components/grid.css +70 -96
  57. package/dist/components/grid.min.css +1 -1
  58. package/dist/components/header.css +47 -65
  59. package/dist/components/header.min.css +1 -1
  60. package/dist/components/icon.css +42 -53
  61. package/dist/components/icon.min.css +1 -1
  62. package/dist/components/image.css +32 -42
  63. package/dist/components/image.min.css +1 -1
  64. package/dist/components/input.css +45 -58
  65. package/dist/components/input.min.css +1 -1
  66. package/dist/components/item.css +55 -77
  67. package/dist/components/item.min.css +1 -1
  68. package/dist/components/label.css +61 -90
  69. package/dist/components/label.min.css +1 -1
  70. package/dist/components/list.css +44 -59
  71. package/dist/components/list.min.css +1 -1
  72. package/dist/components/loader.css +16 -22
  73. package/dist/components/loader.min.css +1 -1
  74. package/dist/components/menu.css +126 -186
  75. package/dist/components/message.css +25 -35
  76. package/dist/components/message.min.css +1 -1
  77. package/dist/components/modal.css +33 -40
  78. package/dist/components/modal.js +1 -1
  79. package/dist/components/modal.min.css +1 -1
  80. package/dist/components/modal.min.js +1 -1
  81. package/dist/components/nag.css +19 -25
  82. package/dist/components/nag.js +1 -1
  83. package/dist/components/nag.min.css +1 -1
  84. package/dist/components/nag.min.js +1 -1
  85. package/dist/components/placeholder.css +10 -12
  86. package/dist/components/placeholder.min.css +1 -1
  87. package/dist/components/popup.css +49 -59
  88. package/dist/components/popup.js +1 -1
  89. package/dist/components/popup.min.css +1 -1
  90. package/dist/components/popup.min.js +1 -1
  91. package/dist/components/progress.css +29 -39
  92. package/dist/components/progress.js +1 -1
  93. package/dist/components/progress.min.css +1 -1
  94. package/dist/components/progress.min.js +1 -1
  95. package/dist/components/rail.css +15 -20
  96. package/dist/components/rail.min.css +1 -1
  97. package/dist/components/rating.css +9 -13
  98. package/dist/components/rating.js +1 -1
  99. package/dist/components/rating.min.css +1 -1
  100. package/dist/components/rating.min.js +1 -1
  101. package/dist/components/reset.css +1 -1
  102. package/dist/components/reset.min.css +1 -1
  103. package/dist/components/reveal.css +19 -26
  104. package/dist/components/reveal.min.css +1 -1
  105. package/dist/components/search.css +41 -58
  106. package/dist/components/search.js +1 -1
  107. package/dist/components/search.min.css +1 -1
  108. package/dist/components/search.min.js +1 -1
  109. package/dist/components/segment.css +62 -83
  110. package/dist/components/segment.min.css +1 -1
  111. package/dist/components/shape.css +10 -14
  112. package/dist/components/shape.js +1 -1
  113. package/dist/components/shape.min.css +1 -1
  114. package/dist/components/shape.min.js +1 -1
  115. package/dist/components/sidebar.css +41 -58
  116. package/dist/components/sidebar.js +1 -1
  117. package/dist/components/sidebar.min.css +1 -1
  118. package/dist/components/sidebar.min.js +1 -1
  119. package/dist/components/site.css +5 -5
  120. package/dist/components/site.js +1 -1
  121. package/dist/components/site.min.css +1 -1
  122. package/dist/components/site.min.js +1 -1
  123. package/dist/components/slider.css +27 -37
  124. package/dist/components/slider.js +1 -1
  125. package/dist/components/slider.min.js +1 -1
  126. package/dist/components/state.js +1 -1
  127. package/dist/components/state.min.js +1 -1
  128. package/dist/components/statistic.css +29 -41
  129. package/dist/components/statistic.min.css +1 -1
  130. package/dist/components/step.css +26 -35
  131. package/dist/components/step.min.css +1 -1
  132. package/dist/components/sticky.css +1 -1
  133. package/dist/components/sticky.js +1 -1
  134. package/dist/components/sticky.min.css +1 -1
  135. package/dist/components/sticky.min.js +1 -1
  136. package/dist/components/tab.css +6 -8
  137. package/dist/components/tab.js +1 -1
  138. package/dist/components/tab.min.css +1 -1
  139. package/dist/components/tab.min.js +1 -1
  140. package/dist/components/table.css +87 -117
  141. package/dist/components/table.min.css +1 -1
  142. package/dist/components/text.css +1 -1
  143. package/dist/components/text.min.css +1 -1
  144. package/dist/components/toast.css +4 -6
  145. package/dist/components/toast.js +1 -1
  146. package/dist/components/toast.min.css +1 -1
  147. package/dist/components/toast.min.js +1 -1
  148. package/dist/components/transition.css +4 -3
  149. package/dist/components/transition.js +1 -1
  150. package/dist/components/transition.min.css +1 -1
  151. package/dist/components/transition.min.js +1 -1
  152. package/dist/components/visibility.js +1 -1
  153. package/dist/components/visibility.min.js +1 -1
  154. package/dist/semantic.css +1719 -1719
  155. package/dist/semantic.js +26 -26
  156. package/dist/semantic.min.css +1 -1
  157. package/dist/semantic.min.js +1 -1
  158. package/package.json +8 -4
  159. package/src/definitions/collections/breadcrumb.less +41 -44
  160. package/src/definitions/collections/form.less +869 -879
  161. package/src/definitions/collections/grid.less +1690 -1695
  162. package/src/definitions/collections/menu.less +1493 -1503
  163. package/src/definitions/collections/message.less +292 -295
  164. package/src/definitions/collections/table.less +1616 -1622
  165. package/src/definitions/elements/button.less +1723 -1737
  166. package/src/definitions/elements/container.less +209 -210
  167. package/src/definitions/elements/divider.less +205 -206
  168. package/src/definitions/elements/emoji.less +38 -44
  169. package/src/definitions/elements/flag.less +44 -46
  170. package/src/definitions/elements/header.less +337 -345
  171. package/src/definitions/elements/icon.less +511 -512
  172. package/src/definitions/elements/image.less +221 -225
  173. package/src/definitions/elements/input.less +661 -667
  174. package/src/definitions/elements/label.less +800 -799
  175. package/src/definitions/elements/list.less +809 -809
  176. package/src/definitions/elements/loader.less +272 -266
  177. package/src/definitions/elements/placeholder.less +171 -168
  178. package/src/definitions/elements/rail.less +91 -91
  179. package/src/definitions/elements/reveal.less +192 -196
  180. package/src/definitions/elements/segment.less +743 -747
  181. package/src/definitions/elements/step.less +425 -433
  182. package/src/definitions/elements/text.less +32 -34
  183. package/src/definitions/globals/reset.less +9 -6
  184. package/src/definitions/globals/site.less +106 -108
  185. package/src/definitions/modules/accordion.less +242 -246
  186. package/src/definitions/modules/calendar.less +91 -92
  187. package/src/definitions/modules/checkbox.less +536 -542
  188. package/src/definitions/modules/dimmer.less +300 -297
  189. package/src/definitions/modules/dropdown.less +1577 -1591
  190. package/src/definitions/modules/embed.less +81 -82
  191. package/src/definitions/modules/flyout.less +443 -452
  192. package/src/definitions/modules/modal.less +459 -462
  193. package/src/definitions/modules/nag.less +134 -137
  194. package/src/definitions/modules/popup.less +738 -739
  195. package/src/definitions/modules/progress.less +521 -494
  196. package/src/definitions/modules/rating.less +94 -101
  197. package/src/definitions/modules/search.less +375 -383
  198. package/src/definitions/modules/shape.less +71 -76
  199. package/src/definitions/modules/sidebar.less +464 -474
  200. package/src/definitions/modules/slider.less +307 -308
  201. package/src/definitions/modules/sticky.less +21 -23
  202. package/src/definitions/modules/tab.less +51 -52
  203. package/src/definitions/modules/toast.less +584 -586
  204. package/src/definitions/modules/transition.less +55 -56
  205. package/src/definitions/views/ad.less +206 -206
  206. package/src/definitions/views/card.less +968 -970
  207. package/src/definitions/views/comment.less +190 -198
  208. package/src/definitions/views/feed.less +220 -224
  209. package/src/definitions/views/item.less +436 -446
  210. package/src/definitions/views/statistic.less +269 -280
  211. package/src/theme.less +29 -32
  212. package/src/themes/default/globals/colors.less +589 -589
@@ -8,12 +8,11 @@
8
8
  *
9
9
  */
10
10
 
11
-
12
11
  /*******************************
13
12
  Theme
14
13
  *******************************/
15
14
 
16
- @type : 'element';
15
+ @type : 'element';
17
16
  @element : 'label';
18
17
 
19
18
  @import (multiple) '../../theme.config';
@@ -23,1023 +22,1025 @@
23
22
  *******************************/
24
23
 
25
24
  .ui.label {
26
- display: inline-block;
27
- line-height: 1;
28
- vertical-align: @verticalAlign;
25
+ display: inline-block;
26
+ line-height: 1;
27
+ vertical-align: @verticalAlign;
29
28
 
30
- margin: @verticalMargin @horizontalMargin;
29
+ margin: @verticalMargin @horizontalMargin;
31
30
 
32
- background-color: @backgroundColor;
33
- background-image: @backgroundImage;
34
- padding: @verticalPadding @horizontalPadding;
35
- color: @color;
31
+ background-color: @backgroundColor;
32
+ background-image: @backgroundImage;
33
+ padding: @verticalPadding @horizontalPadding;
34
+ color: @color;
36
35
 
37
- text-transform: @textTransform;
38
- font-weight: @fontWeight;
36
+ text-transform: @textTransform;
37
+ font-weight: @fontWeight;
39
38
 
40
- border: @border;
41
- border-radius: @borderRadius;
42
- transition: @transition;
39
+ border: @border;
40
+ border-radius: @borderRadius;
41
+ transition: @transition;
43
42
  }
44
43
 
45
44
  .ui.label:first-child {
46
- margin-left: 0;
45
+ margin-left: 0;
47
46
  }
48
47
  .ui.label:last-child {
49
- margin-right: 0;
48
+ margin-right: 0;
50
49
  }
51
50
 
52
51
  /* Link */
53
52
  a.ui.label {
54
- cursor: pointer;
53
+ cursor: pointer;
55
54
  }
56
55
 
57
56
  /* Inside Link */
58
57
  .ui.label > a {
59
- cursor: pointer;
60
- color: inherit;
61
- opacity: @linkOpacity;
62
- transition: @linkTransition;
58
+ cursor: pointer;
59
+ color: inherit;
60
+ opacity: @linkOpacity;
61
+ transition: @linkTransition;
63
62
  }
64
63
  .ui.label > a:hover {
65
- opacity: 1;
64
+ opacity: 1;
66
65
  }
67
66
 
68
67
  /* Image */
69
68
  .ui.label > img {
70
- width: auto !important;
71
- vertical-align: middle;
72
- height: @imageHeight;
69
+ width: auto !important;
70
+ vertical-align: middle;
71
+ height: @imageHeight;
73
72
  }
74
73
 
75
74
  /* Icon */
76
75
  .ui.ui[class*="left icon"].label > .icon,
77
76
  .ui.label > .icon {
78
- width: auto;
79
- margin: 0 @iconDistance 0 0;
77
+ width: auto;
78
+ margin: 0 @iconDistance 0 0;
80
79
  }
81
80
 
82
81
  /* Detail */
83
82
  .ui.label > .detail {
84
- display: inline-block;
85
- vertical-align: top;
86
- font-weight: @detailFontWeight;
87
- margin-left: @detailMargin;
88
- opacity: @detailOpacity;
83
+ display: inline-block;
84
+ vertical-align: top;
85
+ font-weight: @detailFontWeight;
86
+ margin-left: @detailMargin;
87
+ opacity: @detailOpacity;
89
88
  }
90
89
  .ui.label > .detail .icon {
91
- margin: 0 @detailIconDistance 0 0;
90
+ margin: 0 @detailIconDistance 0 0;
92
91
  }
93
92
 
94
93
  /* Removable label */
95
94
  .ui.label > .close.icon,
96
95
  .ui.label > .delete.icon {
97
- cursor: pointer;
98
- font-size: @deleteSize;
99
- opacity: @deleteOpacity;
100
- transition: @deleteTransition;
96
+ cursor: pointer;
97
+ font-size: @deleteSize;
98
+ opacity: @deleteOpacity;
99
+ transition: @deleteTransition;
101
100
  }
102
101
  .ui.label > .close.icon:hover,
103
102
  .ui.label > .delete.icon:hover {
104
- opacity: 1;
103
+ opacity: 1;
105
104
  }
106
105
 
107
106
  /* Backward compatible positioning */
108
107
  .ui.label[class*="left icon"] > .close.icon,
109
108
  .ui.label[class*="left icon"] > .delete.icon {
110
- margin: 0 @deleteMargin 0 0;
111
- &.right {
112
- margin: 0 0 0 @deleteMargin;
113
- }
109
+ margin: 0 @deleteMargin 0 0;
110
+ &.right {
111
+ margin: 0 0 0 @deleteMargin;
112
+ }
114
113
  }
115
114
  .ui.label:not(.icon) > .close.icon,
116
115
  .ui.label:not(.icon) > .delete.icon {
117
- margin: 0 0 0 @deleteMargin;
116
+ margin: 0 0 0 @deleteMargin;
118
117
  }
119
118
 
120
119
  /* Label for only an icon */
121
120
  .ui.icon.label > .icon {
122
- margin: 0 auto;
121
+ margin: 0 auto;
123
122
  }
124
123
 
125
124
  /* Right Side Icon */
126
125
  .ui[class*="right icon"].label > .icon {
127
- margin: 0 0 0 @iconDistance;
126
+ margin: 0 0 0 @iconDistance;
128
127
  }
129
128
 
130
- /*-------------------
129
+ /* -------------------
131
130
  Group
132
- --------------------*/
131
+ -------------------- */
133
132
 
134
133
  .ui.labels > .label {
135
- margin: 0 @groupHorizontalMargin @groupVerticalMargin 0;
134
+ margin: 0 @groupHorizontalMargin @groupVerticalMargin 0;
136
135
  }
137
136
 
138
-
139
- /*-------------------
137
+ /* -------------------
140
138
  Coupling
141
- --------------------*/
139
+ -------------------- */
142
140
 
143
141
  .ui.header > .ui.label {
144
- margin-top: @lineHeightOffset;
142
+ margin-top: @lineHeightOffset;
145
143
  }
146
144
 
147
-
148
145
  /* Remove border radius on attached segment */
149
146
  .ui.attached.segment > .ui.top.left.attached.label,
150
- .ui.bottom.attached.segment > .ui.top.left.attached.label {
151
- border-top-left-radius: 0;
147
+ .ui.bottom.attached.segment > .ui.top.left.attached.label {
148
+ border-top-left-radius: 0;
152
149
  }
153
150
  .ui.attached.segment > .ui.top.right.attached.label,
154
- .ui.bottom.attached.segment > .ui.top.right.attached.label {
155
- border-top-right-radius: 0;
151
+ .ui.bottom.attached.segment > .ui.top.right.attached.label {
152
+ border-top-right-radius: 0;
156
153
  }
157
- .ui.top.attached.segment > .ui.bottom.left.attached.label {
158
- border-bottom-left-radius: 0;
154
+ .ui.top.attached.segment > .ui.bottom.left.attached.label {
155
+ border-bottom-left-radius: 0;
159
156
  }
160
- .ui.top.attached.segment > .ui.bottom.right.attached.label {
161
- border-bottom-right-radius: 0;
157
+ .ui.top.attached.segment > .ui.bottom.right.attached.label {
158
+ border-bottom-right-radius: 0;
162
159
  }
163
160
 
164
161
  /* Padding on next content after a label */
165
162
  .ui.top.attached.label ~ .ui.bottom.attached.label + :not(.attached),
166
163
  .ui.top.attached.label + :not(.attached) {
167
- margin-top: @attachedSegmentPadding !important;
164
+ margin-top: @attachedSegmentPadding !important;
168
165
  }
169
166
  .ui.bottom.attached.label ~ :last-child:not(.attached) {
170
- margin-top:0;
171
- margin-bottom: @attachedSegmentPadding !important;
167
+ margin-top: 0;
168
+ margin-bottom: @attachedSegmentPadding !important;
172
169
  }
173
170
 
174
171
  .ui.segment:not(.basic) > .ui.top.attached.label {
175
- margin-top: @attachedOffset;
172
+ margin-top: @attachedOffset;
176
173
  }
177
174
  .ui.segment:not(.basic) > .ui.bottom.attached.label {
178
- margin-bottom: @attachedOffset;
175
+ margin-bottom: @attachedOffset;
179
176
  }
180
177
  .ui.segment:not(.basic) > .ui.attached.label:not(.right) {
181
- margin-left: @attachedOffset;
178
+ margin-left: @attachedOffset;
182
179
  }
183
180
  .ui.segment:not(.basic) > .ui.right.attached.label {
184
- margin-right: @attachedOffset;
181
+ margin-right: @attachedOffset;
185
182
  }
186
183
  .ui.segment:not(.basic) > .ui.attached.label:not(.left):not(.right) {
187
- width: @attachedWidthOffset;
184
+ width: @attachedWidthOffset;
188
185
  }
189
186
 
190
-
191
-
192
187
  /*******************************
193
188
  Types
194
189
  *******************************/
195
190
  & when (@variationLabelImage) {
196
- .ui.image.label {
197
- width: auto;
198
- margin-top: 0;
199
- margin-bottom: 0;
200
- max-width: 9999px;
201
- vertical-align: baseline;
202
- text-transform: none;
203
-
204
- background: @imageLabelBackground;
205
- padding: @imageLabelPadding;
206
- border-radius: @imageLabelBorderRadius;
207
- box-shadow: @imageLabelBoxShadow;
208
- &.attached:not(.basic) when (@variationLabelAttached) {
209
- padding: @imageLabelPadding;
191
+ .ui.image.label {
192
+ width: auto;
193
+ margin-top: 0;
194
+ margin-bottom: 0;
195
+ max-width: 9999px;
196
+ vertical-align: baseline;
197
+ text-transform: none;
198
+
199
+ background: @imageLabelBackground;
200
+ padding: @imageLabelPadding;
201
+ border-radius: @imageLabelBorderRadius;
202
+ box-shadow: @imageLabelBoxShadow;
203
+ &.attached:not(.basic) when (@variationLabelAttached) {
204
+ padding: @imageLabelPadding;
205
+ }
210
206
  }
211
- }
212
207
 
213
- .ui.image.label img {
214
- display: inline-block;
215
- vertical-align: top;
208
+ .ui.image.label img {
209
+ display: inline-block;
210
+ vertical-align: top;
216
211
 
217
- height: @imageLabelImageHeight;
218
- margin: @imageLabelImageMargin;
219
- border-radius: @imageLabelImageBorderRadius;
220
- }
212
+ height: @imageLabelImageHeight;
213
+ margin: @imageLabelImageMargin;
214
+ border-radius: @imageLabelImageBorderRadius;
215
+ }
221
216
 
222
- .ui.image.label .detail {
223
- background: @imageLabelDetailBackground;
224
- margin: @imageLabelDetailMargin;
225
- padding: @imageLabelDetailPadding;
226
- border-radius: 0 @imageLabelBorderRadius @imageLabelBorderRadius 0;
227
- }
228
- & when (@variationLabelAttached) {
229
- .ui.bottom.attached.image.label:not(.right) > img,
230
- .ui.top.right.attached.image.label > img {
231
- border-top-left-radius: 0;
217
+ .ui.image.label .detail {
218
+ background: @imageLabelDetailBackground;
219
+ margin: @imageLabelDetailMargin;
220
+ padding: @imageLabelDetailPadding;
221
+ border-radius: 0 @imageLabelBorderRadius @imageLabelBorderRadius 0;
232
222
  }
223
+ & when (@variationLabelAttached) {
224
+ .ui.bottom.attached.image.label:not(.right) > img,
225
+ .ui.top.right.attached.image.label > img {
226
+ border-top-left-radius: 0;
227
+ }
233
228
 
234
- .ui.top.attached.image.label:not(.right) > img,
235
- .ui.bottom.right.attached.image.label > img {
236
- border-bottom-left-radius: 0;
229
+ .ui.top.attached.image.label:not(.right) > img,
230
+ .ui.bottom.right.attached.image.label > img {
231
+ border-bottom-left-radius: 0;
232
+ }
237
233
  }
238
- }
239
234
  }
240
235
 
241
236
  & when (@variationLabelTag) {
242
- /*-------------------
243
- Tag
244
- --------------------*/
245
-
246
- .ui.tag.labels .label,
247
- .ui.tag.label {
248
- margin-left: 1em;
249
- position: relative;
250
- padding-left: @tagHorizontalPadding;
251
- padding-right: @tagHorizontalPadding;
252
-
253
- border-radius: 0 @borderRadius @borderRadius 0;
254
- transition: @tagTransition;
255
- }
256
- .ui.tag.labels .label::before,
257
- .ui.tag.label::before {
258
- position: absolute;
259
- transform: translateY(-50%) translateX(50%) rotate(-45deg);
260
-
261
- top: @tagTriangleTopOffset;
262
- right: @tagTriangleRightOffset;
263
- content: '';
264
-
265
- background-color: inherit;
266
- background-image: @tagTriangleBackgroundImage;
267
-
268
- width: @tagTriangleSize;
269
- height: @tagTriangleSize;
270
- transition: @tagTransition;
271
- }
272
-
273
-
274
- .ui.tag.labels .label::after,
275
- .ui.tag.label::after {
276
- position: absolute;
277
- content: '';
278
- top: 50%;
279
- left: -(@tagCircleSize / 2);
280
-
281
- margin-top: -(@tagCircleSize / 2);
282
- background-color: @tagCircleColor;
283
- width: @tagCircleSize;
284
- height: @tagCircleSize;
285
-
286
- box-shadow: @tagCircleBoxShadow;
287
- border-radius: @circularRadius;
288
- }
289
- & when (@variationLabelBasic) {
290
- .ui.basic.tag.labels .label::before,
291
- .ui.basic.tag.label::before {
292
- border-color: inherit;
293
- border-width: @basicBorderWidth 0 0 @basicBorderWidth;
294
- border-style: inherit;
295
- right: @basicBorderFullWidthOffset;
296
- }
297
- .ui.basic.tag.labels .label::after,
298
- .ui.basic.tag.label::after {
299
- box-shadow: @basicTagCircleBoxShadow;
300
- }
301
- }
237
+ /* -------------------
238
+ Tag
239
+ -------------------- */
240
+
241
+ .ui.tag.labels .label,
242
+ .ui.tag.label {
243
+ margin-left: 1em;
244
+ position: relative;
245
+ padding-left: @tagHorizontalPadding;
246
+ padding-right: @tagHorizontalPadding;
247
+
248
+ border-radius: 0 @borderRadius @borderRadius 0;
249
+ transition: @tagTransition;
250
+ }
251
+ .ui.tag.labels .label::before,
252
+ .ui.tag.label::before {
253
+ position: absolute;
254
+ transform: translateY(-50%) translateX(50%) rotate(-45deg);
255
+
256
+ top: @tagTriangleTopOffset;
257
+ right: @tagTriangleRightOffset;
258
+ content: '';
259
+
260
+ background-color: inherit;
261
+ background-image: @tagTriangleBackgroundImage;
262
+
263
+ width: @tagTriangleSize;
264
+ height: @tagTriangleSize;
265
+ transition: @tagTransition;
266
+ }
267
+
268
+ .ui.tag.labels .label::after,
269
+ .ui.tag.label::after {
270
+ position: absolute;
271
+ content: '';
272
+ top: 50%;
273
+ left: -(@tagCircleSize / 2);
274
+
275
+ margin-top: -(@tagCircleSize / 2);
276
+ background-color: @tagCircleColor;
277
+ width: @tagCircleSize;
278
+ height: @tagCircleSize;
279
+
280
+ box-shadow: @tagCircleBoxShadow;
281
+ border-radius: @circularRadius;
282
+ }
283
+ & when (@variationLabelBasic) {
284
+ .ui.basic.tag.labels .label::before,
285
+ .ui.basic.tag.label::before {
286
+ border-color: inherit;
287
+ border-width: @basicBorderWidth 0 0 @basicBorderWidth;
288
+ border-style: inherit;
289
+ right: @basicBorderFullWidthOffset;
290
+ }
291
+ .ui.basic.tag.labels .label::after,
292
+ .ui.basic.tag.label::after {
293
+ box-shadow: @basicTagCircleBoxShadow;
294
+ }
295
+ }
302
296
  }
303
297
 
304
298
  & when (@variationLabelCorner) {
305
- /*-------------------
306
- Corner Label
307
- --------------------*/
308
-
309
- .ui.corner.label {
310
- position: absolute;
311
- top: 0;
312
- right: 0;
313
- margin: 0;
314
- padding: 0;
315
- text-align: center;
299
+ /* -------------------
300
+ Corner Label
301
+ -------------------- */
302
+
303
+ .ui.corner.label {
304
+ position: absolute;
305
+ top: 0;
306
+ right: 0;
307
+ margin: 0;
308
+ padding: 0;
309
+ text-align: center;
310
+
311
+ border-color: @backgroundColor;
312
+
313
+ width: @cornerTriangleSize;
314
+ height: @cornerTriangleSize;
315
+ z-index: @cornerTriangleZIndex;
316
+ transition: @cornerTriangleTransition;
317
+ }
318
+
319
+ /* Icon Label */
320
+ .ui.corner.label {
321
+ background-color: transparent !important;
322
+ }
323
+ .ui.corner.label::after {
324
+ position: absolute;
325
+ content: "";
326
+ right: 0;
327
+ top: 0;
328
+ z-index: -1;
329
+
330
+ width: 0;
331
+ height: 0;
332
+ background-color: transparent;
333
+
334
+ border-top: 0 solid transparent;
335
+ border-right: @cornerTriangleSize solid transparent;
336
+ border-bottom: @cornerTriangleSize solid transparent;
337
+ border-left: 0 solid transparent;
338
+
339
+ border-right-color: inherit;
340
+ transition: @cornerTriangleTransition;
341
+ }
342
+
343
+ .ui.corner.label .icon {
344
+ cursor: inherit;
345
+ position: absolute;
346
+ top: @cornerIconTopOffset;
347
+ left: auto;
348
+ right: @cornerIconRightOffset;
349
+ font-size: @cornerIconSize;
350
+ margin: 0;
351
+ }
352
+
353
+ /* Left Corner */
354
+ .ui.left.corner.label,
355
+ .ui.left.corner.label::after {
356
+ right: auto;
357
+ left: 0;
358
+ }
359
+ .ui.left.corner.label::after {
360
+ border-top: @cornerTriangleSize solid transparent;
361
+ border-right: @cornerTriangleSize solid transparent;
362
+ border-bottom: 0 solid transparent;
363
+ border-left: 0 solid transparent;
364
+
365
+ border-top-color: inherit;
366
+ }
367
+ .ui.left.corner.label .icon {
368
+ left: @cornerIconLeftOffset;
369
+ right: auto;
370
+ }
316
371
 
317
- border-color: @backgroundColor;
318
-
319
- width: @cornerTriangleSize;
320
- height: @cornerTriangleSize;
321
- z-index: @cornerTriangleZIndex;
322
- transition: @cornerTriangleTransition;
323
- }
324
-
325
- /* Icon Label */
326
- .ui.corner.label{
327
- background-color: transparent !important;
328
- }
329
- .ui.corner.label::after {
330
- position: absolute;
331
- content: "";
332
- right: 0;
333
- top: 0;
334
- z-index: -1;
335
-
336
- width: 0;
337
- height: 0;
338
- background-color: transparent;
339
-
340
- border-top: 0 solid transparent;
341
- border-right: @cornerTriangleSize solid transparent;
342
- border-bottom: @cornerTriangleSize solid transparent;
343
- border-left: 0 solid transparent;
344
-
345
- border-right-color: inherit;
346
- transition: @cornerTriangleTransition;
347
- }
348
-
349
- .ui.corner.label .icon {
350
- cursor: inherit;
351
- position: absolute;
352
- top: @cornerIconTopOffset;
353
- left: auto;
354
- right: @cornerIconRightOffset;
355
- font-size: @cornerIconSize;
356
- margin: 0;
357
- }
358
-
359
- /* Left Corner */
360
- .ui.left.corner.label,
361
- .ui.left.corner.label::after {
362
- right: auto;
363
- left: 0;
364
- }
365
- .ui.left.corner.label::after {
366
- border-top: @cornerTriangleSize solid transparent;
367
- border-right: @cornerTriangleSize solid transparent;
368
- border-bottom: 0 solid transparent;
369
- border-left: 0 solid transparent;
370
-
371
- border-top-color: inherit;
372
- }
373
- .ui.left.corner.label .icon {
374
- left: @cornerIconLeftOffset;
375
- right: auto;
376
- }
377
-
378
- /* Segment */
379
- .ui.segment > .ui.corner.label {
380
- top: -1px;
381
- right: -1px;
382
- }
383
- .ui.segment > .ui.left.corner.label {
384
- right: auto;
385
- left: -1px;
386
- }
372
+ /* Segment */
373
+ .ui.segment > .ui.corner.label {
374
+ top: -1px;
375
+ right: -1px;
376
+ }
377
+ .ui.segment > .ui.left.corner.label {
378
+ right: auto;
379
+ left: -1px;
380
+ }
387
381
  }
388
382
 
389
383
  & when (@variationLabelRibbon) {
390
- /*-------------------
391
- Ribbon
392
- --------------------*/
393
-
394
- .ui.ribbon.label {
395
- position: relative;
396
- margin: 0;
397
- min-width: max-content;
398
- border-radius: 0 @borderRadius @borderRadius 0;
399
- border-color: @ribbonShadowColor;
400
- }
401
-
402
- .ui.ribbon.label::after {
403
- position: absolute;
404
- content: '';
405
-
406
- top: 100%;
407
- left: 0;
408
- background-color: transparent;
409
-
410
- border-style: solid;
411
- border-width: 0 @ribbonTriangleSize @ribbonTriangleSize 0;
412
- border-color: transparent;
413
- border-right-color: inherit;
414
-
415
- width: 0;
416
- height: 0;
417
- }
418
- /* Positioning */
419
- .ui.ribbon.label {
420
- left: @ribbonOffset;
421
- margin-right: -@ribbonTriangleSize;
422
- padding-left: @ribbonDistance;
423
- padding-right: @ribbonTriangleSize;
424
- }
425
- .ui[class*="right ribbon"].label {
426
- left: @rightRibbonOffset;
427
- padding-left: @ribbonTriangleSize;
428
- padding-right: @ribbonDistance;
429
- }
430
- & when (@variationLabelBasic) {
431
- .ui.basic.ribbon.label {
432
- padding-top: @basicRibbonOffset;
433
- padding-bottom: @basicRibbonOffset;
434
- }
435
- .ui.basic.ribbon.label:not([class*="right ribbon"]) {
436
- padding-left: @basicRibbonTriangleSizeOffset;
437
- padding-right: @basicRibbonTriangleSize;
438
- }
439
- .ui.basic[class*="right ribbon"].label {
440
- padding-left: @basicRibbonTriangleSize;
441
- padding-right: @basicRibbonTriangleSizeOffset;
442
- }
443
- .ui.basic.ribbon.label::after {
444
- top: @basicBorderFullWidthOffset;
445
- }
446
- .ui.basic.ribbon.label:not([class*="right ribbon"])::after {
447
- left: @basicBorderWidthOffset;
448
- }
449
- .ui.basic[class*="right ribbon"].label::after {
450
- right: @basicBorderWidthOffset;
451
- }
452
- }
453
- /* Right Ribbon */
454
- .ui[class*="right ribbon"].label {
455
- text-align: left;
456
- transform: translateX(-100%);
457
- border-radius: @borderRadius 0 0 @borderRadius;
458
- }
459
- .ui[class*="right ribbon"].label::after {
460
- left: auto;
461
- right: 0;
462
-
463
- border-style: solid;
464
- border-width: @ribbonTriangleSize @ribbonTriangleSize 0 0;
465
- border-color: transparent;
466
- border-top-color: inherit;
467
- }
468
-
469
- /* Inside Table */
470
- .ui.image > .ribbon.label,
471
- .ui.card .image > .ribbon.label {
472
- position: absolute;
473
- top: @ribbonImageTopDistance;
474
- }
475
- .ui.card .image > .ui.ribbon.label,
476
- .ui.image > .ui.ribbon.label {
477
- left: @ribbonImageOffset;
478
- }
479
- .ui.card .image > .ui[class*="right ribbon"].label,
480
- .ui.image > .ui[class*="right ribbon"].label {
481
- left: @rightRibbonImageOffset;
482
- padding-left: @horizontalPadding;
483
- }
484
-
485
- /* Inside Table */
486
- .ui.table td > .ui.ribbon.label {
487
- left: @ribbonTableOffset;
488
- }
489
- .ui.table td > .ui[class*="right ribbon"].label {
490
- left: @rightRibbonTableOffset;
491
- padding-left: @horizontalPadding;
492
- }
384
+ /* -------------------
385
+ Ribbon
386
+ -------------------- */
387
+
388
+ .ui.ribbon.label {
389
+ position: relative;
390
+ margin: 0;
391
+ min-width: max-content;
392
+ border-radius: 0 @borderRadius @borderRadius 0;
393
+ border-color: @ribbonShadowColor;
394
+ }
395
+
396
+ .ui.ribbon.label::after {
397
+ position: absolute;
398
+ content: '';
399
+
400
+ top: 100%;
401
+ left: 0;
402
+ background-color: transparent;
403
+
404
+ border-style: solid;
405
+ border-width: 0 @ribbonTriangleSize @ribbonTriangleSize 0;
406
+ border-color: transparent;
407
+ border-right-color: inherit;
408
+
409
+ width: 0;
410
+ height: 0;
411
+ }
412
+
413
+ /* Positioning */
414
+ .ui.ribbon.label {
415
+ left: @ribbonOffset;
416
+ margin-right: -@ribbonTriangleSize;
417
+ padding-left: @ribbonDistance;
418
+ padding-right: @ribbonTriangleSize;
419
+ }
420
+ .ui[class*="right ribbon"].label {
421
+ left: @rightRibbonOffset;
422
+ padding-left: @ribbonTriangleSize;
423
+ padding-right: @ribbonDistance;
424
+ }
425
+ & when (@variationLabelBasic) {
426
+ .ui.basic.ribbon.label {
427
+ padding-top: @basicRibbonOffset;
428
+ padding-bottom: @basicRibbonOffset;
429
+ }
430
+ .ui.basic.ribbon.label:not([class*="right ribbon"]) {
431
+ padding-left: @basicRibbonTriangleSizeOffset;
432
+ padding-right: @basicRibbonTriangleSize;
433
+ }
434
+ .ui.basic[class*="right ribbon"].label {
435
+ padding-left: @basicRibbonTriangleSize;
436
+ padding-right: @basicRibbonTriangleSizeOffset;
437
+ }
438
+ .ui.basic.ribbon.label::after {
439
+ top: @basicBorderFullWidthOffset;
440
+ }
441
+ .ui.basic.ribbon.label:not([class*="right ribbon"])::after {
442
+ left: @basicBorderWidthOffset;
443
+ }
444
+ .ui.basic[class*="right ribbon"].label::after {
445
+ right: @basicBorderWidthOffset;
446
+ }
447
+ }
448
+
449
+ /* Right Ribbon */
450
+ .ui[class*="right ribbon"].label {
451
+ text-align: left;
452
+ transform: translateX(-100%);
453
+ border-radius: @borderRadius 0 0 @borderRadius;
454
+ }
455
+ .ui[class*="right ribbon"].label::after {
456
+ left: auto;
457
+ right: 0;
458
+
459
+ border-style: solid;
460
+ border-width: @ribbonTriangleSize @ribbonTriangleSize 0 0;
461
+ border-color: transparent;
462
+ border-top-color: inherit;
463
+ }
464
+
465
+ /* Inside Table */
466
+ .ui.image > .ribbon.label,
467
+ .ui.card .image > .ribbon.label {
468
+ position: absolute;
469
+ top: @ribbonImageTopDistance;
470
+ }
471
+ .ui.card .image > .ui.ribbon.label,
472
+ .ui.image > .ui.ribbon.label {
473
+ left: @ribbonImageOffset;
474
+ }
475
+ .ui.card .image > .ui[class*="right ribbon"].label,
476
+ .ui.image > .ui[class*="right ribbon"].label {
477
+ left: @rightRibbonImageOffset;
478
+ padding-left: @horizontalPadding;
479
+ }
480
+
481
+ /* Inside Table */
482
+ .ui.table td > .ui.ribbon.label {
483
+ left: @ribbonTableOffset;
484
+ }
485
+ .ui.table td > .ui[class*="right ribbon"].label {
486
+ left: @rightRibbonTableOffset;
487
+ padding-left: @horizontalPadding;
488
+ }
493
489
  }
494
490
 
495
491
  & when (@variationLabelAttached) {
496
- /*-------------------
497
- Attached
498
- --------------------*/
499
-
500
- .ui[class*="top attached"].label,
501
- .ui.attached.label {
502
- width: 100%;
503
- position: absolute;
504
- margin: 0;
505
- top: 0;
506
- left: 0;
507
-
508
- padding: @attachedVerticalPadding @attachedHorizontalPadding;
509
-
510
- border-radius: @attachedCornerBorderRadius @attachedCornerBorderRadius 0 0;
511
- }
512
- .ui[class*="bottom attached"].label {
513
- top: auto;
514
- bottom: 0;
515
- border-radius: 0 0 @attachedCornerBorderRadius @attachedCornerBorderRadius;
516
- }
517
-
518
- .ui[class*="top left attached"].label {
519
- width: auto;
520
- margin-top: 0;
521
- border-radius: @attachedCornerBorderRadius 0 @attachedBorderRadius 0;
522
- }
492
+ /* -------------------
493
+ Attached
494
+ -------------------- */
523
495
 
524
- .ui[class*="top right attached"].label {
525
- width: auto;
526
- left: auto;
527
- right: 0;
528
- border-radius: 0 @attachedCornerBorderRadius 0 @attachedBorderRadius;
529
- }
530
- .ui[class*="bottom left attached"].label {
531
- width: auto;
532
- top: auto;
533
- bottom: 0;
534
- border-radius: 0 @attachedBorderRadius 0 @attachedCornerBorderRadius;
535
- }
536
- .ui[class*="bottom right attached"].label {
537
- top: auto;
538
- bottom: 0;
539
- left: auto;
540
- right: 0;
541
- width: auto;
542
- border-radius: @attachedBorderRadius 0 @attachedCornerBorderRadius 0;
543
- }
496
+ .ui[class*="top attached"].label,
497
+ .ui.attached.label {
498
+ width: 100%;
499
+ position: absolute;
500
+ margin: 0;
501
+ top: 0;
502
+ left: 0;
503
+
504
+ padding: @attachedVerticalPadding @attachedHorizontalPadding;
505
+
506
+ border-radius: @attachedCornerBorderRadius @attachedCornerBorderRadius 0 0;
507
+ }
508
+ .ui[class*="bottom attached"].label {
509
+ top: auto;
510
+ bottom: 0;
511
+ border-radius: 0 0 @attachedCornerBorderRadius @attachedCornerBorderRadius;
512
+ }
513
+
514
+ .ui[class*="top left attached"].label {
515
+ width: auto;
516
+ margin-top: 0;
517
+ border-radius: @attachedCornerBorderRadius 0 @attachedBorderRadius 0;
518
+ }
519
+
520
+ .ui[class*="top right attached"].label {
521
+ width: auto;
522
+ left: auto;
523
+ right: 0;
524
+ border-radius: 0 @attachedCornerBorderRadius 0 @attachedBorderRadius;
525
+ }
526
+ .ui[class*="bottom left attached"].label {
527
+ width: auto;
528
+ top: auto;
529
+ bottom: 0;
530
+ border-radius: 0 @attachedBorderRadius 0 @attachedCornerBorderRadius;
531
+ }
532
+ .ui[class*="bottom right attached"].label {
533
+ top: auto;
534
+ bottom: 0;
535
+ left: auto;
536
+ right: 0;
537
+ width: auto;
538
+ border-radius: @attachedBorderRadius 0 @attachedCornerBorderRadius 0;
539
+ }
544
540
  }
545
541
 
546
542
  /*******************************
547
543
  States
548
544
  *******************************/
549
545
 
550
- /*-------------------
546
+ /* -------------------
551
547
  Disabled
552
- --------------------*/
548
+ -------------------- */
553
549
  & when (@variationLabelDisabled) {
554
- .ui.disabled.labels .label,
555
- .ui.label.disabled {
556
- opacity: @disabledOpacity;
557
- pointer-events: @disabledPointerEvents;
558
- }
550
+ .ui.disabled.labels .label,
551
+ .ui.label.disabled {
552
+ opacity: @disabledOpacity;
553
+ pointer-events: @disabledPointerEvents;
554
+ }
559
555
  }
560
- /*-------------------
556
+
557
+ /* -------------------
561
558
  Hover
562
- --------------------*/
559
+ -------------------- */
563
560
 
564
561
  .ui.labels a.label:hover,
565
562
  a.ui.label:hover {
566
- background-color: @labelHoverBackgroundColor;
567
- border-color: @labelHoverBackgroundColor;
563
+ background-color: @labelHoverBackgroundColor;
564
+ border-color: @labelHoverBackgroundColor;
568
565
 
569
- background-image: @labelHoverBackgroundImage;
570
- color: @labelHoverTextColor;
566
+ background-image: @labelHoverBackgroundImage;
567
+ color: @labelHoverTextColor;
571
568
  }
572
569
  .ui.labels a.label:hover::before,
573
570
  a.ui.label:hover::before {
574
- color: @labelHoverTextColor;
571
+ color: @labelHoverTextColor;
575
572
  }
576
573
 
577
- /*-------------------
574
+ /* -------------------
578
575
  Active
579
- --------------------*/
576
+ -------------------- */
580
577
 
581
578
  .ui.active.label {
582
- background-color: @labelActiveBackgroundColor;
583
- border-color: @labelActiveBackgroundColor;
579
+ background-color: @labelActiveBackgroundColor;
580
+ border-color: @labelActiveBackgroundColor;
584
581
 
585
- background-image: @labelActiveBackgroundImage;
586
- color: @labelActiveTextColor;
582
+ background-image: @labelActiveBackgroundImage;
583
+ color: @labelActiveTextColor;
587
584
  }
588
585
  .ui.active.label::before {
589
- background-color: @labelActiveBackgroundColor;
590
- background-image: @labelActiveBackgroundImage;
591
- color: @labelActiveTextColor;
586
+ background-color: @labelActiveBackgroundColor;
587
+ background-image: @labelActiveBackgroundImage;
588
+ color: @labelActiveTextColor;
592
589
  }
593
590
 
594
- /*-------------------
591
+ /* -------------------
595
592
  Active Hover
596
- --------------------*/
593
+ -------------------- */
597
594
 
598
595
  .ui.labels a.active.label:hover,
599
596
  a.ui.active.label:hover {
600
- background-color: @labelActiveHoverBackgroundColor;
601
- border-color: @labelActiveHoverBackgroundColor;
597
+ background-color: @labelActiveHoverBackgroundColor;
598
+ border-color: @labelActiveHoverBackgroundColor;
602
599
 
603
- background-image: @labelActiveHoverBackgroundImage;
604
- color: @labelActiveHoverTextColor;
600
+ background-image: @labelActiveHoverBackgroundImage;
601
+ color: @labelActiveHoverTextColor;
605
602
  }
606
603
  .ui.labels a.active.label:hover::before,
607
604
  a.ui.active.label:hover::before {
608
- background-color: @labelActiveHoverBackgroundColor;
609
- background-image: @labelActiveHoverBackgroundImage;
610
- color: @labelActiveHoverTextColor;
605
+ background-color: @labelActiveHoverBackgroundColor;
606
+ background-image: @labelActiveHoverBackgroundImage;
607
+ color: @labelActiveHoverTextColor;
611
608
  }
612
609
 
613
-
614
- /*-------------------
610
+ /* -------------------
615
611
  Visible
616
- --------------------*/
612
+ -------------------- */
617
613
 
618
614
  .ui.labels.visible .label,
619
615
  .ui.label.visible:not(.dropdown) {
620
- display: inline-block !important;
616
+ display: inline-block !important;
621
617
  }
622
618
 
623
- /*-------------------
619
+ /* -------------------
624
620
  Hidden
625
- --------------------*/
621
+ -------------------- */
626
622
 
627
623
  .ui.labels.hidden .label,
628
624
  .ui.label.hidden {
629
- display: none !important;
625
+ display: none !important;
630
626
  }
631
627
 
632
-
633
628
  /*******************************
634
629
  Variations
635
630
  *******************************/
636
631
 
637
-
638
632
  & when (@variationLabelBasic) {
639
- /*-------------------
640
- Basic
641
- --------------------*/
642
-
643
- .ui.basic.labels .label,
644
- .ui.basic.label {
645
- background: @basicBackground;
646
- border: @basicBorder;
647
- color: @basicColor;
648
- box-shadow: @basicBoxShadow;
649
- padding-top: @basicVerticalPadding;
650
- padding-bottom: @basicVerticalPadding;
651
- padding-right: @basicHorizontalPadding;
652
- }
653
- .ui.basic.labels:not(.tag):not(.image):not(.ribbon) .label,
654
- .ui.basic.label:not(.tag):not(.image):not(.ribbon) {
655
- padding-left: @basicHorizontalPadding;
656
- }
657
- & when (@variationLabelImage) {
658
- .ui.basic.image.label {
659
- padding-left: @basicImageLabelPadding;
660
- }
661
- }
662
-
663
- /* Link */
664
- .ui.basic.labels a.label:hover,
665
- a.ui.basic.label:hover {
666
- text-decoration: none;
667
- background: @basicHoverBackground;
668
- color: @basicHoverColor;
669
- box-shadow: @basicHoverBoxShadow;
670
- }
671
- & when (@variationLabelPointing) {
672
- /* Pointing */
673
- .ui.basic.pointing.label::before {
674
- border-color: inherit;
675
- }
676
- }
633
+ /* -------------------
634
+ Basic
635
+ -------------------- */
636
+
637
+ .ui.basic.labels .label,
638
+ .ui.basic.label {
639
+ background: @basicBackground;
640
+ border: @basicBorder;
641
+ color: @basicColor;
642
+ box-shadow: @basicBoxShadow;
643
+ padding-top: @basicVerticalPadding;
644
+ padding-bottom: @basicVerticalPadding;
645
+ padding-right: @basicHorizontalPadding;
646
+ }
647
+ .ui.basic.labels:not(.tag):not(.image):not(.ribbon) .label,
648
+ .ui.basic.label:not(.tag):not(.image):not(.ribbon) {
649
+ padding-left: @basicHorizontalPadding;
650
+ }
651
+ & when (@variationLabelImage) {
652
+ .ui.basic.image.label {
653
+ padding-left: @basicImageLabelPadding;
654
+ }
655
+ }
656
+
657
+ /* Link */
658
+ .ui.basic.labels a.label:hover,
659
+ a.ui.basic.label:hover {
660
+ text-decoration: none;
661
+ background: @basicHoverBackground;
662
+ color: @basicHoverColor;
663
+ box-shadow: @basicHoverBoxShadow;
664
+ }
665
+ & when (@variationLabelPointing) {
666
+ /* Pointing */
667
+ .ui.basic.pointing.label::before {
668
+ border-color: inherit;
669
+ }
670
+ }
677
671
  }
678
672
 
679
673
  & when (@variationLabelFluid) {
680
- /*-------------------
681
- Fluid
682
- --------------------*/
683
-
684
- .ui.label.fluid,
685
- .ui.fluid.labels > .label {
686
- width: 100%;
687
- box-sizing: border-box;
688
- }
674
+ /* -------------------
675
+ Fluid
676
+ -------------------- */
677
+
678
+ .ui.label.fluid,
679
+ .ui.fluid.labels > .label {
680
+ width: 100%;
681
+ box-sizing: border-box;
682
+ }
689
683
  }
690
684
 
691
685
  & when (@variationLabelCentered) {
692
- .ui.centered.labels .label,
693
- .ui.centered.label {
694
- text-align: center;
695
- }
686
+ .ui.centered.labels .label,
687
+ .ui.centered.label {
688
+ text-align: center;
689
+ }
696
690
  }
697
691
 
698
692
  & when (@variationLabelInverted) {
699
- /*-------------------
700
- Inverted
701
- --------------------*/
702
-
703
- .ui.inverted.labels .label,
704
- .ui.inverted.label {
705
- color: @invertedTextColor;
706
- background-color: @invertedBackgroundColor;
707
- }
708
- .ui.inverted.corner.label {
709
- border-color: @invertedBackgroundColor;
710
- }
711
- .ui.inverted.corner.label:hover {
712
- border-color: @backgroundColor;
713
- transition: none;
714
- }
715
- .ui.inverted.basic.labels .label,
716
- .ui.inverted.basic.label,
717
- .ui.inverted.basic.label:hover {
718
- border-color: @basicInvertedBorderColor;
719
- background: @black;
720
- }
721
- .ui.inverted.basic.label:hover {
722
- color: @linkColor;
723
- }
693
+ /* -------------------
694
+ Inverted
695
+ -------------------- */
696
+
697
+ .ui.inverted.labels .label,
698
+ .ui.inverted.label {
699
+ color: @invertedTextColor;
700
+ background-color: @invertedBackgroundColor;
701
+ }
702
+ .ui.inverted.corner.label {
703
+ border-color: @invertedBackgroundColor;
704
+ }
705
+ .ui.inverted.corner.label:hover {
706
+ border-color: @backgroundColor;
707
+ transition: none;
708
+ }
709
+ .ui.inverted.basic.labels .label,
710
+ .ui.inverted.basic.label,
711
+ .ui.inverted.basic.label:hover {
712
+ border-color: @basicInvertedBorderColor;
713
+ background: @black;
714
+ }
715
+ .ui.inverted.basic.label:hover {
716
+ color: @linkColor;
717
+ }
724
718
  }
725
719
 
726
- /*-------------------
720
+ /* -------------------
727
721
  Colors
728
- --------------------*/
722
+ -------------------- */
729
723
  & when not (@variationLabelColors = false) {
730
- each(@variationLabelColors, {
731
- @color: @value;
732
- @isDark: @colors[@@color][isDark];
733
- @_labelColor: @colors[@@color][color];
734
- @_labelInvertedColor: @colors[@@color][light];
735
- @_labelTextColor: @colors[@@color][text];
736
- @_labelHover: @colors[@@color][hover];
737
- @_labelInvertedHover: @colors[@@color][lightHover];
738
- @_labelHoverTextColor: @colors[@@color][hoverText];
739
- @_labelRibbonShadow: @colors[@@color][ribbon];
740
- @_labelInvertedRibbonShadow: @colors[@@color][invertedRibbon];
741
-
742
- .ui.@{color}.labels .label,
743
- .ui.ui.ui.@{color}.label {
744
- background-color: @_labelColor;
745
- border-color: @_labelColor;
746
- color: @_labelTextColor;
747
- }
748
- /* Link */
749
- .ui.@{color}.labels a.label:hover,
750
- a.ui.ui.ui.@{color}.label:hover {
751
- background-color: @_labelHover;
752
- border-color: @_labelHover;
753
- color: @_labelHoverTextColor;
754
- }
755
- & when (@variationLabelRibbon) {
756
- /* Ribbon */
757
- .ui.ui.ui.@{color}.ribbon.label {
758
- border-color: @_labelRibbonShadow;
759
- }
760
- }
761
- & when (@variationLabelBasic) {
762
- /* Basic */
763
- .ui.basic.labels .@{color}.label,
764
- .ui.ui.ui.basic.@{color}.label {
765
- background: @basicBackground;
766
- border-color: @_labelColor;
767
- color: @_labelColor;
768
- }
769
- .ui.basic.labels a.@{color}.label:hover,
770
- a.ui.ui.ui.basic.@{color}.label:hover {
771
- background: @basicBackground;
772
- border-color: @_labelHover;
773
- color: @_labelHover;
774
- }
775
- }
776
- & when (@variationLabelInverted) {
777
- /* Inverted */
778
- .ui.inverted.labels .@{color}.label,
779
- .ui.ui.ui.inverted.@{color}.label {
780
- background-color: @_labelInvertedColor;
781
- border-color: @_labelInvertedColor;
782
- color: @black;
783
- }
784
- /* Inverted Link */
785
- .ui.inverted.labels a.@{color}.label:hover,
786
- a.ui.ui.ui.inverted.@{color}.label:hover {
787
- background-color: @_labelInvertedHover;
788
- border-color: @_labelInvertedHover;
789
- & when not (@isDark) {
790
- color: @black;
724
+ each(@variationLabelColors, {
725
+ @color: @value;
726
+ @isDark: @colors[@@color][isDark];
727
+ @_labelColor: @colors[@@color][color];
728
+ @_labelInvertedColor: @colors[@@color][light];
729
+ @_labelTextColor: @colors[@@color][text];
730
+ @_labelHover: @colors[@@color][hover];
731
+ @_labelInvertedHover: @colors[@@color][lightHover];
732
+ @_labelHoverTextColor: @colors[@@color][hoverText];
733
+ @_labelRibbonShadow: @colors[@@color][ribbon];
734
+ @_labelInvertedRibbonShadow: @colors[@@color][invertedRibbon];
735
+
736
+ .ui.@{color}.labels .label,
737
+ .ui.ui.ui.@{color}.label {
738
+ background-color: @_labelColor;
739
+ border-color: @_labelColor;
740
+ color: @_labelTextColor;
791
741
  }
792
- & when (@isDark) {
793
- color: @_labelTextColor;
742
+ /* Link */
743
+ .ui.@{color}.labels a.label:hover,
744
+ a.ui.ui.ui.@{color}.label:hover {
745
+ background-color: @_labelHover;
746
+ border-color: @_labelHover;
747
+ color: @_labelHoverTextColor;
794
748
  }
795
- }
796
- & when (@variationLabelRibbon) {
797
- /* Inverted Ribbon */
798
- .ui.ui.ui.inverted.@{color}.ribbon.label {
799
- border-color: @_labelInvertedRibbonShadow;
749
+ & when (@variationLabelRibbon) {
750
+ /* Ribbon */
751
+ .ui.ui.ui.@{color}.ribbon.label {
752
+ border-color: @_labelRibbonShadow;
753
+ }
800
754
  }
801
- }
802
- & when (@variationLabelBasic) {
803
- /* Inverted Basic */
804
- .ui.inverted.basic.labels .@{color}.label,
805
- .ui.ui.ui.inverted.basic.@{color}.label {
806
- background-color: @invertedBackground;
807
- border-color: @_labelInvertedColor;
808
- & when not (@isDark) {
809
- color: @_labelInvertedColor;
810
- }
811
- & when (@isDark) {
812
- color: @invertedTextColor;
813
- }
755
+ & when (@variationLabelBasic) {
756
+ /* Basic */
757
+ .ui.basic.labels .@{color}.label,
758
+ .ui.ui.ui.basic.@{color}.label {
759
+ background: @basicBackground;
760
+ border-color: @_labelColor;
761
+ color: @_labelColor;
762
+ }
763
+ .ui.basic.labels a.@{color}.label:hover,
764
+ a.ui.ui.ui.basic.@{color}.label:hover {
765
+ background: @basicBackground;
766
+ border-color: @_labelHover;
767
+ color: @_labelHover;
768
+ }
814
769
  }
815
- .ui.inverted.basic.labels a.@{color}.label:hover,
816
- a.ui.ui.ui.inverted.basic.@{color}.label:hover {
817
- border-color: @_labelInvertedHover;
818
- background-color: @invertedBackground;
819
- & when not (@isDark) {
820
- color: @_labelInvertedHover;
821
- }
770
+ & when (@variationLabelInverted) {
771
+ /* Inverted */
772
+ .ui.inverted.labels .@{color}.label,
773
+ .ui.ui.ui.inverted.@{color}.label {
774
+ background-color: @_labelInvertedColor;
775
+ border-color: @_labelInvertedColor;
776
+ color: @black;
777
+ }
778
+ /* Inverted Link */
779
+ .ui.inverted.labels a.@{color}.label:hover,
780
+ a.ui.ui.ui.inverted.@{color}.label:hover {
781
+ background-color: @_labelInvertedHover;
782
+ border-color: @_labelInvertedHover;
783
+ & when not (@isDark) {
784
+ color: @black;
785
+ }
786
+ & when (@isDark) {
787
+ color: @_labelTextColor;
788
+ }
789
+ }
790
+ & when (@variationLabelRibbon) {
791
+ /* Inverted Ribbon */
792
+ .ui.ui.ui.inverted.@{color}.ribbon.label {
793
+ border-color: @_labelInvertedRibbonShadow;
794
+ }
795
+ }
796
+ & when (@variationLabelBasic) {
797
+ /* Inverted Basic */
798
+ .ui.inverted.basic.labels .@{color}.label,
799
+ .ui.ui.ui.inverted.basic.@{color}.label {
800
+ background-color: @invertedBackground;
801
+ border-color: @_labelInvertedColor;
802
+ & when not (@isDark) {
803
+ color: @_labelInvertedColor;
804
+ }
805
+ & when (@isDark) {
806
+ color: @invertedTextColor;
807
+ }
808
+ }
809
+ .ui.inverted.basic.labels a.@{color}.label:hover,
810
+ a.ui.ui.ui.inverted.basic.@{color}.label:hover {
811
+ border-color: @_labelInvertedHover;
812
+ background-color: @invertedBackground;
813
+ & when not (@isDark) {
814
+ color: @_labelInvertedHover;
815
+ }
816
+ }
817
+ & when (@variationLabelTag) {
818
+ /* Inverted Basic Tags */
819
+ .ui.inverted.basic.tag.labels .@{color}.label,
820
+ .ui.ui.ui.inverted.@{color}.basic.tag.label {
821
+ border: @invertedBorderSize solid @_labelInvertedColor;
822
+ }
823
+ .ui.inverted.basic.tag.labels .@{color}.label::before,
824
+ .ui.ui.ui.inverted.@{color}.basic.tag.label::before {
825
+ border-color: inherit;
826
+ border-width: @invertedBorderSize 0 0 @invertedBorderSize;
827
+ border-style: inherit;
828
+ background-color: @invertedBackground;
829
+ right: e(%("calc(100%% + %d)", @invertedBorderSize));
830
+ }
831
+ }
832
+ }
822
833
  }
823
- & when (@variationLabelTag) {
824
- /* Inverted Basic Tags */
825
- .ui.inverted.basic.tag.labels .@{color}.label,
826
- .ui.ui.ui.inverted.@{color}.basic.tag.label {
827
- border: @invertedBorderSize solid @_labelInvertedColor;
828
- }
829
- .ui.inverted.basic.tag.labels .@{color}.label::before,
830
- .ui.ui.ui.inverted.@{color}.basic.tag.label::before {
831
- border-color: inherit;
832
- border-width: @invertedBorderSize 0 0 @invertedBorderSize;
833
- border-style: inherit;
834
- background-color: @invertedBackground;
835
- right: e(%("calc(100%% + %d)", @invertedBorderSize));
836
- }
837
- }
838
- }
839
- }
840
- })
834
+ })
841
835
  }
842
836
 
843
- /*-------------------
837
+ /* -------------------
844
838
  Horizontal
845
- --------------------*/
839
+ -------------------- */
846
840
 
847
841
  .ui.horizontal.labels .label,
848
842
  .ui.horizontal.label {
849
- margin: 0 @horizontalLabelMargin 0 0;
843
+ margin: 0 @horizontalLabelMargin 0 0;
850
844
 
851
- padding: @horizontalLabelVerticalPadding @horizontalPadding;
852
- min-width: @horizontalLabelMinWidth;
853
- text-align: center;
845
+ padding: @horizontalLabelVerticalPadding @horizontalPadding;
846
+ min-width: @horizontalLabelMinWidth;
847
+ text-align: center;
854
848
  }
855
849
 
856
850
  & when (@variationLabelCircular) {
857
- /*-------------------
858
- Circular
859
- --------------------*/
851
+ /* -------------------
852
+ Circular
853
+ -------------------- */
860
854
 
861
- .ui.circular.labels .label,
862
- .ui.circular.label {
863
- min-width: @circularMinSize;
864
- min-height: @circularMinSize;
855
+ .ui.circular.labels .label,
856
+ .ui.circular.label {
857
+ min-width: @circularMinSize;
858
+ min-height: @circularMinSize;
865
859
 
866
- padding: @circularPadding !important;
860
+ padding: @circularPadding !important;
867
861
 
868
- line-height: 1em;
869
- text-align: center;
870
- border-radius: @circularRadius;
871
- }
872
- .ui.empty.circular.labels .label,
873
- .ui.empty.circular.label {
874
- min-width: 0;
875
- min-height: 0;
876
- overflow: hidden;
877
- width: @emptyCircleSize;
878
- height: @emptyCircleSize;
879
- vertical-align: baseline;
880
- }
862
+ line-height: 1em;
863
+ text-align: center;
864
+ border-radius: @circularRadius;
865
+ }
866
+ .ui.empty.circular.labels .label,
867
+ .ui.empty.circular.label {
868
+ min-width: 0;
869
+ min-height: 0;
870
+ overflow: hidden;
871
+ width: @emptyCircleSize;
872
+ height: @emptyCircleSize;
873
+ vertical-align: baseline;
874
+ }
881
875
  }
882
876
 
883
877
  & when (@variationLabelPointing) {
884
- /*-------------------
885
- Pointing
886
- --------------------*/
887
-
888
- .ui.pointing.label {
889
- position: relative;
890
- }
891
-
892
- .ui.attached.pointing.label {
893
- position: absolute;
894
- }
895
-
896
- .ui.pointing.label::before {
897
- background-color: inherit;
898
- background-image: inherit;
899
- border-width: 0;
900
- border-style: solid;
901
- border-color: @pointingBorderColor;
902
- }
903
- /* Arrow */
904
- .ui.pointing.label::before {
905
- position: absolute;
906
- content: '';
907
- transform: rotate(45deg);
908
- background-image: none;
909
-
910
- z-index: @pointingTriangleZIndex;
911
- width: @pointingTriangleSize;
912
- height: @pointingTriangleSize;
913
- transition: @pointingTriangleTransition;
914
- }
915
-
916
- /*--- Above ---*/
917
- .ui.pointing.label,
918
- .ui[class*="pointing above"].label {
919
- margin-top: @pointingVerticalDistance;
920
- }
921
- .ui.pointing.label::before,
922
- .ui[class*="pointing above"].label::before {
923
- border-width: @borderWidth 0 0 @borderWidth;
924
- transform: translateX(-50%) translateY(-50%) rotate(45deg);
925
- top: 0;
926
- left: 50%;
927
- }
928
- /*--- Below ---*/
929
- .ui[class*="bottom pointing"].label,
930
- .ui[class*="pointing below"].label {
931
- margin-top: 0;
932
- margin-bottom: @pointingVerticalDistance;
933
- }
934
- .ui[class*="bottom pointing"].label::before,
935
- .ui[class*="pointing below"].label::before {
936
- border-width: 0 @borderWidth @borderWidth 0;
937
- top: auto;
938
- right: auto;
939
- transform: translateX(-50%) translateY(-50%) rotate(45deg);
940
- top: 100%;
941
- left: 50%;
942
- }
943
- /*--- Left ---*/
944
- .ui[class*="left pointing"].label {
945
- margin-top: 0;
946
- margin-left: @pointingHorizontalDistance;
947
- }
948
- .ui[class*="left pointing"].label::before {
949
- border-width: 0 0 @borderWidth @borderWidth;
950
- transform: translateX(-50%) translateY(-50%) rotate(45deg);
951
- bottom: auto;
952
- right: auto;
953
- top: 50%;
954
- left: 0;
955
- }
956
- /*--- Right ---*/
957
- .ui[class*="right pointing"].label {
958
- margin-top: 0;
959
- margin-right: @pointingHorizontalDistance;
960
- }
961
- .ui[class*="right pointing"].label::before {
962
- border-width: @borderWidth @borderWidth 0 0;
963
- transform: translateX(50%) translateY(-50%) rotate(45deg);
964
- top: 50%;
965
- right: 0;
966
- bottom: auto;
967
- left: auto;
968
- }
969
- & when (@variationLabelBasic) {
970
- /* Basic Pointing */
971
-
972
- /*--- Above ---*/
973
- .ui.basic.pointing.label::before,
974
- .ui.basic[class*="pointing above"].label::before {
975
- margin-top: @basicPointingTriangleOffset;
976
- }
977
- /*--- Below ---*/
978
- .ui.basic[class*="bottom pointing"].label::before,
979
- .ui.basic[class*="pointing below"].label::before {
980
- bottom: auto;
981
- top: 100%;
982
- margin-top: -@basicPointingTriangleOffset;
983
- }
984
- /*--- Left ---*/
985
- .ui.basic[class*="left pointing"].label::before {
986
- top: 50%;
987
- left: @basicPointingTriangleOffset;
988
- }
989
- /*--- Right ---*/
990
- .ui.basic[class*="right pointing"].label::before {
991
- top: 50%;
992
- right: @basicPointingTriangleOffset;
993
- }
994
- }
878
+ /* -------------------
879
+ Pointing
880
+ -------------------- */
881
+
882
+ .ui.pointing.label {
883
+ position: relative;
884
+ }
885
+
886
+ .ui.attached.pointing.label {
887
+ position: absolute;
888
+ }
889
+
890
+ .ui.pointing.label::before {
891
+ background-color: inherit;
892
+ background-image: inherit;
893
+ border-width: 0;
894
+ border-style: solid;
895
+ border-color: @pointingBorderColor;
896
+ }
897
+
898
+ /* Arrow */
899
+ .ui.pointing.label::before {
900
+ position: absolute;
901
+ content: '';
902
+ transform: rotate(45deg);
903
+ background-image: none;
904
+
905
+ z-index: @pointingTriangleZIndex;
906
+ width: @pointingTriangleSize;
907
+ height: @pointingTriangleSize;
908
+ transition: @pointingTriangleTransition;
909
+ }
910
+
911
+ /* --- Above --- */
912
+ .ui.pointing.label,
913
+ .ui[class*="pointing above"].label {
914
+ margin-top: @pointingVerticalDistance;
915
+ }
916
+ .ui.pointing.label::before,
917
+ .ui[class*="pointing above"].label::before {
918
+ border-width: @borderWidth 0 0 @borderWidth;
919
+ transform: translateX(-50%) translateY(-50%) rotate(45deg);
920
+ top: 0;
921
+ left: 50%;
922
+ }
923
+
924
+ /* --- Below --- */
925
+ .ui[class*="bottom pointing"].label,
926
+ .ui[class*="pointing below"].label {
927
+ margin-top: 0;
928
+ margin-bottom: @pointingVerticalDistance;
929
+ }
930
+ .ui[class*="bottom pointing"].label::before,
931
+ .ui[class*="pointing below"].label::before {
932
+ border-width: 0 @borderWidth @borderWidth 0;
933
+ top: auto;
934
+ right: auto;
935
+ transform: translateX(-50%) translateY(-50%) rotate(45deg);
936
+ top: 100%;
937
+ left: 50%;
938
+ }
939
+
940
+ /* --- Left --- */
941
+ .ui[class*="left pointing"].label {
942
+ margin-top: 0;
943
+ margin-left: @pointingHorizontalDistance;
944
+ }
945
+ .ui[class*="left pointing"].label::before {
946
+ border-width: 0 0 @borderWidth @borderWidth;
947
+ transform: translateX(-50%) translateY(-50%) rotate(45deg);
948
+ bottom: auto;
949
+ right: auto;
950
+ top: 50%;
951
+ left: 0;
952
+ }
953
+
954
+ /* --- Right --- */
955
+ .ui[class*="right pointing"].label {
956
+ margin-top: 0;
957
+ margin-right: @pointingHorizontalDistance;
958
+ }
959
+ .ui[class*="right pointing"].label::before {
960
+ border-width: @borderWidth @borderWidth 0 0;
961
+ transform: translateX(50%) translateY(-50%) rotate(45deg);
962
+ top: 50%;
963
+ right: 0;
964
+ bottom: auto;
965
+ left: auto;
966
+ }
967
+ & when (@variationLabelBasic) {
968
+ /* Basic Pointing */
969
+
970
+ /* --- Above --- */
971
+ .ui.basic.pointing.label::before,
972
+ .ui.basic[class*="pointing above"].label::before {
973
+ margin-top: @basicPointingTriangleOffset;
974
+ }
975
+
976
+ /* --- Below --- */
977
+ .ui.basic[class*="bottom pointing"].label::before,
978
+ .ui.basic[class*="pointing below"].label::before {
979
+ bottom: auto;
980
+ top: 100%;
981
+ margin-top: -@basicPointingTriangleOffset;
982
+ }
983
+
984
+ /* --- Left --- */
985
+ .ui.basic[class*="left pointing"].label::before {
986
+ top: 50%;
987
+ left: @basicPointingTriangleOffset;
988
+ }
989
+
990
+ /* --- Right --- */
991
+ .ui.basic[class*="right pointing"].label::before {
992
+ top: 50%;
993
+ right: @basicPointingTriangleOffset;
994
+ }
995
+ }
995
996
  }
996
997
 
997
998
  & when (@variationLabelFloating) {
998
- /*------------------
999
- Floating Label
1000
- -------------------*/
1001
-
1002
- .ui.floating.label {
1003
- position: absolute;
1004
- z-index: @floatingZIndex;
1005
- top: @floatingTopOffset;
1006
- right: 0;
1007
- white-space: nowrap;
1008
- transform: translateX(50%);
1009
- }
1010
- .ui.right.aligned.floating.label {
1011
- transform: translateX(@floatingAlignOffset);
1012
- }
1013
- .ui.left.floating.label {
1014
- left:0;
1015
- right:auto;
1016
- transform: translateX(-50%);
1017
- }
1018
- .ui.left.aligned.floating.label {
1019
- transform: translateX(-@floatingAlignOffset);
1020
- }
1021
- .ui.bottom.floating.label {
1022
- top: auto;
1023
- bottom: @floatingBottomOffset;
1024
- }
999
+ /* ------------------
1000
+ Floating Label
1001
+ ------------------- */
1002
+
1003
+ .ui.floating.label {
1004
+ position: absolute;
1005
+ z-index: @floatingZIndex;
1006
+ top: @floatingTopOffset;
1007
+ right: 0;
1008
+ white-space: nowrap;
1009
+ transform: translateX(50%);
1010
+ }
1011
+ .ui.right.aligned.floating.label {
1012
+ transform: translateX(@floatingAlignOffset);
1013
+ }
1014
+ .ui.left.floating.label {
1015
+ left: 0;
1016
+ right: auto;
1017
+ transform: translateX(-50%);
1018
+ }
1019
+ .ui.left.aligned.floating.label {
1020
+ transform: translateX(-@floatingAlignOffset);
1021
+ }
1022
+ .ui.bottom.floating.label {
1023
+ top: auto;
1024
+ bottom: @floatingBottomOffset;
1025
+ }
1025
1026
  }
1026
1027
 
1027
- /*-------------------
1028
+ /* -------------------
1028
1029
  Sizes
1029
- --------------------*/
1030
+ -------------------- */
1030
1031
 
1031
1032
  .ui.labels .label,
1032
1033
  .ui.label {
1033
- font-size: @medium;
1034
+ font-size: @medium;
1034
1035
  }
1035
1036
  & when not (@variationLabelSizes = false) {
1036
- each(@variationLabelSizes, {
1037
- @s: @@value;
1038
- .ui.@{value}.labels .label,
1039
- .ui.@{value}.label {
1040
- font-size: @s;
1041
- }
1042
- })
1037
+ each(@variationLabelSizes, {
1038
+ @s: @@value;
1039
+ .ui.@{value}.labels .label,
1040
+ .ui.@{value}.label {
1041
+ font-size: @s;
1042
+ }
1043
+ })
1043
1044
  }
1044
1045
 
1045
1046
  .loadUIOverrides();