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,494 +8,486 @@
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 : 'header';
18
17
 
19
18
  @import (multiple) '../../theme.config';
20
19
 
21
-
22
20
  /*******************************
23
21
  Header
24
22
  *******************************/
25
23
 
26
24
  /* Standard */
27
25
  .ui.header {
28
- border: none;
29
- margin: @margin;
30
- padding: @verticalPadding @horizontalPadding;
31
- font-family: @fontFamily;
32
- font-weight: @fontWeight;
33
- line-height: @lineHeight;
34
- text-transform: @textTransform;
35
- color: @textColor;
26
+ border: none;
27
+ margin: @margin;
28
+ padding: @verticalPadding @horizontalPadding;
29
+ font-family: @fontFamily;
30
+ font-weight: @fontWeight;
31
+ line-height: @lineHeight;
32
+ text-transform: @textTransform;
33
+ color: @textColor;
36
34
  }
37
35
 
38
36
  .ui.header:first-child {
39
- margin-top: @firstMargin;
37
+ margin-top: @firstMargin;
40
38
  }
41
39
  .ui.header:last-child {
42
- margin-bottom: @lastMargin;
40
+ margin-bottom: @lastMargin;
43
41
  }
44
42
 
45
43
  & when (@variationHeaderSub) {
46
- /*--------------
47
- Sub Header
48
- ---------------*/
49
-
50
- .ui.header .sub.header {
51
- display: block;
52
- font-weight: @normal;
53
- padding: 0;
54
- margin: @subHeaderMargin;
55
- font-size: @subHeaderFontSize;
56
- line-height: @subHeaderLineHeight;
57
- color: @subHeaderColor;
58
- }
44
+ /* --------------
45
+ Sub Header
46
+ --------------- */
47
+
48
+ .ui.header .sub.header {
49
+ display: block;
50
+ font-weight: @normal;
51
+ padding: 0;
52
+ margin: @subHeaderMargin;
53
+ font-size: @subHeaderFontSize;
54
+ line-height: @subHeaderLineHeight;
55
+ color: @subHeaderColor;
56
+ }
59
57
  }
60
58
 
61
- /*--------------
59
+ /* --------------
62
60
  Icon
63
- ---------------*/
61
+ --------------- */
64
62
 
65
63
  .ui.header > .icons,
66
64
  .ui.header > i.icon {
67
- display: table-cell;
68
- opacity: @iconOpacity;
69
- font-size: @iconSize;
70
- padding-top: @iconOffset;
71
- vertical-align: @iconAlignment;
65
+ display: table-cell;
66
+ opacity: @iconOpacity;
67
+ font-size: @iconSize;
68
+ padding-top: @iconOffset;
69
+ vertical-align: @iconAlignment;
72
70
  }
73
71
 
74
72
  /* With Text Node */
75
73
  .ui.header:not(.icon) > .icons:only-child,
76
74
  .ui.header:not(.icon) > i.icon:only-child {
77
- display: inline-block;
78
- padding: 0;
79
- margin-right: @iconMargin;
75
+ display: inline-block;
76
+ padding: 0;
77
+ margin-right: @iconMargin;
80
78
  }
81
79
 
82
- /*-------------------
80
+ /* -------------------
83
81
  Image
84
- --------------------*/
82
+ -------------------- */
85
83
 
86
84
  .ui.header > .image:not(.icon),
87
85
  .ui.header > img {
88
- display: inline-block;
89
- margin-top: @imageOffset;
90
- width: @imageWidth;
91
- height: @imageHeight;
92
- vertical-align: @imageAlignment;
86
+ display: inline-block;
87
+ margin-top: @imageOffset;
88
+ width: @imageWidth;
89
+ height: @imageHeight;
90
+ vertical-align: @imageAlignment;
93
91
  }
94
92
  .ui.header > .image:not(.icon):only-child,
95
93
  .ui.header > img:only-child {
96
- margin-right: @imageMargin;
94
+ margin-right: @imageMargin;
97
95
  }
98
96
 
99
- /*--------------
97
+ /* --------------
100
98
  Content
101
- ---------------*/
99
+ --------------- */
102
100
 
103
101
  .ui.header .content {
104
- display: inline-block;
105
- vertical-align: @contentAlignment;
102
+ display: inline-block;
103
+ vertical-align: @contentAlignment;
106
104
  }
