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,16 +8,15 @@
8
8
  *
9
9
  */
10
10
 
11
-
12
11
  /*******************************
13
12
  Step
14
13
  *******************************/
15
14
 
16
- /*--------------
15
+ /* --------------
17
16
  Load Theme
18
- ---------------*/
17
+ --------------- */
19
18
 
20
- @type : 'element';
19
+ @type : 'element';
21
20
  @element : 'step';
22
21
 
23
22
  @import (multiple) '../../theme.config';
@@ -27,144 +26,142 @@
27
26
  *******************************/
28
27
 
29
28
  .ui.steps {
30
- display: inline-flex;
31
- flex-direction: row;
32
- align-items: stretch;
33
- margin: @stepMargin;
34
- background: @stepsBackground;
35
- box-shadow: @stepsBoxShadow;
36
- line-height: @lineHeight;
37
- border-radius: @stepsBorderRadius;
38
- border: @stepsBorder;
29
+ display: inline-flex;
30
+ flex-direction: row;
31
+ align-items: stretch;
32
+ margin: @stepMargin;
33
+ background: @stepsBackground;
34
+ box-shadow: @stepsBoxShadow;
35
+ line-height: @lineHeight;
36
+ border-radius: @stepsBorderRadius;
37
+ border: @stepsBorder;
39
38
  }
40
39
  .ui.steps:not(.unstackable) {
41
- flex-wrap: wrap;
40
+ flex-wrap: wrap;
42
41
  }
43
42
 
44
43
  /* First Steps */
45
44
  .ui.steps:first-child {
46
- margin-top: 0;
45
+ margin-top: 0;
47
46
  }
48
47
 
49
48
  /* Last Steps */
50
49
  .ui.steps:last-child {
51
- margin-bottom: 0;
50
+ margin-bottom: 0;
52
51
  }
53
52
 
54
-
55
53
  /*******************************
56
54
  Singular
57
55
  *******************************/
58
56
 
59
57
  .ui.steps .step {
60
- position: relative;
61
- display: flex;
62
- flex: 1 0 auto;
63
- flex-wrap: wrap;
64
- flex-direction: row;
65
- vertical-align: middle;
66
- align-items: center;
67
- justify-content: @justifyContent;
68
-
69
- margin: @verticalMargin @horizontalMargin;
70
- padding: @verticalPadding @horizontalPadding;
71
- background: @background;
72
- color: @textColor;
73
- box-shadow: @boxShadow;
74
- border-radius: @borderRadius;
75
- border: @border;
76
- border-right: @divider;
77
- transition: @transition;
58
+ position: relative;
59
+ display: flex;
60
+ flex: 1 0 auto;
61
+ flex-wrap: wrap;
62
+ flex-direction: row;
63
+ vertical-align: middle;
64
+ align-items: center;
65
+ justify-content: @justifyContent;
66
+
67
+ margin: @verticalMargin @horizontalMargin;
68
+ padding: @verticalPadding @horizontalPadding;
69
+ background: @background;
70
+ color: @textColor;
71
+ box-shadow: @boxShadow;
72
+ border-radius: @borderRadius;
73
+ border: @border;
74
+ border-right: @divider;
75
+ transition: @transition;
78
76
  }
79
77
 
80
78
  /* Arrow */
81
79
  .ui.steps .step::after {
82
- display: none;
83
- position: absolute;
84
- z-index: 2;
85
- content: '';
86
- top: @arrowTopOffset;
87
- right: @arrowRightOffset;
88
- background-color: @arrowBackgroundColor;
89
- width: @arrowSize;
90
- height: @arrowSize;
80
+ display: none;
81
+ position: absolute;
82
+ z-index: 2;
83
+ content: '';
84
+ top: @arrowTopOffset;
85
+ right: @arrowRightOffset;
86
+ background-color: @arrowBackgroundColor;
87
+ width: @arrowSize;
88
+ height: @arrowSize;
91
89
 
92
- border-style: solid;
93
- border-color: @borderColor;
94
- border-width: @arrowBorderWidth;
90
+ border-style: solid;
91
+ border-color: @borderColor;
92
+ border-width: @arrowBorderWidth;
95
93
 
96
- transition: @transition;
97
- transform: translateY(-50%) translateX(50%) rotate(-45deg);
94
+ transition: @transition;
95
+ transform: translateY(-50%) translateX(50%) rotate(-45deg);
98
96
  }
99
97
 
100
98
  /* First Step */
