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 : 'button';
|
17
17
|
|
18
18
|
@import (multiple) '../../theme.config';
|
@@ -22,625 +22,625 @@
|
|
22
22
|
*******************************/
|
23
23
|
|
24
24
|
.ui.button {
|
25
|
-
|
26
|
-
|
25
|
+
cursor: pointer;
|
26
|
+
display: inline-block;
|
27
27
|
|
28
|
-
|
28
|
+
min-height: 1em;
|
29
29
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
30
|
+
outline: none;
|
31
|
+
border: none;
|
32
|
+
vertical-align: @verticalAlign;
|
33
|
+
background: @background;
|
34
|
+
color: @textColor;
|
35
35
|
|
36
|
-
|
36
|
+
font-family: @fontFamily;
|
37
37
|
|
38
|
-
|
39
|
-
|
38
|
+
margin: 0 @horizontalMargin @verticalMargin 0;
|
39
|
+
padding: @verticalPadding @horizontalPadding (@verticalPadding + @shadowOffset);
|
40
40
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
41
|
+
text-transform: @textTransform;
|
42
|
+
text-shadow: @textShadow;
|
43
|
+
font-weight: @fontWeight;
|
44
|
+
line-height: @lineHeight;
|
45
|
+
font-style: normal;
|
46
|
+
text-align: center;
|
47
|
+
text-decoration: none;
|
48
48
|
|
49
|
-
|
50
|
-
|
49
|
+
border-radius: @borderRadius;
|
50
|
+
box-shadow: @boxShadow;
|
51
51
|
|
52
|
-
|
53
|
-
|
54
|
-
|
52
|
+
user-select: none;
|
53
|
+
transition: @transition;
|
54
|
+
will-change: @willChange;
|
55
55
|
|
56
|
-
|
56
|
+
-webkit-tap-highlight-color: @tapColor;
|
57
57
|
}
|
58
58
|
|
59
|
-
|
60
59
|
/*******************************
|
61
60
|
States
|
62
61
|
*******************************/
|
63
62
|
|
64
|
-
|
63
|
+
/* --------------
|
65
64
|
Hover
|
66
|
-
|
65
|
+
--------------- */
|
67
66
|
|
68
67
|
.ui.button:hover {
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
68
|
+
background-color: @hoverBackgroundColor;
|
69
|
+
background-image: @hoverBackgroundImage;
|
70
|
+
box-shadow: @hoverBoxShadow;
|
71
|
+
color: @hoverColor;
|
73
72
|
}
|
74
73
|
|
75
74
|
.ui.button:hover .icon {
|
76
|
-
|
75
|
+
opacity: @iconHoverOpacity;
|
77
76
|
}
|
78
77
|
|
79
|
-
|
78
|
+
/* --------------
|
80
79
|
Focus
|
81
|
-
|
80
|
+
--------------- */
|
82
81
|
|
83
82
|
.ui.button:focus {
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
83
|
+
background-color: @focusBackgroundColor;
|
84
|
+
color: @focusColor;
|
85
|
+
background-image: @focusBackgroundImage;
|
86
|
+
box-shadow: @focusBoxShadow;
|
88
87
|
}
|
89
88
|
|
90
89
|
.ui.button:focus .icon {
|
91
|
-
|
90
|
+
opacity: @iconFocusOpacity;
|
92
91
|
}
|
93
92
|
|
94
|
-
|
93
|
+
/* --------------
|
95
94
|
Down
|
96
|
-
|
95
|
+
--------------- */
|
97
96
|
|
98
97
|
.ui.button:active,
|
99
98
|
.ui.active.button:active {
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
99
|
+
background-color: @downBackgroundColor;
|
100
|
+
background-image: @downBackgroundImage;
|
101
|
+
color: @downColor;
|
102
|
+
box-shadow: @downBoxShadow;
|
104
103
|
}
|
105
104
|
|
106
|
-
|
105
|
+
/* --------------
|
107
106
|
Active
|
108
|
-
|
107
|
+
--------------- */
|
109
108
|
|
110
109
|
.ui.active.button {
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
110
|
+
background-color: @activeBackgroundColor;
|
111
|
+
background-image: @activeBackgroundImage;
|
112
|
+
box-shadow: @activeBoxShadow;
|
113
|
+
color: @activeColor;
|
115
114
|
}
|
116
115
|
.ui.active.button:hover {
|
117
|
-
|
118
|
-
|
119
|
-
|
116
|
+
background-color: @activeHoverBackgroundColor;
|
117
|
+
background-image: @activeHoverBackgroundImage;
|
118
|
+
color: @activeHoverColor;
|
120
119
|
}
|
121
120
|
.ui.active.button:active {
|
122
|
-
|
123
|
-
|
121
|
+
background-color: @activeBackgroundColor;
|
122
|
+
background-image: @activeBackgroundImage;
|
124
123
|
}
|
125
124
|
|
126
125
|
& when (@variationButtonLoading) {
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
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
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
126
|
+
/* --------------
|
127
|
+
Loading
|
128
|
+
--------------- */
|
129
|
+
|
130
|
+
/* Specificity hack */
|
131
|
+
.ui.loading.loading.loading.loading.loading.loading.button {
|
132
|
+
position: relative;
|
133
|
+
cursor: default;
|
134
|
+
text-shadow: none !important;
|
135
|
+
color: transparent;
|
136
|
+
opacity: @loadingOpacity;
|
137
|
+
pointer-events: @loadingPointerEvents;
|
138
|
+
transition: @loadingTransition;
|
139
|
+
}
|
140
|
+
.ui.loading.button::before {
|
141
|
+
position: absolute;
|
142
|
+
content: '';
|
143
|
+
top: 50%;
|
144
|
+
left: 50%;
|
145
|
+
|
146
|
+
margin: @loaderMargin;
|
147
|
+
width: @loaderSize;
|
148
|
+
height: @loaderSize;
|
149
|
+
|
150
|
+
border-radius: @circularRadius;
|
151
|
+
border: @loaderLineWidth solid @invertedLoaderFillColor;
|
152
|
+
}
|
153
|
+
.ui.loading.button::after {
|
154
|
+
position: absolute;
|
155
|
+
content: '';
|
156
|
+
top: 50%;
|
157
|
+
left: 50%;
|
158
|
+
|
159
|
+
margin: @loaderMargin;
|
160
|
+
width: @loaderSize;
|
161
|
+
height: @loaderSize;
|
162
|
+
|
163
|
+
border-radius: @circularRadius;
|
164
|
+
|
165
|
+
animation: loader @loaderSpeed infinite linear;
|
166
|
+
border: @loaderLineWidth solid currentColor;
|
167
|
+
color: @invertedLoaderLineColor;
|
168
|
+
|
169
|
+
box-shadow: 0 0 0 1px transparent;
|
170
|
+
}
|
171
|
+
.ui.ui.ui.loading.button .label {
|
172
|
+
background-color: transparent;
|
173
|
+
border-color: transparent;
|
174
|
+
color: transparent;
|
175
|
+
}
|
176
|
+
& when (@variationButtonLabeledIcon) {
|
177
|
+
.ui.labeled.icon.loading.button .icon {
|
178
|
+
background-color: transparent;
|
179
|
+
box-shadow: none;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
& when (@variationButtonBasic) {
|
183
|
+
.ui.basic.loading.button:not(.inverted)::before {
|
184
|
+
border-color: @loaderFillColor;
|
185
|
+
}
|
186
|
+
.ui.basic.loading.button:not(.inverted)::after {
|
187
|
+
border-color: @loaderLineColor;
|
188
|
+
}
|
189
|
+
}
|
191
190
|
}
|
192
|
-
& when (@variationButtonDisabled){
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
191
|
+
& when (@variationButtonDisabled) {
|
192
|
+
/* -------------------
|
193
|
+
Disabled
|
194
|
+
-------------------- */
|
195
|
+
|
196
|
+
.ui.buttons .disabled.button:not(.basic),
|
197
|
+
.ui.disabled.button,
|
198
|
+
.ui.button:disabled,
|
199
|
+
.ui.disabled.button:hover,
|
200
|
+
.ui.disabled.active.button {
|
201
|
+
cursor: default;
|
202
|
+
opacity: @disabledOpacity !important;
|
203
|
+
background-image: none;
|
204
|
+
box-shadow: none;
|
205
|
+
pointer-events: none !important;
|
206
|
+
}
|
207
|
+
& when (@variationButtonBasic) {
|
208
|
+
/* Basic Group With Disabled */
|
209
|
+
.ui.basic.buttons .ui.disabled.button {
|
210
|
+
border-color: @disabledBorderColor;
|
211
|
+
}
|
212
|
+
}
|
214
213
|
}
|
215
214
|
|
216
215
|
/*******************************
|
217
216
|
Types
|
218
217
|
*******************************/
|
219
|
-
& when (@variationButtonAnimated){
|
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
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
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
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
218
|
+
& when (@variationButtonAnimated) {
|
219
|
+
/* -------------------
|
220
|
+
Animated
|
221
|
+
-------------------- */
|
222
|
+
|
223
|
+
.ui.animated.button {
|
224
|
+
position: relative;
|
225
|
+
overflow: hidden;
|
226
|
+
padding-right: 0 !important;
|
227
|
+
vertical-align: @animatedVerticalAlign;
|
228
|
+
z-index: @animatedZIndex;
|
229
|
+
}
|
230
|
+
|
231
|
+
.ui.animated.button .content {
|
232
|
+
will-change: transform, opacity;
|
233
|
+
}
|
234
|
+
.ui.animated.button .visible.content {
|
235
|
+
position: relative;
|
236
|
+
margin-right: @horizontalPadding;
|
237
|
+
}
|
238
|
+
.ui.animated.button .hidden.content {
|
239
|
+
position: absolute;
|
240
|
+
width: 100%;
|
241
|
+
}
|
242
|
+
|
243
|
+
/* Horizontal */
|
244
|
+
.ui.animated.button .visible.content,
|
245
|
+
.ui.animated.button .hidden.content {
|
246
|
+
transition: right @animationDuration @animationEasing 0s;
|
247
|
+
}
|
248
|
+
.ui.animated.button .visible.content {
|
249
|
+
left: auto;
|
250
|
+
right: 0;
|
251
|
+
}
|
252
|
+
.ui.animated.button .hidden.content {
|
253
|
+
top: 50%;
|
254
|
+
left: auto;
|
255
|
+
right: -100%;
|
256
|
+
margin-top: -(@lineHeight / 2);
|
257
|
+
}
|
258
|
+
.ui.animated.button:focus .visible.content,
|
259
|
+
.ui.animated.button:hover .visible.content {
|
260
|
+
left: auto;
|
261
|
+
right: 200%;
|
262
|
+
}
|
263
|
+
.ui.animated.button:focus .hidden.content,
|
264
|
+
.ui.animated.button:hover .hidden.content {
|
265
|
+
left: auto;
|
266
|
+
right: 0;
|
267
|
+
}
|
268
|
+
|
269
|
+
& when (@variationButtonVertical) {
|
270
|
+
/* Vertical */
|
271
|
+
.ui.vertical.animated.button .visible.content,
|
272
|
+
.ui.vertical.animated.button .hidden.content {
|
273
|
+
transition: top @animationDuration @animationEasing, transform @animationDuration @animationEasing;
|
274
|
+
}
|
275
|
+
.ui.vertical.animated.button .visible.content {
|
276
|
+
transform: translateY(0%);
|
277
|
+
right: auto;
|
278
|
+
}
|
279
|
+
.ui.vertical.animated.button .hidden.content {
|
280
|
+
top: -50%;
|
281
|
+
left: 0;
|
282
|
+
right: auto;
|
283
|
+
}
|
284
|
+
.ui.vertical.animated.button:focus .visible.content,
|
285
|
+
.ui.vertical.animated.button:hover .visible.content {
|
286
|
+
transform: translateY(200%);
|
287
|
+
right: auto;
|
288
|
+
}
|
289
|
+
.ui.vertical.animated.button:focus .hidden.content,
|
290
|
+
.ui.vertical.animated.button:hover .hidden.content {
|
291
|
+
top: 50%;
|
292
|
+
right: auto;
|
293
|
+
}
|
294
|
+
}
|
295
|
+
& when (@variationButtonAnimatedFade) {
|
296
|
+
/* Fade */
|
297
|
+
.ui.fade.animated.button .visible.content,
|
298
|
+
.ui.fade.animated.button .hidden.content {
|
299
|
+
transition: opacity @animationDuration @animationEasing, transform @animationDuration @animationEasing;
|
300
|
+
}
|
301
|
+
.ui.fade.animated.button .visible.content {
|
302
|
+
left: auto;
|
303
|
+
right: auto;
|
304
|
+
opacity: 1;
|
305
|
+
transform: scale(1);
|
306
|
+
}
|
307
|
+
.ui.fade.animated.button .hidden.content {
|
308
|
+
opacity: 0;
|
309
|
+
left: 0;
|
310
|
+
right: auto;
|
311
|
+
transform: scale(@fadeScaleHigh);
|
312
|
+
}
|
313
|
+
.ui.fade.animated.button:focus .visible.content,
|
314
|
+
.ui.fade.animated.button:hover .visible.content {
|
315
|
+
left: auto;
|
316
|
+
right: auto;
|
317
|
+
opacity: 0;
|
318
|
+
transform: scale(@fadeScaleLow);
|
319
|
+
}
|
320
|
+
.ui.fade.animated.button:focus .hidden.content,
|
321
|
+
.ui.fade.animated.button:hover .hidden.content {
|
322
|
+
left: 0;
|
323
|
+
right: auto;
|
324
|
+
opacity: 1;
|
325
|
+
transform: scale(1);
|
326
|
+
}
|
327
|
+
}
|
329
328
|
}
|
330
329
|
|
331
330
|
& when (@variationButtonInverted) {
|
332
|
-
|
333
|
-
|
334
|
-
|
331
|
+
/* -------------------
|
332
|
+
Inverted
|
333
|
+
-------------------- */
|
335
334
|
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
335
|
+
.ui.inverted.button {
|
336
|
+
box-shadow: 0 0 0 @invertedBorderSize @white inset;
|
337
|
+
background: transparent none;
|
338
|
+
color: @white;
|
339
|
+
text-shadow: none !important;
|
340
|
+
}
|
342
341
|
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
342
|
+
& when (@variationButtonGroups) {
|
343
|
+
/* Group */
|
344
|
+
.ui.inverted.buttons .button {
|
345
|
+
margin: @invertedGroupButtonOffset;
|
346
|
+
}
|
347
|
+
.ui.inverted.buttons .button:first-child {
|
348
|
+
margin-left: 0;
|
349
|
+
}
|
350
|
+
& when (@variationButtonVertical) {
|
351
|
+
.ui.inverted.vertical.buttons .button {
|
352
|
+
margin: @invertedVerticalGroupButtonOffset;
|
353
|
+
}
|
354
|
+
.ui.inverted.vertical.buttons .button:first-child {
|
355
|
+
margin-top: 0;
|
356
|
+
}
|
357
|
+
}
|
347
358
|
}
|
348
|
-
|
349
|
-
|
359
|
+
|
360
|
+
/* States */
|
361
|
+
|
362
|
+
/* Hover */
|
363
|
+
.ui.inverted.button:hover {
|
364
|
+
background: @white;
|
365
|
+
box-shadow: 0 0 0 @invertedBorderSize @white inset;
|
366
|
+
color: @hoverColor;
|
350
367
|
}
|
351
|
-
& when (@variationButtonVertical) {
|
352
|
-
.ui.inverted.vertical.buttons .button {
|
353
|
-
margin: @invertedVerticalGroupButtonOffset;
|
354
|
-
}
|
355
|
-
.ui.inverted.vertical.buttons .button:first-child {
|
356
|
-
margin-top: 0;
|
357
|
-
}
|
358
|
-
}
|
359
|
-
}
|
360
|
-
/* States */
|
361
|
-
|
362
|
-
/* Hover */
|
363
|
-
.ui.inverted.button:hover {
|
364
|
-
background: @white;
|
365
|
-
box-shadow: 0 0 0 @invertedBorderSize @white inset;
|
366
|
-
color: @hoverColor;
|
367
|
-
}
|
368
368
|
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
369
|
+
/* Active / Focus */
|
370
|
+
.ui.inverted.button:focus,
|
371
|
+
.ui.inverted.button.active {
|
372
|
+
background: @white;
|
373
|
+
box-shadow: 0 0 0 @invertedBorderSize @white inset;
|
374
|
+
color: @focusColor;
|
375
|
+
}
|
376
376
|
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
377
|
+
/* Active Focus */
|
378
|
+
.ui.inverted.button.active:focus {
|
379
|
+
background: @midWhite;
|
380
|
+
box-shadow: 0 0 0 @invertedBorderSize @midWhite inset;
|
381
|
+
color: @focusColor;
|
382
|
+
}
|
383
383
|
}
|
384
384
|
|
385
|
-
& when (@variationButtonLabeled) or (@variationButtonLabeledIcon){
|
386
|
-
|
387
|
-
|
388
|
-
|
385
|
+
& when (@variationButtonLabeled) or (@variationButtonLabeledIcon) {
|
386
|
+
/* -------------------
|
387
|
+
Labeled Button
|
388
|
+
-------------------- */
|
389
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
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
390
|
+
.ui.labeled.button:not(.icon) {
|
391
|
+
display: inline-flex;
|
392
|
+
flex-direction: row;
|
393
|
+
background: none;
|
394
|
+
padding: 0 !important;
|
395
|
+
border: none;
|
396
|
+
box-shadow: none;
|
397
|
+
}
|
398
|
+
|
399
|
+
.ui.labeled.button > .button {
|
400
|
+
margin: 0;
|
401
|
+
}
|
402
|
+
.ui.labeled.button > .label {
|
403
|
+
display: flex;
|
404
|
+
align-items: @labeledLabelAlign;
|
405
|
+
margin: 0 0 0 @labeledLabelBorderOffset !important;
|
406
|
+
font-size: @labeledLabelFontSize;
|
407
|
+
padding: @labeledLabelPadding;
|
408
|
+
border-color: @labeledLabelBorderColor;
|
409
|
+
}
|
410
|
+
|
411
|
+
/* Tag */
|
412
|
+
.ui.labeled.button > .tag.label::before {
|
413
|
+
width: @labeledTagLabelSize;
|
414
|
+
height: @labeledTagLabelSize;
|
415
|
+
}
|
416
|
+
|
417
|
+
/* Right */
|
418
|
+
.ui.labeled.button:not([class*="left labeled"]) > .button {
|
419
|
+
border-top-right-radius: 0;
|
420
|
+
border-bottom-right-radius: 0;
|
421
|
+
}
|
422
|
+
.ui.labeled.button:not([class*="left labeled"]) > .label {
|
423
|
+
border-top-left-radius: 0;
|
424
|
+
border-bottom-left-radius: 0;
|
425
|
+
}
|
426
|
+
|
427
|
+
/* Left Side */
|
428
|
+
.ui[class*="left labeled"].button > .button {
|
429
|
+
border-top-left-radius: 0;
|
430
|
+
border-bottom-left-radius: 0;
|
431
|
+
}
|
432
|
+
.ui[class*="left labeled"].button > .label {
|
433
|
+
border-top-right-radius: 0;
|
434
|
+
border-bottom-right-radius: 0;
|
435
|
+
}
|
436
436
|
}
|
437
437
|
|
438
438
|
& when (@variationButtonSocial) {
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
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
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
439
|
+
/* -------------------
|
440
|
+
Social
|
441
|
+
-------------------- */
|
442
|
+
|
443
|
+
/* Facebook */
|
444
|
+
.ui.facebook.button {
|
445
|
+
background-color: @facebookColor;
|
446
|
+
color: @invertedTextColor;
|
447
|
+
text-shadow: @invertedTextShadow;
|
448
|
+
background-image: @coloredBackgroundImage;
|
449
|
+
box-shadow: @coloredBoxShadow;
|
450
|
+
}
|
451
|
+
.ui.facebook.button:hover {
|
452
|
+
background-color: @facebookHoverColor;
|
453
|
+
color: @invertedTextColor;
|
454
|
+
text-shadow: @invertedTextShadow;
|
455
|
+
}
|
456
|
+
.ui.facebook.button:active {
|
457
|
+
background-color: @facebookDownColor;
|
458
|
+
color: @invertedTextColor;
|
459
|
+
text-shadow: @invertedTextShadow;
|
460
|
+
}
|
461
|
+
|
462
|
+
/* Twitter */
|
463
|
+
.ui.twitter.button {
|
464
|
+
background-color: @twitterColor;
|
465
|
+
color: @invertedTextColor;
|
466
|
+
text-shadow: @invertedTextShadow;
|
467
|
+
background-image: @coloredBackgroundImage;
|
468
|
+
box-shadow: @coloredBoxShadow;
|
469
|
+
}
|
470
|
+
.ui.twitter.button:hover {
|
471
|
+
background-color: @twitterHoverColor;
|
472
|
+
color: @invertedTextColor;
|
473
|
+
text-shadow: @invertedTextShadow;
|
474
|
+
}
|
475
|
+
.ui.twitter.button:active {
|
476
|
+
background-color: @twitterDownColor;
|
477
|
+
color: @invertedTextColor;
|
478
|
+
text-shadow: @invertedTextShadow;
|
479
|
+
}
|
480
|
+
|
481
|
+
/* Google Plus */
|
482
|
+
.ui.google.plus.button {
|
483
|
+
background-color: @googlePlusColor;
|
484
|
+
color: @invertedTextColor;
|
485
|
+
text-shadow: @invertedTextShadow;
|
486
|
+
background-image: @coloredBackgroundImage;
|
487
|
+
box-shadow: @coloredBoxShadow;
|
488
|
+
}
|
489
|
+
.ui.google.plus.button:hover {
|
490
|
+
background-color: @googlePlusHoverColor;
|
491
|
+
color: @invertedTextColor;
|
492
|
+
text-shadow: @invertedTextShadow;
|
493
|
+
}
|
494
|
+
.ui.google.plus.button:active {
|
495
|
+
background-color: @googlePlusDownColor;
|
496
|
+
color: @invertedTextColor;
|
497
|
+
text-shadow: @invertedTextShadow;
|
498
|
+
}
|
499
|
+
|
500
|
+
/* Linked In */
|
501
|
+
.ui.linkedin.button {
|
502
|
+
background-color: @linkedInColor;
|
503
|
+
color: @invertedTextColor;
|
504
|
+
text-shadow: @invertedTextShadow;
|
505
|
+
}
|
506
|
+
.ui.linkedin.button:hover {
|
507
|
+
background-color: @linkedInHoverColor;
|
508
|
+
color: @invertedTextColor;
|
509
|
+
text-shadow: @invertedTextShadow;
|
510
|
+
}
|
511
|
+
.ui.linkedin.button:active {
|
512
|
+
background-color: @linkedInDownColor;
|
513
|
+
color: @invertedTextColor;
|
514
|
+
text-shadow: @invertedTextShadow;
|
515
|
+
}
|
516
|
+
|
517
|
+
/* YouTube */
|
518
|
+
.ui.youtube.button {
|
519
|
+
background-color: @youtubeColor;
|
520
|
+
color: @invertedTextColor;
|
521
|
+
text-shadow: @invertedTextShadow;
|
522
|
+
background-image: @coloredBackgroundImage;
|
523
|
+
box-shadow: @coloredBoxShadow;
|
524
|
+
}
|
525
|
+
.ui.youtube.button:hover {
|
526
|
+
background-color: @youtubeHoverColor;
|
527
|
+
color: @invertedTextColor;
|
528
|
+
text-shadow: @invertedTextShadow;
|
529
|
+
}
|
530
|
+
.ui.youtube.button:active {
|
531
|
+
background-color: @youtubeDownColor;
|
532
|
+
color: @invertedTextColor;
|
533
|
+
text-shadow: @invertedTextShadow;
|
534
|
+
}
|
535
|
+
|
536
|
+
/* Instagram */
|
537
|
+
.ui.instagram.button {
|
538
|
+
background-color: @instagramColor;
|
539
|
+
color: @invertedTextColor;
|
540
|
+
text-shadow: @invertedTextShadow;
|
541
|
+
background-image: @coloredBackgroundImage;
|
542
|
+
box-shadow: @coloredBoxShadow;
|
543
|
+
}
|
544
|
+
.ui.instagram.button:hover {
|
545
|
+
background-color: @instagramHoverColor;
|
546
|
+
color: @invertedTextColor;
|
547
|
+
text-shadow: @invertedTextShadow;
|
548
|
+
}
|
549
|
+
.ui.instagram.button:active {
|
550
|
+
background-color: @instagramDownColor;
|
551
|
+
color: @invertedTextColor;
|
552
|
+
text-shadow: @invertedTextShadow;
|
553
|
+
}
|
554
|
+
|
555
|
+
/* Pinterest */
|
556
|
+
.ui.pinterest.button {
|
557
|
+
background-color: @pinterestColor;
|
558
|
+
color: @invertedTextColor;
|
559
|
+
text-shadow: @invertedTextShadow;
|
560
|
+
background-image: @coloredBackgroundImage;
|
561
|
+
box-shadow: @coloredBoxShadow;
|
562
|
+
}
|
563
|
+
.ui.pinterest.button:hover {
|
564
|
+
background-color: @pinterestHoverColor;
|
565
|
+
color: @invertedTextColor;
|
566
|
+
text-shadow: @invertedTextShadow;
|
567
|
+
}
|
568
|
+
.ui.pinterest.button:active {
|
569
|
+
background-color: @pinterestDownColor;
|
570
|
+
color: @invertedTextColor;
|
571
|
+
text-shadow: @invertedTextShadow;
|
572
|
+
}
|
573
|
+
|
574
|
+
/* VK */
|
575
|
+
.ui.vk.button {
|
576
|
+
background-color: @vkColor;
|
577
|
+
color: @white;
|
578
|
+
background-image: @coloredBackgroundImage;
|
579
|
+
box-shadow: @coloredBoxShadow;
|
580
|
+
}
|
581
|
+
.ui.vk.button:hover {
|
582
|
+
background-color: @vkHoverColor;
|
583
|
+
color: @white;
|
584
|
+
}
|
585
|
+
.ui.vk.button:active {
|
586
|
+
background-color: @vkDownColor;
|
587
|
+
color: @white;
|
588
|
+
}
|
589
|
+
|
590
|
+
/* WhatsApp */
|
591
|
+
.ui.whatsapp.button {
|
592
|
+
background-color: @whatsAppColor;
|
593
|
+
color: @white;
|
594
|
+
background-image: @coloredBackgroundImage;
|
595
|
+
box-shadow: @coloredBoxShadow;
|
596
|
+
}
|
597
|
+
.ui.whatsapp.button:hover {
|
598
|
+
background-color: @whatsAppHoverColor;
|
599
|
+
color: @white;
|
600
|
+
}
|
601
|
+
.ui.whatsapp.button:active {
|
602
|
+
background-color: @whatsAppDownColor;
|
603
|
+
color: @white;
|
604
|
+
}
|
605
|
+
|
606
|
+
/* Telegram */
|
607
|
+
.ui.telegram.button {
|
608
|
+
background-color: @telegramColor;
|
609
|
+
color: @white;
|
610
|
+
background-image: @coloredBackgroundImage;
|
611
|
+
box-shadow: @coloredBoxShadow;
|
612
|
+
}
|
613
|
+
.ui.telegram.button:hover {
|
614
|
+
background-color: @telegramHoverColor;
|
615
|
+
color: @white;
|
616
|
+
}
|
617
|
+
.ui.telegram.button:active {
|
618
|
+
background-color: @telegramDownColor;
|
619
|
+
color: @white;
|
620
|
+
}
|
621
621
|
}
|
622
622
|
|
623
|
-
|
623
|
+
/* --------------
|
624
624
|
Icon
|
625
|
-
|
625
|
+
--------------- */
|
626
626
|
|
627
627
|
.ui.button > .icon:not(.button) {
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
628
|
+
height: @iconHeight;
|
629
|
+
opacity: @iconOpacity;
|
630
|
+
transition: @iconTransition;
|
631
|
+
color: @iconColor;
|
632
632
|
}
|
633
633
|
|
634
634
|
.ui.button:not(.icon) > .icon:not(.button):not(.dropdown),
|
635
635
|
.ui.button:not(.icon) > .icons:not(.button):not(.dropdown) {
|
636
|
-
|
637
|
-
|
636
|
+
margin: @iconMargin;
|
637
|
+
vertical-align: @iconVerticalAlign;
|
638
638
|
}
|
639
639
|
.ui.button:not(.icon) > .icons:not(.button):not(.dropdown) > .icon {
|
640
|
-
|
640
|
+
vertical-align: @iconVerticalAlign;
|
641
641
|
}
|
642
642
|
.ui.button:not(.icon) > .right.icon:not(.button):not(.dropdown) {
|
643
|
-
|
643
|
+
margin: @rightIconMargin;
|
644
644
|
}
|
645
645
|
|
646
646
|
/*******************************
|
@@ -648,1395 +648,1381 @@
|
|
648
648
|
*******************************/
|
649
649
|
|
650
650
|
& when (@variationButtonStackable) {
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
651
|
+
/* --------------
|
652
|
+
Stackable
|
653
|
+
--------------- */
|
654
|
+
|
655
|
+
/* Tablet Or Below */
|
656
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
657
|
+
|
658
|
+
.ui.stackable.buttons {
|
659
|
+
flex-direction: column;
|
660
|
+
width: 100%;
|
661
|
+
& .button:first-child {
|
662
|
+
border-bottom-left-radius: 0;
|
663
|
+
border-top-right-radius: @borderRadius;
|
664
|
+
}
|
665
|
+
& .button:last-child {
|
666
|
+
border-bottom-left-radius: @borderRadius;
|
667
|
+
border-top-right-radius: 0;
|
668
|
+
}
|
669
|
+
& .button:only-child {
|
670
|
+
border-radius: @borderRadius;
|
671
|
+
}
|
672
|
+
}
|
672
673
|
}
|
673
|
-
|
674
|
-
}
|
675
674
|
}
|
676
675
|
|
677
676
|
& when (@variationButtonFloated) {
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
677
|
+
/* -------------------
|
678
|
+
Floated
|
679
|
+
-------------------- */
|
680
|
+
|
681
|
+
.ui[class*="left floated"].buttons,
|
682
|
+
.ui[class*="left floated"].button {
|
683
|
+
float: left;
|
684
|
+
margin-left: 0;
|
685
|
+
margin-right: @floatedMargin;
|
686
|
+
}
|
687
|
+
|
688
|
+
.ui[class*="right floated"].buttons,
|
689
|
+
.ui[class*="right floated"].button {
|
690
|
+
float: right;
|
691
|
+
margin-right: 0;
|
692
|
+
margin-left: @floatedMargin;
|
693
|
+
}
|
695
694
|
}
|
696
695
|
|
697
696
|
& when (@variationButtonCompact) {
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
697
|
+
/* -------------------
|
698
|
+
Compact
|
699
|
+
-------------------- */
|
700
|
+
|
701
|
+
.ui.compact.buttons .button,
|
702
|
+
.ui.compact.button {
|
703
|
+
padding: @compactVerticalPadding @compactHorizontalPadding ( @compactVerticalPadding + @shadowOffset );
|
704
|
+
}
|
705
|
+
|
706
|
+
.ui.compact.icon.buttons .button,
|
707
|
+
.ui.compact.icon.button {
|
708
|
+
padding: @compactVerticalPadding @compactVerticalPadding ( @compactVerticalPadding + @shadowOffset );
|
709
|
+
}
|
710
|
+
|
711
|
+
.ui.compact.labeled.icon.buttons .button,
|
712
|
+
.ui.compact.labeled.icon.button {
|
713
|
+
padding: @compactVerticalPadding (@compactHorizontalPadding + @labeledIconWidth) ( @compactVerticalPadding + @shadowOffset );
|
714
|
+
}
|
715
|
+
|
716
|
+
.ui.compact.labeled.icon.buttons .button > .icon,
|
717
|
+
.ui.compact.labeled.icon.button > .icon {
|
718
|
+
padding: @compactVerticalPadding 0 @compactVerticalPadding 0;
|
719
|
+
}
|
721
720
|
}
|
722
|
-
|
721
|
+
|
722
|
+
/* -------------------
|
723
723
|
Sizes
|
724
|
-
|
724
|
+
-------------------- */
|
725
725
|
|
726
726
|
.ui.buttons .button,
|
727
727
|
.ui.buttons .or,
|
728
728
|
.ui.button {
|
729
|
-
|
729
|
+
font-size: @medium;
|
730
730
|
}
|
731
731
|
|
732
732
|
& when not (@variationButtonSizes = false) {
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
733
|
+
each(@variationButtonSizes, {
|
734
|
+
@s: @@value;
|
735
|
+
.ui.@{value}.buttons .dropdown,
|
736
|
+
.ui.@{value}.buttons .dropdown .menu > .item,
|
737
|
+
.ui.@{value}.buttons .button,
|
738
|
+
.ui.@{value}.buttons .or,
|
739
|
+
.ui.ui.ui.ui.@{value}.button {
|
740
|
+
font-size: @s;
|
741
|
+
}
|
742
|
+
})
|
743
743
|
}
|
744
744
|
|
745
745
|
& when (@variationButtonIcon) {
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
746
|
+
/* --------------
|
747
|
+
Icon Only
|
748
|
+
--------------- */
|
749
|
+
|
750
|
+
.ui.icon.buttons .button,
|
751
|
+
.ui.icon.button:not(.animated):not(.compact):not(.labeled) {
|
752
|
+
padding: @verticalPadding @verticalPadding ( @verticalPadding + @shadowOffset );
|
753
|
+
}
|
754
|
+
.ui.animated.icon.button > .content > .icon,
|
755
|
+
.ui.icon.buttons .button > .icon,
|
756
|
+
.ui.icon.button > .icon {
|
757
|
+
opacity: @iconButtonOpacity;
|
758
|
+
margin: 0 !important;
|
759
|
+
vertical-align: top;
|
760
|
+
}
|
761
761
|
}
|
762
762
|
& when (@variationButtonAnimated) {
|
763
|
-
|
764
|
-
|
765
|
-
|
763
|
+
.ui.animated.button > .content > .icon {
|
764
|
+
vertical-align: top;
|
765
|
+
}
|
766
766
|
}
|
767
767
|
|
768
768
|
& when (@variationButtonBasic) {
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
.ui.basic.buttons .button {
|
792
|
-
border-radius: 0;
|
793
|
-
}
|
794
|
-
}
|
795
|
-
|
796
|
-
.ui.basic.buttons .button:hover,
|
797
|
-
.ui.basic.button:hover {
|
798
|
-
background: @basicHoverBackground;
|
799
|
-
color: @basicHoverTextColor;
|
800
|
-
box-shadow: @basicHoverBoxShadow;
|
801
|
-
}
|
802
|
-
|
803
|
-
.ui.basic.buttons .button:focus,
|
804
|
-
.ui.basic.button:focus {
|
805
|
-
background: @basicFocusBackground;
|
806
|
-
color: @basicFocusTextColor;
|
807
|
-
box-shadow: @basicFocusBoxShadow;
|
808
|
-
}
|
809
|
-
|
810
|
-
.ui.basic.buttons .button:active,
|
811
|
-
.ui.basic.button:active {
|
812
|
-
background: @basicDownBackground;
|
813
|
-
color: @basicDownTextColor;
|
814
|
-
box-shadow: @basicDownBoxShadow;
|
815
|
-
}
|
816
|
-
|
817
|
-
.ui.basic.buttons .active.button,
|
818
|
-
.ui.basic.active.button {
|
819
|
-
background: @basicActiveBackground;
|
820
|
-
box-shadow: @basicActiveBoxShadow;
|
821
|
-
color: @basicActiveTextColor;
|
822
|
-
}
|
823
|
-
|
824
|
-
.ui.basic.buttons .active.button:hover,
|
825
|
-
.ui.basic.active.button:hover {
|
826
|
-
background-color: @transparentBlack;
|
827
|
-
}
|
828
|
-
& when (@variationButtonGroups) {
|
829
|
-
|
830
|
-
.ui.basic.buttons .button:hover {
|
831
|
-
box-shadow: @basicHoverBoxShadow inset;
|
832
|
-
}
|
833
|
-
|
834
|
-
.ui.basic.buttons .button:active {
|
835
|
-
box-shadow: @basicDownBoxShadow inset;
|
836
|
-
}
|
837
|
-
|
838
|
-
.ui.basic.buttons .active.button {
|
839
|
-
box-shadow: @basicActiveBoxShadow;
|
840
|
-
}
|
841
|
-
}
|
842
|
-
& when (@variationButtonInverted) {
|
843
|
-
/* Standard Basic Inverted */
|
844
|
-
|
845
|
-
.ui.basic.inverted.buttons .button,
|
846
|
-
.ui.basic.inverted.button {
|
847
|
-
background-color: transparent;
|
848
|
-
color: @offWhite;
|
849
|
-
box-shadow: @basicInvertedBoxShadow;
|
850
|
-
}
|
851
|
-
|
852
|
-
.ui.basic.inverted.buttons .button:hover,
|
853
|
-
.ui.basic.inverted.button:hover {
|
854
|
-
color: @white;
|
855
|
-
box-shadow: @basicInvertedHoverBoxShadow;
|
856
|
-
}
|
857
|
-
|
858
|
-
.ui.basic.inverted.buttons .button:focus,
|
859
|
-
.ui.basic.inverted.button:focus {
|
860
|
-
color: @white;
|
861
|
-
box-shadow: @basicInvertedFocusBoxShadow;
|
862
|
-
}
|
863
|
-
|
864
|
-
.ui.basic.inverted.buttons .button:active,
|
865
|
-
.ui.basic.inverted.button:active {
|
866
|
-
background-color: @transparentWhite;
|
867
|
-
color: @white;
|
868
|
-
box-shadow: @basicInvertedDownBoxShadow;
|
869
|
-
}
|
769
|
+
/* -------------------
|
770
|
+
Basic
|
771
|
+
-------------------- */
|
772
|
+
|
773
|
+
.ui.basic.buttons .button,
|
774
|
+
.ui.basic.button {
|
775
|
+
background: @basicBackground;
|
776
|
+
color: @basicTextColor;
|
777
|
+
font-weight: @basicFontWeight;
|
778
|
+
border-radius: @basicBorderRadius;
|
779
|
+
text-transform: @basicTextTransform;
|
780
|
+
text-shadow: none !important;
|
781
|
+
box-shadow: @basicBoxShadow;
|
782
|
+
}
|
783
|
+
& when (@variationButtonGroups) {
|
784
|
+
.ui.basic.buttons {
|
785
|
+
box-shadow: @basicGroupBoxShadow;
|
786
|
+
border: @basicGroupBorder;
|
787
|
+
border-radius: @borderRadius;
|
788
|
+
border-right: none;
|
789
|
+
}
|
870
790
|
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
color: @invertedTextColor;
|
875
|
-
text-shadow: @invertedTextShadow;
|
876
|
-
box-shadow: @basicInvertedActiveBoxShadow;
|
791
|
+
.ui.basic.buttons .button {
|
792
|
+
border-radius: 0;
|
793
|
+
}
|
877
794
|
}
|
878
795
|
|
879
|
-
.ui.basic.
|
880
|
-
.ui.basic.
|
881
|
-
|
882
|
-
|
796
|
+
.ui.basic.buttons .button:hover,
|
797
|
+
.ui.basic.button:hover {
|
798
|
+
background: @basicHoverBackground;
|
799
|
+
color: @basicHoverTextColor;
|
800
|
+
box-shadow: @basicHoverBoxShadow;
|
883
801
|
}
|
884
|
-
}
|
885
802
|
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
803
|
+
.ui.basic.buttons .button:focus,
|
804
|
+
.ui.basic.button:focus {
|
805
|
+
background: @basicFocusBackground;
|
806
|
+
color: @basicFocusTextColor;
|
807
|
+
box-shadow: @basicFocusBoxShadow;
|
891
808
|
}
|
892
809
|
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
810
|
+
.ui.basic.buttons .button:active,
|
811
|
+
.ui.basic.button:active {
|
812
|
+
background: @basicDownBackground;
|
813
|
+
color: @basicDownTextColor;
|
814
|
+
box-shadow: @basicDownBoxShadow;
|
815
|
+
}
|
899
816
|
|
900
|
-
|
901
|
-
|
902
|
-
|
817
|
+
.ui.basic.buttons .active.button,
|
818
|
+
.ui.basic.active.button {
|
819
|
+
background: @basicActiveBackground;
|
820
|
+
box-shadow: @basicActiveBoxShadow;
|
821
|
+
color: @basicActiveTextColor;
|
903
822
|
}
|
904
|
-
}
|
905
|
-
}
|
906
823
|
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
824
|
+
.ui.basic.buttons .active.button:hover,
|
825
|
+
.ui.basic.active.button:hover {
|
826
|
+
background-color: @transparentBlack;
|
827
|
+
}
|
828
|
+
& when (@variationButtonGroups) {
|
911
829
|
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
border-radius: 0;
|
916
|
-
margin: (@verticalPadding - @tertiaryVerticalPadding)
|
917
|
-
(@horizontalMargin)
|
918
|
-
(@verticalPadding + @shadowOffset + @verticalMargin - @tertiaryVerticalPadding)
|
919
|
-
0 !important;
|
920
|
-
padding: @tertiaryVerticalPadding @tertiaryHorizontalPadding !important;
|
830
|
+
.ui.basic.buttons .button:hover {
|
831
|
+
box-shadow: @basicHoverBoxShadow inset;
|
832
|
+
}
|
921
833
|
|
922
|
-
|
923
|
-
|
924
|
-
|
834
|
+
.ui.basic.buttons .button:active {
|
835
|
+
box-shadow: @basicDownBoxShadow inset;
|
836
|
+
}
|
925
837
|
|
926
|
-
|
927
|
-
|
838
|
+
.ui.basic.buttons .active.button {
|
839
|
+
box-shadow: @basicActiveBoxShadow;
|
840
|
+
}
|
928
841
|
}
|
842
|
+
& when (@variationButtonInverted) {
|
843
|
+
/* Standard Basic Inverted */
|
929
844
|
|
930
|
-
|
931
|
-
|
932
|
-
|
845
|
+
.ui.basic.inverted.buttons .button,
|
846
|
+
.ui.basic.inverted.button {
|
847
|
+
background-color: transparent;
|
848
|
+
color: @offWhite;
|
849
|
+
box-shadow: @basicInvertedBoxShadow;
|
850
|
+
}
|
933
851
|
|
934
|
-
|
935
|
-
|
936
|
-
|
852
|
+
.ui.basic.inverted.buttons .button:hover,
|
853
|
+
.ui.basic.inverted.button:hover {
|
854
|
+
color: @white;
|
855
|
+
box-shadow: @basicInvertedHoverBoxShadow;
|
856
|
+
}
|
937
857
|
|
938
|
-
|
858
|
+
.ui.basic.inverted.buttons .button:focus,
|
859
|
+
.ui.basic.inverted.button:focus {
|
860
|
+
color: @white;
|
861
|
+
box-shadow: @basicInvertedFocusBoxShadow;
|
862
|
+
}
|
939
863
|
|
940
|
-
|
941
|
-
|
942
|
-
|
864
|
+
.ui.basic.inverted.buttons .button:active,
|
865
|
+
.ui.basic.inverted.button:active {
|
866
|
+
background-color: @transparentWhite;
|
867
|
+
color: @white;
|
868
|
+
box-shadow: @basicInvertedDownBoxShadow;
|
869
|
+
}
|
943
870
|
|
944
|
-
|
945
|
-
|
871
|
+
.ui.basic.inverted.buttons .active.button,
|
872
|
+
.ui.basic.inverted.active.button {
|
873
|
+
background-color: @transparentWhite;
|
874
|
+
color: @invertedTextColor;
|
875
|
+
text-shadow: @invertedTextShadow;
|
876
|
+
box-shadow: @basicInvertedActiveBoxShadow;
|
877
|
+
}
|
878
|
+
|
879
|
+
.ui.basic.inverted.buttons .active.button:hover,
|
880
|
+
.ui.basic.inverted.active.button:hover {
|
881
|
+
background-color: @strongTransparentWhite;
|
882
|
+
box-shadow: @basicInvertedHoverBoxShadow;
|
883
|
+
}
|
946
884
|
}
|
947
885
|
|
948
|
-
& when (@
|
949
|
-
|
886
|
+
& when (@variationButtonGroups) {
|
887
|
+
/* Basic Group */
|
888
|
+
.ui.basic.buttons:not(.inverted) .button:not(.basic) {
|
889
|
+
border-right: @basicGroupBorder;
|
890
|
+
box-shadow: none;
|
891
|
+
}
|
892
|
+
|
893
|
+
& when (@variationButtonVertical) {
|
894
|
+
.ui.basic.vertical.buttons .button {
|
895
|
+
border-left: none;
|
896
|
+
border-left-width: 0;
|
897
|
+
border-top: @basicGroupBorder;
|
898
|
+
}
|
899
|
+
|
900
|
+
.ui.basic.vertical.buttons:not(.spaced) .button:first-child {
|
901
|
+
border-top: none;
|
902
|
+
}
|
903
|
+
}
|
950
904
|
}
|
905
|
+
}
|
906
|
+
|
907
|
+
& when (@variationButtonTertiary) {
|
908
|
+
/* -------------------
|
909
|
+
Tertiary
|
910
|
+
-------------------- */
|
911
|
+
|
912
|
+
/* Overline Mixin */
|
913
|
+
.ui.tertiary.button {
|
914
|
+
transition: color @defaultDuration @defaultEasing !important;
|
915
|
+
border-radius: 0;
|
916
|
+
margin:
|
917
|
+
(@verticalPadding - @tertiaryVerticalPadding)
|
918
|
+
(@horizontalMargin)
|
919
|
+
(@verticalPadding + @shadowOffset + @verticalMargin - @tertiaryVerticalPadding)
|
920
|
+
0 !important;
|
921
|
+
padding: @tertiaryVerticalPadding @tertiaryHorizontalPadding !important;
|
951
922
|
|
952
|
-
|
953
|
-
|
954
|
-
|
923
|
+
& when (@tertiaryWithUnderline = true) {
|
924
|
+
box-shadow: inset 0 -@tertiaryLineHeight 0 @tertiaryLineColor;
|
925
|
+
}
|
926
|
+
|
927
|
+
& when (@tertiaryWithOverline = true) {
|
928
|
+
box-shadow: inset 0 @tertiaryLineHeight 0 @tertiaryLineColor;
|
929
|
+
}
|
930
|
+
|
931
|
+
& when (@tertiaryWithUnderline = false) and (@tertiaryWithOverline = false) {
|
932
|
+
box-shadow: none;
|
933
|
+
}
|
955
934
|
|
956
|
-
|
957
|
-
|
958
|
-
box-shadow: inset 0 -@tertiaryLineHeight 0 @tertiaryFocusLineColor;
|
935
|
+
color: @tertiaryTextColor;
|
936
|
+
background: @tertiaryBackgroundColor;
|
959
937
|
}
|
960
938
|
|
961
|
-
|
962
|
-
|
939
|
+
.ui.tertiary.button:hover {
|
940
|
+
|
941
|
+
& when (@tertiaryHoverWithUnderline = true) {
|
942
|
+
box-shadow: inset 0 -@tertiaryLineHeight 0 @tertiaryHoverLineColor;
|
943
|
+
}
|
944
|
+
|
945
|
+
& when (@tertiaryHoverWithOverline = true) {
|
946
|
+
box-shadow: inset 0 @tertiaryLineHeight 0 @tertiaryHoverLineColor;
|
947
|
+
}
|
948
|
+
|
949
|
+
& when (@tertiaryHoverWithUnderline = false) and (@tertiaryHoverWithOverline = false) {
|
950
|
+
box-shadow: none;
|
951
|
+
}
|
952
|
+
|
953
|
+
color: @tertiaryHoverColor;
|
954
|
+
background: @tertiaryHoverBackgroundColor;
|
963
955
|
}
|
964
956
|
|
965
|
-
|
966
|
-
|
957
|
+
.ui.tertiary.button:focus {
|
958
|
+
& when (@tertiaryFocusWithUnderline = true) {
|
959
|
+
box-shadow: inset 0 -@tertiaryLineHeight 0 @tertiaryFocusLineColor;
|
960
|
+
}
|
961
|
+
|
962
|
+
& when (@tertiaryFocusWithOverline = true) {
|
963
|
+
box-shadow: inset 0 @tertiaryLineHeight 0 @tertiaryFocusLineColor;
|
964
|
+
}
|
965
|
+
|
966
|
+
& when (@tertiaryFocusWithUnderline = false) and (@tertiaryFocusWithOverline = false) {
|
967
|
+
box-shadow: none;
|
968
|
+
}
|
969
|
+
|
970
|
+
color: @tertiaryFocusColor;
|
971
|
+
background: @tertiaryFocusBackgroundColor;
|
967
972
|
}
|
968
973
|
|
969
|
-
|
970
|
-
|
971
|
-
|
974
|
+
.ui.tertiary.button:active {
|
975
|
+
& when (@tertiaryActiveWithUnderline = true) {
|
976
|
+
box-shadow: inset 0 -@tertiaryLineHeight 0 @tertiaryActiveLineColor;
|
977
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
978
|
+
}
|
979
|
+
|
980
|
+
& when (@tertiaryActiveWithOverline = true) {
|
981
|
+
box-shadow: inset 0 @tertiaryLineHeight 0 @tertiaryActiveLineColor;
|
982
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
983
|
+
}
|
984
|
+
|
985
|
+
& when (@tertiaryActiveWithUnderline = false) and (@tertiaryActiveWithOverline = false) {
|
986
|
+
box-shadow: none;
|
987
|
+
border-radius: 0;
|
988
|
+
}
|
972
989
|
|
973
|
-
|
974
|
-
|
975
|
-
box-shadow: inset 0 -@tertiaryLineHeight 0 @tertiaryActiveLineColor;
|
976
|
-
border-radius: @borderRadius @borderRadius 0 0;
|
990
|
+
color: @tertiaryActiveColor;
|
991
|
+
background: @tertiaryActiveBackgroundColor;
|
977
992
|
}
|
993
|
+
}
|
978
994
|
|
979
|
-
|
980
|
-
|
981
|
-
|
995
|
+
& when (@variationButtonLabeledIcon) {
|
996
|
+
/* --------------
|
997
|
+
Labeled Icon
|
998
|
+
--------------- */
|
999
|
+
|
1000
|
+
.ui.labeled.icon.buttons .button,
|
1001
|
+
.ui.labeled.icon.button {
|
1002
|
+
position: relative;
|
1003
|
+
padding-left: @labeledIconPadding !important;
|
1004
|
+
padding-right: @horizontalPadding !important;
|
1005
|
+
}
|
1006
|
+
|
1007
|
+
/* Left Labeled */
|
1008
|
+
.ui.labeled.icon.buttons > .button > .icon,
|
1009
|
+
.ui.labeled.icon.button > .icon {
|
1010
|
+
position: absolute;
|
1011
|
+
top: 0;
|
1012
|
+
left: 0;
|
1013
|
+
height: 100%;
|
1014
|
+
line-height: 1;
|
1015
|
+
border-radius: 0;
|
1016
|
+
border-top-left-radius: inherit;
|
1017
|
+
border-bottom-left-radius: inherit;
|
1018
|
+
text-align: center;
|
1019
|
+
animation: none;
|
1020
|
+
padding: @verticalPadding 0 @verticalPadding 0;
|
1021
|
+
|
1022
|
+
margin: @labeledIconMargin;
|
1023
|
+
width: @labeledIconWidth;
|
1024
|
+
background-color: @labeledIconBackgroundColor;
|
1025
|
+
color: @labeledIconColor;
|
1026
|
+
box-shadow: @labeledIconLeftShadow;
|
1027
|
+
}
|
1028
|
+
|
1029
|
+
/* Right Labeled */
|
1030
|
+
.ui[class*="right labeled"].icon.button {
|
1031
|
+
padding-right: @labeledIconPadding !important;
|
1032
|
+
padding-left: @horizontalPadding !important;
|
1033
|
+
}
|
1034
|
+
|
1035
|
+
.ui[class*="right labeled"].icon.button > .icon {
|
1036
|
+
left: auto;
|
1037
|
+
right: 0;
|
1038
|
+
border-radius: 0;
|
1039
|
+
border-top-right-radius: inherit;
|
1040
|
+
border-bottom-right-radius: inherit;
|
1041
|
+
box-shadow: @labeledIconRightShadow;
|
1042
|
+
}
|
1043
|
+
|
1044
|
+
.ui.labeled.icon.buttons > .button > .icon::before,
|
1045
|
+
.ui.labeled.icon.button > .icon::before,
|
1046
|
+
.ui.labeled.icon.buttons > .button > .icon::after,
|
1047
|
+
.ui.labeled.icon.button > .icon::after {
|
1048
|
+
display: block;
|
1049
|
+
position: relative;
|
1050
|
+
width: 100%;
|
1051
|
+
top: 0;
|
1052
|
+
text-align: center;
|
1053
|
+
}
|
1054
|
+
|
1055
|
+
.ui.labeled.icon.buttons .button > .icon {
|
1056
|
+
border-radius: 0;
|
1057
|
+
}
|
1058
|
+
|
1059
|
+
.ui.labeled.icon.buttons .button:first-child > .icon {
|
1060
|
+
border-top-left-radius: @borderRadius;
|
1061
|
+
border-bottom-left-radius: @borderRadius;
|
982
1062
|
}
|
983
1063
|
|
984
|
-
|
985
|
-
|
986
|
-
|
1064
|
+
.ui.labeled.icon.buttons .button:last-child > .icon {
|
1065
|
+
border-top-right-radius: @borderRadius;
|
1066
|
+
border-bottom-right-radius: @borderRadius;
|
987
1067
|
}
|
988
1068
|
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
}
|
1069
|
+
.ui.vertical.labeled.icon.buttons .button:first-child > .icon {
|
1070
|
+
border-radius: 0;
|
1071
|
+
border-top-left-radius: @borderRadius;
|
1072
|
+
}
|
993
1073
|
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
padding-right: @horizontalPadding !important;
|
1004
|
-
}
|
1005
|
-
|
1006
|
-
/* Left Labeled */
|
1007
|
-
.ui.labeled.icon.buttons > .button > .icon,
|
1008
|
-
.ui.labeled.icon.button > .icon {
|
1009
|
-
position: absolute;
|
1010
|
-
top: 0;
|
1011
|
-
left: 0;
|
1012
|
-
height: 100%;
|
1013
|
-
line-height: 1;
|
1014
|
-
border-radius: 0;
|
1015
|
-
border-top-left-radius: inherit;
|
1016
|
-
border-bottom-left-radius: inherit;
|
1017
|
-
text-align: center;
|
1018
|
-
animation: none;
|
1019
|
-
padding: @verticalPadding 0 @verticalPadding 0;
|
1020
|
-
|
1021
|
-
margin: @labeledIconMargin;
|
1022
|
-
width: @labeledIconWidth;
|
1023
|
-
background-color: @labeledIconBackgroundColor;
|
1024
|
-
color: @labeledIconColor;
|
1025
|
-
box-shadow: @labeledIconLeftShadow;
|
1026
|
-
}
|
1027
|
-
|
1028
|
-
/* Right Labeled */
|
1029
|
-
.ui[class*="right labeled"].icon.button {
|
1030
|
-
padding-right: @labeledIconPadding !important;
|
1031
|
-
padding-left: @horizontalPadding !important;
|
1032
|
-
}
|
1033
|
-
|
1034
|
-
.ui[class*="right labeled"].icon.button > .icon {
|
1035
|
-
left: auto;
|
1036
|
-
right: 0;
|
1037
|
-
border-radius: 0;
|
1038
|
-
border-top-right-radius: inherit;
|
1039
|
-
border-bottom-right-radius: inherit;
|
1040
|
-
box-shadow: @labeledIconRightShadow;
|
1041
|
-
}
|
1042
|
-
|
1043
|
-
|
1044
|
-
.ui.labeled.icon.buttons > .button > .icon::before,
|
1045
|
-
.ui.labeled.icon.button > .icon::before,
|
1046
|
-
.ui.labeled.icon.buttons > .button > .icon::after,
|
1047
|
-
.ui.labeled.icon.button > .icon::after {
|
1048
|
-
display: block;
|
1049
|
-
position: relative;
|
1050
|
-
width: 100%;
|
1051
|
-
top: 0;
|
1052
|
-
text-align: center;
|
1053
|
-
}
|
1054
|
-
|
1055
|
-
.ui.labeled.icon.buttons .button > .icon {
|
1056
|
-
border-radius: 0;
|
1057
|
-
}
|
1058
|
-
|
1059
|
-
.ui.labeled.icon.buttons .button:first-child > .icon {
|
1060
|
-
border-top-left-radius: @borderRadius;
|
1061
|
-
border-bottom-left-radius: @borderRadius;
|
1062
|
-
}
|
1063
|
-
|
1064
|
-
.ui.labeled.icon.buttons .button:last-child > .icon {
|
1065
|
-
border-top-right-radius: @borderRadius;
|
1066
|
-
border-bottom-right-radius: @borderRadius;
|
1067
|
-
}
|
1068
|
-
|
1069
|
-
.ui.vertical.labeled.icon.buttons .button:first-child > .icon {
|
1070
|
-
border-radius: 0;
|
1071
|
-
border-top-left-radius: @borderRadius;
|
1072
|
-
}
|
1073
|
-
|
1074
|
-
.ui.vertical.labeled.icon.buttons .button:last-child > .icon {
|
1075
|
-
border-radius: 0;
|
1076
|
-
border-bottom-left-radius: @borderRadius;
|
1077
|
-
}
|
1078
|
-
|
1079
|
-
/* Loading Icon in Labeled Button */
|
1080
|
-
.ui.labeled.icon.button > .loading.icon::before {
|
1081
|
-
animation: loader 2s linear infinite;
|
1082
|
-
}
|
1074
|
+
.ui.vertical.labeled.icon.buttons .button:last-child > .icon {
|
1075
|
+
border-radius: 0;
|
1076
|
+
border-bottom-left-radius: @borderRadius;
|
1077
|
+
}
|
1078
|
+
|
1079
|
+
/* Loading Icon in Labeled Button */
|
1080
|
+
.ui.labeled.icon.button > .loading.icon::before {
|
1081
|
+
animation: loader 2s linear infinite;
|
1082
|
+
}
|
1083
1083
|
}
|
1084
1084
|
|
1085
1085
|
& when (@variationButtonToggle) {
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1086
|
+
/* --------------
|
1087
|
+
Toggle
|
1088
|
+
--------------- */
|
1089
|
+
|
1090
|
+
/* Toggle (Modifies active state to give affordances) */
|
1091
|
+
.ui.toggle.buttons .active.button,
|
1092
|
+
.ui.buttons .button.toggle.active,
|
1093
|
+
.ui.button.toggle.active {
|
1094
|
+
background-color: @toggleBackgroundColor;
|
1095
|
+
box-shadow: none;
|
1096
|
+
text-shadow: @toggleTextShadow;
|
1097
|
+
color: @toggleColor;
|
1098
|
+
}
|
1099
|
+
|
1100
|
+
.ui.button.toggle.active:hover {
|
1101
|
+
background-color: @toggleHoverBackgroundColor;
|
1102
|
+
text-shadow: @toggleHoverTextShadow;
|
1103
|
+
color: @toggleHoverColor;
|
1104
|
+
}
|
1105
1105
|
}
|
1106
1106
|
|
1107
1107
|
& when (@variationButtonCircular) {
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1108
|
+
/* --------------
|
1109
|
+
Circular
|
1110
|
+
--------------- */
|
1111
|
+
|
1112
|
+
.ui.circular.button {
|
1113
|
+
border-radius: @circularBorderRadius;
|
1114
|
+
}
|
1115
|
+
|
1116
|
+
.ui.circular.button > .icon {
|
1117
|
+
width: @circularIconWidth;
|
1118
|
+
vertical-align: baseline;
|
1119
|
+
}
|
1120
1120
|
}
|
1121
1121
|
|
1122
1122
|
& when (@variationButtonOr) {
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
.ui.buttons .or::before {
|
1135
|
-
position: absolute;
|
1136
|
-
text-align: center;
|
1137
|
-
border-radius: @circularRadius;
|
1123
|
+
/* -------------------
|
1124
|
+
Or Buttons
|
1125
|
+
-------------------- */
|
1126
|
+
|
1127
|
+
.ui.buttons .or {
|
1128
|
+
position: relative;
|
1129
|
+
width: @orGap;
|
1130
|
+
height: @orHeight;
|
1131
|
+
z-index: @orZIndex;
|
1132
|
+
}
|
1138
1133
|
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
text-shadow: @orTextShadow;
|
1134
|
+
.ui.buttons .or::before {
|
1135
|
+
position: absolute;
|
1136
|
+
text-align: center;
|
1137
|
+
border-radius: @circularRadius;
|
1144
1138
|
|
1145
|
-
|
1146
|
-
|
1139
|
+
content: @orText;
|
1140
|
+
top: 50%;
|
1141
|
+
left: 50%;
|
1142
|
+
background-color: @orBackgroundColor;
|
1143
|
+
text-shadow: @orTextShadow;
|
1147
1144
|
|
1148
|
-
|
1149
|
-
|
1145
|
+
margin-top: @orVerticalOffset;
|
1146
|
+
margin-left: @orHorizontalOffset;
|
1150
1147
|
|
1151
|
-
|
1152
|
-
|
1148
|
+
width: @orCircleSize;
|
1149
|
+
height: @orCircleSize;
|
1153
1150
|
|
1154
|
-
|
1155
|
-
|
1151
|
+
line-height: @orLineHeight;
|
1152
|
+
color: @orTextColor;
|
1156
1153
|
|
1157
|
-
|
1158
|
-
|
1154
|
+
font-style: @orTextStyle;
|
1155
|
+
font-weight: @orTextWeight;
|
1159
1156
|
|
1160
|
-
|
1161
|
-
|
1162
|
-
}
|
1157
|
+
box-shadow: @orBoxShadow;
|
1158
|
+
}
|
1163
1159
|
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
}
|
1160
|
+
.ui.buttons .or[data-text]::before {
|
1161
|
+
content: attr(data-text);
|
1162
|
+
}
|
1168
1163
|
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1164
|
+
/* Fluid Or */
|
1165
|
+
.ui.fluid.buttons .or {
|
1166
|
+
width: 0 !important;
|
1167
|
+
}
|
1172
1168
|
|
1169
|
+
.ui.fluid.buttons .or::after {
|
1170
|
+
display: none;
|
1171
|
+
}
|
1173
1172
|
}
|
1174
1173
|
|
1175
1174
|
& when (@variationButtonAttached) {
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
/* Singular */
|
1182
|
-
.ui.attached.button {
|
1183
|
-
position: relative;
|
1184
|
-
display: block;
|
1185
|
-
margin: 0;
|
1186
|
-
border-radius: 0;
|
1187
|
-
box-shadow: @attachedBoxShadow;
|
1188
|
-
}
|
1189
|
-
|
1190
|
-
/* Top / Bottom */
|
1191
|
-
.ui.attached.top.button {
|
1192
|
-
border-radius: @borderRadius @borderRadius 0 0;
|
1193
|
-
}
|
1194
|
-
|
1195
|
-
.ui.attached.bottom.button {
|
1196
|
-
border-radius: 0 0 @borderRadius @borderRadius;
|
1197
|
-
}
|
1198
|
-
|
1199
|
-
/* Left / Right */
|
1200
|
-
.ui.left.attached.button {
|
1201
|
-
display: inline-block;
|
1202
|
-
border-left: none;
|
1203
|
-
text-align: right;
|
1175
|
+
/* -------------------
|
1176
|
+
Attached
|
1177
|
+
-------------------- */
|
1204
1178
|
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1179
|
+
/* Singular */
|
1180
|
+
.ui.attached.button {
|
1181
|
+
position: relative;
|
1182
|
+
display: block;
|
1183
|
+
margin: 0;
|
1184
|
+
border-radius: 0;
|
1185
|
+
box-shadow: @attachedBoxShadow;
|
1186
|
+
}
|
1208
1187
|
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
border-radius: 0 @borderRadius @borderRadius 0;
|
1214
|
-
}
|
1215
|
-
|
1216
|
-
/* Plural */
|
1217
|
-
.ui.attached.buttons {
|
1218
|
-
position: relative;
|
1219
|
-
display: flex;
|
1220
|
-
border-radius: 0;
|
1221
|
-
width: auto !important;
|
1222
|
-
z-index: @attachedZIndex;
|
1223
|
-
margin-left: @attachedOffset;
|
1224
|
-
margin-right: @attachedOffset;
|
1225
|
-
}
|
1226
|
-
|
1227
|
-
.ui.attached.buttons .button {
|
1228
|
-
margin: 0;
|
1229
|
-
}
|
1230
|
-
|
1231
|
-
.ui.attached.buttons .button:first-child {
|
1232
|
-
border-radius: 0;
|
1233
|
-
}
|
1234
|
-
|
1235
|
-
.ui.attached.buttons .button:last-child {
|
1236
|
-
border-radius: 0;
|
1237
|
-
}
|
1238
|
-
|
1239
|
-
/* Top / Bottom */
|
1240
|
-
.ui[class*="top attached"].buttons {
|
1241
|
-
margin-bottom: @topAttachedOffset;
|
1242
|
-
border-radius: @borderRadius @borderRadius 0 0;
|
1243
|
-
}
|
1244
|
-
|
1245
|
-
.ui[class*="top attached"].buttons .button:first-child {
|
1246
|
-
border-radius: @borderRadius 0 0 0;
|
1247
|
-
}
|
1248
|
-
|
1249
|
-
.ui[class*="top attached"].buttons .button:last-child {
|
1250
|
-
border-radius: 0 @borderRadius 0 0;
|
1251
|
-
}
|
1252
|
-
|
1253
|
-
.ui[class*="bottom attached"].buttons {
|
1254
|
-
margin-top: @bottomAttachedOffset;
|
1255
|
-
border-radius: 0 0 @borderRadius @borderRadius;
|
1256
|
-
}
|
1257
|
-
|
1258
|
-
.ui[class*="bottom attached"].buttons .button:first-child {
|
1259
|
-
border-radius: 0 0 0 @borderRadius;
|
1260
|
-
}
|
1261
|
-
|
1262
|
-
.ui[class*="bottom attached"].buttons .button:last-child {
|
1263
|
-
border-radius: 0 0 @borderRadius 0;
|
1264
|
-
}
|
1265
|
-
|
1266
|
-
/* Left / Right */
|
1267
|
-
.ui[class*="left attached"].buttons {
|
1268
|
-
display: inline-flex;
|
1269
|
-
margin-right: 0;
|
1270
|
-
margin-left: @attachedOffset;
|
1271
|
-
border-radius: 0 @borderRadius @borderRadius 0;
|
1272
|
-
}
|
1273
|
-
|
1274
|
-
.ui[class*="left attached"].buttons .button:first-child {
|
1275
|
-
margin-left: @attachedOffset;
|
1276
|
-
border-radius: 0 @borderRadius 0 0;
|
1277
|
-
}
|
1278
|
-
|
1279
|
-
.ui[class*="left attached"].buttons .button:last-child {
|
1280
|
-
margin-left: @attachedOffset;
|
1281
|
-
border-radius: 0 0 @borderRadius 0;
|
1282
|
-
}
|
1283
|
-
|
1284
|
-
.ui[class*="right attached"].buttons {
|
1285
|
-
display: inline-flex;
|
1286
|
-
margin-left: 0;
|
1287
|
-
margin-right: @attachedOffset;
|
1288
|
-
border-radius: @borderRadius 0 0 @borderRadius;
|
1289
|
-
}
|
1290
|
-
|
1291
|
-
.ui[class*="right attached"].buttons .button:first-child {
|
1292
|
-
margin-left: @attachedOffset;
|
1293
|
-
border-radius: @borderRadius 0 0 0;
|
1294
|
-
}
|
1295
|
-
|
1296
|
-
.ui[class*="right attached"].buttons .button:last-child {
|
1297
|
-
margin-left: @attachedOffset;
|
1298
|
-
border-radius: 0 0 0 @borderRadius;
|
1299
|
-
}
|
1300
|
-
}
|
1188
|
+
/* Top / Bottom */
|
1189
|
+
.ui.attached.top.button {
|
1190
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
1191
|
+
}
|
1301
1192
|
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
--------------------*/
|
1306
|
-
|
1307
|
-
.ui.fluid.buttons,
|
1308
|
-
.ui.fluid.button {
|
1309
|
-
width: 100%;
|
1310
|
-
}
|
1311
|
-
|
1312
|
-
.ui.fluid.button {
|
1313
|
-
display: block;
|
1314
|
-
}
|
1315
|
-
}
|
1316
|
-
& when (@variationButtonEqualWidth) {
|
1317
|
-
.ui.two.buttons {
|
1318
|
-
width: 100%;
|
1319
|
-
}
|
1193
|
+
.ui.attached.bottom.button {
|
1194
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
1195
|
+
}
|
1320
1196
|
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1197
|
+
/* Left / Right */
|
1198
|
+
.ui.left.attached.button {
|
1199
|
+
display: inline-block;
|
1200
|
+
border-left: none;
|
1201
|
+
text-align: right;
|
1324
1202
|
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1203
|
+
padding-right: @attachedHorizontalPadding;
|
1204
|
+
border-radius: @borderRadius 0 0 @borderRadius;
|
1205
|
+
}
|
1328
1206
|
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1207
|
+
.ui.right.attached.button {
|
1208
|
+
display: inline-block;
|
1209
|
+
text-align: left;
|
1210
|
+
padding-left: @attachedHorizontalPadding;
|
1211
|
+
border-radius: 0 @borderRadius @borderRadius 0;
|
1212
|
+
}
|
1332
1213
|
|
1333
|
-
|
1334
|
-
|
1335
|
-
|
1214
|
+
/* Plural */
|
1215
|
+
.ui.attached.buttons {
|
1216
|
+
position: relative;
|
1217
|
+
display: flex;
|
1218
|
+
border-radius: 0;
|
1219
|
+
width: auto !important;
|
1220
|
+
z-index: @attachedZIndex;
|
1221
|
+
margin-left: @attachedOffset;
|
1222
|
+
margin-right: @attachedOffset;
|
1223
|
+
}
|
1336
1224
|
|
1337
|
-
|
1338
|
-
|
1339
|
-
|
1225
|
+
.ui.attached.buttons .button {
|
1226
|
+
margin: 0;
|
1227
|
+
}
|
1340
1228
|
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1229
|
+
.ui.attached.buttons .button:first-child {
|
1230
|
+
border-radius: 0;
|
1231
|
+
}
|
1344
1232
|
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1233
|
+
.ui.attached.buttons .button:last-child {
|
1234
|
+
border-radius: 0;
|
1235
|
+
}
|
1348
1236
|
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1237
|
+
/* Top / Bottom */
|
1238
|
+
.ui[class*="top attached"].buttons {
|
1239
|
+
margin-bottom: @topAttachedOffset;
|
1240
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
1241
|
+
}
|
1352
1242
|
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
1243
|
+
.ui[class*="top attached"].buttons .button:first-child {
|
1244
|
+
border-radius: @borderRadius 0 0 0;
|
1245
|
+
}
|
1356
1246
|
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1247
|
+
.ui[class*="top attached"].buttons .button:last-child {
|
1248
|
+
border-radius: 0 @borderRadius 0 0;
|
1249
|
+
}
|
1360
1250
|
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1251
|
+
.ui[class*="bottom attached"].buttons {
|
1252
|
+
margin-top: @bottomAttachedOffset;
|
1253
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
1254
|
+
}
|
1364
1255
|
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1256
|
+
.ui[class*="bottom attached"].buttons .button:first-child {
|
1257
|
+
border-radius: 0 0 0 @borderRadius;
|
1258
|
+
}
|
1368
1259
|
|
1369
|
-
|
1370
|
-
|
1371
|
-
|
1260
|
+
.ui[class*="bottom attached"].buttons .button:last-child {
|
1261
|
+
border-radius: 0 0 @borderRadius 0;
|
1262
|
+
}
|
1372
1263
|
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1264
|
+
/* Left / Right */
|
1265
|
+
.ui[class*="left attached"].buttons {
|
1266
|
+
display: inline-flex;
|
1267
|
+
margin-right: 0;
|
1268
|
+
margin-left: @attachedOffset;
|
1269
|
+
border-radius: 0 @borderRadius @borderRadius 0;
|
1270
|
+
}
|
1376
1271
|
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1272
|
+
.ui[class*="left attached"].buttons .button:first-child {
|
1273
|
+
margin-left: @attachedOffset;
|
1274
|
+
border-radius: 0 @borderRadius 0 0;
|
1275
|
+
}
|
1380
1276
|
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1277
|
+
.ui[class*="left attached"].buttons .button:last-child {
|
1278
|
+
margin-left: @attachedOffset;
|
1279
|
+
border-radius: 0 0 @borderRadius 0;
|
1280
|
+
}
|
1384
1281
|
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1282
|
+
.ui[class*="right attached"].buttons {
|
1283
|
+
display: inline-flex;
|
1284
|
+
margin-left: 0;
|
1285
|
+
margin-right: @attachedOffset;
|
1286
|
+
border-radius: @borderRadius 0 0 @borderRadius;
|
1287
|
+
}
|
1388
1288
|
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1289
|
+
.ui[class*="right attached"].buttons .button:first-child {
|
1290
|
+
margin-left: @attachedOffset;
|
1291
|
+
border-radius: @borderRadius 0 0 0;
|
1292
|
+
}
|
1392
1293
|
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1294
|
+
.ui[class*="right attached"].buttons .button:last-child {
|
1295
|
+
margin-left: @attachedOffset;
|
1296
|
+
border-radius: 0 0 0 @borderRadius;
|
1297
|
+
}
|
1298
|
+
}
|
1299
|
+
|
1300
|
+
& when (@variationButtonFluid) {
|
1301
|
+
/* -------------------
|
1302
|
+
Fluid
|
1303
|
+
-------------------- */
|
1396
1304
|
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1305
|
+
.ui.fluid.buttons,
|
1306
|
+
.ui.fluid.button {
|
1307
|
+
width: 100%;
|
1308
|
+
}
|
1400
1309
|
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1310
|
+
.ui.fluid.button {
|
1311
|
+
display: block;
|
1312
|
+
}
|
1404
1313
|
}
|
1314
|
+
& when (@variationButtonEqualWidth) {
|
1315
|
+
.ui.two.buttons {
|
1316
|
+
width: 100%;
|
1317
|
+
}
|
1405
1318
|
|
1406
|
-
|
1407
|
-
|
1408
|
-
/* Fluid Vertical Buttons */
|
1409
|
-
.ui.fluid.vertical.buttons,
|
1410
|
-
.ui.fluid.vertical.buttons > .button {
|
1411
|
-
display: flex;
|
1412
|
-
width: auto;
|
1413
|
-
justify-content: center;
|
1319
|
+
.ui.two.buttons > .button {
|
1320
|
+
width: 50%;
|
1414
1321
|
}
|
1415
|
-
}
|
1416
1322
|
|
1417
|
-
|
1418
|
-
|
1419
|
-
height: 50%;
|
1323
|
+
.ui.three.buttons {
|
1324
|
+
width: 100%;
|
1420
1325
|
}
|
1421
1326
|
|
1422
|
-
.ui.three.
|
1423
|
-
|
1327
|
+
.ui.three.buttons > .button {
|
1328
|
+
width: 33.333%;
|
1424
1329
|
}
|
1425
1330
|
|
1426
|
-
.ui.four.
|
1427
|
-
|
1331
|
+
.ui.four.buttons {
|
1332
|
+
width: 100%;
|
1428
1333
|
}
|
1429
1334
|
|
1430
|
-
.ui.
|
1431
|
-
|
1335
|
+
.ui.four.buttons > .button {
|
1336
|
+
width: 25%;
|
1432
1337
|
}
|
1433
1338
|
|
1434
|
-
.ui.
|
1435
|
-
|
1339
|
+
.ui.five.buttons {
|
1340
|
+
width: 100%;
|
1436
1341
|
}
|
1437
1342
|
|
1438
|
-
.ui.
|
1439
|
-
|
1343
|
+
.ui.five.buttons > .button {
|
1344
|
+
width: 20%;
|
1440
1345
|
}
|
1441
1346
|
|
1442
|
-
.ui.
|
1443
|
-
|
1347
|
+
.ui.six.buttons {
|
1348
|
+
width: 100%;
|
1444
1349
|
}
|
1445
1350
|
|
1446
|
-
.ui.
|
1447
|
-
|
1351
|
+
.ui.six.buttons > .button {
|
1352
|
+
width: 16.666%;
|
1448
1353
|
}
|
1449
1354
|
|
1450
|
-
.ui.
|
1451
|
-
|
1355
|
+
.ui.seven.buttons {
|
1356
|
+
width: 100%;
|
1452
1357
|
}
|
1453
1358
|
|
1454
|
-
.ui.
|
1455
|
-
|
1359
|
+
.ui.seven.buttons > .button {
|
1360
|
+
width: 14.285%;
|
1456
1361
|
}
|
1457
1362
|
|
1458
|
-
.ui.
|
1459
|
-
|
1363
|
+
.ui.eight.buttons {
|
1364
|
+
width: 100%;
|
1460
1365
|
}
|
1461
|
-
}
|
1462
|
-
}
|
1463
1366
|
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1367
|
+
.ui.eight.buttons > .button {
|
1368
|
+
width: 12.500%;
|
1369
|
+
}
|
1467
1370
|
|
1468
|
-
|
1469
|
-
|
1470
|
-
@color: @value;
|
1471
|
-
@c: @colors[@@color][color];
|
1472
|
-
@h: @colors[@@color][hover];
|
1473
|
-
@f: @colors[@@color][focus];
|
1474
|
-
@d: @colors[@@color][down];
|
1475
|
-
@a: @colors[@@color][active];
|
1476
|
-
@t: @colors[@@color][text];
|
1477
|
-
@s: @colors[@@color][shadow];
|
1478
|
-
@l: @colors[@@color][light];
|
1479
|
-
@lh: @colors[@@color][lightHover];
|
1480
|
-
@lf: @colors[@@color][lightFocus];
|
1481
|
-
@ld: @colors[@@color][lightDown];
|
1482
|
-
@la: @colors[@@color][lightActive];
|
1483
|
-
@lt: @colors[@@color][lightText];
|
1484
|
-
@ls: @colors[@@color][lightShadow];
|
1485
|
-
@ty: @colors[@@color][tertiary];
|
1486
|
-
@tyh: @colors[@@color][tertiaryHover];
|
1487
|
-
@tyf: @colors[@@color][tertiaryFocus];
|
1488
|
-
@tya: @colors[@@color][tertiaryActive];
|
1489
|
-
@isDark: @colors[@@color][isDark];
|
1490
|
-
@isVeryDark: @colors[@@color][isVeryDark];
|
1491
|
-
|
1492
|
-
.ui.@{color}.buttons .button,
|
1493
|
-
.ui.@{color}.button {
|
1494
|
-
background-color: @c;
|
1495
|
-
color: @t;
|
1496
|
-
text-shadow: @s;
|
1497
|
-
background-image: @coloredBackgroundImage;
|
1498
|
-
}
|
1499
|
-
.ui.@{color}.button {
|
1500
|
-
box-shadow: @coloredBoxShadow;
|
1501
|
-
}
|
1502
|
-
.ui.@{color}.buttons .button:hover,
|
1503
|
-
.ui.@{color}.button:hover {
|
1504
|
-
background-color: @h;
|
1505
|
-
color: @t;
|
1506
|
-
text-shadow: @s;
|
1507
|
-
}
|
1508
|
-
.ui.@{color}.buttons .button:focus,
|
1509
|
-
.ui.@{color}.button:focus {
|
1510
|
-
background-color: @f;
|
1511
|
-
color: @t;
|
1512
|
-
text-shadow: @s;
|
1513
|
-
}
|
1514
|
-
.ui.@{color}.buttons .button:active,
|
1515
|
-
.ui.@{color}.button:active {
|
1516
|
-
background-color: @d;
|
1517
|
-
color: @t;
|
1518
|
-
text-shadow: @s;
|
1519
|
-
}
|
1520
|
-
.ui.@{color}.buttons .active.button,
|
1521
|
-
.ui.@{color}.buttons .active.button:active,
|
1522
|
-
.ui.@{color}.active.button,
|
1523
|
-
.ui.@{color}.button .active.button:active {
|
1524
|
-
background-color: @a;
|
1525
|
-
color: @t;
|
1526
|
-
text-shadow: @s;
|
1371
|
+
.ui.nine.buttons {
|
1372
|
+
width: 100%;
|
1527
1373
|
}
|
1528
1374
|
|
1529
|
-
|
1530
|
-
|
1531
|
-
.ui.basic.@{color}.buttons .button,
|
1532
|
-
.ui.basic.@{color}.button {
|
1533
|
-
background: transparent;
|
1534
|
-
box-shadow: 0 0 0 @basicBorderSize @c inset;
|
1535
|
-
color: @c;
|
1536
|
-
}
|
1537
|
-
.ui.basic.@{color}.buttons .button:hover,
|
1538
|
-
.ui.basic.@{color}.button:hover {
|
1539
|
-
background: transparent;
|
1540
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @h inset;
|
1541
|
-
color: @h;
|
1542
|
-
}
|
1543
|
-
.ui.basic.@{color}.buttons .button:focus,
|
1544
|
-
.ui.basic.@{color}.button:focus {
|
1545
|
-
background: transparent;
|
1546
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @f inset;
|
1547
|
-
color: @h;
|
1548
|
-
}
|
1549
|
-
.ui.basic.@{color}.buttons .active.button,
|
1550
|
-
.ui.basic.@{color}.active.button {
|
1551
|
-
background: transparent;
|
1552
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @a inset;
|
1553
|
-
color: @d;
|
1554
|
-
}
|
1555
|
-
.ui.basic.@{color}.buttons .button:active,
|
1556
|
-
.ui.basic.@{color}.button:active {
|
1557
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @d inset;
|
1558
|
-
color: @d;
|
1559
|
-
}
|
1375
|
+
.ui.nine.buttons > .button {
|
1376
|
+
width: 11.11%;
|
1560
1377
|
}
|
1561
|
-
& when (@variationButtonInverted) {
|
1562
|
-
/* Inverted */
|
1563
|
-
.ui.inverted.@{color}.buttons .button,
|
1564
|
-
.ui.inverted.@{color}.button {
|
1565
|
-
background-color: transparent;
|
1566
1378
|
|
1567
|
-
|
1568
|
-
|
1569
|
-
|
1570
|
-
}
|
1379
|
+
.ui.ten.buttons {
|
1380
|
+
width: 100%;
|
1381
|
+
}
|
1571
1382
|
|
1572
|
-
|
1573
|
-
|
1574
|
-
|
1575
|
-
}
|
1576
|
-
}
|
1577
|
-
.ui.inverted.@{color}.buttons .button:hover,
|
1578
|
-
.ui.inverted.@{color}.button:hover,
|
1579
|
-
.ui.inverted.@{color}.buttons .button:focus,
|
1580
|
-
.ui.inverted.@{color}.button:focus,
|
1581
|
-
.ui.inverted.@{color}.buttons .button.active,
|
1582
|
-
.ui.inverted.@{color}.button.active,
|
1583
|
-
.ui.inverted.@{color}.buttons .button:active,
|
1584
|
-
.ui.inverted.@{color}.button:active {
|
1585
|
-
box-shadow: none;
|
1586
|
-
color: @lt;
|
1587
|
-
}
|
1588
|
-
.ui.inverted.@{color}.buttons .button:hover,
|
1589
|
-
.ui.inverted.@{color}.button:hover {
|
1590
|
-
background-color: @lh;
|
1591
|
-
}
|
1592
|
-
.ui.inverted.@{color}.buttons .button:focus,
|
1593
|
-
.ui.inverted.@{color}.button:focus {
|
1594
|
-
background-color: @lf;
|
1595
|
-
}
|
1596
|
-
.ui.inverted.@{color}.buttons .active.button,
|
1597
|
-
.ui.inverted.@{color}.active.button {
|
1598
|
-
background-color: @la;
|
1599
|
-
}
|
1600
|
-
.ui.inverted.@{color}.buttons .button:active,
|
1601
|
-
.ui.inverted.@{color}.button:active {
|
1602
|
-
background-color: @ld;
|
1603
|
-
}
|
1604
|
-
|
1605
|
-
/* Inverted Basic */
|
1606
|
-
.ui.inverted.@{color}.basic.buttons .button,
|
1607
|
-
.ui.inverted.@{color}.buttons .basic.button,
|
1608
|
-
.ui.inverted.@{color}.basic.button {
|
1609
|
-
background-color: transparent;
|
1610
|
-
box-shadow: @basicInvertedBoxShadow;
|
1611
|
-
color: @white;
|
1612
|
-
}
|
1613
|
-
.ui.inverted.@{color}.basic.buttons .button:hover,
|
1614
|
-
.ui.inverted.@{color}.buttons .basic.button:hover,
|
1615
|
-
.ui.inverted.@{color}.basic.button:hover {
|
1616
|
-
box-shadow: 0 0 0 @invertedBorderSize @lh inset;
|
1617
|
-
|
1618
|
-
& when (@isDark) {
|
1619
|
-
color: @white;
|
1620
|
-
}
|
1621
|
-
|
1622
|
-
& when not (@isDark) {
|
1623
|
-
color: @l;
|
1624
|
-
}
|
1625
|
-
}
|
1626
|
-
.ui.inverted.@{color}.basic.buttons .button:focus,
|
1627
|
-
.ui.inverted.@{color}.basic.buttons .button:focus,
|
1628
|
-
.ui.inverted.@{color}.basic.button:focus {
|
1629
|
-
box-shadow: 0 0 0 @invertedBorderSize @lf inset;
|
1630
|
-
color: @l;
|
1631
|
-
}
|
1632
|
-
.ui.inverted.@{color}.basic.buttons .active.button,
|
1633
|
-
.ui.inverted.@{color}.buttons .basic.active.button,
|
1634
|
-
.ui.inverted.@{color}.basic.active.button {
|
1635
|
-
box-shadow: 0 0 0 @invertedBorderSize @la inset;
|
1636
|
-
|
1637
|
-
& when (@isDark) {
|
1638
|
-
color: @white;
|
1639
|
-
}
|
1640
|
-
|
1641
|
-
& when not (@isDark) {
|
1642
|
-
color: @l;
|
1643
|
-
}
|
1644
|
-
}
|
1645
|
-
& when (@variationButtonBasic) {
|
1646
|
-
.ui.inverted.@{color}.basic.buttons .button:active,
|
1647
|
-
.ui.inverted.@{color}.buttons .basic.button:active,
|
1648
|
-
.ui.inverted.@{color}.basic.button:active {
|
1649
|
-
box-shadow: 0 0 0 @invertedBorderSize @ld inset;
|
1650
|
-
|
1651
|
-
& when (@isDark) {
|
1652
|
-
color: @white;
|
1653
|
-
}
|
1383
|
+
.ui.ten.buttons > .button {
|
1384
|
+
width: 10%;
|
1385
|
+
}
|
1654
1386
|
|
1655
|
-
|
1656
|
-
|
1657
|
-
}
|
1658
|
-
}
|
1659
|
-
}
|
1387
|
+
.ui.eleven.buttons {
|
1388
|
+
width: 100%;
|
1660
1389
|
}
|
1661
1390
|
|
1662
|
-
|
1663
|
-
|
1391
|
+
.ui.eleven.buttons > .button {
|
1392
|
+
width: 9.09%;
|
1393
|
+
}
|
1664
1394
|
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
background: transparent;
|
1395
|
+
.ui.twelve.buttons {
|
1396
|
+
width: 100%;
|
1397
|
+
}
|
1669
1398
|
|
1399
|
+
.ui.twelve.buttons > .button {
|
1400
|
+
width: 8.3333%;
|
1401
|
+
}
|
1402
|
+
}
|
1670
1403
|
|
1404
|
+
& when (@variationButtonVertical) {
|
1405
|
+
& when (@variationButtonFluid) {
|
1406
|
+
/* Fluid Vertical Buttons */
|
1407
|
+
.ui.fluid.vertical.buttons,
|
1408
|
+
.ui.fluid.vertical.buttons > .button {
|
1409
|
+
display: flex;
|
1410
|
+
width: auto;
|
1411
|
+
justify-content: center;
|
1412
|
+
}
|
1413
|
+
}
|
1671
1414
|
|
1672
|
-
|
1673
|
-
|
1415
|
+
& when (@variationButtonEqualWidth) {
|
1416
|
+
.ui.two.vertical.buttons > .button {
|
1417
|
+
height: 50%;
|
1674
1418
|
}
|
1675
1419
|
|
1676
|
-
|
1677
|
-
|
1420
|
+
.ui.three.vertical.buttons > .button {
|
1421
|
+
height: 33.333%;
|
1678
1422
|
}
|
1679
1423
|
|
1680
|
-
|
1681
|
-
|
1424
|
+
.ui.four.vertical.buttons > .button {
|
1425
|
+
height: 25%;
|
1682
1426
|
}
|
1683
1427
|
|
1684
|
-
|
1685
|
-
|
1428
|
+
.ui.five.vertical.buttons > .button {
|
1429
|
+
height: 20%;
|
1430
|
+
}
|
1686
1431
|
|
1687
|
-
|
1688
|
-
|
1689
|
-
|
1432
|
+
.ui.six.vertical.buttons > .button {
|
1433
|
+
height: 16.666%;
|
1434
|
+
}
|
1690
1435
|
|
1436
|
+
.ui.seven.vertical.buttons > .button {
|
1437
|
+
height: 14.285%;
|
1438
|
+
}
|
1691
1439
|
|
1440
|
+
.ui.eight.vertical.buttons > .button {
|
1441
|
+
height: 12.500%;
|
1442
|
+
}
|
1692
1443
|
|
1693
|
-
|
1694
|
-
|
1444
|
+
.ui.nine.vertical.buttons > .button {
|
1445
|
+
height: 11.11%;
|
1695
1446
|
}
|
1696
1447
|
|
1697
|
-
|
1698
|
-
|
1448
|
+
.ui.ten.vertical.buttons > .button {
|
1449
|
+
height: 10%;
|
1699
1450
|
}
|
1700
1451
|
|
1701
|
-
|
1702
|
-
|
1452
|
+
.ui.eleven.vertical.buttons > .button {
|
1453
|
+
height: 9.09%;
|
1703
1454
|
}
|
1704
1455
|
|
1456
|
+
.ui.twelve.vertical.buttons > .button {
|
1457
|
+
height: 8.3333%;
|
1458
|
+
}
|
1459
|
+
}
|
1460
|
+
}
|
1705
1461
|
|
1706
|
-
|
1707
|
-
|
1462
|
+
/* -------------------
|
1463
|
+
Colors
|
1464
|
+
-------------------- */
|
1708
1465
|
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
1466
|
+
& when not (@variationButtonColors = false) {
|
1467
|
+
each(@variationButtonColors, {
|
1468
|
+
@color: @value;
|
1469
|
+
@c: @colors[@@color][color];
|
1470
|
+
@h: @colors[@@color][hover];
|
1471
|
+
@f: @colors[@@color][focus];
|
1472
|
+
@d: @colors[@@color][down];
|
1473
|
+
@a: @colors[@@color][active];
|
1474
|
+
@t: @colors[@@color][text];
|
1475
|
+
@s: @colors[@@color][shadow];
|
1476
|
+
@l: @colors[@@color][light];
|
1477
|
+
@lh: @colors[@@color][lightHover];
|
1478
|
+
@lf: @colors[@@color][lightFocus];
|
1479
|
+
@ld: @colors[@@color][lightDown];
|
1480
|
+
@la: @colors[@@color][lightActive];
|
1481
|
+
@lt: @colors[@@color][lightText];
|
1482
|
+
@ls: @colors[@@color][lightShadow];
|
1483
|
+
@ty: @colors[@@color][tertiary];
|
1484
|
+
@tyh: @colors[@@color][tertiaryHover];
|
1485
|
+
@tyf: @colors[@@color][tertiaryFocus];
|
1486
|
+
@tya: @colors[@@color][tertiaryActive];
|
1487
|
+
@isDark: @colors[@@color][isDark];
|
1488
|
+
@isVeryDark: @colors[@@color][isVeryDark];
|
1489
|
+
|
1490
|
+
.ui.@{color}.buttons .button,
|
1491
|
+
.ui.@{color}.button {
|
1492
|
+
background-color: @c;
|
1493
|
+
color: @t;
|
1494
|
+
text-shadow: @s;
|
1495
|
+
background-image: @coloredBackgroundImage;
|
1496
|
+
}
|
1497
|
+
.ui.@{color}.button {
|
1498
|
+
box-shadow: @coloredBoxShadow;
|
1499
|
+
}
|
1500
|
+
.ui.@{color}.buttons .button:hover,
|
1501
|
+
.ui.@{color}.button:hover {
|
1502
|
+
background-color: @h;
|
1503
|
+
color: @t;
|
1504
|
+
text-shadow: @s;
|
1505
|
+
}
|
1506
|
+
.ui.@{color}.buttons .button:focus,
|
1507
|
+
.ui.@{color}.button:focus {
|
1508
|
+
background-color: @f;
|
1509
|
+
color: @t;
|
1510
|
+
text-shadow: @s;
|
1511
|
+
}
|
1512
|
+
.ui.@{color}.buttons .button:active,
|
1513
|
+
.ui.@{color}.button:active {
|
1514
|
+
background-color: @d;
|
1515
|
+
color: @t;
|
1516
|
+
text-shadow: @s;
|
1517
|
+
}
|
1518
|
+
.ui.@{color}.buttons .active.button,
|
1519
|
+
.ui.@{color}.buttons .active.button:active,
|
1520
|
+
.ui.@{color}.active.button,
|
1521
|
+
.ui.@{color}.button .active.button:active {
|
1522
|
+
background-color: @a;
|
1523
|
+
color: @t;
|
1524
|
+
text-shadow: @s;
|
1525
|
+
}
|
1712
1526
|
|
1527
|
+
& when (@variationButtonBasic) {
|
1528
|
+
/* Basic */
|
1529
|
+
.ui.basic.@{color}.buttons .button,
|
1530
|
+
.ui.basic.@{color}.button {
|
1531
|
+
background: transparent;
|
1532
|
+
box-shadow: 0 0 0 @basicBorderSize @c inset;
|
1533
|
+
color: @c;
|
1534
|
+
}
|
1535
|
+
.ui.basic.@{color}.buttons .button:hover,
|
1536
|
+
.ui.basic.@{color}.button:hover {
|
1537
|
+
background: transparent;
|
1538
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @h inset;
|
1539
|
+
color: @h;
|
1540
|
+
}
|
1541
|
+
.ui.basic.@{color}.buttons .button:focus,
|
1542
|
+
.ui.basic.@{color}.button:focus {
|
1543
|
+
background: transparent;
|
1544
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @f inset;
|
1545
|
+
color: @h;
|
1546
|
+
}
|
1547
|
+
.ui.basic.@{color}.buttons .active.button,
|
1548
|
+
.ui.basic.@{color}.active.button {
|
1549
|
+
background: transparent;
|
1550
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @a inset;
|
1551
|
+
color: @d;
|
1552
|
+
}
|
1553
|
+
.ui.basic.@{color}.buttons .button:active,
|
1554
|
+
.ui.basic.@{color}.button:active {
|
1555
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @d inset;
|
1556
|
+
color: @d;
|
1557
|
+
}
|
1558
|
+
}
|
1559
|
+
& when (@variationButtonInverted) {
|
1560
|
+
/* Inverted */
|
1561
|
+
.ui.inverted.@{color}.buttons .button,
|
1562
|
+
.ui.inverted.@{color}.button {
|
1563
|
+
background-color: transparent;
|
1564
|
+
|
1565
|
+
& when (@isDark) {
|
1566
|
+
box-shadow: 0 0 0 @invertedBorderSize @solidBorderColor inset;
|
1567
|
+
color: @invertedTextColor;
|
1568
|
+
}
|
1569
|
+
|
1570
|
+
& when not (@isDark) {
|
1571
|
+
box-shadow: 0 0 0 @invertedBorderSize @l inset;
|
1572
|
+
color: @l;
|
1573
|
+
}
|
1574
|
+
}
|
1575
|
+
.ui.inverted.@{color}.buttons .button:hover,
|
1576
|
+
.ui.inverted.@{color}.button:hover,
|
1577
|
+
.ui.inverted.@{color}.buttons .button:focus,
|
1578
|
+
.ui.inverted.@{color}.button:focus,
|
1579
|
+
.ui.inverted.@{color}.buttons .button.active,
|
1580
|
+
.ui.inverted.@{color}.button.active,
|
1581
|
+
.ui.inverted.@{color}.buttons .button:active,
|
1582
|
+
.ui.inverted.@{color}.button:active {
|
1583
|
+
box-shadow: none;
|
1584
|
+
color: @lt;
|
1585
|
+
}
|
1586
|
+
.ui.inverted.@{color}.buttons .button:hover,
|
1587
|
+
.ui.inverted.@{color}.button:hover {
|
1588
|
+
background-color: @lh;
|
1589
|
+
}
|
1590
|
+
.ui.inverted.@{color}.buttons .button:focus,
|
1591
|
+
.ui.inverted.@{color}.button:focus {
|
1592
|
+
background-color: @lf;
|
1593
|
+
}
|
1594
|
+
.ui.inverted.@{color}.buttons .active.button,
|
1595
|
+
.ui.inverted.@{color}.active.button {
|
1596
|
+
background-color: @la;
|
1597
|
+
}
|
1598
|
+
.ui.inverted.@{color}.buttons .button:active,
|
1599
|
+
.ui.inverted.@{color}.button:active {
|
1600
|
+
background-color: @ld;
|
1601
|
+
}
|
1602
|
+
|
1603
|
+
/* Inverted Basic */
|
1604
|
+
.ui.inverted.@{color}.basic.buttons .button,
|
1605
|
+
.ui.inverted.@{color}.buttons .basic.button,
|
1606
|
+
.ui.inverted.@{color}.basic.button {
|
1607
|
+
background-color: transparent;
|
1608
|
+
box-shadow: @basicInvertedBoxShadow;
|
1609
|
+
color: @white;
|
1610
|
+
}
|
1611
|
+
.ui.inverted.@{color}.basic.buttons .button:hover,
|
1612
|
+
.ui.inverted.@{color}.buttons .basic.button:hover,
|
1613
|
+
.ui.inverted.@{color}.basic.button:hover {
|
1614
|
+
box-shadow: 0 0 0 @invertedBorderSize @lh inset;
|
1615
|
+
|
1616
|
+
& when (@isDark) {
|
1617
|
+
color: @white;
|
1618
|
+
}
|
1619
|
+
|
1620
|
+
& when not (@isDark) {
|
1621
|
+
color: @l;
|
1622
|
+
}
|
1623
|
+
}
|
1624
|
+
.ui.inverted.@{color}.basic.buttons .button:focus,
|
1625
|
+
.ui.inverted.@{color}.basic.buttons .button:focus,
|
1626
|
+
.ui.inverted.@{color}.basic.button:focus {
|
1627
|
+
box-shadow: 0 0 0 @invertedBorderSize @lf inset;
|
1628
|
+
color: @l;
|
1629
|
+
}
|
1630
|
+
.ui.inverted.@{color}.basic.buttons .active.button,
|
1631
|
+
.ui.inverted.@{color}.buttons .basic.active.button,
|
1632
|
+
.ui.inverted.@{color}.basic.active.button {
|
1633
|
+
box-shadow: 0 0 0 @invertedBorderSize @la inset;
|
1634
|
+
|
1635
|
+
& when (@isDark) {
|
1636
|
+
color: @white;
|
1637
|
+
}
|
1638
|
+
|
1639
|
+
& when not (@isDark) {
|
1640
|
+
color: @l;
|
1641
|
+
}
|
1642
|
+
}
|
1643
|
+
& when (@variationButtonBasic) {
|
1644
|
+
.ui.inverted.@{color}.basic.buttons .button:active,
|
1645
|
+
.ui.inverted.@{color}.buttons .basic.button:active,
|
1646
|
+
.ui.inverted.@{color}.basic.button:active {
|
1647
|
+
box-shadow: 0 0 0 @invertedBorderSize @ld inset;
|
1648
|
+
|
1649
|
+
& when (@isDark) {
|
1650
|
+
color: @white;
|
1651
|
+
}
|
1652
|
+
|
1653
|
+
& when not (@isDark) {
|
1654
|
+
color: @l;
|
1655
|
+
}
|
1656
|
+
}
|
1657
|
+
}
|
1658
|
+
}
|
1713
1659
|
|
1660
|
+
& when (@variationButtonTertiary) {
|
1661
|
+
/* Tertiary */
|
1714
1662
|
|
1663
|
+
.ui.tertiary.@{color}.buttons .button,
|
1664
|
+
.ui.tertiary.@{color}.buttons .tertiary.button,
|
1665
|
+
.ui.tertiary.@{color}.button {
|
1666
|
+
background: transparent;
|
1715
1667
|
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1668
|
+
& when (@tertiaryWithUnderline = true) {
|
1669
|
+
box-shadow: inset 0 -@tertiaryLineHeight 0 @ty;
|
1670
|
+
}
|
1719
1671
|
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1672
|
+
& when (@tertiaryWithOverline = true) {
|
1673
|
+
box-shadow: inset 0 @tertiaryLineHeight 0 @ty;
|
1674
|
+
}
|
1723
1675
|
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1676
|
+
& when (@tertiaryWithUnderline = false) and (@tertiaryWithOverline = false){
|
1677
|
+
box-shadow: none;
|
1678
|
+
}
|
1727
1679
|
|
1680
|
+
color: @c;
|
1681
|
+
}
|
1728
1682
|
|
1729
|
-
|
1730
|
-
|
1683
|
+
.ui.tertiary.@{color}.buttons .button:hover,
|
1684
|
+
.ui.tertiary.@{color}.buttons button:hover,
|
1685
|
+
.ui.tertiary.@{color}.button:hover {
|
1731
1686
|
|
1732
|
-
|
1733
|
-
|
1734
|
-
|
1735
|
-
.ui.tertiary.@{color}.buttons .button:active,
|
1736
|
-
.ui.tertiary.@{color}.buttons .tertiary.button:active,
|
1737
|
-
.ui.tertiary.@{color}.button:active {
|
1687
|
+
& when (@tertiaryHoverWithUnderline = true) {
|
1688
|
+
box-shadow: inset 0 -@tertiaryLineHeight 0 @tyh;
|
1689
|
+
}
|
1738
1690
|
|
1691
|
+
& when (@tertiaryHoverWithOverline = true) {
|
1692
|
+
box-shadow: inset 0 @tertiaryLineHeight 0 @tyh;
|
1693
|
+
}
|
1739
1694
|
|
1695
|
+
& when (@tertiaryHoverWithUnderline = false) and (@tertiaryHoverWithOverline = false) {
|
1696
|
+
box-shadow: none;
|
1697
|
+
}
|
1740
1698
|
|
1741
|
-
|
1742
|
-
|
1743
|
-
}
|
1699
|
+
color: @tyh;
|
1700
|
+
}
|
1744
1701
|
|
1745
|
-
|
1746
|
-
|
1702
|
+
.ui.tertiary.@{color}.buttons .button:focus,
|
1703
|
+
.ui.tertiary.@{color}.buttons .tertiary.button:focus,
|
1704
|
+
.ui.tertiary.@{color}.button:focus {
|
1705
|
+
|
1706
|
+
& when (@tertiaryFocusWithUnderline = true) {
|
1707
|
+
box-shadow: inset 0 -@tertiaryLineHeight 0 @tyf;
|
1708
|
+
}
|
1709
|
+
|
1710
|
+
& when (@tertiaryFocusWithOverline = true) {
|
1711
|
+
box-shadow: inset 0 @tertiaryLineHeight 0 @tyf;
|
1712
|
+
}
|
1713
|
+
|
1714
|
+
& when (@tertiaryFocusWithUnderline = false) and (@tertiaryFocusWithOverline = false) {
|
1715
|
+
box-shadow: none;
|
1716
|
+
}
|
1717
|
+
|
1718
|
+
color: @tyf;
|
1719
|
+
}
|
1720
|
+
|
1721
|
+
.ui.tertiary.@{color}.buttons .active.button,
|
1722
|
+
.ui.tertiary.@{color}.buttons .tertiary.active.button,
|
1723
|
+
.ui.tertiary.@{color}.active.button,
|
1724
|
+
.ui.tertiary.@{color}.buttons .button:active,
|
1725
|
+
.ui.tertiary.@{color}.buttons .tertiary.button:active,
|
1726
|
+
.ui.tertiary.@{color}.button:active {
|
1727
|
+
|
1728
|
+
& when (@tertiaryActiveWithUnderline = true) {
|
1729
|
+
box-shadow: inset 0 -@tertiaryLineHeight 0 @tya;
|
1730
|
+
}
|
1731
|
+
|
1732
|
+
& when (@tertiaryActiveWithOverline = true) {
|
1733
|
+
box-shadow: inset 0 @tertiaryLineHeight 0 @tya;
|
1734
|
+
}
|
1735
|
+
|
1736
|
+
& when (@tertiaryActiveWithUnderline = false) and (@tertiaryActiveWithOverline = false) {
|
1737
|
+
box-shadow: none;
|
1738
|
+
}
|
1739
|
+
|
1740
|
+
color: @a;
|
1741
|
+
}
|
1747
1742
|
}
|
1743
|
+
})
|
1744
|
+
}
|
1748
1745
|
|
1749
|
-
|
1750
|
-
|
1746
|
+
& when not (@variationButtonConsequences = false) {
|
1747
|
+
each(@variationButtonConsequences, {
|
1748
|
+
@consequence: @value;
|
1749
|
+
|
1750
|
+
@_backgroundColor: "@{consequence}Color";
|
1751
|
+
@_backgroundColorHover: "@{consequence}ColorHover";
|
1752
|
+
@_backgroundColorFocus: "@{consequence}ColorFocus";
|
1753
|
+
@_backgroundColorDown: "@{consequence}ColorDown";
|
1754
|
+
@_backgroundColorActive: "@{consequence}ColorActive";
|
1755
|
+
@_textColor: "@{consequence}TextColor";
|
1756
|
+
@_textShadow: "@{consequence}TextShadow";
|
1757
|
+
|
1758
|
+
/* Standard */
|
1759
|
+
.ui.@{consequence}.buttons .button,
|
1760
|
+
.ui.@{consequence}.button {
|
1761
|
+
background-color: @@_backgroundColor;
|
1762
|
+
color: @@_textColor;
|
1763
|
+
text-shadow: @@_textShadow;
|
1764
|
+
background-image: @coloredBackgroundImage;
|
1765
|
+
}
|
1766
|
+
.ui.@{consequence}.button {
|
1767
|
+
box-shadow: @coloredBoxShadow;
|
1768
|
+
}
|
1769
|
+
.ui.@{consequence}.buttons .button:hover,
|
1770
|
+
.ui.@{consequence}.button:hover {
|
1771
|
+
background-color: @@_backgroundColorHover;
|
1772
|
+
color: @@_textColor;
|
1773
|
+
text-shadow: @@_textShadow;
|
1774
|
+
}
|
1775
|
+
.ui.@{consequence}.buttons .button:focus,
|
1776
|
+
.ui.@{consequence}.button:focus {
|
1777
|
+
background-color: @@_backgroundColorFocus;
|
1778
|
+
color: @@_textColor;
|
1779
|
+
text-shadow: @@_textShadow;
|
1780
|
+
}
|
1781
|
+
.ui.@{consequence}.buttons .button:active,
|
1782
|
+
.ui.@{consequence}.button:active {
|
1783
|
+
background-color: @@_backgroundColorDown;
|
1784
|
+
color: @@_textColor;
|
1785
|
+
text-shadow: @@_textShadow;
|
1786
|
+
}
|
1787
|
+
.ui.@{consequence}.buttons .active.button,
|
1788
|
+
.ui.@{consequence}.buttons .active.button:active,
|
1789
|
+
.ui.@{consequence}.active.button,
|
1790
|
+
.ui.@{consequence}.button .active.button:active {
|
1791
|
+
background-color: @@_backgroundColorActive;
|
1792
|
+
color: @@_textColor;
|
1793
|
+
text-shadow: @@_textShadow;
|
1794
|
+
}
|
1795
|
+
& when (@variationButtonBasic) {
|
1796
|
+
/* Basic */
|
1797
|
+
.ui.basic.@{consequence}.buttons .button,
|
1798
|
+
.ui.basic.@{consequence}.button {
|
1799
|
+
background: transparent;
|
1800
|
+
box-shadow: 0 0 0 @basicBorderSize @@_backgroundColor inset;
|
1801
|
+
color: @@_backgroundColor;
|
1802
|
+
}
|
1803
|
+
.ui.basic.@{consequence}.buttons .button:hover,
|
1804
|
+
.ui.basic.@{consequence}.button:hover {
|
1805
|
+
background: transparent;
|
1806
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorHover inset;
|
1807
|
+
color: @@_backgroundColorHover;
|
1808
|
+
}
|
1809
|
+
.ui.basic.@{consequence}.buttons .button:focus,
|
1810
|
+
.ui.basic.@{consequence}.button:focus {
|
1811
|
+
background: transparent;
|
1812
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorFocus inset;
|
1813
|
+
color: @@_backgroundColorHover;
|
1814
|
+
}
|
1815
|
+
.ui.basic.@{consequence}.buttons .active.button,
|
1816
|
+
.ui.basic.@{consequence}.active.button {
|
1817
|
+
background: transparent;
|
1818
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorActive inset;
|
1819
|
+
color: @@_backgroundColorDown;
|
1820
|
+
}
|
1821
|
+
.ui.basic.@{consequence}.buttons .button:active,
|
1822
|
+
.ui.basic.@{consequence}.button:active {
|
1823
|
+
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorDown inset;
|
1824
|
+
color: @@_backgroundColorDown;
|
1825
|
+
}
|
1826
|
+
.ui.buttons:not(.vertical) > .basic.@{consequence}.button:not(:first-child) {
|
1827
|
+
margin-left: -@basicColoredBorderSize;
|
1828
|
+
}
|
1751
1829
|
}
|
1830
|
+
})
|
1831
|
+
}
|
1832
|
+
|
1833
|
+
& when (@variationButtonGroups) {
|
1834
|
+
/*******************************
|
1835
|
+
Groups
|
1836
|
+
*******************************/
|
1752
1837
|
|
1753
|
-
|
1754
|
-
|
1838
|
+
.ui.buttons {
|
1839
|
+
display: inline-flex;
|
1840
|
+
flex-direction: row;
|
1841
|
+
font-size: 0;
|
1842
|
+
vertical-align: baseline;
|
1843
|
+
margin: @verticalMargin @horizontalMargin 0 0;
|
1755
1844
|
}
|
1756
|
-
})
|
1757
|
-
}
|
1758
1845
|
|
1759
|
-
|
1760
|
-
|
1761
|
-
@consequence: @value;
|
1762
|
-
|
1763
|
-
@_backgroundColor: "@{consequence}Color";
|
1764
|
-
@_backgroundColorHover: "@{consequence}ColorHover";
|
1765
|
-
@_backgroundColorFocus: "@{consequence}ColorFocus";
|
1766
|
-
@_backgroundColorDown: "@{consequence}ColorDown";
|
1767
|
-
@_backgroundColorActive: "@{consequence}ColorActive";
|
1768
|
-
@_textColor: "@{consequence}TextColor";
|
1769
|
-
@_textShadow: "@{consequence}TextShadow";
|
1770
|
-
|
1771
|
-
/* Standard */
|
1772
|
-
.ui.@{consequence}.buttons .button,
|
1773
|
-
.ui.@{consequence}.button {
|
1774
|
-
background-color: @@_backgroundColor;
|
1775
|
-
color: @@_textColor;
|
1776
|
-
text-shadow: @@_textShadow;
|
1777
|
-
background-image: @coloredBackgroundImage;
|
1778
|
-
}
|
1779
|
-
.ui.@{consequence}.button {
|
1780
|
-
box-shadow: @coloredBoxShadow;
|
1781
|
-
}
|
1782
|
-
.ui.@{consequence}.buttons .button:hover,
|
1783
|
-
.ui.@{consequence}.button:hover {
|
1784
|
-
background-color: @@_backgroundColorHover;
|
1785
|
-
color: @@_textColor;
|
1786
|
-
text-shadow: @@_textShadow;
|
1787
|
-
}
|
1788
|
-
.ui.@{consequence}.buttons .button:focus,
|
1789
|
-
.ui.@{consequence}.button:focus {
|
1790
|
-
background-color: @@_backgroundColorFocus;
|
1791
|
-
color: @@_textColor;
|
1792
|
-
text-shadow: @@_textShadow;
|
1793
|
-
}
|
1794
|
-
.ui.@{consequence}.buttons .button:active,
|
1795
|
-
.ui.@{consequence}.button:active {
|
1796
|
-
background-color: @@_backgroundColorDown;
|
1797
|
-
color: @@_textColor;
|
1798
|
-
text-shadow: @@_textShadow;
|
1799
|
-
}
|
1800
|
-
.ui.@{consequence}.buttons .active.button,
|
1801
|
-
.ui.@{consequence}.buttons .active.button:active,
|
1802
|
-
.ui.@{consequence}.active.button,
|
1803
|
-
.ui.@{consequence}.button .active.button:active {
|
1804
|
-
background-color: @@_backgroundColorActive;
|
1805
|
-
color: @@_textColor;
|
1806
|
-
text-shadow: @@_textShadow;
|
1846
|
+
.ui.buttons:not(.basic):not(.inverted) {
|
1847
|
+
box-shadow: @groupBoxShadow;
|
1807
1848
|
}
|
1808
|
-
& when (@variationButtonBasic) {
|
1809
|
-
/* Basic */
|
1810
|
-
.ui.basic.@{consequence}.buttons .button,
|
1811
|
-
.ui.basic.@{consequence}.button {
|
1812
|
-
background: transparent;
|
1813
|
-
box-shadow: 0 0 0 @basicBorderSize @@_backgroundColor inset;
|
1814
|
-
color: @@_backgroundColor;
|
1815
|
-
}
|
1816
|
-
.ui.basic.@{consequence}.buttons .button:hover,
|
1817
|
-
.ui.basic.@{consequence}.button:hover {
|
1818
|
-
background: transparent;
|
1819
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorHover inset;
|
1820
|
-
color: @@_backgroundColorHover;
|
1821
|
-
}
|
1822
|
-
.ui.basic.@{consequence}.buttons .button:focus,
|
1823
|
-
.ui.basic.@{consequence}.button:focus {
|
1824
|
-
background: transparent;
|
1825
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorFocus inset;
|
1826
|
-
color: @@_backgroundColorHover;
|
1827
|
-
}
|
1828
|
-
.ui.basic.@{consequence}.buttons .active.button,
|
1829
|
-
.ui.basic.@{consequence}.active.button {
|
1830
|
-
background: transparent;
|
1831
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorActive inset;
|
1832
|
-
color: @@_backgroundColorDown;
|
1833
|
-
}
|
1834
|
-
.ui.basic.@{consequence}.buttons .button:active,
|
1835
|
-
.ui.basic.@{consequence}.button:active {
|
1836
|
-
box-shadow: 0 0 0 @basicColoredBorderSize @@_backgroundColorDown inset;
|
1837
|
-
color: @@_backgroundColorDown;
|
1838
|
-
}
|
1839
|
-
.ui.buttons:not(.vertical) > .basic.@{consequence}.button:not(:first-child) {
|
1840
|
-
margin-left: -@basicColoredBorderSize;
|
1841
|
-
}
|
1842
|
-
}
|
1843
|
-
})
|
1844
|
-
}
|
1845
1849
|
|
1850
|
+
/* Clearfix */
|
1851
|
+
.ui.buttons::after {
|
1852
|
+
content: ".";
|
1853
|
+
display: block;
|
1854
|
+
height: 0;
|
1855
|
+
clear: both;
|
1856
|
+
visibility: hidden;
|
1857
|
+
}
|
1846
1858
|
|
1847
|
-
|
1848
|
-
|
1849
|
-
|
1850
|
-
|
1851
|
-
|
1852
|
-
.ui.buttons {
|
1853
|
-
display: inline-flex;
|
1854
|
-
flex-direction: row;
|
1855
|
-
font-size: 0;
|
1856
|
-
vertical-align: baseline;
|
1857
|
-
margin: @verticalMargin @horizontalMargin 0 0;
|
1858
|
-
}
|
1859
|
-
|
1860
|
-
.ui.buttons:not(.basic):not(.inverted) {
|
1861
|
-
box-shadow: @groupBoxShadow;
|
1862
|
-
}
|
1863
|
-
|
1864
|
-
/* Clearfix */
|
1865
|
-
.ui.buttons::after {
|
1866
|
-
content: ".";
|
1867
|
-
display: block;
|
1868
|
-
height: 0;
|
1869
|
-
clear: both;
|
1870
|
-
visibility: hidden;
|
1871
|
-
}
|
1872
|
-
|
1873
|
-
/* Standard Group */
|
1874
|
-
.ui.buttons .button {
|
1875
|
-
flex: 1 0 auto;
|
1876
|
-
border-radius: 0;
|
1877
|
-
margin: @groupButtonOffset;
|
1878
|
-
}
|
1879
|
-
|
1880
|
-
.ui.buttons:not(.basic):not(.inverted) > .button:not(.basic):not(.inverted) {
|
1881
|
-
box-shadow: @groupButtonBoxShadow;
|
1882
|
-
}
|
1883
|
-
|
1884
|
-
.ui.buttons .button:first-child {
|
1885
|
-
border-left: none;
|
1886
|
-
margin-left: 0;
|
1887
|
-
border-top-left-radius: @borderRadius;
|
1888
|
-
border-bottom-left-radius: @borderRadius;
|
1889
|
-
}
|
1890
|
-
|
1891
|
-
.ui.buttons .button:last-child {
|
1892
|
-
border-top-right-radius: @borderRadius;
|
1893
|
-
border-bottom-right-radius: @borderRadius;
|
1894
|
-
}
|
1895
|
-
& when (@variationButtonVertical) {
|
1896
|
-
/* Vertical Style */
|
1897
|
-
.ui.vertical.buttons {
|
1898
|
-
display: inline-flex;
|
1899
|
-
flex-direction: column;
|
1900
|
-
}
|
1901
|
-
|
1902
|
-
.ui.vertical.buttons .button {
|
1903
|
-
display: block;
|
1904
|
-
float: none;
|
1905
|
-
width: 100%;
|
1906
|
-
margin: @verticalGroupOffset;
|
1907
|
-
border-radius: 0;
|
1908
|
-
&:not(.basic) {
|
1909
|
-
box-shadow: @verticalBoxShadow;
|
1910
|
-
}
|
1911
|
-
}
|
1912
|
-
|
1913
|
-
.ui.vertical.buttons .button:first-child {
|
1914
|
-
border-top-left-radius: @borderRadius;
|
1915
|
-
border-top-right-radius: @borderRadius;
|
1916
|
-
}
|
1917
|
-
|
1918
|
-
.ui.vertical.buttons .button:last-child {
|
1919
|
-
margin-bottom: 0;
|
1920
|
-
border-bottom-left-radius: @borderRadius;
|
1921
|
-
border-bottom-right-radius: @borderRadius;
|
1922
|
-
}
|
1923
|
-
|
1924
|
-
.ui.vertical.buttons .button:only-child {
|
1925
|
-
border-radius: @borderRadius;
|
1859
|
+
/* Standard Group */
|
1860
|
+
.ui.buttons .button {
|
1861
|
+
flex: 1 0 auto;
|
1862
|
+
border-radius: 0;
|
1863
|
+
margin: @groupButtonOffset;
|
1926
1864
|
}
|
1927
|
-
|
1928
|
-
|
1929
|
-
|
1930
|
-
}
|
1865
|
+
|
1866
|
+
.ui.buttons:not(.basic):not(.inverted) > .button:not(.basic):not(.inverted) {
|
1867
|
+
box-shadow: @groupButtonBoxShadow;
|
1931
1868
|
}
|
1932
|
-
}
|
1933
1869
|
|
1934
|
-
|
1935
|
-
|
1936
|
-
|
1870
|
+
.ui.buttons .button:first-child {
|
1871
|
+
border-left: none;
|
1872
|
+
margin-left: 0;
|
1873
|
+
border-top-left-radius: @borderRadius;
|
1874
|
+
border-bottom-left-radius: @borderRadius;
|
1937
1875
|
}
|
1938
|
-
|
1939
|
-
|
1940
|
-
border-
|
1941
|
-
|
1942
|
-
|
1943
|
-
|
1944
|
-
|
1945
|
-
|
1946
|
-
|
1947
|
-
|
1948
|
-
|
1949
|
-
|
1950
|
-
|
1951
|
-
|
1952
|
-
|
1953
|
-
|
1954
|
-
|
1955
|
-
|
1956
|
-
|
1957
|
-
|
1958
|
-
|
1959
|
-
|
1960
|
-
|
1961
|
-
|
1962
|
-
|
1963
|
-
|
1964
|
-
}
|
1965
|
-
|
1966
|
-
|
1967
|
-
|
1968
|
-
|
1969
|
-
|
1970
|
-
|
1971
|
-
|
1972
|
-
|
1973
|
-
|
1974
|
-
|
1975
|
-
|
1976
|
-
|
1977
|
-
|
1978
|
-
|
1979
|
-
|
1980
|
-
}
|
1981
|
-
|
1982
|
-
|
1983
|
-
|
1984
|
-
|
1985
|
-
|
1986
|
-
|
1876
|
+
|
1877
|
+
.ui.buttons .button:last-child {
|
1878
|
+
border-top-right-radius: @borderRadius;
|
1879
|
+
border-bottom-right-radius: @borderRadius;
|
1880
|
+
}
|
1881
|
+
& when (@variationButtonVertical) {
|
1882
|
+
/* Vertical Style */
|
1883
|
+
.ui.vertical.buttons {
|
1884
|
+
display: inline-flex;
|
1885
|
+
flex-direction: column;
|
1886
|
+
}
|
1887
|
+
|
1888
|
+
.ui.vertical.buttons .button {
|
1889
|
+
display: block;
|
1890
|
+
float: none;
|
1891
|
+
width: 100%;
|
1892
|
+
margin: @verticalGroupOffset;
|
1893
|
+
border-radius: 0;
|
1894
|
+
&:not(.basic) {
|
1895
|
+
box-shadow: @verticalBoxShadow;
|
1896
|
+
}
|
1897
|
+
}
|
1898
|
+
|
1899
|
+
.ui.vertical.buttons .button:first-child {
|
1900
|
+
border-top-left-radius: @borderRadius;
|
1901
|
+
border-top-right-radius: @borderRadius;
|
1902
|
+
}
|
1903
|
+
|
1904
|
+
.ui.vertical.buttons .button:last-child {
|
1905
|
+
margin-bottom: 0;
|
1906
|
+
border-bottom-left-radius: @borderRadius;
|
1907
|
+
border-bottom-right-radius: @borderRadius;
|
1908
|
+
}
|
1909
|
+
|
1910
|
+
.ui.vertical.buttons .button:only-child {
|
1911
|
+
border-radius: @borderRadius;
|
1912
|
+
}
|
1913
|
+
& when (@variationButtonBasic) {
|
1914
|
+
.ui.vertical.buttons .basic.button:not(:first-child) {
|
1915
|
+
border-top: none;
|
1916
|
+
}
|
1917
|
+
}
|
1918
|
+
}
|
1919
|
+
|
1920
|
+
& when (@variationButtonWrapping) {
|
1921
|
+
.ui.wrapping.buttons {
|
1922
|
+
flex-wrap: wrap;
|
1923
|
+
}
|
1924
|
+
& when (@variationButtonBasic) {
|
1925
|
+
.ui.wrapping.basic.buttons {
|
1926
|
+
border-bottom: none;
|
1927
|
+
& .button {
|
1928
|
+
border-bottom: @basicGroupBorder;
|
1929
|
+
&:hover {
|
1930
|
+
background: transparent !important;
|
1931
|
+
}
|
1932
|
+
}
|
1933
|
+
}
|
1934
|
+
}
|
1935
|
+
& when (@variationButtonCompact) {
|
1936
|
+
.ui.compact.wrapping.buttons .button {
|
1937
|
+
flex: none;
|
1938
|
+
}
|
1939
|
+
}
|
1987
1940
|
}
|
1941
|
+
& when (@variationButtonWrapped) {
|
1942
|
+
.ui.wrapped.buttons:not(.spaced) {
|
1943
|
+
border-top-right-radius: 0;
|
1944
|
+
& .button {
|
1945
|
+
&:first-child {
|
1946
|
+
border-radius: @basicBorderRadius 0 0 0;
|
1947
|
+
}
|
1948
|
+
&:last-child {
|
1949
|
+
border-radius: 0 0 @basicBorderRadius 0;
|
1950
|
+
}
|
1951
|
+
}
|
1952
|
+
}
|
1953
|
+
& when (@variationButtonAttached) {
|
1954
|
+
.ui.wrapped[class*="top attached"].buttons {
|
1955
|
+
border-radius: @basicBorderRadius 0 0 0;
|
1956
|
+
& .button:last-child {
|
1957
|
+
border-radius: 0;
|
1958
|
+
}
|
1959
|
+
}
|
1960
|
+
.ui.wrapped[class*="bottom attached"].buttons {
|
1961
|
+
border-radius: 0 0 0 @basicBorderRadius;
|
1962
|
+
& .button:first-child {
|
1963
|
+
border-radius: 0;
|
1964
|
+
}
|
1965
|
+
}
|
1966
|
+
}
|
1967
|
+
}
|
1968
|
+
& when (@variationButtonSpaced) {
|
1969
|
+
.ui.spaced.buttons .ui.button {
|
1970
|
+
margin-bottom: @spacedMargin;
|
1971
|
+
margin-right: @spacedMargin;
|
1972
|
+
border-radius: @basicBorderRadius;
|
1973
|
+
}
|
1974
|
+
& when (@variationButtonBasic) {
|
1975
|
+
.ui.spaced.basic.buttons {
|
1976
|
+
border: none;
|
1977
|
+
& .button {
|
1978
|
+
border: @basicGroupBorder;
|
1979
|
+
&.basic {
|
1980
|
+
border: none;
|
1981
|
+
}
|
1982
|
+
}
|
1983
|
+
}
|
1984
|
+
& when (@variationButtonVertical) {
|
1985
|
+
.ui.spaced.basic.vertical.buttons .button:first-child {
|
1986
|
+
border-top: @basicGroupBorder;
|
1987
|
+
}
|
1988
|
+
}
|
1989
|
+
& when (@variationButtonWrapping) {
|
1990
|
+
.ui.spaced.basic.wrapping.buttons .button:not(.basic) {
|
1991
|
+
border-top: @basicGroupBorder;
|
1992
|
+
border-right: @basicGroupBorder;
|
1993
|
+
&:first-child {
|
1994
|
+
border-left: @basicGroupBorder;
|
1995
|
+
}
|
1996
|
+
}
|
1997
|
+
}
|
1998
|
+
& when (@variationButtonInverted) {
|
1999
|
+
.ui.spaced.basic.inverted.buttons .basic.button {
|
2000
|
+
margin-bottom: e(%("calc(%d + %d)", @spacedMargin, @basicColoredBorderSize));
|
2001
|
+
margin-top: @basicColoredBorderSize;
|
2002
|
+
}
|
2003
|
+
}
|
2004
|
+
}
|
2005
|
+
}
|
2006
|
+
|
1988
2007
|
& when (@variationButtonBasic) {
|
1989
|
-
|
1990
|
-
|
1991
|
-
|
1992
|
-
|
1993
|
-
|
1994
|
-
|
1995
|
-
|
1996
|
-
|
1997
|
-
|
1998
|
-
|
1999
|
-
|
2000
|
-
|
2001
|
-
|
2002
|
-
|
2003
|
-
|
2004
|
-
.ui.
|
2005
|
-
|
2006
|
-
|
2007
|
-
|
2008
|
-
border-left: @basicGroupBorder;
|
2009
|
-
}
|
2010
|
-
}
|
2011
|
-
}
|
2012
|
-
& when (@variationButtonInverted) {
|
2013
|
-
.ui.spaced.basic.inverted.buttons .basic.button {
|
2014
|
-
margin-bottom: e(%("calc(%d + %d)", @spacedMargin, @basicColoredBorderSize));
|
2015
|
-
margin-top: @basicColoredBorderSize;
|
2016
|
-
}
|
2017
|
-
}
|
2018
|
-
}
|
2019
|
-
}
|
2020
|
-
|
2021
|
-
& when (@variationButtonBasic) {
|
2022
|
-
.ui.basic.buttons:not(.vertical).inverted .button,
|
2023
|
-
.ui.basic.buttons:not(.vertical) .basic.button {
|
2024
|
-
margin-left: -@basicColoredBorderSize;
|
2025
|
-
border-right: none;
|
2026
|
-
}
|
2027
|
-
.ui.basic.buttons:not(.vertical):not(.spaced):not(.inverted) .basic.button {
|
2028
|
-
margin-top: -@basicColoredBorderSize;
|
2029
|
-
border-bottom: none;
|
2030
|
-
}
|
2031
|
-
& when (@variationButtonAttached) or (@variationButtonInverted) {
|
2032
|
-
.ui.inverted.basic.buttons:not(.spaced) .button,
|
2033
|
-
.ui.attached.basic.buttons:not(.wrapping):not(.inverted) .basic.button {
|
2034
|
-
margin-bottom: @attachedOffset;
|
2035
|
-
}
|
2036
|
-
}
|
2037
|
-
.ui.basic.buttons:not(.vertical):not(.attached):not(.spaced):not(.wrapping):not(.inverted) .basic.button {
|
2038
|
-
margin-bottom: -@basicColoredBorderSize;
|
2039
|
-
}
|
2040
|
-
}
|
2008
|
+
.ui.basic.buttons:not(.vertical).inverted .button,
|
2009
|
+
.ui.basic.buttons:not(.vertical) .basic.button {
|
2010
|
+
margin-left: -@basicColoredBorderSize;
|
2011
|
+
border-right: none;
|
2012
|
+
}
|
2013
|
+
.ui.basic.buttons:not(.vertical):not(.spaced):not(.inverted) .basic.button {
|
2014
|
+
margin-top: -@basicColoredBorderSize;
|
2015
|
+
border-bottom: none;
|
2016
|
+
}
|
2017
|
+
& when (@variationButtonAttached) or (@variationButtonInverted) {
|
2018
|
+
.ui.inverted.basic.buttons:not(.spaced) .button,
|
2019
|
+
.ui.attached.basic.buttons:not(.wrapping):not(.inverted) .basic.button {
|
2020
|
+
margin-bottom: @attachedOffset;
|
2021
|
+
}
|
2022
|
+
}
|
2023
|
+
.ui.basic.buttons:not(.vertical):not(.attached):not(.spaced):not(.wrapping):not(.inverted) .basic.button {
|
2024
|
+
margin-bottom: -@basicColoredBorderSize;
|
2025
|
+
}
|
2026
|
+
}
|
2041
2027
|
}
|
2042
2028
|
.loadUIOverrides();
|