107
105
 
108
106
  /* After Image */
109
107
  .ui.header > img + .content,
110
108
  .ui.header > .image + .content {
111
- padding-left: @imageMargin;
112
- vertical-align: @contentImageAlignment;
109
+ padding-left: @imageMargin;
110
+ vertical-align: @contentImageAlignment;
113
111
  }
114
112
 
115
113
  /* After Icon */
116
114
  .ui.header:not(.icon):not(.centered):not(.aligned) > .icons + .content,
117
115
  .ui.header:not(.icon):not(.centered):not(.aligned) > i.icon + .content {
118
- padding-left: @iconMargin;
119
- display: table-cell;
120
- vertical-align: @contentIconAlignment;
116
+ padding-left: @iconMargin;
117
+ display: table-cell;
118
+ vertical-align: @contentIconAlignment;
121
119
  }
122
120
 
123
-
124
- /*--------------
121
+ /* --------------
125
122
  Loose Coupling
126
- ---------------*/
123
+ --------------- */
127
124
 
128
125
  .ui.header .ui.label {
129
- font-size: @labelSize;
130
- margin-left: @labelDistance;
131
- vertical-align: @labelVerticalAlign;
126
+ font-size: @labelSize;
127
+ margin-left: @labelDistance;
128
+ vertical-align: @labelVerticalAlign;
132
129
  }
133
130
 
134
131
  /* Positioning */
135
132
  .ui.header + p {
136
- margin-top: @nextParagraphDistance;
133
+ margin-top: @nextParagraphDistance;
137
134
  }
138
135
 
139
-
140
-
141
136
  /*******************************
142
137
  Types
143
138
  *******************************/
144
139
 
145
-
146
- /*--------------
140
+ /* --------------
147
141
  Page
148
- ---------------*/
142
+ --------------- */
149
143
  & when not (@variationHeaderTags = false) {
150
- each(@variationHeaderTags, {
151
- @sf: @{value}SubHeaderFontSize;
152
- @s: @@value;
153
- @{value}.ui.header {
154
- font-size: @s;
155
- }
156
- & when (@variationHeaderSub) {
157
- @{value}.ui.header .sub.header {
158
- font-size: @@sf;
159
- }
160
- }
161
- })
144
+ each(@variationHeaderTags, {
145
+ @sf: @{value}SubHeaderFontSize;
146
+ @s: @@value;
147
+ @{value}.ui.header {
148
+ font-size: @s;
149
+ }
150
+ & when (@variationHeaderSub) {
151
+ @{value}.ui.header .sub.header {
152
+ font-size: @@sf;
153
+ }
154
+ }
155
+ })
162
156
  }
163
157
 
164
- /*--------------
158
+ /* --------------
165
159
  Content Heading
166
- ---------------*/
160
+ --------------- */
167
161
 
168
162
  & when not (@variationHeaderSizes = false) {
169
- each(@variationHeaderSizes, {
170
- @sf: @{value}SubHeaderFontSize;
171
- @shf: @{value}SubHeadingSize;
172
- @s: @{value}FontSize;;
173
- .ui.@{value}.header {
174
- font-size: @@s;
175
- & when (@@s >= 2) {
176
- min-height: 1em;
177
- }
178
- }
179
- & when (@variationHeaderSub) {
180
- .ui.@{value}.header .sub.header {
181
- font-size: @@sf;
182
- }
183
- .ui.@{value}.sub.header {
184
- font-size: @@shf;
185
- }
186
- }
187
- })
163
+ each(@variationHeaderSizes, {
164
+ @sf: @{value}SubHeaderFontSize;
165
+ @shf: @{value}SubHeadingSize;
166
+ @s: @{value}FontSize;;
167
+ .ui.@{value}.header {
168
+ font-size: @@s;
169
+ & when (@@s >= 2) {
170
+ min-height: 1em;
171
+ }
172
+ }
173
+ & when (@variationHeaderSub) {
174
+ .ui.@{value}.header .sub.header {
175
+ font-size: @@sf;
176
+ }
177
+ .ui.@{value}.sub.header {
178
+ font-size: @@shf;
179
+ }
180
+ }
181
+ })
188
182
  }
189
183
 
