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.
- package/.eslintrc.js +1 -0
- package/.stylelintrc.js +46 -0
- package/dist/components/accordion.css +19 -26
- package/dist/components/accordion.js +1 -1
- package/dist/components/accordion.min.css +1 -1
- package/dist/components/accordion.min.js +1 -1
- package/dist/components/ad.css +31 -41
- package/dist/components/ad.min.css +1 -1
- package/dist/components/api.js +1 -1
- package/dist/components/api.min.js +1 -1
- package/dist/components/breadcrumb.css +1 -1
- package/dist/components/breadcrumb.min.css +1 -1
- package/dist/components/button.css +71 -96
- package/dist/components/button.min.css +1 -1
- package/dist/components/calendar.css +6 -8
- package/dist/components/calendar.js +1 -1
- package/dist/components/calendar.min.css +1 -1
- package/dist/components/calendar.min.js +1 -1
- package/dist/components/card.css +83 -115
- package/dist/components/card.min.css +1 -1
- package/dist/components/checkbox.css +47 -64
- package/dist/components/checkbox.js +1 -1
- package/dist/components/checkbox.min.css +1 -1
- package/dist/components/checkbox.min.js +1 -1
- package/dist/components/comment.css +37 -51
- package/dist/components/comment.min.css +1 -1
- package/dist/components/container.css +4 -5
- package/dist/components/container.min.css +1 -1
- package/dist/components/dimmer.css +31 -41
- package/dist/components/dimmer.js +1 -1
- package/dist/components/dimmer.min.css +1 -1
- package/dist/components/dimmer.min.js +1 -1
- package/dist/components/divider.css +32 -44
- package/dist/components/divider.min.css +1 -1
- package/dist/components/dropdown.css +109 -152
- package/dist/components/dropdown.js +1 -1
- package/dist/components/dropdown.min.css +1 -1
- package/dist/components/dropdown.min.js +1 -1
- package/dist/components/embed.css +13 -19
- package/dist/components/embed.js +1 -1
- package/dist/components/embed.min.css +1 -1
- package/dist/components/embed.min.js +1 -1
- package/dist/components/emoji.css +7 -6
- package/dist/components/feed.css +24 -32
- package/dist/components/feed.min.css +1 -1
- package/dist/components/flag.css +5 -3
- package/dist/components/flag.min.css +1 -1
- package/dist/components/flyout.css +39 -56
- package/dist/components/flyout.js +1 -1
- package/dist/components/flyout.min.css +1 -1
- package/dist/components/flyout.min.js +1 -1
- package/dist/components/form.css +85 -111
- package/dist/components/form.js +1 -1
- package/dist/components/form.min.css +1 -1
- package/dist/components/form.min.js +1 -1
- package/dist/components/grid.css +70 -96
- package/dist/components/grid.min.css +1 -1
- package/dist/components/header.css +47 -65
- package/dist/components/header.min.css +1 -1
- package/dist/components/icon.css +42 -53
- package/dist/components/icon.min.css +1 -1
- package/dist/components/image.css +32 -42
- package/dist/components/image.min.css +1 -1
- package/dist/components/input.css +45 -58
- package/dist/components/input.min.css +1 -1
- package/dist/components/item.css +55 -77
- package/dist/components/item.min.css +1 -1
- package/dist/components/label.css +61 -90
- package/dist/components/label.min.css +1 -1
- package/dist/components/list.css +44 -59
- package/dist/components/list.min.css +1 -1
- package/dist/components/loader.css +16 -22
- package/dist/components/loader.min.css +1 -1
- package/dist/components/menu.css +126 -186
- package/dist/components/message.css +25 -35
- package/dist/components/message.min.css +1 -1
- package/dist/components/modal.css +33 -40
- package/dist/components/modal.js +1 -1
- package/dist/components/modal.min.css +1 -1
- package/dist/components/modal.min.js +1 -1
- package/dist/components/nag.css +19 -25
- package/dist/components/nag.js +1 -1
- package/dist/components/nag.min.css +1 -1
- package/dist/components/nag.min.js +1 -1
- package/dist/components/placeholder.css +10 -12
- package/dist/components/placeholder.min.css +1 -1
- package/dist/components/popup.css +49 -59
- package/dist/components/popup.js +1 -1
- package/dist/components/popup.min.css +1 -1
- package/dist/components/popup.min.js +1 -1
- package/dist/components/progress.css +29 -39
- package/dist/components/progress.js +1 -1
- package/dist/components/progress.min.css +1 -1
- package/dist/components/progress.min.js +1 -1
- package/dist/components/rail.css +15 -20
- package/dist/components/rail.min.css +1 -1
- package/dist/components/rating.css +9 -13
- package/dist/components/rating.js +1 -1
- package/dist/components/rating.min.css +1 -1
- package/dist/components/rating.min.js +1 -1
- package/dist/components/reset.css +1 -1
- package/dist/components/reset.min.css +1 -1
- package/dist/components/reveal.css +19 -26
- package/dist/components/reveal.min.css +1 -1
- package/dist/components/search.css +41 -58
- package/dist/components/search.js +1 -1
- package/dist/components/search.min.css +1 -1
- package/dist/components/search.min.js +1 -1
- package/dist/components/segment.css +62 -83
- package/dist/components/segment.min.css +1 -1
- package/dist/components/shape.css +10 -14
- package/dist/components/shape.js +1 -1
- package/dist/components/shape.min.css +1 -1
- package/dist/components/shape.min.js +1 -1
- package/dist/components/sidebar.css +41 -58
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.min.css +1 -1
- package/dist/components/sidebar.min.js +1 -1
- package/dist/components/site.css +5 -5
- package/dist/components/site.js +1 -1
- package/dist/components/site.min.css +1 -1
- package/dist/components/site.min.js +1 -1
- package/dist/components/slider.css +27 -37
- package/dist/components/slider.js +1 -1
- package/dist/components/slider.min.js +1 -1
- package/dist/components/state.js +1 -1
- package/dist/components/state.min.js +1 -1
- package/dist/components/statistic.css +29 -41
- package/dist/components/statistic.min.css +1 -1
- package/dist/components/step.css +26 -35
- package/dist/components/step.min.css +1 -1
- package/dist/components/sticky.css +1 -1
- package/dist/components/sticky.js +1 -1
- package/dist/components/sticky.min.css +1 -1
- package/dist/components/sticky.min.js +1 -1
- package/dist/components/tab.css +6 -8
- package/dist/components/tab.js +1 -1
- package/dist/components/tab.min.css +1 -1
- package/dist/components/tab.min.js +1 -1
- package/dist/components/table.css +87 -117
- package/dist/components/table.min.css +1 -1
- package/dist/components/text.css +1 -1
- package/dist/components/text.min.css +1 -1
- package/dist/components/toast.css +4 -6
- package/dist/components/toast.js +1 -1
- package/dist/components/toast.min.css +1 -1
- package/dist/components/toast.min.js +1 -1
- package/dist/components/transition.css +4 -3
- package/dist/components/transition.js +1 -1
- package/dist/components/transition.min.css +1 -1
- package/dist/components/transition.min.js +1 -1
- package/dist/components/visibility.js +1 -1
- package/dist/components/visibility.min.js +1 -1
- package/dist/semantic.css +1719 -1719
- package/dist/semantic.js +26 -26
- package/dist/semantic.min.css +1 -1
- package/dist/semantic.min.js +1 -1
- package/package.json +8 -4
- package/src/definitions/collections/breadcrumb.less +41 -44
- package/src/definitions/collections/form.less +869 -879
- package/src/definitions/collections/grid.less +1690 -1695
- package/src/definitions/collections/menu.less +1493 -1503
- package/src/definitions/collections/message.less +292 -295
- package/src/definitions/collections/table.less +1616 -1622
- package/src/definitions/elements/button.less +1723 -1737
- package/src/definitions/elements/container.less +209 -210
- package/src/definitions/elements/divider.less +205 -206
- package/src/definitions/elements/emoji.less +38 -44
- package/src/definitions/elements/flag.less +44 -46
- package/src/definitions/elements/header.less +337 -345
- package/src/definitions/elements/icon.less +511 -512
- package/src/definitions/elements/image.less +221 -225
- package/src/definitions/elements/input.less +661 -667
- package/src/definitions/elements/label.less +800 -799
- package/src/definitions/elements/list.less +809 -809
- package/src/definitions/elements/loader.less +272 -266
- package/src/definitions/elements/placeholder.less +171 -168
- package/src/definitions/elements/rail.less +91 -91
- package/src/definitions/elements/reveal.less +192 -196
- package/src/definitions/elements/segment.less +743 -747
- package/src/definitions/elements/step.less +425 -433
- package/src/definitions/elements/text.less +32 -34
- package/src/definitions/globals/reset.less +9 -6
- package/src/definitions/globals/site.less +106 -108
- package/src/definitions/modules/accordion.less +242 -246
- package/src/definitions/modules/calendar.less +91 -92
- package/src/definitions/modules/checkbox.less +536 -542
- package/src/definitions/modules/dimmer.less +300 -297
- package/src/definitions/modules/dropdown.less +1577 -1591
- package/src/definitions/modules/embed.less +81 -82
- package/src/definitions/modules/flyout.less +443 -452
- package/src/definitions/modules/modal.less +459 -462
- package/src/definitions/modules/nag.less +134 -137
- package/src/definitions/modules/popup.less +738 -739
- package/src/definitions/modules/progress.less +521 -494
- package/src/definitions/modules/rating.less +94 -101
- package/src/definitions/modules/search.less +375 -383
- package/src/definitions/modules/shape.less +71 -76
- package/src/definitions/modules/sidebar.less +464 -474
- package/src/definitions/modules/slider.less +307 -308
- package/src/definitions/modules/sticky.less +21 -23
- package/src/definitions/modules/tab.less +51 -52
- package/src/definitions/modules/toast.less +584 -586
- package/src/definitions/modules/transition.less +55 -56
- package/src/definitions/views/ad.less +206 -206
- package/src/definitions/views/card.less +968 -970
- package/src/definitions/views/comment.less +190 -198
- package/src/definitions/views/feed.less +220 -224
- package/src/definitions/views/item.less +436 -446
- package/src/definitions/views/statistic.less +269 -280
- package/src/theme.less +29 -32
- package/src/themes/default/globals/colors.less +589 -589
@@ -12,7 +12,7 @@
|
|
12
12
|
Theme
|
13
13
|
*******************************/
|
14
14
|
|
15
|
-
@type
|
15
|
+
@type : 'element';
|
16
16
|
@element : 'segment';
|
17
17
|
|
18
18
|
@import (multiple) '../../theme.config';
|
@@ -22,99 +22,98 @@
|
|
22
22
|
*******************************/
|
23
23
|
|
24
24
|
.ui.segment {
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
25
|
+
position: relative;
|
26
|
+
background: @background;
|
27
|
+
box-shadow: @boxShadow;
|
28
|
+
margin: @margin;
|
29
|
+
padding: @padding;
|
30
|
+
border-radius: @borderRadius;
|
31
|
+
border: @border;
|
32
32
|
}
|
33
33
|
|
34
34
|
.ui.segment:first-child {
|
35
|
-
|
35
|
+
margin-top: 0;
|
36
36
|
}
|
37
37
|
.ui.segment:last-child {
|
38
|
-
|
38
|
+
margin-bottom: 0;
|
39
39
|
}
|
40
40
|
|
41
41
|
& when (@variationSegmentVertical) {
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
42
|
+
/* Vertical */
|
43
|
+
.ui.vertical.segment {
|
44
|
+
margin: 0;
|
45
|
+
padding-left: 0;
|
46
|
+
padding-right: 0;
|
47
47
|
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
48
|
+
background: none transparent;
|
49
|
+
border-radius: 0;
|
50
|
+
box-shadow: none;
|
51
|
+
border: none;
|
52
|
+
border-top: @borderWidth solid @borderColor;
|
53
|
+
}
|
54
|
+
.ui.vertical.segment:first-child {
|
55
|
+
border-top: none;
|
56
|
+
}
|
57
57
|
}
|
58
58
|
|
59
|
-
|
60
|
-
/*-------------------
|
59
|
+
/* -------------------
|
61
60
|
Loose Coupling
|
62
|
-
|
61
|
+
-------------------- */
|
63
62
|
& when (@variationSegmentInverted) {
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
63
|
+
/* Header */
|
64
|
+
.ui.inverted.segments .segment > .ui.header .sub.header,
|
65
|
+
.ui.inverted.segments .segment > .ui.header,
|
66
|
+
.ui.inverted.segment > .ui.header .sub.header,
|
67
|
+
.ui.inverted.segment > .ui.header {
|
68
|
+
color: @white;
|
69
|
+
}
|
71
70
|
}
|
72
71
|
|
73
72
|
& when (@variationSegmentAttached) {
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
73
|
+
/* Label */
|
74
|
+
.ui[class*="bottom attached"].segment > [class*="top attached"].label {
|
75
|
+
border-top-left-radius: 0;
|
76
|
+
border-top-right-radius: 0;
|
77
|
+
}
|
78
|
+
.ui[class*="top attached"].segment > [class*="bottom attached"].label {
|
79
|
+
border-bottom-left-radius: 0;
|
80
|
+
border-bottom-right-radius: 0;
|
81
|
+
}
|
82
|
+
.ui.attached.segment:not(.top):not(.bottom) > [class*="top attached"].label {
|
83
|
+
border-top-left-radius: 0;
|
84
|
+
border-top-right-radius: 0;
|
85
|
+
}
|
86
|
+
.ui.attached.segment:not(.top):not(.bottom) > [class*="bottom attached"].label {
|
87
|
+
border-bottom-left-radius: 0;
|
88
|
+
border-bottom-right-radius: 0;
|
89
|
+
}
|
91
90
|
}
|
92
91
|
|
93
92
|
/* Grid */
|
94
93
|
.ui.page.grid.segment,
|
95
94
|
.ui.grid > .row > .ui.segment.column,
|
96
95
|
.ui.grid > .ui.segment.column {
|
97
|
-
|
98
|
-
|
96
|
+
padding-top: @pageGridMargin;
|
97
|
+
padding-bottom: @pageGridMargin;
|
99
98
|
}
|
100
99
|
.ui.grid.segment {
|
101
|
-
|
102
|
-
|
100
|
+
margin: @margin;
|
101
|
+
border-radius: @borderRadius;
|
103
102
|
}
|
104
103
|
|
105
104
|
/* Table */
|
106
105
|
.ui.basic.table.segment {
|
107
|
-
|
108
|
-
|
109
|
-
|
106
|
+
background: @background;
|
107
|
+
border: @border;
|
108
|
+
box-shadow: @boxShadow;
|
110
109
|
}
|
111
110
|
.ui[class*="very basic"].table.segment {
|
112
|
-
|
111
|
+
padding: @padding;
|
113
112
|
}
|
114
113
|
|
115
114
|
/* Tab */
|
116
115
|
.ui.segment.tab:last-child {
|
117
|
-
|
116
|
+
margin-bottom: @verticalMargin;
|
118
117
|
}
|
119
118
|
|
120
119
|
/*******************************
|
@@ -122,797 +121,794 @@
|
|
122
121
|
*******************************/
|
123
122
|
|
124
123
|
& when (@variationSegmentPlaceholder) {
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
display: flex;
|
131
|
-
flex-direction: column;
|
132
|
-
justify-content: center;
|
133
|
-
align-items: stretch;
|
134
|
-
max-width: initial;
|
135
|
-
animation: none;
|
136
|
-
overflow: visible;
|
137
|
-
padding: @placeholderPadding;
|
138
|
-
min-height: @placeholderMinHeight;
|
139
|
-
background: @placeholderBackground;
|
140
|
-
border-color: @placeholderBorderColor;
|
141
|
-
box-shadow: @placeholderBoxShadow;
|
142
|
-
&.tab {
|
143
|
-
display: none;
|
144
|
-
&.active {
|
124
|
+
/* -------------------
|
125
|
+
Placeholder
|
126
|
+
-------------------- */
|
127
|
+
|
128
|
+
.ui.placeholder.segment {
|
145
129
|
display: flex;
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
130
|
+
flex-direction: column;
|
131
|
+
justify-content: center;
|
132
|
+
align-items: stretch;
|
133
|
+
max-width: initial;
|
134
|
+
animation: none;
|
135
|
+
overflow: visible;
|
136
|
+
padding: @placeholderPadding;
|
137
|
+
min-height: @placeholderMinHeight;
|
138
|
+
background: @placeholderBackground;
|
139
|
+
border-color: @placeholderBorderColor;
|
140
|
+
box-shadow: @placeholderBoxShadow;
|
141
|
+
&.tab {
|
142
|
+
display: none;
|
143
|
+
&.active {
|
144
|
+
display: flex;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
.ui.placeholder.segment .button,
|
150
|
+
.ui.placeholder.segment textarea {
|
151
|
+
display: block;
|
152
|
+
}
|
153
|
+
.ui.placeholder.segment .field,
|
154
|
+
.ui.placeholder.segment textarea,
|
155
|
+
.ui.placeholder.segment > .ui.input,
|
156
|
+
.ui.placeholder.segment .button {
|
157
|
+
max-width: @placeholderContentMaxWidth;
|
158
|
+
margin-left: auto;
|
159
|
+
margin-right: auto;
|
160
|
+
}
|
161
|
+
.ui.placeholder.segment .column .button,
|
162
|
+
.ui.placeholder.segment .column .field,
|
163
|
+
.ui.placeholder.segment .column textarea,
|
164
|
+
.ui.placeholder.segment .column > .ui.input {
|
165
|
+
max-width: @placeholderContentMaxWidth;
|
166
|
+
margin-left: auto;
|
167
|
+
margin-right: auto;
|
168
|
+
}
|
169
|
+
|
170
|
+
.ui.placeholder.segment > .inline {
|
171
|
+
align-self: center;
|
172
|
+
}
|
173
|
+
.ui.placeholder.segment > .inline > .button {
|
174
|
+
display: inline-block;
|
175
|
+
width: auto;
|
176
|
+
margin: @placeholderContentInlineButtonMargin;
|
177
|
+
}
|
178
|
+
.ui.placeholder.segment > .inline > .button:last-child {
|
179
|
+
margin-right: 0;
|
180
|
+
}
|
182
181
|
}
|
183
182
|
|
184
183
|
& when (@variationSegmentPiled) {
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
184
|
+
/* -------------------
|
185
|
+
Piled
|
186
|
+
-------------------- */
|
187
|
+
|
188
|
+
.ui.piled.segments,
|
189
|
+
.ui.piled.segment {
|
190
|
+
margin: @piledMargin 0;
|
191
|
+
box-shadow: @piledBoxShadow;
|
192
|
+
z-index: @piledZIndex;
|
193
|
+
}
|
194
|
+
.ui.piled.segment:first-child {
|
195
|
+
margin-top: 0;
|
196
|
+
}
|
197
|
+
.ui.piled.segment:last-child {
|
198
|
+
margin-bottom: 0;
|
199
|
+
}
|
200
|
+
.ui.piled.segments::after,
|
201
|
+
.ui.piled.segments::before,
|
202
|
+
.ui.piled.segment::after,
|
203
|
+
.ui.piled.segment::before {
|
204
|
+
background-color: @white;
|
205
|
+
visibility: visible;
|
206
|
+
content: '';
|
207
|
+
display: block;
|
208
|
+
height: 100%;
|
209
|
+
left: 0;
|
210
|
+
position: absolute;
|
211
|
+
width: 100%;
|
212
|
+
border: @piledBorder;
|
213
|
+
box-shadow: @piledBoxShadow;
|
214
|
+
}
|
215
|
+
.ui.piled.segments::before,
|
216
|
+
.ui.piled.segment::before {
|
217
|
+
transform: rotate(-@piledDegrees);
|
218
|
+
top: 0;
|
219
|
+
z-index: -2;
|
220
|
+
}
|
221
|
+
.ui.piled.segments::after,
|
222
|
+
.ui.piled.segment::after {
|
223
|
+
transform: rotate(@piledDegrees);
|
224
|
+
top: 0;
|
225
|
+
z-index: -1;
|
226
|
+
}
|
227
|
+
& when (@variationSegmentAttached) {
|
228
|
+
/* Piled Attached */
|
229
|
+
.ui[class*="top attached"].piled.segment {
|
230
|
+
margin-top: @piledMargin;
|
231
|
+
margin-bottom: 0;
|
232
|
+
}
|
233
|
+
.ui.piled.segment[class*="top attached"]:first-child {
|
234
|
+
margin-top: 0;
|
235
|
+
}
|
236
|
+
.ui.piled.segment[class*="bottom attached"] {
|
237
|
+
margin-top: 0;
|
238
|
+
margin-bottom: @piledMargin;
|
239
|
+
}
|
240
|
+
.ui.piled.segment[class*="bottom attached"]:last-child {
|
241
|
+
margin-bottom: 0;
|
242
|
+
}
|
243
|
+
}
|
245
244
|
}
|
246
245
|
|
247
246
|
& when (@variationSegmentStacked) {
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
247
|
+
/* -------------------
|
248
|
+
Stacked
|
249
|
+
-------------------- */
|
250
|
+
|
251
|
+
.ui.stacked.segment {
|
252
|
+
padding-bottom: @stackedPadding;
|
253
|
+
}
|
254
|
+
.ui.stacked.segments::before,
|
255
|
+
.ui.stacked.segments::after,
|
256
|
+
.ui.stacked.segment::before,
|
257
|
+
.ui.stacked.segment::after {
|
258
|
+
content: '';
|
259
|
+
position: absolute;
|
260
|
+
bottom: -(@stackedHeight / 2);
|
261
|
+
left: 0;
|
262
|
+
|
263
|
+
border-top: 1px solid @borderColor;
|
264
|
+
background: @stackedPageBackground;
|
265
|
+
|
266
|
+
width: 100%;
|
267
|
+
height: @stackedHeight;
|
268
|
+
visibility: visible;
|
269
|
+
}
|
270
|
+
.ui.stacked.segments::before,
|
271
|
+
.ui.stacked.segment::before {
|
272
|
+
display: none;
|
273
|
+
}
|
274
|
+
|
275
|
+
/* Add additional page */
|
276
|
+
.ui.tall.stacked.segments::before,
|
277
|
+
.ui.tall.stacked.segment::before {
|
278
|
+
display: block;
|
279
|
+
bottom: 0;
|
280
|
+
}
|
281
|
+
& when (@variationSegmentInverted) {
|
282
|
+
/* Inverted */
|
283
|
+
.ui.stacked.inverted.segments::before,
|
284
|
+
.ui.stacked.inverted.segments::after,
|
285
|
+
.ui.stacked.inverted.segment::before,
|
286
|
+
.ui.stacked.inverted.segment::after {
|
287
|
+
background-color: @subtleTransparentBlack;
|
288
|
+
border-top: 1px solid @selectedBorderColor;
|
289
|
+
}
|
290
|
+
}
|
292
291
|
}
|
293
292
|
|
294
293
|
& when (@variationSegmentPadded) {
|
295
|
-
|
296
|
-
|
297
|
-
|
294
|
+
/* -------------------
|
295
|
+
Padded
|
296
|
+
-------------------- */
|
298
297
|
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
298
|
+
.ui.padded.segment {
|
299
|
+
padding: @paddedSegmentPadding;
|
300
|
+
}
|
301
|
+
& when (@variationSegmentVeryPadded) {
|
302
|
+
.ui[class*="very padded"].segment {
|
303
|
+
padding: @veryPaddedSegmentPadding;
|
304
|
+
}
|
305
305
|
}
|
306
|
-
}
|
307
306
|
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
307
|
+
& when (@variationSegmentVertical) {
|
308
|
+
/* Padded vertical */
|
309
|
+
.ui.padded.segment.vertical.segment,
|
310
|
+
.ui[class*="very padded"].vertical.segment {
|
311
|
+
padding-left: 0;
|
312
|
+
padding-right: 0;
|
313
|
+
}
|
314
314
|
}
|
315
|
-
}
|
316
315
|
}
|
317
316
|
|
318
317
|
& when (@variationSegmentCompact) {
|
319
|
-
|
320
|
-
|
321
|
-
|
318
|
+
/* -------------------
|
319
|
+
Compact
|
320
|
+
-------------------- */
|
322
321
|
|
323
|
-
|
324
|
-
|
325
|
-
|
322
|
+
.ui.compact.segment {
|
323
|
+
display: table;
|
324
|
+
}
|
326
325
|
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
326
|
+
/* Compact Group */
|
327
|
+
.ui.compact.segments {
|
328
|
+
display: inline-flex;
|
329
|
+
}
|
330
|
+
.ui.compact.segments .segment,
|
331
|
+
.ui.segments .compact.segment {
|
332
|
+
display: block;
|
333
|
+
flex: 0 1 auto;
|
334
|
+
}
|
336
335
|
}
|
337
336
|
|
338
337
|
& when (@variationSegmentCircular) {
|
339
|
-
|
340
|
-
|
341
|
-
|
338
|
+
/* -------------------
|
339
|
+
Circular
|
340
|
+
-------------------- */
|
342
341
|
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
342
|
+
.ui.circular.segment {
|
343
|
+
display: table-cell;
|
344
|
+
padding: @circularPadding;
|
345
|
+
text-align: center;
|
346
|
+
vertical-align: middle;
|
347
|
+
border-radius: 500em;
|
348
|
+
}
|
350
349
|
}
|
351
350
|
|
352
351
|
& when (@variationSegmentRaised) {
|
353
|
-
|
354
|
-
|
355
|
-
|
352
|
+
/* -------------------
|
353
|
+
Raised
|
354
|
+
-------------------- */
|
356
355
|
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
356
|
+
.ui.raised.raised.segments,
|
357
|
+
.ui.raised.raised.segment {
|
358
|
+
box-shadow: @raisedBoxShadow;
|
359
|
+
}
|
361
360
|
}
|
362
361
|
|
363
362
|
& when (@variationSegmentGroups) {
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
363
|
+
/*******************************
|
364
|
+
Groups
|
365
|
+
*******************************/
|
366
|
+
|
367
|
+
/* Group */
|
368
|
+
.ui.segments {
|
369
|
+
flex-direction: column;
|
370
|
+
position: relative;
|
371
|
+
margin: @groupedMargin;
|
372
|
+
border: @groupedBorder;
|
373
|
+
box-shadow: @groupedBoxShadow;
|
374
|
+
border-radius: @groupedBorderRadius;
|
375
|
+
}
|
376
|
+
.ui.segments:first-child {
|
377
|
+
margin-top: 0;
|
378
|
+
}
|
379
|
+
.ui.segments:last-child {
|
380
|
+
margin-bottom: 0;
|
381
|
+
}
|
382
|
+
|
383
|
+
/* Nested Segment */
|
384
|
+
.ui.segments > .segment {
|
385
|
+
top: 0;
|
386
|
+
bottom: 0;
|
387
|
+
border-radius: 0;
|
388
|
+
margin: @groupedSegmentMargin;
|
389
|
+
width: @groupedSegmentWidth;
|
390
|
+
box-shadow: @groupedSegmentBoxShadow;
|
391
|
+
border: @groupedSegmentBorder;
|
392
|
+
border-top: @groupedSegmentDivider;
|
393
|
+
}
|
394
|
+
|
395
|
+
.ui.segments:not(.horizontal) > .segment:first-child {
|
396
|
+
top: @attachedTopOffset;
|
397
|
+
bottom: 0;
|
398
|
+
border-top: none;
|
399
|
+
margin-top: 0;
|
400
|
+
margin-bottom: 0;
|
401
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
402
|
+
}
|
403
|
+
|
404
|
+
/* Bottom */
|
405
|
+
.ui.segments:not(.horizontal) > .segment:last-child {
|
406
|
+
top: @attachedBottomOffset;
|
407
|
+
bottom: 0;
|
408
|
+
margin-top: 0;
|
409
|
+
margin-bottom: 0;
|
410
|
+
box-shadow: @attachedBottomBoxShadow;
|
411
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
412
|
+
}
|
413
|
+
|
414
|
+
/* Only */
|
415
|
+
.ui.segments:not(.horizontal) > .segment:only-child {
|
416
|
+
border-radius: @borderRadius;
|
417
|
+
}
|
418
|
+
|
419
|
+
/* Nested Group */
|
420
|
+
.ui.segments > .ui.segments {
|
421
|
+
border-top: @groupedSegmentDivider;
|
422
|
+
margin: @nestedGroupMargin;
|
423
|
+
}
|
424
|
+
.ui.segments > .segments:first-child {
|
425
|
+
border-top: none;
|
426
|
+
}
|
427
|
+
.ui.segments > .segment + .segments:not(.horizontal) {
|
428
|
+
margin-top: 0;
|
429
|
+
}
|
430
|
+
|
431
|
+
& when (@variationSegmentHorizontal) {
|
432
|
+
/* Horizontal Group */
|
433
|
+
.ui.horizontal.segments {
|
434
|
+
display: flex;
|
435
|
+
flex-direction: row;
|
436
|
+
background-color: transparent;
|
437
|
+
padding: 0;
|
438
|
+
box-shadow: @groupedBoxShadow;
|
439
|
+
margin: @groupedMargin;
|
440
|
+
border-radius: @groupedBorderRadius;
|
441
|
+
border: @groupedBorder;
|
442
|
+
}
|
443
|
+
.ui.stackable.horizontal.segments {
|
444
|
+
flex-wrap: wrap;
|
445
|
+
}
|
433
446
|
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
border-radius: @groupedBorderRadius;
|
444
|
-
border: @groupedBorder;
|
445
|
-
}
|
446
|
-
.ui.stackable.horizontal.segments {
|
447
|
-
flex-wrap: wrap;
|
448
|
-
}
|
447
|
+
/* Nested Horizontal Group */
|
448
|
+
.ui.segments > .horizontal.segments {
|
449
|
+
margin: 0;
|
450
|
+
background-color: transparent;
|
451
|
+
border-radius: 0;
|
452
|
+
border: none;
|
453
|
+
box-shadow: none;
|
454
|
+
border-top: @groupedSegmentDivider;
|
455
|
+
}
|
449
456
|
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
457
|
+
/* Horizontal Segment */
|
458
|
+
.ui.horizontal.segments:not(.compact) > .segment:not(.compact) {
|
459
|
+
flex: 1 1 auto;
|
460
|
+
& when (@supportIE) {
|
461
|
+
-ms-flex: 1 1 0; /* Solves #2550 MS Flex */
|
462
|
+
}
|
463
|
+
}
|
464
|
+
.ui.horizontal.segments > .segment {
|
465
|
+
margin: 0;
|
466
|
+
min-width: 0;
|
467
|
+
border-radius: 0;
|
468
|
+
border: none;
|
469
|
+
box-shadow: none;
|
470
|
+
border-left: @borderWidth solid @borderColor;
|
471
|
+
}
|
459
472
|
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
border-left: @borderWidth solid @borderColor;
|
474
|
-
}
|
473
|
+
/* Border Fixes */
|
474
|
+
.ui.segments > .horizontal.segments:first-child {
|
475
|
+
border-top: none;
|
476
|
+
}
|
477
|
+
.ui.horizontal.segments:not(.stackable) > .segment:first-child {
|
478
|
+
border-left: none;
|
479
|
+
}
|
480
|
+
.ui.horizontal.segments > .segment:first-child {
|
481
|
+
border-radius: @borderRadius 0 0 @borderRadius;
|
482
|
+
}
|
483
|
+
.ui.horizontal.segments > .segment:last-child {
|
484
|
+
border-radius: 0 @borderRadius @borderRadius 0;
|
485
|
+
}
|
475
486
|
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
.ui.horizontal.segments:not(.stackable) > .segment:first-child {
|
481
|
-
border-left: none;
|
482
|
-
}
|
483
|
-
.ui.horizontal.segments > .segment:first-child {
|
484
|
-
border-radius: @borderRadius 0 0 @borderRadius;
|
485
|
-
}
|
486
|
-
.ui.horizontal.segments > .segment:last-child {
|
487
|
-
border-radius: 0 @borderRadius @borderRadius 0;
|
488
|
-
}
|
489
|
-
/* Equal Width */
|
490
|
-
.ui[class*="equal width"].horizontal.segments > .segment {
|
491
|
-
width: 100%;
|
487
|
+
/* Equal Width */
|
488
|
+
.ui[class*="equal width"].horizontal.segments > .segment {
|
489
|
+
width: 100%;
|
490
|
+
}
|
492
491
|
}
|
493
|
-
}
|
494
492
|
}
|
495
493
|
|
496
|
-
|
497
494
|
/*******************************
|
498
495
|
States
|
499
496
|
*******************************/
|
500
497
|
|
501
498
|
& when (@variationSegmentDisabled) {
|
502
|
-
|
503
|
-
|
504
|
-
|
499
|
+
/* --------------
|
500
|
+
Disabled
|
501
|
+
--------------- */
|
505
502
|
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
503
|
+
.ui.disabled.segments,
|
504
|
+
.ui.disabled.segment {
|
505
|
+
opacity: @disabledOpacity;
|
506
|
+
color: @disabledTextColor;
|
507
|
+
pointer-events: none;
|
508
|
+
user-select: none;
|
509
|
+
}
|
513
510
|
}
|
514
511
|
|
515
512
|
& when (@variationSegmentLoading) {
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
513
|
+
/* --------------
|
514
|
+
Loading
|
515
|
+
--------------- */
|
516
|
+
|
517
|
+
.ui.loading.segments,
|
518
|
+
.ui.loading.segment {
|
519
|
+
position: relative;
|
520
|
+
cursor: default;
|
521
|
+
pointer-events: none;
|
522
|
+
user-select: none;
|
523
|
+
transition: all 0s linear;
|
524
|
+
}
|
525
|
+
.ui.loading.segments::before,
|
526
|
+
.ui.loading.segment::before {
|
527
|
+
position: absolute;
|
528
|
+
content: '';
|
529
|
+
top: 0;
|
530
|
+
left: 0;
|
531
|
+
background: @loaderDimmerColor;
|
532
|
+
width: 100%;
|
533
|
+
height: 100%;
|
534
|
+
border-radius: @borderRadius;
|
535
|
+
z-index: @loaderDimmerZIndex;
|
536
|
+
}
|
537
|
+
.ui.loading.segments::after,
|
538
|
+
.ui.loading.segment::after {
|
539
|
+
position: absolute;
|
540
|
+
content: '';
|
541
|
+
top: 50%;
|
542
|
+
left: 50%;
|
543
|
+
|
544
|
+
margin: @loaderMargin;
|
545
|
+
width: @loaderSize;
|
546
|
+
height: @loaderSize;
|
547
|
+
|
548
|
+
animation: loader @loaderSpeed infinite linear;
|
549
|
+
border: @loaderLineWidth solid @loaderLineColor;
|
550
|
+
border-radius: @circularRadius;
|
551
|
+
|
552
|
+
box-shadow: 0 0 0 1px transparent;
|
553
|
+
visibility: visible;
|
554
|
+
z-index: @loaderLineZIndex;
|
555
|
+
}
|
559
556
|
}
|
560
557
|
|
561
|
-
|
562
|
-
|
563
558
|
/*******************************
|
564
559
|
Variations
|
565
560
|
*******************************/
|
566
561
|
|
567
562
|
& when (@variationSegmentBasic) {
|
568
|
-
|
569
|
-
|
570
|
-
|
563
|
+
/* -------------------
|
564
|
+
Basic
|
565
|
+
-------------------- */
|
571
566
|
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
567
|
+
.ui.basic.segment,
|
568
|
+
.ui.segments .ui.basic.segment,
|
569
|
+
.ui.basic.segments {
|
570
|
+
background: @basicBackground;
|
571
|
+
box-shadow: @basicBoxShadow;
|
572
|
+
border: @basicBorder;
|
573
|
+
border-radius: @basicBorderRadius;
|
574
|
+
}
|
580
575
|
}
|
581
576
|
|
582
577
|
& when (@variationSegmentClearing) {
|
583
|
-
|
584
|
-
|
585
|
-
|
578
|
+
/* -------------------
|
579
|
+
Clearing
|
580
|
+
-------------------- */
|
586
581
|
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
582
|
+
.ui.clearing.segment::after {
|
583
|
+
content: "";
|
584
|
+
display: block;
|
585
|
+
clear: both;
|
586
|
+
}
|
592
587
|
}
|
593
588
|
|
594
|
-
|
589
|
+
/* -------------------
|
595
590
|
Colors
|
596
|
-
|
591
|
+
-------------------- */
|
597
592
|
& when not (@variationSegmentColors = false) {
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
593
|
+
each(@variationSegmentColors, {
|
594
|
+
@color: @value;
|
595
|
+
@c: @colors[@@color][color];
|
596
|
+
& when not (@color=primary) and not (@color=secondary) {
|
597
|
+
.ui.@{color}.segment.segment.segment.segment.segment:not(.inverted) {
|
598
|
+
border-top: @coloredBorderSize solid @c;
|
599
|
+
}
|
600
|
+
& when (@variationSegmentInverted) {
|
601
|
+
.ui.inverted.@{color}.segment.segment.segment.segment.segment {
|
602
|
+
background-color: @c;
|
603
|
+
color: @white;
|
604
|
+
}
|
605
|
+
}
|
609
606
|
}
|
610
|
-
|
611
|
-
}
|
612
|
-
})
|
607
|
+
})
|
613
608
|
}
|
614
609
|
|
615
610
|
& when (@variationSegmentAligned) {
|
616
|
-
|
617
|
-
|
618
|
-
|
611
|
+
/* -------------------
|
612
|
+
Aligned
|
613
|
+
-------------------- */
|
619
614
|
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
615
|
+
.ui[class*="left aligned"].segment {
|
616
|
+
text-align: left;
|
617
|
+
}
|
618
|
+
.ui[class*="right aligned"].segment {
|
619
|
+
text-align: right;
|
620
|
+
}
|
621
|
+
.ui[class*="center aligned"].segment {
|
622
|
+
text-align: center;
|
623
|
+
}
|
629
624
|
}
|
630
625
|
|
631
626
|
& when (@variationSegmentFloating) {
|
632
|
-
|
633
|
-
|
634
|
-
|
627
|
+
/* -------------------
|
628
|
+
Floated
|
629
|
+
-------------------- */
|
635
630
|
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
631
|
+
.ui.floated.segment,
|
632
|
+
.ui[class*="left floated"].segment {
|
633
|
+
float: left;
|
634
|
+
margin-right: @floatedDistance;
|
635
|
+
}
|
636
|
+
.ui[class*="right floated"].segment {
|
637
|
+
float: right;
|
638
|
+
margin-left: @floatedDistance;
|
639
|
+
}
|
645
640
|
}
|
646
641
|
|
647
642
|
& when (@variationSegmentInverted) {
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
}
|
689
|
-
|
690
|
-
|
643
|
+
/* -------------------
|
644
|
+
Inverted
|
645
|
+
-------------------- */
|
646
|
+
.ui.inverted.segments,
|
647
|
+
.ui.inverted.segments .segment,
|
648
|
+
.ui.inverted.segment {
|
649
|
+
border: none;
|
650
|
+
box-shadow: none;
|
651
|
+
}
|
652
|
+
.ui.inverted.segments .segment,
|
653
|
+
.ui.inverted.segment,
|
654
|
+
.ui.primary.inverted.segment {
|
655
|
+
background: @invertedBackground;
|
656
|
+
color: @invertedTextColor;
|
657
|
+
}
|
658
|
+
|
659
|
+
/* Nested */
|
660
|
+
.ui.inverted.segment .segment {
|
661
|
+
color: @textColor;
|
662
|
+
}
|
663
|
+
.ui.inverted.segment .inverted.segment {
|
664
|
+
color: @invertedTextColor;
|
665
|
+
}
|
666
|
+
& when (@variationSegmentAttached) {
|
667
|
+
/* Attached */
|
668
|
+
.ui.ui.inverted.attached.segment {
|
669
|
+
border-color: @solidWhiteBorderColor;
|
670
|
+
}
|
671
|
+
}
|
672
|
+
& when (@variationSegmentLoading) {
|
673
|
+
/* Loading */
|
674
|
+
.ui.inverted.loading.segments,
|
675
|
+
.ui.inverted.loading.segment {
|
676
|
+
color: @invertedLoaderLineColor;
|
677
|
+
}
|
678
|
+
.ui.inverted.loading.segments::before,
|
679
|
+
.ui.inverted.loading.segment::before {
|
680
|
+
background: @loaderInvertedDimmerColor;
|
681
|
+
}
|
682
|
+
}
|
683
|
+
}
|
684
|
+
|
685
|
+
/* -------------------
|
691
686
|
Emphasis
|
692
|
-
|
687
|
+
-------------------- */
|
693
688
|
& when (@variationSegmentSecondary) {
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
689
|
+
/* Secondary */
|
690
|
+
.ui.secondary.segment {
|
691
|
+
background: @secondaryBackground;
|
692
|
+
color: @secondaryColor;
|
693
|
+
}
|
694
|
+
& when (@variationSegmentInverted) {
|
695
|
+
.ui.secondary.inverted.segment {
|
696
|
+
background: @secondaryInvertedBackground;
|
697
|
+
color: @secondaryInvertedColor;
|
698
|
+
}
|
703
699
|
}
|
704
|
-
}
|
705
700
|
}
|
706
701
|
|
707
702
|
& when (@variationSegmentTertiary) {
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
703
|
+
/* Tertiary */
|
704
|
+
.ui.tertiary.segment {
|
705
|
+
background: @tertiaryBackground;
|
706
|
+
color: @tertiaryColor;
|
707
|
+
}
|
708
|
+
& when (@variationSegmentInverted) {
|
709
|
+
.ui.tertiary.inverted.segment {
|
710
|
+
background: @tertiaryInvertedBackground;
|
711
|
+
color: @tertiaryInvertedColor;
|
712
|
+
}
|
717
713
|
}
|
718
|
-
}
|
719
714
|
}
|
720
715
|
|
721
716
|
& when (@variationSegmentAttached) {
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
}
|
739
|
-
.ui.attached:not(.message):not(.text) + .ui.attached.segment:not(.top) {
|
740
|
-
border-top: none;
|
741
|
-
}
|
742
|
-
|
743
|
-
/* Top */
|
744
|
-
.ui.segment[class*="top attached"] {
|
745
|
-
bottom: 0;
|
746
|
-
margin-bottom: 0;
|
747
|
-
top: @attachedTopOffset;
|
748
|
-
margin-top: @verticalMargin;
|
749
|
-
border-radius: @borderRadius @borderRadius 0 0;
|
750
|
-
}
|
751
|
-
.ui.segment[class*="top attached"]:first-child {
|
752
|
-
margin-top: 0;
|
753
|
-
}
|
754
|
-
.ui.tab.segment[class*="top attached"]:first-child {
|
755
|
-
margin-top: @verticalMargin;
|
756
|
-
}
|
757
|
-
|
758
|
-
/* Bottom */
|
759
|
-
.ui.segment[class*="bottom attached"] {
|
760
|
-
bottom: 0;
|
761
|
-
margin-top: 0;
|
762
|
-
top: @attachedBottomOffset;
|
763
|
-
margin-bottom: @verticalMargin;
|
764
|
-
box-shadow: @attachedBottomBoxShadow;
|
765
|
-
border-radius: 0 0 @borderRadius @borderRadius;
|
766
|
-
}
|
767
|
-
.ui.segment[class*="bottom attached"]:last-child {
|
768
|
-
margin-bottom: 0;
|
769
|
-
}
|
770
|
-
.ui.tab.segment[class*="bottom attached"]:last-child {
|
771
|
-
margin-bottom: @verticalMargin;
|
772
|
-
}
|
773
|
-
}
|
774
|
-
|
775
|
-
& when (@variationSegmentFitted) {
|
776
|
-
/*--------------
|
777
|
-
Fitted
|
778
|
-
---------------*/
|
779
|
-
|
780
|
-
.ui.fitted.segment:not(.horizontally) {
|
781
|
-
padding-top: 0;
|
782
|
-
padding-bottom: 0;
|
783
|
-
}
|
784
|
-
.ui.fitted.segment:not(.vertically) {
|
785
|
-
padding-left: 0;
|
786
|
-
padding-right: 0;
|
787
|
-
}
|
788
|
-
}
|
789
|
-
|
790
|
-
& when (@variationSegmentScrolling) {
|
791
|
-
/*--------------
|
792
|
-
Scrolling
|
793
|
-
---------------*/
|
794
|
-
.ui.scrolling.segment {
|
795
|
-
overflow: auto;
|
796
|
-
overscroll-behavior: @overscrollBehavior;
|
797
|
-
}
|
798
|
-
@media only screen and (max-width : @largestMobileScreen) {
|
799
|
-
& when (@variationSegmentScrollingShort) {
|
800
|
-
.ui.scrolling.segment.short {
|
801
|
-
max-height: @scrollingMobileMaxHeight * 0.75;
|
802
|
-
}
|
803
|
-
}
|
804
|
-
& when (@variationSegmentScrollingVeryShort) {
|
805
|
-
.ui.scrolling.segment[class*="very short"] {
|
806
|
-
max-height: @scrollingMobileMaxHeight * 0.5;
|
807
|
-
}
|
717
|
+
/* -------------------
|
718
|
+
Attached
|
719
|
+
-------------------- */
|
720
|
+
|
721
|
+
/* Middle */
|
722
|
+
.ui.attached.segment {
|
723
|
+
top: 0;
|
724
|
+
bottom: 0;
|
725
|
+
border-radius: 0;
|
726
|
+
margin: 0 @attachedHorizontalOffset;
|
727
|
+
width: @attachedWidth;
|
728
|
+
max-width: @attachedWidth;
|
729
|
+
box-shadow: @attachedBoxShadow;
|
730
|
+
&:not(.basic) {
|
731
|
+
border: @attachedBorder;
|
732
|
+
}
|
808
733
|
}
|
809
|
-
.ui.
|
810
|
-
|
734
|
+
.ui.attached:not(.message):not(.text) + .ui.attached.segment:not(.top) {
|
735
|
+
border-top: none;
|
736
|
+
}
|
737
|
+
|
738
|
+
/* Top */
|
739
|
+
.ui.segment[class*="top attached"] {
|
740
|
+
bottom: 0;
|
741
|
+
margin-bottom: 0;
|
742
|
+
top: @attachedTopOffset;
|
743
|
+
margin-top: @verticalMargin;
|
744
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
811
745
|
}
|
812
|
-
|
813
|
-
|
814
|
-
max-height: @scrollingMobileMaxHeight * 2;
|
815
|
-
}
|
746
|
+
.ui.segment[class*="top attached"]:first-child {
|
747
|
+
margin-top: 0;
|
816
748
|
}
|
817
|
-
|
818
|
-
|
819
|
-
max-height: @scrollingMobileMaxHeight * 3;
|
820
|
-
}
|
749
|
+
.ui.tab.segment[class*="top attached"]:first-child {
|
750
|
+
margin-top: @verticalMargin;
|
821
751
|
}
|
822
|
-
}
|
823
752
|
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
753
|
+
/* Bottom */
|
754
|
+
.ui.segment[class*="bottom attached"] {
|
755
|
+
bottom: 0;
|
756
|
+
margin-top: 0;
|
757
|
+
top: @attachedBottomOffset;
|
758
|
+
margin-bottom: @verticalMargin;
|
759
|
+
box-shadow: @attachedBottomBoxShadow;
|
760
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
829
761
|
}
|
830
|
-
|
831
|
-
|
832
|
-
max-height: @scrollingTabletMaxHeight * 0.5;
|
833
|
-
}
|
762
|
+
.ui.segment[class*="bottom attached"]:last-child {
|
763
|
+
margin-bottom: 0;
|
834
764
|
}
|
835
|
-
.ui.
|
836
|
-
|
837
|
-
}
|
838
|
-
& when (@variationSegmentScrollingLong) {
|
839
|
-
.ui.scrolling.segment.long {
|
840
|
-
max-height: @scrollingTabletMaxHeight * 2;
|
841
|
-
}
|
842
|
-
}
|
843
|
-
& when (@variationSegmentScrollingVeryLong) {
|
844
|
-
.ui.scrolling.segment[class*="very long"] {
|
845
|
-
max-height: @scrollingTabletMaxHeight * 3;
|
846
|
-
}
|
847
|
-
}
|
848
|
-
}
|
849
|
-
@media only screen and (min-width: @computerBreakpoint) {
|
850
|
-
& when (@variationSegmentScrollingShort) {
|
851
|
-
.ui.scrolling.segment.short {
|
852
|
-
max-height: @scrollingComputerMaxHeight * 0.75;
|
853
|
-
}
|
854
|
-
}
|
855
|
-
& when (@variationSegmentScrollingVeryShort) {
|
856
|
-
.ui.scrolling.segment[class*="very short"] {
|
857
|
-
max-height: @scrollingComputerMaxHeight * 0.5;
|
858
|
-
}
|
765
|
+
.ui.tab.segment[class*="bottom attached"]:last-child {
|
766
|
+
margin-bottom: @verticalMargin;
|
859
767
|
}
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
875
|
-
& when (@variationSegmentScrollingShort) {
|
876
|
-
.ui.scrolling.segment.short {
|
877
|
-
max-height: @scrollingWidescreenMaxHeight * 0.75;
|
878
|
-
}
|
879
|
-
}
|
880
|
-
& when (@variationSegmentScrollingVeryShort) {
|
881
|
-
.ui.scrolling.segment[class*="very short"] {
|
882
|
-
max-height: @scrollingWidescreenMaxHeight * 0.5;
|
883
|
-
}
|
768
|
+
}
|
769
|
+
|
770
|
+
& when (@variationSegmentFitted) {
|
771
|
+
/* --------------
|
772
|
+
Fitted
|
773
|
+
--------------- */
|
774
|
+
|
775
|
+
.ui.fitted.segment:not(.horizontally) {
|
776
|
+
padding-top: 0;
|
777
|
+
padding-bottom: 0;
|
778
|
+
}
|
779
|
+
.ui.fitted.segment:not(.vertically) {
|
780
|
+
padding-left: 0;
|
781
|
+
padding-right: 0;
|
884
782
|
}
|
783
|
+
}
|
784
|
+
|
785
|
+
& when (@variationSegmentScrolling) {
|
786
|
+
/* --------------
|
787
|
+
Scrolling
|
788
|
+
--------------- */
|
885
789
|
.ui.scrolling.segment {
|
886
|
-
|
790
|
+
overflow: auto;
|
791
|
+
overscroll-behavior: @overscrollBehavior;
|
792
|
+
}
|
793
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
794
|
+
& when (@variationSegmentScrollingShort) {
|
795
|
+
.ui.scrolling.segment.short {
|
796
|
+
max-height: @scrollingMobileMaxHeight * 0.75;
|
797
|
+
}
|
798
|
+
}
|
799
|
+
& when (@variationSegmentScrollingVeryShort) {
|
800
|
+
.ui.scrolling.segment[class*="very short"] {
|
801
|
+
max-height: @scrollingMobileMaxHeight * 0.5;
|
802
|
+
}
|
803
|
+
}
|
804
|
+
.ui.scrolling.segment {
|
805
|
+
max-height: @scrollingMobileMaxHeight;
|
806
|
+
}
|
807
|
+
& when (@variationSegmentScrollingLong) {
|
808
|
+
.ui.scrolling.segment.long {
|
809
|
+
max-height: @scrollingMobileMaxHeight * 2;
|
810
|
+
}
|
811
|
+
}
|
812
|
+
& when (@variationSegmentScrollingVeryLong) {
|
813
|
+
.ui.scrolling.segment[class*="very long"] {
|
814
|
+
max-height: @scrollingMobileMaxHeight * 3;
|
815
|
+
}
|
816
|
+
}
|
817
|
+
}
|
818
|
+
|
819
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
820
|
+
& when (@variationSegmentScrollingShort) {
|
821
|
+
.ui.scrolling.segment.short {
|
822
|
+
max-height: @scrollingTabletMaxHeight * 0.75;
|
823
|
+
}
|
824
|
+
}
|
825
|
+
& when (@variationSegmentScrollingVeryShort) {
|
826
|
+
.ui.scrolling.segment[class*="very short"] {
|
827
|
+
max-height: @scrollingTabletMaxHeight * 0.5;
|
828
|
+
}
|
829
|
+
}
|
830
|
+
.ui.scrolling.segment {
|
831
|
+
max-height: @scrollingTabletMaxHeight;
|
832
|
+
}
|
833
|
+
& when (@variationSegmentScrollingLong) {
|
834
|
+
.ui.scrolling.segment.long {
|
835
|
+
max-height: @scrollingTabletMaxHeight * 2;
|
836
|
+
}
|
837
|
+
}
|
838
|
+
& when (@variationSegmentScrollingVeryLong) {
|
839
|
+
.ui.scrolling.segment[class*="very long"] {
|
840
|
+
max-height: @scrollingTabletMaxHeight * 3;
|
841
|
+
}
|
842
|
+
}
|
887
843
|
}
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
844
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
845
|
+
& when (@variationSegmentScrollingShort) {
|
846
|
+
.ui.scrolling.segment.short {
|
847
|
+
max-height: @scrollingComputerMaxHeight * 0.75;
|
848
|
+
}
|
849
|
+
}
|
850
|
+
& when (@variationSegmentScrollingVeryShort) {
|
851
|
+
.ui.scrolling.segment[class*="very short"] {
|
852
|
+
max-height: @scrollingComputerMaxHeight * 0.5;
|
853
|
+
}
|
854
|
+
}
|
855
|
+
.ui.scrolling.segment {
|
856
|
+
max-height: @scrollingComputerMaxHeight;
|
857
|
+
}
|
858
|
+
& when (@variationSegmentScrollingLong) {
|
859
|
+
.ui.scrolling.segment.long {
|
860
|
+
max-height: @scrollingComputerMaxHeight * 2;
|
861
|
+
}
|
862
|
+
}
|
863
|
+
& when (@variationSegmentScrollingVeryLong) {
|
864
|
+
.ui.scrolling.segment[class*="very long"] {
|
865
|
+
max-height: @scrollingComputerMaxHeight * 3;
|
866
|
+
}
|
867
|
+
}
|
892
868
|
}
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
869
|
+
@media only screen and (min-width: @widescreenMonitorBreakpoint) {
|
870
|
+
& when (@variationSegmentScrollingShort) {
|
871
|
+
.ui.scrolling.segment.short {
|
872
|
+
max-height: @scrollingWidescreenMaxHeight * 0.75;
|
873
|
+
}
|
874
|
+
}
|
875
|
+
& when (@variationSegmentScrollingVeryShort) {
|
876
|
+
.ui.scrolling.segment[class*="very short"] {
|
877
|
+
max-height: @scrollingWidescreenMaxHeight * 0.5;
|
878
|
+
}
|
879
|
+
}
|
880
|
+
.ui.scrolling.segment {
|
881
|
+
max-height: @scrollingWidescreenMaxHeight;
|
882
|
+
}
|
883
|
+
& when (@variationSegmentScrollingLong) {
|
884
|
+
.ui.scrolling.segment.long {
|
885
|
+
max-height: @scrollingWidescreenMaxHeight * 2;
|
886
|
+
}
|
887
|
+
}
|
888
|
+
& when (@variationSegmentScrollingVeryLong) {
|
889
|
+
.ui.scrolling.segment[class*="very long"] {
|
890
|
+
max-height: @scrollingWidescreenMaxHeight * 3;
|
891
|
+
}
|
892
|
+
}
|
897
893
|
}
|
898
|
-
}
|
899
894
|
}
|
900
|
-
|
895
|
+
|
896
|
+
/* -------------------
|
901
897
|
Size
|
902
|
-
|
898
|
+
-------------------- */
|
903
899
|
|
904
900
|
.ui.segments .segment,
|
905
901
|
.ui.segment {
|
906
|
-
|
902
|
+
font-size: @medium;
|
907
903
|
}
|
908
904
|
& when not (@variationSegmentSizes = false) {
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
905
|
+
each(@variationSegmentSizes, {
|
906
|
+
@s: @@value;
|
907
|
+
.ui.@{value}.segments .segment,
|
908
|
+
.ui.@{value}.segment {
|
909
|
+
font-size: @s;
|
910
|
+
}
|
911
|
+
})
|
916
912
|
}
|
917
913
|
|
918
914
|
.loadUIOverrides();
|