101
99
  .ui.steps .step:first-child {
102
- padding-left: @horizontalPadding;
103
- border-radius: @stepsBorderRadius 0 0 @stepsBorderRadius;
100
+ padding-left: @horizontalPadding;
101
+ border-radius: @stepsBorderRadius 0 0 @stepsBorderRadius;
104
102
  }
105
103
 
106
104
  /* Last Step */
107
105
  .ui.steps .step:last-child {
108
- border-radius: 0 @stepsBorderRadius @stepsBorderRadius 0;
109
- border-right: none;
110
- margin-right: 0;
106
+ border-radius: 0 @stepsBorderRadius @stepsBorderRadius 0;
107
+ border-right: none;
108
+ margin-right: 0;
111
109
  }
112
110
 
113
111
  /* Only Step */
114
112
  .ui.steps .step:only-child {
115
- border-radius: @stepsBorderRadius;
113
+ border-radius: @stepsBorderRadius;
116
114
  }
117
115
 
118
-
119
116
  /*******************************
120
117
  Content
121
118
  *******************************/
122
119
 
123
120
  /* Title */
124
121
  .ui.steps .step .title {
125
- font-family: @titleFontFamily;
126
- font-size: @titleFontSize;
127
- font-weight: @titleFontWeight;
122
+ font-family: @titleFontFamily;
123
+ font-size: @titleFontSize;
124
+ font-weight: @titleFontWeight;
128
125
  }
129
126
  .ui.steps .step > .title {
130
- width: 100%;
127
+ width: 100%;
131
128
  }
132
129
 
133
130
  /* Description */
134
131
  .ui.steps .step .description {
135
- font-weight: @descriptionFontWeight;
136
- font-size: @descriptionFontSize;
137
- color: @descriptionColor;
132
+ font-weight: @descriptionFontWeight;
133
+ font-size: @descriptionFontSize;
134
+ color: @descriptionColor;
138
135
  }
139
136
  .ui.steps .step > .description {
140
- width: 100%;
137
+ width: 100%;
141
138
  }
142
139
  .ui.steps .step .title ~ .description {
143
- margin-top: @descriptionDistance;
140
+ margin-top: @descriptionDistance;
144
141
  }
145
142
 
146
143
  /* Icon */
147
144
  .ui.steps .step > i.icon {
148
- line-height: 1;
149
- font-size: @iconSize;
150
- margin: 0 @iconDistance 0 0;
145
+ line-height: 1;
146
+ font-size: @iconSize;
147
+ margin: 0 @iconDistance 0 0;
151
148
  }
152
149
  .ui.steps .step > i.icon,
153
150
  .ui.steps .step > i.icon ~ .content {
154
- display: block;
155
- flex: 0 1 auto;
156
- align-self: @iconAlign;
151
+ display: block;
152
+ flex: 0 1 auto;
153
+ align-self: @iconAlign;
157
154
  }
158
155
 
159
156
  /* Horizontal Icon */
160
157
  .ui.steps:not(.vertical) .step > i.icon {
161
- width: auto;
158
+ width: auto;
162
159
  }
163
160
 
164
161
  /* Link */
165
162
  .ui.steps .link.step,
166
163
  .ui.steps a.step {
167
- cursor: pointer;
164
+ cursor: pointer;
168
165
  }
169
166
 
170
167
  /*******************************
@@ -172,140 +169,138 @@
172
169
  *******************************/
173
170
 
174
171
  & when (@variationStepOrdered) {
175
- /*--------------
176
- Ordered
177
- ---------------*/
178
-
179
- .ui.ordered.steps {
180
- counter-reset: ordered;
181
- }
182
- .ui.ordered.steps .step::before {
183
- display: block;
184
- position: static;
185
- text-align: center;
186
- content: counter(ordered);
187
- align-self: @iconAlign;
188
- margin-right: @iconDistance;
189
- font-size: @iconSize;
190
- counter-increment: ordered;
191
- font-family: @orderedFontFamily;
192
- font-weight: @orderedFontWeight;
193
- }
172
+ /* --------------
173
+ Ordered
174
+ --------------- */
194
175
 
195
- .ui.ordered.steps .step > * {
196
- display: block;
197
- align-self: @iconAlign;
198
- }
176
+ .ui.ordered.steps {
177
+ counter-reset: ordered;
178
+ }
179
+ .ui.ordered.steps .step::before {
180
+ display: block;
181
+ position: static;
182
+ text-align: center;
183
+ content: counter(ordered);
184
+ align-self: @iconAlign;
185
+ margin-right: @iconDistance;
186
+ font-size: @iconSize;
187
+ counter-increment: ordered;
188
+ font-family: @orderedFontFamily;
189
+ font-weight: @orderedFontWeight;
190
+ }
191
+
192
+ .ui.ordered.steps .step > * {
193
+ display: block;
194
+ align-self: @iconAlign;
195
+ }
199
196
  }