190
184
  & when (@variationHeaderSub) {
191
- /*--------------
192
- Sub Heading
193
- ---------------*/
194
-
195
- .ui.sub.header {
196
- padding: 0;
197
- margin-bottom: @subHeadingDistance;
198
- font-weight: @subHeadingFontWeight;
199
- font-size: @subHeadingFontSize;
200
- text-transform: @subHeadingTextTransform;
201
- color: @subHeadingColor;
202
- }
185
+ /* --------------
186
+ Sub Heading
187
+ --------------- */
188
+
189
+ .ui.sub.header {
190
+ padding: 0;
191
+ margin-bottom: @subHeadingDistance;
192
+ font-weight: @subHeadingFontWeight;
193
+ font-size: @subHeadingFontSize;
194
+ text-transform: @subHeadingTextTransform;
195
+ color: @subHeadingColor;
196
+ }
203
197
  }
204
198
 
205
199
  & when (@variationHeaderIcon) {
206
- /*-------------------
207
- Icon
208
- --------------------*/
209
-
210
- .ui.icon.header {
211
- display: inline-block;
212
- text-align: center;
213
- margin: @iconHeaderTopMargin 0 @iconHeaderBottomMargin;
214
- }
215
- .ui.icon.header::after {
216
- content: '';
217
- display: block;
218
- height: 0;
219
- clear: both;
220
- visibility: hidden;
221
- }
200
+ /* -------------------
201
+ Icon
202
+ -------------------- */
203
+
204
+ .ui.icon.header {
205
+ display: inline-block;
206
+ text-align: center;
207
+ margin: @iconHeaderTopMargin 0 @iconHeaderBottomMargin;
208
+ }
209
+ .ui.icon.header::after {
210
+ content: '';
211
+ display: block;
212
+ height: 0;
213
+ clear: both;
214
+ visibility: hidden;
215
+ }
222
216
 
223
- .ui.icon.header:first-child {
224
- margin-top: @iconHeaderFirstMargin;
225
- }
226
- .ui.icon.header > .image.icon,
227
- .ui.icon.header > .icons,
228
- .ui.icon.header > i.icon {
229
- float: none;
230
- display: block;
231
- width: auto;
232
- height: auto;
233
- line-height: 1;
234
- padding: 0;
235
- font-size: @iconHeaderSize;
236
- margin: 0 auto @iconHeaderMargin;
237
- opacity: @iconHeaderOpacity;
238
- }
239
- .ui.icon.header .corner.icon {
240
- font-size: @cornerIconHeaderSize;
241
- }
242
- .ui.icon.header .content {
243
- display: block;
244
- padding: 0;
245
- }
246
- .ui.icon.header > i.circular {
247
- font-size: @circularHeaderIconSize;
248
- }
249
- .ui.icon.header > i.square {
250
- font-size: @squareHeaderIconSize;
251
- }
252
- & when (@variationHeaderBlock) {
253
- .ui.block.icon.header > .image.icon,
254
- .ui.block.icon.header > .icons,
255
- .ui.block.icon.header > i.icon {
256
- margin-bottom: 0;
217
+ .ui.icon.header:first-child {
218
+ margin-top: @iconHeaderFirstMargin;
257
219
  }
258
- }
259
- & when (@variationHeaderAligned) {
260
- .ui.icon.header.aligned {
261
- margin-left: auto;
262
- margin-right: auto;
263
- display: block;
220
+ .ui.icon.header > .image.icon,
221
+ .ui.icon.header > .icons,
222
+ .ui.icon.header > i.icon {
223
+ float: none;
224
+ display: block;
225
+ width: auto;
226
+ height: auto;
227
+ line-height: 1;
228
+ padding: 0;
229
+ font-size: @iconHeaderSize;
230
+ margin: 0 auto @iconHeaderMargin;
231
+ opacity: @iconHeaderOpacity;
232
+ }
233
+ .ui.icon.header .corner.icon {
234
+ font-size: @cornerIconHeaderSize;
235
+ }
236
+ .ui.icon.header .content {
237
+ display: block;
238
+ padding: 0;
239
+ }
240
+ .ui.icon.header > i.circular {
241
+ font-size: @circularHeaderIconSize;
242
+ }
243
+ .ui.icon.header > i.square {
244
+ font-size: @squareHeaderIconSize;
245
+ }
246
+ & when (@variationHeaderBlock) {
247
+ .ui.block.icon.header > .image.icon,
248
+ .ui.block.icon.header > .icons,
249
+ .ui.block.icon.header > i.icon {
250
+ margin-bottom: 0;
251
+ }
252
+ }
253
+ & when (@variationHeaderAligned) {
254
+ .ui.icon.header.aligned {
255
+ margin-left: auto;
256
+ margin-right: auto;
257
+ display: block;
258
+ }
264
259
  }
265
- }
266
260
  }
267
261
 
268
262
  /*******************************
269
263
  States
270
264
  *******************************/
271
265
  & when (@variationHeaderDisabled) {
272
- .ui.disabled.header {
273
- opacity: @disabledOpacity;
274
- }
266
+ .ui.disabled.header {
267
+ opacity: @disabledOpacity;
268
+ }
275
269
  }
276
270
 
277
-
278
271
  /*******************************
279
272
  Variations
280
273
  *******************************/
281
274
 
282
275
  & when (@variationHeaderInverted) {
283
- /*-------------------
284
- Inverted
285
- --------------------*/
276
+ /* -------------------
277
+ Inverted
278
+ -------------------- */
286
279
 
287
- .ui.inverted.header {
288
- color: @invertedColor;
289
- }
290
- .ui.inverted.header .sub.header {
291
- color: @invertedSubHeaderColor;
292
- }
293
- & when (@variationHeaderAttached) {
294
- .ui.inverted.attached.header {
295
- background: @invertedAttachedBackground;
296
- box-shadow: none;
297
- border-color: transparent;
280
+ .ui.inverted.header {
281
+ color: @invertedColor;
298
282
  }
299
- }
300
- & when (@variationHeaderBlock) {
301
- .ui.inverted.block.header {
302
- background: @invertedBlockBackground;
303
- box-shadow: none;
304
- border-bottom: none;
283
+ .ui.inverted.header .sub.header {
284
+ color: @invertedSubHeaderColor;
285
+ }
286
+ & when (@variationHeaderAttached) {
287
+ .ui.inverted.attached.header {
288
+ background: @invertedAttachedBackground;
289
+ box-shadow: none;
290
+ border-color: transparent;
291
+ }
292
+ }
293
+ & when (@variationHeaderBlock) {
294
+ .ui.inverted.block.header {
295
+ background: @invertedBlockBackground;
296
+ box-shadow: none;
297
+ border-bottom: none;
298
+ }
305
299
  }
306
- }
307
300
  }
308
301
 
309
-
310
- /*-------------------
302
+ /* -------------------
311
303
  Colors
312
- --------------------*/
304
+ -------------------- */
313
305
  & 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;
323
- }
324
- a.ui.@{color}.header:hover {
325
- color: @h;
326
- }
327
- & when (@variationHeaderDividing) {
328
- .ui.@{color}.dividing.header {
329
- border-bottom: @dividedColoredBorderWidth solid @c;
330
- }
331
- }
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
- }
342
- }
343
- })
306
+ each(@variationHeaderColors, {
307
+ @color: @value;
308
+ @c: @colors[@@color][color];
309
+ @l: @colors[@@color][light];
310
+ @h: @colors[@@color][hover];
311
+ @lh: @colors[@@color][lightHover];
312
+
313
+ .ui.@{color}.header {
314
+ color: @c;
315
+ }
316
+ a.ui.@{color}.header:hover {
317
+ color: @h;
318
+ }
319
+ & when (@variationHeaderDividing) {
320
+ .ui.@{color}.dividing.header {
321
+ border-bottom: @dividedColoredBorderWidth solid @c;
322
+ }
323
+ }
324
+ & when (@variationHeaderInverted) {
325
+ .ui.inverted.@{color}.header.header.header {
326
+ color: @l;
327
+ }
328
+ a.ui.inverted.@{color}.header.header.header:hover {
329
+ color: @lh;
330
+ }
331
+ .ui.inverted.@{color}.dividing.header {
332
+ border-bottom: @dividedColoredBorderWidth solid @l;
333
+ }
334
+ }
335
+ })
344
336
  }
