less-rails-semantic_ui 1.2.0.0 → 1.3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/javascripts/semantic_ui/definitions/behaviors/api.js +1 -0
- data/assets/javascripts/semantic_ui/definitions/behaviors/form.js +8 -4
- data/assets/javascripts/semantic_ui/definitions/behaviors/visibility.js +36 -17
- data/assets/javascripts/semantic_ui/definitions/behaviors/visit.js +2 -2
- data/assets/javascripts/semantic_ui/definitions/modules/accordion.js +2 -1
- data/assets/javascripts/semantic_ui/definitions/modules/checkbox.js +2 -1
- data/assets/javascripts/semantic_ui/definitions/modules/dimmer.js +1 -0
- data/assets/javascripts/semantic_ui/definitions/modules/dropdown.js +206 -108
- data/assets/javascripts/semantic_ui/definitions/modules/modal.js +79 -61
- data/assets/javascripts/semantic_ui/definitions/modules/sidebar.js +41 -5
- data/assets/javascripts/semantic_ui/definitions/modules/transition.js +1 -1
- data/assets/javascripts/semantic_ui/definitions/modules/video.js +1 -0
- data/assets/stylesheets/semantic_ui/definitions/collections/form.less +6 -4
- data/assets/stylesheets/semantic_ui/definitions/collections/grid.less +104 -99
- data/assets/stylesheets/semantic_ui/definitions/collections/table.less +155 -40
- data/assets/stylesheets/semantic_ui/definitions/elements/button.less +3 -2
- data/assets/stylesheets/semantic_ui/definitions/elements/image.less +28 -2
- data/assets/stylesheets/semantic_ui/definitions/elements/label.less +17 -1
- data/assets/stylesheets/semantic_ui/definitions/elements/segment.less +0 -4
- data/assets/stylesheets/semantic_ui/definitions/elements/step.less +82 -10
- data/assets/stylesheets/semantic_ui/definitions/modules/dropdown.less +31 -3
- data/assets/stylesheets/semantic_ui/definitions/modules/modal.less +0 -6
- data/assets/stylesheets/semantic_ui/definitions/modules/sidebar.less +6 -2
- data/assets/stylesheets/semantic_ui/themes/default/collections/table.variables +2 -2
- data/assets/stylesheets/semantic_ui/themes/default/elements/button.variables +1 -1
- data/assets/stylesheets/semantic_ui/themes/default/elements/step.variables +8 -3
- data/assets/stylesheets/semantic_ui/themes/default/globals/site.variables +1 -0
- data/assets/stylesheets/semantic_ui/themes/default/modules/dropdown.overrides +5 -0
- data/assets/stylesheets/semantic_ui/themes/default/modules/dropdown.variables +9 -0
- data/assets/stylesheets/semantic_ui/themes/default/modules/modal.variables +0 -3
- data/less-rails-semantic_ui.gemspec +2 -2
- metadata +4 -4
@@ -76,14 +76,18 @@
|
|
76
76
|
border-bottom: @headerBorder;
|
77
77
|
border-left: @headerDivider;
|
78
78
|
}
|
79
|
-
|
80
|
-
|
79
|
+
|
80
|
+
.ui.table thead tr > th:first-child {
|
81
81
|
border-left: none;
|
82
82
|
}
|
83
|
-
|
83
|
+
|
84
|
+
.ui.table thead tr:first-child > th:first-child {
|
85
|
+
border-radius: @borderRadius 0em 0em 0em;
|
86
|
+
}
|
87
|
+
.ui.table thead tr:first-child > th:last-child {
|
84
88
|
border-radius: 0em @borderRadius 0em 0em;
|
85
89
|
}
|
86
|
-
.ui.table thead th:only-child {
|
90
|
+
.ui.table thead tr:first-child > th:only-child {
|
87
91
|
border-radius: @borderRadius @borderRadius 0em 0em;
|
88
92
|
}
|
89
93
|
|
@@ -103,13 +107,16 @@
|
|
103
107
|
font-weight: @footerFontWeight;
|
104
108
|
text-transform: @footerTextTransform;
|
105
109
|
}
|
106
|
-
.ui.table tfoot th:first-child {
|
110
|
+
.ui.table tfoot tr > th:first-child {
|
111
|
+
border-left: none;
|
112
|
+
}
|
113
|
+
.ui.table tfoot tr:first-child > th:first-child {
|
107
114
|
border-radius: 0em 0em 0em @borderRadius;
|
108
115
|
}
|
109
|
-
.ui.table tfoot th:last-child {
|
116
|
+
.ui.table tfoot tr:first-child > th:last-child {
|
110
117
|
border-radius: 0em 0em @borderRadius 0em;
|
111
118
|
}
|
112
|
-
.ui.table tfoot th:only-child {
|
119
|
+
.ui.table tfoot tr:first-child > th:only-child {
|
113
120
|
border-radius: 0em 0em @borderRadius @borderRadius;
|
114
121
|
}
|
115
122
|
|
@@ -149,52 +156,64 @@
|
|
149
156
|
|
150
157
|
|
151
158
|
/* Responsive */
|
152
|
-
@media only screen and (max-width :
|
153
|
-
.ui.table
|
154
|
-
|
159
|
+
@media only screen and (max-width : @largestMobileScreen) {
|
160
|
+
.ui.table:not(.unstackable),
|
161
|
+
.ui.table:not(.unstackable) tbody,
|
162
|
+
.ui.table:not(.unstackable) tr,
|
163
|
+
.ui.table:not(.unstackable) tr > th,
|
164
|
+
.ui.table:not(.unstackable) tr > td {
|
165
|
+
display: block !important;
|
166
|
+
width: 100% !important;
|
167
|
+
display: block !important;
|
168
|
+
}
|
169
|
+
|
170
|
+
.ui.table:not(.unstackable) {
|
155
171
|
padding: 0em;
|
156
172
|
}
|
157
|
-
.ui.table thead {
|
173
|
+
.ui.table:not(.unstackable) thead {
|
158
174
|
display: @responsiveHeaderDisplay;
|
159
175
|
}
|
160
|
-
.ui.table tfoot {
|
176
|
+
.ui.table:not(.unstackable) tfoot {
|
161
177
|
display: @responsiveFooterDisplay;
|
162
178
|
}
|
163
|
-
.ui.table
|
164
|
-
|
165
|
-
}
|
166
|
-
.ui.table tr {
|
167
|
-
display: block;
|
168
|
-
}
|
169
|
-
|
170
|
-
.ui.table tr > th,
|
171
|
-
.ui.table tr > td {
|
179
|
+
.ui.table:not(.unstackable) tr > th,
|
180
|
+
.ui.table:not(.unstackable) tr > td {
|
172
181
|
background: none;
|
173
|
-
width: 100% !important;
|
174
|
-
display: block;
|
175
182
|
border: none !important;
|
176
183
|
padding: @responsiveCellVerticalPadding @responsiveCellHorizontalPadding;
|
177
184
|
box-shadow: @responsiveCellBoxShadow;
|
178
185
|
}
|
179
|
-
.ui.table th:first-child,
|
180
|
-
.ui.table td:first-child {
|
186
|
+
.ui.table:not(.unstackable) th:first-child,
|
187
|
+
.ui.table:not(.unstackable) td:first-child {
|
181
188
|
font-weight: bold;
|
182
189
|
padding-top: @responsiveRowVerticalPadding;
|
183
190
|
}
|
184
|
-
.ui.table th:last-child,
|
185
|
-
.ui.table td:last-child {
|
191
|
+
.ui.table:not(.unstackable) th:last-child,
|
192
|
+
.ui.table:not(.unstackable) td:last-child {
|
186
193
|
box-shadow: @responsiveRowBoxShadow;
|
187
194
|
padding-bottom: @responsiveRowVerticalPadding;
|
188
195
|
}
|
189
196
|
|
190
197
|
/* Clear BG Colors */
|
191
|
-
.ui.table tr > td.warning,
|
192
|
-
.ui.table tr > td.error,
|
193
|
-
.ui.table tr > td.active,
|
194
|
-
.ui.table tr > td.positive,
|
195
|
-
.ui.table tr > td.negative {
|
198
|
+
.ui.table:not(.unstackable) tr > td.warning,
|
199
|
+
.ui.table:not(.unstackable) tr > td.error,
|
200
|
+
.ui.table:not(.unstackable) tr > td.active,
|
201
|
+
.ui.table:not(.unstackable) tr > td.positive,
|
202
|
+
.ui.table:not(.unstackable) tr > td.negative {
|
196
203
|
background-color: @responsiveStatusColor !important;
|
197
204
|
}
|
205
|
+
|
206
|
+
/* Definition Table */
|
207
|
+
.ui.definition.table:not(.unstackable) thead th:first-child {
|
208
|
+
box-shadow: none !important;
|
209
|
+
}
|
210
|
+
.ui.definition.table:not(.unstackable) tr td:first-child {
|
211
|
+
padding-bottom: @responsiveRowVerticalPadding;
|
212
|
+
}
|
213
|
+
.ui.definition.table:not(.unstackable) tr td:nth-child(n+2) {
|
214
|
+
padding-top: @responsiveRowVerticalPadding;
|
215
|
+
}
|
216
|
+
|
198
217
|
}
|
199
218
|
|
200
219
|
|
@@ -202,6 +221,31 @@
|
|
202
221
|
Types
|
203
222
|
*******************************/
|
204
223
|
|
224
|
+
/*--------------
|
225
|
+
Complex
|
226
|
+
---------------*/
|
227
|
+
|
228
|
+
.ui.structured.table {
|
229
|
+
border-collapse: collapse;
|
230
|
+
}
|
231
|
+
.ui.structured.table thead th {
|
232
|
+
border-left: @headerDivider;
|
233
|
+
border-right: @headerDivider;
|
234
|
+
}
|
235
|
+
.ui.structured.sortable.table thead th {
|
236
|
+
border-left: @sortableBorder;
|
237
|
+
border-right: @sortableBorder;
|
238
|
+
}
|
239
|
+
.ui.structured.basic.table th {
|
240
|
+
border-left: @basicTableHeaderDivider;
|
241
|
+
border-right: @basicTableHeaderDivider;
|
242
|
+
}
|
243
|
+
.ui.structured.celled.table tr th,
|
244
|
+
.ui.structured.celled.table tr td {
|
245
|
+
border-left: @cellBorder;
|
246
|
+
border-right: @cellBorder;
|
247
|
+
}
|
248
|
+
|
205
249
|
/*--------------
|
206
250
|
Definition
|
207
251
|
---------------*/
|
@@ -365,6 +409,71 @@
|
|
365
409
|
Variations
|
366
410
|
*******************************/
|
367
411
|
|
412
|
+
/*--------------
|
413
|
+
Stackable
|
414
|
+
---------------*/
|
415
|
+
|
416
|
+
@media only screen and (max-width : @largestTabletScreen) {
|
417
|
+
|
418
|
+
.ui[class*="tablet stackable"].table,
|
419
|
+
.ui[class*="tablet stackable"].table tbody,
|
420
|
+
.ui[class*="tablet stackable"].table tr,
|
421
|
+
.ui[class*="tablet stackable"].table tr > th,
|
422
|
+
.ui[class*="tablet stackable"].table tr > td {
|
423
|
+
display: block !important;
|
424
|
+
width: 100% !important;
|
425
|
+
display: block !important;
|
426
|
+
}
|
427
|
+
|
428
|
+
.ui[class*="tablet stackable"].table {
|
429
|
+
padding: 0em;
|
430
|
+
}
|
431
|
+
.ui[class*="tablet stackable"].table thead {
|
432
|
+
display: @responsiveHeaderDisplay;
|
433
|
+
}
|
434
|
+
.ui[class*="tablet stackable"].table tfoot {
|
435
|
+
display: @responsiveFooterDisplay;
|
436
|
+
}
|
437
|
+
.ui[class*="tablet stackable"].table tr > th,
|
438
|
+
.ui[class*="tablet stackable"].table tr > td {
|
439
|
+
background: none;
|
440
|
+
border: none !important;
|
441
|
+
padding: @responsiveCellVerticalPadding @responsiveCellHorizontalPadding;
|
442
|
+
box-shadow: @responsiveCellBoxShadow;
|
443
|
+
}
|
444
|
+
.ui[class*="tablet stackable"].table th:first-child,
|
445
|
+
.ui[class*="tablet stackable"].table td:first-child {
|
446
|
+
font-weight: bold;
|
447
|
+
padding-top: @responsiveRowVerticalPadding;
|
448
|
+
}
|
449
|
+
.ui[class*="tablet stackable"].table th:last-child,
|
450
|
+
.ui[class*="tablet stackable"].table td:last-child {
|
451
|
+
box-shadow: @responsiveRowBoxShadow;
|
452
|
+
padding-bottom: @responsiveRowVerticalPadding;
|
453
|
+
}
|
454
|
+
|
455
|
+
/* Clear BG Colors */
|
456
|
+
.ui[class*="tablet stackable"].table tr > td.warning,
|
457
|
+
.ui[class*="tablet stackable"].table tr > td.error,
|
458
|
+
.ui[class*="tablet stackable"].table tr > td.active,
|
459
|
+
.ui[class*="tablet stackable"].table tr > td.positive,
|
460
|
+
.ui[class*="tablet stackable"].table tr > td.negative {
|
461
|
+
background-color: @responsiveStatusColor !important;
|
462
|
+
}
|
463
|
+
|
464
|
+
/* Definition Table */
|
465
|
+
.ui.definition[class*="tablet stackable"].table thead th:first-child {
|
466
|
+
box-shadow: none !important;
|
467
|
+
}
|
468
|
+
.ui.definition[class*="tablet stackable"].table tr td:first-child {
|
469
|
+
padding-bottom: @responsiveRowVerticalPadding;
|
470
|
+
}
|
471
|
+
.ui.definition[class*="tablet stackable"].table tr td:nth-child(n+2) {
|
472
|
+
padding-top: @responsiveRowVerticalPadding;
|
473
|
+
}
|
474
|
+
|
475
|
+
}
|
476
|
+
|
368
477
|
/*--------------
|
369
478
|
Aligned
|
370
479
|
---------------*/
|
@@ -709,6 +818,7 @@
|
|
709
818
|
}
|
710
819
|
.ui.inverted.sortable.table thead th {
|
711
820
|
border-left-color: @sortableInvertedBorderColor;
|
821
|
+
border-right-color: @sortableInvertedBorderColor;
|
712
822
|
}
|
713
823
|
|
714
824
|
|
@@ -792,23 +902,28 @@
|
|
792
902
|
.ui[class*="very basic"].table:not(.sortable):not(.striped) td {
|
793
903
|
padding: @basicTableCellVerticalPadding @basicTableCellHorizontalPadding;
|
794
904
|
}
|
795
|
-
.ui[class*="very basic"].table:not(.sortable):not(.striped)
|
796
|
-
|
905
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) th:first-child,
|
906
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) td:first-child {
|
907
|
+
padding-left: 0em;
|
797
908
|
}
|
798
|
-
.ui[class*="very basic"].table:not(.sortable):not(.striped)
|
799
|
-
|
909
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) th:last-child,
|
910
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) td:last-child {
|
911
|
+
padding-right: 0em;
|
912
|
+
}
|
913
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) thead tr:first-child th {
|
914
|
+
padding-top: 0em;
|
800
915
|
}
|
801
916
|
|
802
917
|
/*--------------
|
803
918
|
Celled
|
804
919
|
---------------*/
|
805
920
|
|
806
|
-
.ui.celled.table th,
|
807
|
-
.ui.celled.table td {
|
921
|
+
.ui.celled.table tr th,
|
922
|
+
.ui.celled.table tr td {
|
808
923
|
border-left: @cellBorder;
|
809
924
|
}
|
810
|
-
.ui.celled.table th:first-child,
|
811
|
-
.ui.celled.table td:first-child {
|
925
|
+
.ui.celled.table tr th:first-child,
|
926
|
+
.ui.celled.table tr td:first-child {
|
812
927
|
border-left: none;
|
813
928
|
}
|
814
929
|
|
@@ -885,6 +885,9 @@
|
|
885
885
|
}
|
886
886
|
.ui.buttons .or:before {
|
887
887
|
position: absolute;
|
888
|
+
text-align: center;
|
889
|
+
border-radius: @circularRadius;
|
890
|
+
|
888
891
|
content: @orText;
|
889
892
|
top: 50%;
|
890
893
|
left: 50%;
|
@@ -902,9 +905,7 @@
|
|
902
905
|
|
903
906
|
font-style: @orTextStyle;
|
904
907
|
font-weight: @orTextWeight;
|
905
|
-
text-align: center;
|
906
908
|
|
907
|
-
border-radius: 500em;
|
908
909
|
box-shadow: @orBoxShadow;
|
909
910
|
}
|
910
911
|
.ui.buttons .or[data-text]:before {
|
@@ -35,16 +35,19 @@
|
|
35
35
|
max-width: 100%;
|
36
36
|
background-color: @placeholderColor;
|
37
37
|
}
|
38
|
+
|
38
39
|
img.ui.image {
|
39
40
|
display: block;
|
40
|
-
background: none;
|
41
41
|
}
|
42
|
+
|
43
|
+
.ui.image svg,
|
42
44
|
.ui.image img {
|
43
45
|
display: block;
|
44
46
|
max-width: 100%;
|
45
47
|
height: auto;
|
46
48
|
}
|
47
49
|
|
50
|
+
|
48
51
|
/*******************************
|
49
52
|
States
|
50
53
|
*******************************/
|
@@ -66,6 +69,7 @@ img.ui.image {
|
|
66
69
|
---------------*/
|
67
70
|
|
68
71
|
.ui.inline.image,
|
72
|
+
.ui.inline.image svg,
|
69
73
|
.ui.inline.image img {
|
70
74
|
display: inline-block;
|
71
75
|
}
|
@@ -76,18 +80,21 @@ img.ui.image {
|
|
76
80
|
|
77
81
|
.ui.top.aligned.images .image,
|
78
82
|
.ui.top.aligned.image,
|
83
|
+
.ui.top.aligned.image svg,
|
79
84
|
.ui.top.aligned.image img {
|
80
85
|
display: inline-block;
|
81
86
|
vertical-align: top;
|
82
87
|
}
|
83
88
|
.ui.middle.aligned.images .image,
|
84
89
|
.ui.middle.aligned.image,
|
90
|
+
.ui.middle.aligned.image svg,
|
85
91
|
.ui.middle.aligned.image img {
|
86
92
|
display: inline-block;
|
87
93
|
vertical-align: middle;
|
88
94
|
}
|
89
95
|
.ui.bottom.aligned.images .image,
|
90
96
|
.ui.bottom.aligned.image,
|
97
|
+
.ui.bottom.aligned.image svg,
|
91
98
|
.ui.bottom.aligned.image img {
|
92
99
|
display: inline-block;
|
93
100
|
vertical-align: bottom;
|
@@ -99,7 +106,9 @@ img.ui.image {
|
|
99
106
|
|
100
107
|
.ui.rounded.images .image,
|
101
108
|
.ui.rounded.images img,
|
109
|
+
.ui.rounded.images svg,
|
102
110
|
.ui.rounded.image img,
|
111
|
+
.ui.rounded.image svg,
|
103
112
|
.ui.rounded.image {
|
104
113
|
border-radius: @roundedBorderRadius;
|
105
114
|
}
|
@@ -110,7 +119,9 @@ img.ui.image {
|
|
110
119
|
|
111
120
|
.ui.bordered.images .image,
|
112
121
|
.ui.bordered.images img,
|
122
|
+
.ui.bordered.images svg,
|
113
123
|
.ui.bordered.image img,
|
124
|
+
.ui.bordered.image svg,
|
114
125
|
img.ui.bordered.image {
|
115
126
|
border: @imageBorder;
|
116
127
|
}
|
@@ -126,7 +137,9 @@ img.ui.bordered.image {
|
|
126
137
|
|
127
138
|
.ui.circular.images .image,
|
128
139
|
.ui.circular.images img,
|
140
|
+
.ui.circular.images svg,
|
129
141
|
.ui.circular.image img,
|
142
|
+
.ui.circular.image svg,
|
130
143
|
.ui.circular.image {
|
131
144
|
-webkit-border-radius: @circularRadius;
|
132
145
|
-moz-border-radius: @circularRadius;
|
@@ -140,6 +153,8 @@ img.ui.bordered.image {
|
|
140
153
|
.ui.fluid.images,
|
141
154
|
.ui.fluid.image,
|
142
155
|
.ui.fluid.images img,
|
156
|
+
.ui.fluid.images svg,
|
157
|
+
.ui.fluid.image svg,
|
143
158
|
.ui.fluid.image img {
|
144
159
|
display: block;
|
145
160
|
width: 100%;
|
@@ -152,7 +167,9 @@ img.ui.bordered.image {
|
|
152
167
|
|
153
168
|
.ui.avatar.images .image,
|
154
169
|
.ui.avatar.images img,
|
170
|
+
.ui.avatar.images svg,
|
155
171
|
.ui.avatar.image img,
|
172
|
+
.ui.avatar.image svg,
|
156
173
|
.ui.avatar.image {
|
157
174
|
margin-right: @avatarMargin;
|
158
175
|
|
@@ -202,48 +219,56 @@ img.ui.bordered.image {
|
|
202
219
|
|
203
220
|
.ui.mini.images .image,
|
204
221
|
.ui.mini.images img,
|
222
|
+
.ui.mini.images svg,
|
205
223
|
.ui.mini.image {
|
206
224
|
width: @miniWidth;
|
207
225
|
font-size: @mini;
|
208
226
|
}
|
209
227
|
.ui.tiny.images .image,
|
210
228
|
.ui.tiny.images img,
|
229
|
+
.ui.tiny.images svg,
|
211
230
|
.ui.tiny.image {
|
212
231
|
width: @tinyWidth;
|
213
232
|
font-size: @tiny;
|
214
233
|
}
|
215
234
|
.ui.small.images .image,
|
216
235
|
.ui.small.images img,
|
236
|
+
.ui.small.images svg,
|
217
237
|
.ui.small.image {
|
218
238
|
width: @smallWidth;
|
219
239
|
font-size: @small;
|
220
240
|
}
|
221
241
|
.ui.medium.images .image,
|
222
242
|
.ui.medium.images img,
|
243
|
+
.ui.medium.images svg,
|
223
244
|
.ui.medium.image {
|
224
245
|
width: @mediumWidth;
|
225
246
|
font-size: @medium;
|
226
247
|
}
|
227
248
|
.ui.large.images .image,
|
228
249
|
.ui.large.images img,
|
250
|
+
.ui.large.images svg,
|
229
251
|
.ui.large.image {
|
230
252
|
width: @largeWidth;
|
231
253
|
font-size: @large;
|
232
254
|
}
|
233
255
|
.ui.big.images .image,
|
234
256
|
.ui.big.images img,
|
257
|
+
.ui.big.images svg,
|
235
258
|
.ui.big.image {
|
236
259
|
width: @bigWidth;
|
237
260
|
font-size: @big;
|
238
261
|
}
|
239
262
|
.ui.huge.images .image,
|
240
263
|
.ui.huge.images img,
|
264
|
+
.ui.huge.images svg,
|
241
265
|
.ui.huge.image {
|
242
266
|
width: @hugeWidth;
|
243
267
|
font-size: @huge;
|
244
268
|
}
|
245
269
|
.ui.massive.images .image,
|
246
270
|
.ui.massive.images img,
|
271
|
+
.ui.massive.images svg,
|
247
272
|
.ui.massive.image {
|
248
273
|
width: @massiveWidth;
|
249
274
|
font-size: @massive;
|
@@ -259,7 +284,8 @@ img.ui.bordered.image {
|
|
259
284
|
}
|
260
285
|
|
261
286
|
.ui.images .image,
|
262
|
-
.ui.images img
|
287
|
+
.ui.images img,
|
288
|
+
.ui.images svg {
|
263
289
|
display: inline-block;
|
264
290
|
margin: 0em @imageHorizontalMargin @imageVerticalMargin;
|
265
291
|
}
|
@@ -120,6 +120,22 @@ a.ui.label {
|
|
120
120
|
Coupling
|
121
121
|
--------------------*/
|
122
122
|
|
123
|
+
/* Remove border radius on attached segment */
|
124
|
+
.ui.attached.segment > .ui.top.left.attached.label,
|
125
|
+
.ui.bottom.attached.segment > .ui.top.left.attached.label {
|
126
|
+
border-radius-top-left: 0;
|
127
|
+
}
|
128
|
+
.ui.attached.segment > .ui.top.right.attached.label,
|
129
|
+
.ui.bottom.attached.segment > .ui.top.right.attached.label {
|
130
|
+
border-radius-top-right: 0;
|
131
|
+
}
|
132
|
+
.ui.top.attached.segment > .ui.bottom.left.attached.label {
|
133
|
+
border-radius-bottom-left: 0;
|
134
|
+
}
|
135
|
+
.ui.top.attached.segment > .ui.bottom.right.attached.label {
|
136
|
+
border-radius-bottom-right: 0;
|
137
|
+
}
|
138
|
+
|
123
139
|
/* Padding on next content after a label */
|
124
140
|
.ui.top.attached.label:first-child + :not(.attached) {
|
125
141
|
margin-top: @attachedSegmentPadding !important;
|
@@ -416,7 +432,7 @@ a.ui.label {
|
|
416
432
|
width: auto;
|
417
433
|
top: auto;
|
418
434
|
bottom: 0em;
|
419
|
-
border-radius: 0em
|
435
|
+
border-radius: 0em @borderRadius 0em @borderRadius;
|
420
436
|
}
|
421
437
|
.ui.bottom.right.attached.label {
|
422
438
|
top: auto;
|
@@ -115,10 +115,12 @@
|
|
115
115
|
.ui.ordered.steps .step:before {
|
116
116
|
display: table-cell;
|
117
117
|
position: static;
|
118
|
+
text-align: center;
|
119
|
+
content: counters(ordered, ".");
|
120
|
+
vertical-align: @iconVerticalAlign;
|
118
121
|
padding-right: @iconDistance;
|
119
122
|
font-size: @iconSize;
|
120
123
|
counter-increment: ordered;
|
121
|
-
content: counters(ordered, ".");
|
122
124
|
}
|
123
125
|
|
124
126
|
.ui.ordered.steps .step > * {
|
@@ -158,6 +160,36 @@
|
|
158
160
|
}
|
159
161
|
|
160
162
|
|
163
|
+
/*---------------
|
164
|
+
Responsive
|
165
|
+
----------------*/
|
166
|
+
|
167
|
+
/* Mobile (Default) */
|
168
|
+
@media only screen and (max-width: (@largestMobileScreen)) {
|
169
|
+
|
170
|
+
.ui.steps {
|
171
|
+
overflow: visible;
|
172
|
+
}
|
173
|
+
.ui.steps .step {
|
174
|
+
display: block;
|
175
|
+
border-radius: @borderRadius;
|
176
|
+
padding: @verticalPadding @horizontalPadding;
|
177
|
+
}
|
178
|
+
.ui.steps .step:first-child {
|
179
|
+
padding: @verticalPadding @horizontalPadding;
|
180
|
+
border-radius: @stepsBorderRadius @stepsBorderRadius 0em 0em;
|
181
|
+
}
|
182
|
+
.ui.steps .step:last-child {
|
183
|
+
border-radius: 0em 0em @stepsBorderRadius @stepsBorderRadius;
|
184
|
+
}
|
185
|
+
|
186
|
+
/* Arrow */
|
187
|
+
.ui.steps .step:after {
|
188
|
+
display: none;
|
189
|
+
}
|
190
|
+
|
191
|
+
}
|
192
|
+
|
161
193
|
/*******************************
|
162
194
|
Group
|
163
195
|
*******************************/
|
@@ -269,15 +301,54 @@
|
|
269
301
|
Variations
|
270
302
|
*******************************/
|
271
303
|
|
304
|
+
|
305
|
+
/*--------------
|
306
|
+
Stackable
|
307
|
+
---------------*/
|
308
|
+
|
309
|
+
|
310
|
+
/* Tablet Or Below */
|
311
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
312
|
+
|
313
|
+
.ui[class*="tablet stackable"].steps {
|
314
|
+
overflow: visible;
|
315
|
+
}
|
316
|
+
.ui[class*="tablet stackable"].steps .step {
|
317
|
+
display: block;
|
318
|
+
border-radius: @borderRadius;
|
319
|
+
padding: @verticalPadding @horizontalPadding;
|
320
|
+
}
|
321
|
+
.ui[class*="tablet stackable"].steps .step:first-child {
|
322
|
+
padding: @verticalPadding @horizontalPadding;
|
323
|
+
border-radius: @stepsBorderRadius @stepsBorderRadius 0em 0em;
|
324
|
+
}
|
325
|
+
.ui[class*="tablet stackable"].steps .step:last-child {
|
326
|
+
border-radius: 0em 0em @stepsBorderRadius @stepsBorderRadius;
|
327
|
+
}
|
328
|
+
/* Arrow */
|
329
|
+
.ui[class*="tablet stackable"].steps .step:after {
|
330
|
+
display: none;
|
331
|
+
}
|
332
|
+
|
333
|
+
}
|
334
|
+
|
335
|
+
|
336
|
+
/*--------------
|
337
|
+
Fluid
|
338
|
+
---------------*/
|
339
|
+
|
272
340
|
/* Fluid */
|
273
341
|
.ui.fluid.steps {
|
274
342
|
width: 100%;
|
275
343
|
}
|
276
344
|
|
345
|
+
/*--------------
|
346
|
+
Attached
|
347
|
+
---------------*/
|
277
348
|
|
278
|
-
/*
|
349
|
+
/* Top */
|
279
350
|
.attached.ui.steps {
|
280
|
-
margin:
|
351
|
+
margin: @attachedTopMargin;
|
281
352
|
border-radius: @stepsBorderRadius @stepsBorderRadius 0em 0em;
|
282
353
|
}
|
283
354
|
.attached.ui.steps .step:first-child {
|
@@ -287,9 +358,9 @@
|
|
287
358
|
border-radius: 0em @stepsBorderRadius 0em 0em;
|
288
359
|
}
|
289
360
|
|
290
|
-
/* Bottom
|
361
|
+
/* Bottom */
|
291
362
|
.bottom.attached.ui.steps {
|
292
|
-
margin
|
363
|
+
margin: @attachedBottomMargin;
|
293
364
|
border-radius: 0em 0em @stepsBorderRadius @stepsBorderRadius;
|
294
365
|
}
|
295
366
|
.bottom.attached.ui.steps .step:first-child {
|
@@ -299,8 +370,10 @@
|
|
299
370
|
border-radius: 0em 0em @stepsBorderRadius 0em;
|
300
371
|
}
|
301
372
|
|
373
|
+
/*-------------------
|
374
|
+
Evenly Divided
|
375
|
+
--------------------*/
|
302
376
|
|
303
|
-
/* Evenly divided */
|
304
377
|
.ui.one.steps,
|
305
378
|
.ui.two.steps,
|
306
379
|
.ui.three.steps,
|
@@ -336,12 +409,11 @@
|
|
336
409
|
width: 12.500%;
|
337
410
|
}
|
338
411
|
|
412
|
+
/*-------------------
|
413
|
+
Sizes
|
414
|
+
--------------------*/
|
339
415
|
|
340
416
|
|
341
|
-
/*******************************
|
342
|
-
Sizes
|
343
|
-
*******************************/
|
344
|
-
|
345
417
|
.ui.small.step,
|
346
418
|
.ui.small.steps .step {
|
347
419
|
font-size: @small;
|