200
197
 
201
198
  & when (@variationStepVertical) {
202
- /*--------------
203
- Vertical
204
- ---------------*/
199
+ /* --------------
200
+ Vertical
201
+ --------------- */
202
+
203
+ .ui.vertical.steps {
204
+ display: inline-flex;
205
+ flex-direction: column;
206
+ overflow: visible;
207
+ }
208
+ .ui.vertical.steps .step {
209
+ justify-content: flex-start;
210
+ border-radius: @borderRadius;
211
+ padding: @verticalPadding @horizontalPadding;
212
+ border-right: none;
213
+ border-bottom: @verticalDivider;
214
+ }
215
+ .ui.vertical.steps .step:first-child {
216
+ padding: @verticalPadding @horizontalPadding;
217
+ border-radius: @stepsBorderRadius @stepsBorderRadius 0 0;
218
+ }
219
+ .ui.vertical.steps .step:last-child {
220
+ border-bottom: none;
221
+ border-radius: 0 0 @stepsBorderRadius @stepsBorderRadius;
222
+ }
223
+ .ui.vertical.steps .step:only-child {
224
+ border-radius: @stepsBorderRadius;
225
+ }
205
226
 
206
- .ui.vertical.steps {
207
- display: inline-flex;
208
- flex-direction: column;
209
- overflow: visible;
210
- }
211
- .ui.vertical.steps .step {
212
- justify-content: flex-start;
213
- border-radius: @borderRadius;
214
- padding: @verticalPadding @horizontalPadding;
215
- border-right: none;
216
- border-bottom: @verticalDivider;
217
- }
218
- .ui.vertical.steps .step:first-child {
219
- padding: @verticalPadding @horizontalPadding;
220
- border-radius: @stepsBorderRadius @stepsBorderRadius 0 0;
221
- }
222
- .ui.vertical.steps .step:last-child {
223
- border-bottom: none;
224
- border-radius: 0 0 @stepsBorderRadius @stepsBorderRadius;
225
- }
226
- .ui.vertical.steps .step:only-child {
227
- border-radius: @stepsBorderRadius;
228
- }
229
-
230
-
231
- /* Arrow */
232
- .ui.vertical.steps .step::after {
233
- top: @verticalArrowTopOffset;
234
- right: @verticalArrowRightOffset;
235
- border-width: @verticalArrowBorderWidth;
236
- display: @verticalArrowDisplay;
237
- }
238
- .ui.right.vertical.steps .step::after {
239
- border-width: @verticalLeftArrowBorderWidth;
240
- left: @verticalLeftArrowLeftOffset;
241
- right: @verticalLeftArrowRightOffset;
242
- transform: translateY(-50%) translateX(-50%) rotate(-45deg);
243
- }
244
-
245
- .ui.vertical.steps .active.step::after {
246
- display: @verticalActiveArrowDisplay;
247
- }
248
- .ui.vertical.steps .step:last-child::after {
249
- display: @verticalLastArrowDisplay;
250
- }
251
- .ui.vertical.steps .active.step:last-child::after {
252
- display: @verticalActiveLastArrowDisplay;
253
- }
254
- }
255
-
256
-
257
- /*---------------
227
+ /* Arrow */
228
+ .ui.vertical.steps .step::after {
229
+ top: @verticalArrowTopOffset;
230
+ right: @verticalArrowRightOffset;
231
+ border-width: @verticalArrowBorderWidth;
232
+ display: @verticalArrowDisplay;
233
+ }
234
+ .ui.right.vertical.steps .step::after {
235
+ border-width: @verticalLeftArrowBorderWidth;
236
+ left: @verticalLeftArrowLeftOffset;
237
+ right: @verticalLeftArrowRightOffset;
238
+ transform: translateY(-50%) translateX(-50%) rotate(-45deg);
239
+ }
240
+
241
+ .ui.vertical.steps .active.step::after {
242
+ display: @verticalActiveArrowDisplay;
243
+ }
244
+ .ui.vertical.steps .step:last-child::after {
245
+ display: @verticalLastArrowDisplay;
246
+ }
247
+ .ui.vertical.steps .active.step:last-child::after {
248
+ display: @verticalActiveLastArrowDisplay;
249
+ }
250
+ }
251
+
252
+ /* ---------------
258
253
  Responsive
259
- ----------------*/
254
+ ---------------- */
260
255
 
261
256
  /* Mobile (Default) */