345
337
 
346
338
  & when (@variationHeaderAligned) {
347
- /*-------------------
348
- Aligned
349
- --------------------*/
339
+ /* -------------------
340
+ Aligned
341
+ -------------------- */
350
342
 
351
- .ui.left.aligned.header {
352
- text-align: left;
353
- }
354
- .ui.right.aligned.header {
355
- text-align: right;
356
- }
357
- .ui.centered.header,
358
- .ui.center.aligned.header {
359
- text-align: center;
360
- }
343
+ .ui.left.aligned.header {
344
+ text-align: left;
345
+ }
346
+ .ui.right.aligned.header {
347
+ text-align: right;
348
+ }
349
+ .ui.centered.header,
350
+ .ui.center.aligned.header {
351
+ text-align: center;
352
+ }
361
353
  }
362
354
 
363
355
  & when (@variationHeaderJustified) {
364
- .ui.justified.header {
365
- text-align: justify;
366
- }
367
- .ui.justified.header::after {
368
- display: inline-block;
369
- content: '';
370
- width: 100%;
371
- }
356
+ .ui.justified.header {
357
+ text-align: justify;
358
+ }
359
+ .ui.justified.header::after {
360
+ display: inline-block;
361
+ content: '';
362
+ width: 100%;
363
+ }
372
364
  }