262
257
  @media only screen and (max-width: (@largestMobileScreen)) {
263
258
 
264
- .ui.steps:not(.unstackable) {
265
- display: inline-flex;
266
- overflow: visible;
267
- flex-direction: column;
268
- }
269
- .ui.steps:not(.unstackable) .step {
270
- width: 100% !important;
271
- flex-direction: column;
272
- border-radius: @borderRadius;
273
- padding: @verticalPadding @horizontalPadding;
274
- border-right: none;
275
- border-bottom: @stepsBorder;
276
- }
277
- .ui.steps:not(.unstackable) .step:first-child {
278
- padding: @verticalPadding @horizontalPadding;
279
- border-radius: @stepsBorderRadius @stepsBorderRadius 0 0;
280
- }
281
- .ui.steps:not(.unstackable) .step:last-child {
282
- border-radius: 0 0 @stepsBorderRadius @stepsBorderRadius;
283
- border-bottom: none;
284
- }
285
-
286
- /* Arrow */
287
- .ui.steps:not(.unstackable) .step::after {
288
- top: unset;
289
- bottom: -@arrowSize;
290
- right: 50%;
291
- transform: translateY(-50%) translateX(50%) rotate(45deg);
292
- }
293
- & when (@variationStepVertical) {
294
- .ui.vertical.steps .active.step:last-child::after {
295
- display: none;
259
+ .ui.steps:not(.unstackable) {
260
+ display: inline-flex;
261
+ overflow: visible;
262
+ flex-direction: column;
263
+ }
264
+ .ui.steps:not(.unstackable) .step {
265
+ width: 100% !important;
266
+ flex-direction: column;
267
+ border-radius: @borderRadius;
268
+ padding: @verticalPadding @horizontalPadding;
269
+ border-right: none;
270
+ border-bottom: @stepsBorder;
271
+ }
272
+ .ui.steps:not(.unstackable) .step:first-child {
273
+ padding: @verticalPadding @horizontalPadding;
274
+ border-radius: @stepsBorderRadius @stepsBorderRadius 0 0;
275
+ }
276
+ .ui.steps:not(.unstackable) .step:last-child {
277
+ border-radius: 0 0 @stepsBorderRadius @stepsBorderRadius;
278
+ border-bottom: none;
296
279
  }
297
- }
298
- /* Content */
299
- .ui.steps:not(.unstackable) .step .content {
300
- text-align: center;
301
- }
302
280
 
303
- /* Icon */
304
- .ui.steps:not(.unstackable) .step > i.icon,
305
- .ui.ordered.steps:not(.unstackable) .step::before {
306
- margin: 0 0 @mobileIconDistance 0;
307
- }
281
+ /* Arrow */
282
+ .ui.steps:not(.unstackable) .step::after {
283
+ top: unset;
284
+ bottom: -@arrowSize;
285
+ right: 50%;
286
+ transform: translateY(-50%) translateX(50%) rotate(45deg);
287
+ }
288
+ & when (@variationStepVertical) {
289
+ .ui.vertical.steps .active.step:last-child::after {
290
+ display: none;
291
+ }
292
+ }
308
293
 
294
+ /* Content */
295
+ .ui.steps:not(.unstackable) .step .content {
296
+ text-align: center;
297
+ }
298
+
299
+ /* Icon */
300
+ .ui.steps:not(.unstackable) .step > i.icon,
301
+ .ui.ordered.steps:not(.unstackable) .step::before {
302
+ margin: 0 0 @mobileIconDistance 0;
303
+ }
309
304
  }
310
305
 
311
306
  /*******************************
@@ -317,8 +312,8 @@
317
312
  .ui.steps .link.step:hover,
318
313
  .ui.steps a.step:hover::after,
319
314
  .ui.steps a.step:hover {
320
- background: @hoverBackground;
321
- color: @hoverColor;
315
+ background: @hoverBackground;
316
+ color: @hoverColor;
322
317
  }
323
318
 
324
319
  /* Link Down */
@@ -326,38 +321,38 @@
326
321
  .ui.steps .link.step:active,
327
322
  .ui.steps a.step:active::after,
328
323
  .ui.steps a.step:active {
329
- background: @downBackground;
330
- color: @downColor;
324
+ background: @downBackground;
325
+ color: @downColor;
331
326
  }
332
327
 
333
328
  /* Active */
334
329
  .ui.steps .step.active {
335
- cursor: auto;
336
- background: @activeBackground;
330
+ cursor: auto;
331
+ background: @activeBackground;
337
332
  }
338
333
  .ui.steps .step.active::after {
339
- background: @activeBackground;
334
+ background: @activeBackground;
340
335
  }
341
336
  .ui.steps .step.active .title {
342
- color: @activeColor;
337
+ color: @activeColor;
343
338
  }
344
339
  .ui.ordered.steps .step.active::before,
345
340
  .ui.steps .active.step i.icon {
346
- color: @activeIconColor;
341
+ color: @activeIconColor;
347
342
  }
348
343
 
349
344
  /* Active Arrow */
350
345
  .ui.steps .step::after {
351
- display: @arrowDisplay;
346
+ display: @arrowDisplay;
352
347
  }
353
348
  .ui.steps .active.step::after {
354
- display: @activeArrowDisplay;
349
+ display: @activeArrowDisplay;
355
350
  }
356
351
  .ui.steps .step:last-child::after {
357
- display: @lastArrowDisplay;
352
+ display: @lastArrowDisplay;
358
353
  }
359
354
  .ui.steps .active.step:last-child::after {
360
- display: @activeLastArrowDisplay;
355
+ display: @activeLastArrowDisplay;
361
356
  }
362
357
 
363
358
  /* Active Hover */
@@ -365,270 +360,267 @@
365
360
  .ui.steps .link.active.step:hover,
366
361
  .ui.steps a.active.step:hover::after,
367
362
  .ui.steps a.active.step:hover {
368
- cursor: pointer;
369
- background: @activeHoverBackground;
370
- color: @activeHoverColor;
363
+ cursor: pointer;
364
+ background: @activeHoverBackground;
365
+ color: @activeHoverColor;
371
366
  }
372
367
 
373
368
  /* Completed */
374
369
  .ui.steps .step.completed > i.icon::before,
375
370
  .ui.ordered.steps .step.completed::before {
376
- color: @completedColor;
371
+ color: @completedColor;
377
372
  }
378
373
 
379
374
  & when (@variationStepDisabled) {
380
- /* Disabled */
381
- .ui.steps .disabled.step {
382
- cursor: auto;
383
- background: @disabledBackground;
384
- pointer-events: none;
385
- }
386
- .ui.steps .disabled.step,
387
- .ui.steps .disabled.step .title,
388
- .ui.steps .disabled.step .description {
389
- color: @disabledColor;
390
- }
391
- .ui.steps .disabled.step::after {
392
- background: @disabledBackground;
393
- }
375
+ /* Disabled */
376
+ .ui.steps .disabled.step {
377
+ cursor: auto;
378
+ background: @disabledBackground;
379
+ pointer-events: none;
380
+ }
381
+ .ui.steps .disabled.step,
382
+ .ui.steps .disabled.step .title,
383
+ .ui.steps .disabled.step .description {
384
+ color: @disabledColor;
385
+ }
386
+ .ui.steps .disabled.step::after {
387
+ background: @disabledBackground;
388
+ }
394
389
  }
395
390
 
396
-
397
391
  /*******************************
398
392
  Variations
399
393
  *******************************/
400
394
 
401
395
  & when (@variationStepStackable) {
402
- /*--------------
403
- Stackable
404
- ---------------*/
405
-
406
- /* Tablet Or Below */
407
- @media only screen and (max-width: @largestTabletScreen) {
396
+ /* --------------
397
+ Stackable
398
+ --------------- */
399
+
400
+ /* Tablet Or Below */
401
+ @media only screen and (max-width: @largestTabletScreen) {
402
+
403
+ .ui[class*="tablet stackable"].steps {
404
+ display: inline-flex;
405
+ overflow: visible;
406
+ flex-direction: column;
407
+ }
408
+
409
+ /* Steps */
410
+ .ui[class*="tablet stackable"].steps .step {
411
+ flex-direction: column;
412
+ border-radius: @borderRadius;
413
+ padding: @verticalPadding @horizontalPadding;
414
+ border-right: none;
415
+ border-bottom: @stepsBorder;
416
+ }
417
+ .ui[class*="tablet stackable"].steps .step:first-child {
418
+ padding: @verticalPadding @horizontalPadding;
419
+ border-radius: @stepsBorderRadius @stepsBorderRadius 0 0;
420
+ }
421
+ .ui[class*="tablet stackable"].steps .step:last-child {
422
+ border-radius: 0 0 @stepsBorderRadius @stepsBorderRadius;
423
+ border-bottom: none;
424
+ }
425
+
426
+ /* Arrow */
427
+ .ui[class*="tablet stackable"].steps .step::after {
428
+ top: unset;
429
+ bottom: -@arrowSize;
430
+ right: 50%;
431
+ transform: translateY(-50%) translateX(50%) rotate(45deg);
432
+ }
433
+
434
+ /* Content */
435
+ .ui[class*="tablet stackable"].steps .step .content {
436
+ text-align: center;
437
+ }
438
+
439
+ /* Icon */
440
+ .ui[class*="tablet stackable"].steps .step > i.icon,
441
+ .ui[class*="tablet stackable"].ordered.steps .step::before {
442
+ margin: 0 0 @mobileIconDistance 0;
443
+ }
444
+ }
445
+ }
408
446
 
409
- .ui[class*="tablet stackable"].steps {
410
- display: inline-flex;
411
- overflow: visible;
412
- flex-direction: column;
447
+ & when (@variationStepFluid) {
448
+ /* --------------
449
+ Fluid
450
+ --------------- */
451
+
452
+ /* Fluid */
453
+ .ui.fluid.steps {
454
+ display: flex;
455
+ width: 100%;
413
456
  }
457
+ }
414
458
 
415
- /* Steps */
416
- .ui[class*="tablet stackable"].steps .step {
417
- flex-direction: column;
418
- border-radius: @borderRadius;
419
- padding: @verticalPadding @horizontalPadding;
420
- border-right: none;
421
- border-bottom: @stepsBorder;
459
+ & when (@variationStepAttached) {
460
+ /* --------------
461
+ Attached
462
+ --------------- */
463
+
464
+ /* Top */
465
+ .ui.attached.steps {
466
+ width: @attachedWidth !important;
467
+ margin: 0 @attachedHorizontalOffset @attachedVerticalOffset;
468
+ max-width: @attachedWidth;
469
+ border-radius: @stepsBorderRadius @stepsBorderRadius 0 0;
422
470
  }
423
- .ui[class*="tablet stackable"].steps .step:first-child {
424
- padding: @verticalPadding @horizontalPadding;
425
- border-radius: @stepsBorderRadius @stepsBorderRadius 0 0;
471
+ .ui.attached.steps .step:first-child {
472
+ border-radius: @stepsBorderRadius 0 0 0;
426
473
  }
427
- .ui[class*="tablet stackable"].steps .step:last-child {
428
- border-radius: 0 0 @stepsBorderRadius @stepsBorderRadius;
429
- border-bottom: none;
474
+ .ui.attached.steps .step:last-child {
475
+ border-radius: 0 @stepsBorderRadius 0 0;
430
476
  }
431
477
 
432
- /* Arrow */
433
- .ui[class*="tablet stackable"].steps .step::after {
434
- top: unset;
435
- bottom: -@arrowSize;
436
- right: 50%;
437
- transform: translateY(-50%) translateX(50%) rotate(45deg);
478
+ /* Bottom */
479
+ .ui.bottom.attached.steps {
480
+ margin: @attachedVerticalOffset @attachedHorizontalOffset 0;
481
+ border-radius: 0 0 @stepsBorderRadius @stepsBorderRadius;
438
482
  }
439
-
440
- /* Content */
441
- .ui[class*="tablet stackable"].steps .step .content {
442
- text-align: center;
483
+ .ui.bottom.attached.steps .step:first-child {
484
+ border-radius: 0 0 0 @stepsBorderRadius;
443
485
  }
444
-
445
- /* Icon */
446
- .ui[class*="tablet stackable"].steps .step > i.icon,
447
- .ui[class*="tablet stackable"].ordered.steps .step::before {
448
- margin: 0 0 @mobileIconDistance 0;
486
+ .ui.bottom.attached.steps .step:last-child {
487
+ border-radius: 0 0 @stepsBorderRadius 0;
449
488
  }
450
-
451
- }
452
489
  }
453
490
 
454
- & when (@variationStepFluid) {
455
- /*--------------
456
- Fluid
457
- ---------------*/
458
-
459
- /* Fluid */
460
- .ui.fluid.steps {
461
- display: flex;
462
- width: 100%;
463
- }
464
- }
465
-
466
- & when (@variationStepAttached) {
467
- /*--------------
468
- Attached
469
- ---------------*/
470
-
471
- /* Top */
472
- .ui.attached.steps {
473
- width: @attachedWidth !important;
474
- margin: 0 @attachedHorizontalOffset @attachedVerticalOffset;
475
- max-width: @attachedWidth;
476
- border-radius: @stepsBorderRadius @stepsBorderRadius 0 0;
477
- }
478
- .ui.attached.steps .step:first-child {
479
- border-radius: @stepsBorderRadius 0 0 0;
480
- }
481
- .ui.attached.steps .step:last-child {
482
- border-radius: 0 @stepsBorderRadius 0 0;
483
- }
484
-
485
- /* Bottom */
486
- .ui.bottom.attached.steps {
487
- margin: @attachedVerticalOffset @attachedHorizontalOffset 0;
488
- border-radius: 0 0 @stepsBorderRadius @stepsBorderRadius;
489
- }
490
- .ui.bottom.attached.steps .step:first-child {
491
- border-radius: 0 0 0 @stepsBorderRadius;
492
- }
493
- .ui.bottom.attached.steps .step:last-child {
494
- border-radius: 0 0 @stepsBorderRadius 0;
495
- }
491
+ & when (@variationStepEqualWidth) {
492
+ /* -------------------
493
+ Evenly Divided
494
+ -------------------- */
495
+
496
+ .ui.one.steps,
497
+ .ui.two.steps,
498
+ .ui.three.steps,
499
+ .ui.four.steps,
500
+ .ui.five.steps,
501
+ .ui.six.steps,
502
+ .ui.seven.steps,
503
+ .ui.eight.steps {
504
+ width: 100%;
505
+ }
506
+ .ui.one.steps > .step,
507
+ .ui.two.steps > .step,
508
+ .ui.three.steps > .step,
509
+ .ui.four.steps > .step,
510
+ .ui.five.steps > .step,
511
+ .ui.six.steps > .step,
512
+ .ui.seven.steps > .step,
513
+ .ui.eight.steps > .step {
514
+ flex-wrap: nowrap;
515
+ }
516
+ .ui.one.steps > .step {
517
+ width: 100%;
518
+ }
519
+ .ui.two.steps > .step {
520
+ width: 50%;
521
+ }
522
+ .ui.three.steps > .step {
523
+ width: 33.333%;
524
+ }
525
+ .ui.four.steps > .step {
526
+ width: 25%;
527
+ }
528
+ .ui.five.steps > .step {
529
+ width: 20%;
530
+ }
531
+ .ui.six.steps > .step {
532
+ width: 16.666%;
533
+ }
534
+ .ui.seven.steps > .step {
535
+ width: 14.285%;
536
+ }
537
+ .ui.eight.steps > .step {
538
+ width: 12.500%;
539
+ }
496
540
  }
497
541
 
498
- & when (@variationStepEqualWidth) {
499
- /*-------------------
500
- Evenly Divided
501
- --------------------*/
502
-
503
- .ui.one.steps,
504
- .ui.two.steps,
505
- .ui.three.steps,
506
- .ui.four.steps,
507
- .ui.five.steps,
508
- .ui.six.steps,
509
- .ui.seven.steps,
510
- .ui.eight.steps {
511
- width: 100%;
512
- }
513
- .ui.one.steps > .step,
514
- .ui.two.steps > .step,
515
- .ui.three.steps > .step,
516
- .ui.four.steps > .step,
517
- .ui.five.steps > .step,
518
- .ui.six.steps > .step,
519
- .ui.seven.steps > .step,
520
- .ui.eight.steps > .step {
521
- flex-wrap: nowrap;
522
- }
523
- .ui.one.steps > .step {
524
- width: 100%;
525
- }
526
- .ui.two.steps > .step {
527
- width: 50%;
528
- }
529
- .ui.three.steps > .step {
530
- width: 33.333%;
531
- }
532
- .ui.four.steps > .step {
533
- width: 25%;
534
- }
535
- .ui.five.steps > .step {
536
- width: 20%;
537
- }
538
- .ui.six.steps > .step {
539
- width: 16.666%;
540
- }
541
- .ui.seven.steps > .step {
542
- width: 14.285%;
543
- }
544
- .ui.eight.steps > .step {
545
- width: 12.500%;
546
- }
547
- }
548
-
549
- /*-------------------
542
+ /* -------------------
550
543
  Sizes
551
- --------------------*/
544
+ -------------------- */
552
545
 
553
546
  .ui.steps .step,
554
547
  .ui.step {
555
- font-size: @medium;
548
+ font-size: @medium;
556
549
  }
557
550
  & when not (@variationStepSizes = false) {
558
- each(@variationStepSizes, {
559
- @s: @@value;
560
- .ui.@{value}.steps .step,
561
- .ui.@{value}.step {
562
- font-size: @s;
563
- }
564
- })
551
+ each(@variationStepSizes, {
552
+ @s: @@value;
553
+ .ui.@{value}.steps .step,
554
+ .ui.@{value}.step {
555
+ font-size: @s;
556
+ }
557
+ })
565
558
  }
566
559
 
567
560
  & when (@variationStepInverted) {
568
- /*--------------
569
- Inverted
570
- ---------------*/
571
-
572
- .ui.inverted.steps {
573
- border: 1px solid @solidWhiteBorderColor;
574
- }
575
-
576
- .ui.inverted.steps .step {
577
- color: @invertedTextColor;
578
- background: @black;
579
- border-color: @solidWhiteBorderColor;
580
- }
581
-
582
- .ui.inverted.steps .step::after {
583
- background-color: @black;
584
- border-color: @solidWhiteBorderColor;
585
- }
586
-
587
- .ui.inverted.steps .step .description {
588
- color: @invertedTextColor;
589
- }
590
-
591
- /* Active */
592
- .ui.inverted.steps .step.active,
593
- .ui.inverted.steps .step.active::after {
594
- background: @invertedActiveBackground;
595
- }
596
- .ui.inverted.ordered.steps .step.active::before,
597
- .ui.inverted.steps .active.step i.icon {
598
- color: @invertedSelectedTextColor;
599
- }
600
-
601
- & when (@variationStepDisabled) {
602
- /* Disabled */
603
- .ui.inverted.steps .disabled.step,
604
- .ui.inverted.steps .disabled.step::after {
605
- background: @invertedDisabledBackground;
606
- }
607
- .ui.inverted.steps .disabled.step,
608
- .ui.inverted.steps .disabled.step .title,
609
- .ui.inverted.steps .disabled.step .description {
610
- color: @invertedDisabledTextColor;
611
- }
612
- }
613
-
614
- /* Link Hover */
615
- .ui.inverted.steps .link.step:hover::after,
616
- .ui.inverted.steps .link.step:hover,
617
- .ui.inverted.steps a.step:hover::after,
618
- .ui.inverted.steps a.step:hover {
619
- background: @invertedHoverBackground;
620
- color: @invertedHoveredTextColor;
621
- }
622
-
623
- /* Link Down */
624
- .ui.inverted.steps .link.step:active::after,
625
- .ui.inverted.steps .link.step:active,
626
- .ui.inverted.steps a.step:active::after,
627
- .ui.inverted.steps a.step:active {
628
- background: @invertedActiveHoverBackground;
629
- color: @invertedPressedTextColor;
630
- }
631
- }
561
+ /* --------------
562
+ Inverted
563
+ --------------- */
564
+
565
+ .ui.inverted.steps {
566
+ border: 1px solid @solidWhiteBorderColor;
567
+ }
632
568
 
569
+ .ui.inverted.steps .step {
570
+ color: @invertedTextColor;
571
+ background: @black;
572
+ border-color: @solidWhiteBorderColor;
573
+ }
574
+
575
+ .ui.inverted.steps .step::after {
576
+ background-color: @black;
577
+ border-color: @solidWhiteBorderColor;
578
+ }
579
+
580
+ .ui.inverted.steps .step .description {
581
+ color: @invertedTextColor;
582
+ }
583
+
584
+ /* Active */
585
+ .ui.inverted.steps .step.active,
586
+ .ui.inverted.steps .step.active::after {
587
+ background: @invertedActiveBackground;
588
+ }
589
+ .ui.inverted.ordered.steps .step.active::before,
590
+ .ui.inverted.steps .active.step i.icon {
591
+ color: @invertedSelectedTextColor;
592
+ }
593
+
594
+ & when (@variationStepDisabled) {
595
+ /* Disabled */
596
+ .ui.inverted.steps .disabled.step,
597
+ .ui.inverted.steps .disabled.step::after {
598
+ background: @invertedDisabledBackground;
599
+ }
600
+ .ui.inverted.steps .disabled.step,
601
+ .ui.inverted.steps .disabled.step .title,
602
+ .ui.inverted.steps .disabled.step .description {
603
+ color: @invertedDisabledTextColor;
604
+ }
605
+ }
606
+
607
+ /* Link Hover */
608
+ .ui.inverted.steps .link.step:hover::after,
609
+ .ui.inverted.steps .link.step:hover,
610
+ .ui.inverted.steps a.step:hover::after,
611
+ .ui.inverted.steps a.step:hover {
612
+ background: @invertedHoverBackground;
613
+ color: @invertedHoveredTextColor;
614
+ }
615
+
616
+ /* Link Down */
617
+ .ui.inverted.steps .link.step:active::after,
618
+ .ui.inverted.steps .link.step:active,
619
+ .ui.inverted.steps a.step:active::after,
620
+ .ui.inverted.steps a.step:active {
621
+ background: @invertedActiveHoverBackground;
622
+ color: @invertedPressedTextColor;
623
+ }
624
+ }
633
625
 
634
626
  .loadUIOverrides();