373
365
 
374
366
  & when (@variationHeaderFloated) {
375
- /*-------------------
376
- Floated
377
- --------------------*/
378
-
379
- .ui.floated.header,
380
- .ui[class*="left floated"].header {
381
- float: left;
382
- margin-top: 0;
383
- margin-right: @floatedMargin;
384
- }
385
- .ui[class*="right floated"].header {
386
- float: right;
387
- margin-top: 0;
388
- margin-left: @floatedMargin;
389
- }
367
+ /* -------------------
368
+ Floated
369
+ -------------------- */
370
+
371
+ .ui.floated.header,
372
+ .ui[class*="left floated"].header {
373
+ float: left;
374
+ margin-top: 0;
375
+ margin-right: @floatedMargin;
376
+ }
377
+ .ui[class*="right floated"].header {
378
+ float: right;
379
+ margin-top: 0;
380
+ margin-left: @floatedMargin;
381
+ }
390
382
  }
391
383
 
392
384
  & when (@variationHeaderFitted) {
393
- /*-------------------
394
- Fitted
395
- --------------------*/
385
+ /* -------------------
386
+ Fitted
387
+ -------------------- */
396
388
 
397
- .ui.fitted.header {
398
- padding: 0;
399
- }
389
+ .ui.fitted.header {
390
+ padding: 0;
391
+ }
400
392
  }
401
393
 
402
394
  & when (@variationHeaderDividing) {
403
- /*-------------------
404
- Dividing
405
- --------------------*/
395
+ /* -------------------
396
+ Dividing
397
+ -------------------- */
406
398
 
407
- .ui.dividing.header {
408
- padding-bottom: @dividedBorderPadding;
409
- border-bottom: @dividedBorder;
410
- }
411
- & when (@variationHeaderSub) {
412
- .ui.dividing.header .sub.header {
413
- padding-bottom: @dividedSubHeaderPadding;
399
+ .ui.dividing.header {
400
+ padding-bottom: @dividedBorderPadding;
401
+ border-bottom: @dividedBorder;
414
402
  }
415
- }
416
- .ui.dividing.header i.icon {
417
- margin-bottom: @dividedIconPadding;
418
- }
419
- & when (@variationHeaderInverted) {
420
- .ui.inverted.dividing.header {
421
- border-bottom-color: @invertedDividedBorderColor;
403
+ & when (@variationHeaderSub) {
404
+ .ui.dividing.header .sub.header {
405
+ padding-bottom: @dividedSubHeaderPadding;
406
+ }
407
+ }
408
+ .ui.dividing.header i.icon {
409
+ margin-bottom: @dividedIconPadding;
410
+ }
411
+ & when (@variationHeaderInverted) {
412
+ .ui.inverted.dividing.header {
413
+ border-bottom-color: @invertedDividedBorderColor;
414
+ }
422
415
  }
423
- }
424
416
  }
425
417
 
426
418
  & when (@variationHeaderBlock) {
427
- /*-------------------
428
- Block
429
- --------------------*/
430
-
431
- .ui.block.header {
432
- background: @blockBackground;
433
- padding: @blockVerticalPadding @blockHorizontalPadding;
434
- box-shadow: @blockBoxShadow;
435
- border: @blockBorder;
436
- border-radius: @blockBorderRadius;
437
- }
438
- .ui.block.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
439
- font-size: @mediumBlock;
440
- }
441
- & when not (@variationHeaderSizes = false) {
442
- each(@variationHeaderSizes, {
443
- @s: @{value}Block;
444
- .ui.@{value}.block.header {
445
- font-size: @@s;
446
- }
447
- })
419
+ /* -------------------
420
+ Block
421
+ -------------------- */
422
+
423
+ .ui.block.header {
424
+ background: @blockBackground;
425
+ padding: @blockVerticalPadding @blockHorizontalPadding;
426
+ box-shadow: @blockBoxShadow;
427
+ border: @blockBorder;
428
+ border-radius: @blockBorderRadius;
429
+ }
430
+ .ui.block.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
431
+ font-size: @mediumBlock;
432
+ }
433
+ & when not (@variationHeaderSizes = false) {
434
+ each(@variationHeaderSizes, {
435
+ @s: @{value}Block;
436
+ .ui.@{value}.block.header {
437
+ font-size: @@s;
438
+ }
439
+ })
448
440
  }
449
441
  }
450
442
 
451
443
  & when (@variationHeaderAttached) {
452
- /*-------------------
453
- Attached
454
- --------------------*/
455
-
456
- .ui.attached.header {
457
- background: @attachedBackground;
458
- padding: @attachedVerticalPadding @attachedHorizontalPadding;
459
- margin: 0 @attachedOffset 0 @attachedOffset;
460
- box-shadow: @attachedBoxShadow;
461
- border: @attachedBorder;
462
- border-radius: 0;
463
- }
464
- & when (@variationHeaderBlock) {
465
- .ui.attached.block.header {
466
- background: @blockBackground;
444
+ /* -------------------
445
+ Attached
446
+ -------------------- */
447
+
448
+ .ui.attached.header {
449
+ background: @attachedBackground;
450
+ padding: @attachedVerticalPadding @attachedHorizontalPadding;
451
+ margin: 0 @attachedOffset 0 @attachedOffset;
452
+ box-shadow: @attachedBoxShadow;
453
+ border: @attachedBorder;
454
+ border-radius: 0;
455
+ }
456
+ & when (@variationHeaderBlock) {
457
+ .ui.attached.block.header {
458
+ background: @blockBackground;
459
+ }
460
+ }
461
+ .ui.attached:not(.top).header {
462
+ border-top: none;
463
+ }
464
+ .ui.top.attached.header {
465
+ border-radius: @attachedBorderRadius @attachedBorderRadius 0 0;
466
+ }
467
+ .ui.bottom.attached.header {
468
+ border-radius: 0 0 @attachedBorderRadius @attachedBorderRadius;
467
469
  }
468
- }
469
- .ui.attached:not(.top).header {
470
- border-top: none;
471
- }
472
- .ui.top.attached.header {
473
- border-radius: @attachedBorderRadius @attachedBorderRadius 0 0;
474
- }
475
- .ui.bottom.attached.header {
476
- border-radius: 0 0 @attachedBorderRadius @attachedBorderRadius;
477
- }
478
470
 
479
- /* Attached Sizes */
480
- .ui.attached.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
481
- font-size: @mediumAttachedSize;
482
- }
483
- & when not (@variationHeaderSizes = false) {
484
- each(@variationHeaderSizes, {
485
- @s: @{value}AttachedSize;
486
- .ui.@{value}.attached.header {
487
- font-size: @@s;
488
- }
489
- })
471
+ /* Attached Sizes */
472
+ .ui.attached.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
473
+ font-size: @mediumAttachedSize;
474
+ }
475
+ & when not (@variationHeaderSizes = false) {
476
+ each(@variationHeaderSizes, {
477
+ @s: @{value}AttachedSize;
478
+ .ui.@{value}.attached.header {
479
+ font-size: @@s;
480
+ }
481
+ })
490
482
  }
491
483
  }
492
484
 
493
- /*-------------------
485
+ /* -------------------
494
486
  Sizing
495
- --------------------*/
487
+ -------------------- */
496
488
 
497
489
  .ui.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
498
- font-size: @mediumFontSize;
490
+ font-size: @mediumFontSize;
499
491
  }
500
492
 
501
493
  .loadUIOverrides();