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
@@ -9,12 +9,11 @@
|
|
9
9
|
*
|
10
10
|
*/
|
11
11
|
|
12
|
-
|
13
12
|
/*******************************
|
14
13
|
Theme
|
15
14
|
*******************************/
|
16
15
|
|
17
|
-
@type
|
16
|
+
@type : 'collection';
|
18
17
|
@element : 'menu';
|
19
18
|
|
20
19
|
@import (multiple) '../../theme.config';
|
@@ -23,1981 +22,1972 @@
|
|
23
22
|
Standard
|
24
23
|
*******************************/
|
25
24
|
|
26
|
-
|
25
|
+
/* --------------
|
27
26
|
Menu
|
28
|
-
|
27
|
+
--------------- */
|
29
28
|
|
30
29
|
.ui.menu {
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
30
|
+
display: flex;
|
31
|
+
margin: @margin;
|
32
|
+
font-family: @fontFamily;
|
33
|
+
background: @background;
|
34
|
+
font-weight: @fontWeight;
|
35
|
+
border: @border;
|
36
|
+
box-shadow: @boxShadow;
|
37
|
+
border-radius: @borderRadius;
|
38
|
+
min-height: @minHeight;
|
40
39
|
}
|
41
40
|
|
42
41
|
.ui.menu::after {
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
42
|
+
content: '';
|
43
|
+
display: block;
|
44
|
+
height: 0;
|
45
|
+
clear: both;
|
46
|
+
visibility: hidden;
|
48
47
|
}
|
49
48
|
|
50
49
|
.ui.menu:first-child {
|
51
|
-
|
50
|
+
margin-top: 0;
|
52
51
|
}
|
53
52
|
.ui.menu:last-child {
|
54
|
-
|
53
|
+
margin-bottom: 0;
|
55
54
|
}
|
56
55
|
|
57
|
-
|
58
|
-
/*--------------
|
56
|
+
/* --------------
|
59
57
|
Sub-Menu
|
60
|
-
|
58
|
+
--------------- */
|
61
59
|
|
62
60
|
.ui.menu .menu {
|
63
|
-
|
61
|
+
margin: 0;
|
64
62
|
}
|
65
63
|
|
66
64
|
.ui.menu:not(.vertical) > .menu {
|
67
|
-
|
65
|
+
display: flex;
|
68
66
|
}
|
69
67
|
|
70
|
-
|
68
|
+
/* --------------
|
71
69
|
Item
|
72
|
-
|
70
|
+
--------------- */
|
73
71
|
|
74
72
|
.ui.menu:not(.vertical) .item {
|
75
|
-
|
76
|
-
|
73
|
+
display: flex;
|
74
|
+
align-items: center;
|
77
75
|
}
|
78
76
|
|
79
77
|
.ui.menu .item {
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
78
|
+
position: relative;
|
79
|
+
vertical-align: middle;
|
80
|
+
line-height: 1;
|
81
|
+
text-decoration: none;
|
82
|
+
-webkit-tap-highlight-color: transparent;
|
83
|
+
flex: 0 0 auto;
|
84
|
+
user-select: none;
|
85
|
+
|
86
|
+
background: @itemBackground;
|
87
|
+
padding: @itemVerticalPadding @itemHorizontalPadding;
|
88
|
+
text-transform: @itemTextTransform;
|
89
|
+
color: @itemTextColor;
|
90
|
+
font-weight: @itemFontWeight;
|
91
|
+
transition: @itemTransition;
|
94
92
|
}
|
95
93
|
|
96
94
|
.ui.menu > .item:first-child {
|
97
|
-
|
95
|
+
border-radius: @borderRadius 0 0 @borderRadius;
|
98
96
|
}
|
99
97
|
|
100
98
|
/* Border */
|
101
99
|
.ui.menu .item::before {
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
100
|
+
position: absolute;
|
101
|
+
content: '';
|
102
|
+
top: 0;
|
103
|
+
right: 0;
|
104
|
+
height: 100%;
|
107
105
|
|
108
|
-
|
109
|
-
|
106
|
+
width: @dividerSize;
|
107
|
+
background: @dividerBackground;
|
110
108
|
}
|
111
109
|
|
112
|
-
|
110
|
+
/* --------------
|
113
111
|
Text Content
|
114
|
-
|
112
|
+
--------------- */
|
115
113
|
|
116
114
|
.ui.menu .text.item > *,
|
117
115
|
.ui.menu .item > a:not(.ui),
|
118
116
|
.ui.menu .item > p:only-child {
|
119
|
-
|
120
|
-
|
117
|
+
user-select: text;
|
118
|
+
line-height: @textLineHeight;
|
121
119
|
}
|
122
120
|
.ui.menu .item > p:first-child {
|
123
|
-
|
121
|
+
margin-top: 0;
|
124
122
|
}
|
125
123
|
.ui.menu .item > p:last-child {
|
126
|
-
|
124
|
+
margin-bottom: 0;
|
127
125
|
}
|
128
126
|
|
129
|
-
|
127
|
+
/* --------------
|
130
128
|
Icons
|
131
|
-
|
129
|
+
--------------- */
|
132
130
|
|
133
131
|
.ui.menu .item > i.icon {
|
134
|
-
|
135
|
-
|
136
|
-
|
132
|
+
opacity: @iconOpacity;
|
133
|
+
float: @iconFloat;
|
134
|
+
margin: @iconMargin;
|
137
135
|
}
|
138
136
|
|
139
|
-
|
137
|
+
/* --------------
|
140
138
|
Button
|
141
|
-
|
139
|
+
--------------- */
|
142
140
|
|
143
141
|
.ui.menu:not(.vertical) .item > .button {
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
142
|
+
position: relative;
|
143
|
+
top: @buttonOffset;
|
144
|
+
margin: @buttonMargin;
|
145
|
+
padding-bottom: @buttonVerticalPadding;
|
146
|
+
padding-top: @buttonVerticalPadding;
|
147
|
+
font-size: @buttonSize;
|
150
148
|
}
|
151
149
|
|
152
|
-
|
150
|
+
/* ----------------
|
153
151
|
Grid / Container
|
154
|
-
|
152
|
+
----------------- */
|
155
153
|
|
156
|
-
.ui.menu >
|
154
|
+
.ui.menu > .grid,
|
157
155
|
.ui.menu > .container {
|
158
|
-
|
159
|
-
|
160
|
-
|
156
|
+
display: flex;
|
157
|
+
align-items: inherit;
|
158
|
+
flex-direction: inherit;
|
161
159
|
}
|
162
160
|
|
163
|
-
|
161
|
+
/* --------------
|
164
162
|
Inputs
|
165
|
-
|
163
|
+
--------------- */
|
166
164
|
|
167
165
|
.ui.menu .item > .input {
|
168
|
-
|
166
|
+
width: 100%;
|
169
167
|
}
|
170
168
|
.ui.menu:not(.vertical) .item > .input {
|
171
|
-
|
172
|
-
|
173
|
-
|
169
|
+
position: relative;
|
170
|
+
top: @inputOffset;
|
171
|
+
margin: @inputVerticalMargin 0;
|
174
172
|
}
|
175
173
|
.ui.menu .item > .input input {
|
176
|
-
|
177
|
-
|
178
|
-
|
174
|
+
font-size: @inputSize;
|
175
|
+
padding-top: @inputVerticalPadding;
|
176
|
+
padding-bottom: @inputVerticalPadding;
|
179
177
|
}
|
180
178
|
|
181
|
-
|
182
|
-
/*--------------
|
179
|
+
/* --------------
|
183
180
|
Header
|
184
|
-
|
181
|
+
--------------- */
|
185
182
|
|
186
183
|
.ui.menu .header.item,
|
187
184
|
.ui.vertical.menu .header.item {
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
185
|
+
margin: 0;
|
186
|
+
background: @headerBackground;
|
187
|
+
text-transform: @headerTextTransform;
|
188
|
+
font-weight: @headerWeight;
|
192
189
|
}
|
193
190
|
|
194
191
|
& when (@variationMenuVertical) {
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
192
|
+
.ui.vertical.menu .item > .header:not(.ui) {
|
193
|
+
margin: @verticalHeaderMargin;
|
194
|
+
font-size: @verticalHeaderFontSize;
|
195
|
+
font-weight: @verticalHeaderFontWeight;
|
196
|
+
}
|
200
197
|
}
|
201
198
|
|
202
|
-
|
199
|
+
/* --------------
|
203
200
|
Dropdowns
|
204
|
-
|
205
|
-
|
201
|
+
--------------- */
|
206
202
|
|
207
203
|
/* Dropdown Icon */
|
208
204
|
.ui.menu .item > i.dropdown.icon {
|
209
|
-
|
210
|
-
|
211
|
-
|
205
|
+
padding: 0;
|
206
|
+
float: @dropdownIconFloat;
|
207
|
+
margin: 0 0 0 @dropdownIconDistance;
|
212
208
|
}
|
213
209
|
|
214
210
|
/* Menu */
|
215
211
|
.ui.menu .dropdown.item .menu {
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
212
|
+
min-width: e("calc(100% - 1px)");
|
213
|
+
border-radius: 0 0 @dropdownMenuBorderRadius @dropdownMenuBorderRadius;
|
214
|
+
background: @dropdownBackground;
|
215
|
+
margin: @dropdownMenuDistance 0 0;
|
216
|
+
box-shadow: @dropdownMenuBoxShadow;
|
221
217
|
}
|
222
218
|
.ui.menu .dropdown.item:not(.column) .menu {
|
223
|
-
|
219
|
+
flex-direction: column;
|
224
220
|
}
|
225
221
|
|
226
|
-
|
227
222
|
/* Menu Items */
|
228
223
|
.ui.menu .ui.dropdown .menu > .item {
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
224
|
+
margin: 0;
|
225
|
+
text-align: left;
|
226
|
+
font-size: @dropdownItemFontSize !important;
|
227
|
+
padding: @dropdownItemPadding !important;
|
228
|
+
background: @dropdownItemBackground !important;
|
229
|
+
color: @dropdownItemColor !important;
|
230
|
+
text-transform: @dropdownItemTextTransform !important;
|
231
|
+
font-weight: @dropdownItemFontWeight !important;
|
232
|
+
box-shadow: @dropdownItemBoxShadow !important;
|
233
|
+
transition: @dropdownItemTransition !important;
|
239
234
|
}
|
240
235
|
.ui.menu .ui.dropdown .menu > .item:hover {
|
241
|
-
|
242
|
-
|
236
|
+
background: @dropdownHoveredItemBackground !important;
|
237
|
+
color: @dropdownHoveredItemColor !important;
|
243
238
|
}
|
244
239
|
.ui.menu .ui.dropdown .menu > .selected.item {
|
245
|
-
|
246
|
-
|
240
|
+
background: @dropdownSelectedItemBackground !important;
|
241
|
+
color: @dropdownSelectedItemColor !important;
|
247
242
|
}
|
248
243
|
.ui.menu .ui.dropdown .menu > .active.item {
|
249
|
-
|
250
|
-
|
251
|
-
|
244
|
+
background: @dropdownActiveItemBackground !important;
|
245
|
+
font-weight: @dropdownActiveItemFontWeight !important;
|
246
|
+
color: @dropdownActiveItemColor !important;
|
252
247
|
}
|
253
248
|
|
254
249
|
.ui.menu .ui.dropdown.item .menu .item:not(.filtered) {
|
255
|
-
|
250
|
+
display: block;
|
256
251
|
}
|
257
252
|
.ui.menu .ui.dropdown .menu > .item > .icons,
|
258
253
|
.ui.menu .ui.dropdown .menu > .item > i.icon:not(.dropdown) {
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
254
|
+
display: inline-block;
|
255
|
+
font-size: @dropdownItemIconFontSize !important;
|
256
|
+
float: @dropdownItemIconFloat;
|
257
|
+
margin: @dropdownItemIconMargin !important;
|
263
258
|
}
|
264
259
|
|
265
260
|
& when (@variationMenuSecondary) or (@variationMenuText) {
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
261
|
+
/* Secondary */
|
262
|
+
.ui.secondary.menu .dropdown.item > .menu,
|
263
|
+
.ui.text.menu .dropdown.item > .menu {
|
264
|
+
border-radius: @dropdownMenuBorderRadius;
|
265
|
+
margin-top: @secondaryDropdownMenuDistance;
|
266
|
+
}
|
272
267
|
}
|
273
268
|
|
274
|
-
|
275
|
-
|
269
|
+
/* Pointing */
|
270
|
+
.ui.menu .pointing.dropdown.item .menu {
|
276
271
|
margin-top: @pointingDropdownMenuDistance;
|
277
272
|
}
|
278
273
|
|
279
274
|
& when (@variationMenuInverted) {
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
275
|
+
/* Inverted */
|
276
|
+
.ui.inverted.menu .search.dropdown.item > .search,
|
277
|
+
.ui.inverted.menu .search.dropdown.item > .text {
|
278
|
+
color: @invertedSelectionDropdownColor;
|
279
|
+
}
|
285
280
|
}
|
286
281
|
|
287
282
|
& when (@variationMenuVertical) {
|
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
|
-
|
283
|
+
/* Vertical */
|
284
|
+
.ui.vertical.menu .dropdown.item > i.icon {
|
285
|
+
float: right;
|
286
|
+
content: "\f0da";
|
287
|
+
margin-left: 1em;
|
288
|
+
}
|
289
|
+
.ui.vertical.menu .dropdown.item .menu {
|
290
|
+
left: 100%;
|
291
|
+
& when (@supportIE) {
|
292
|
+
/* IE needs 0, all others support max-content to show dropdown icon inline, so keep both settings! */
|
293
|
+
min-width: 0;
|
294
|
+
}
|
295
|
+
min-width: max-content;
|
296
|
+
margin: 0 0 0 @dropdownMenuDistance;
|
297
|
+
box-shadow: @dropdownVerticalMenuBoxShadow;
|
298
|
+
border-radius: 0 @dropdownMenuBorderRadius @dropdownMenuBorderRadius @dropdownMenuBorderRadius;
|
299
|
+
}
|
300
|
+
.ui.vertical.menu .dropdown.item.upward .menu {
|
301
|
+
bottom: 0;
|
302
|
+
}
|
303
|
+
.ui.vertical.menu .dropdown.item:not(.upward) .menu {
|
304
|
+
top: 0;
|
305
|
+
}
|
306
|
+
.ui.vertical.menu .active.dropdown.item {
|
307
|
+
border-top-right-radius: 0;
|
308
|
+
border-bottom-right-radius: 0;
|
309
|
+
}
|
310
|
+
.ui.vertical.menu .dropdown.active.item {
|
311
|
+
box-shadow: none;
|
312
|
+
}
|
318
313
|
}
|
319
314
|
|
320
315
|
/* Evenly Divided */
|
321
316
|
.ui.item.menu .dropdown .menu .item {
|
322
|
-
|
317
|
+
width: 100%;
|
323
318
|
}
|
324
319
|
|
325
|
-
|
320
|
+
/* --------------
|
326
321
|
Labels
|
327
|
-
|
322
|
+
--------------- */
|
328
323
|
|
329
324
|
.ui.menu .item > .label:not(.floating) {
|
330
|
-
|
331
|
-
|
325
|
+
margin-left: @labelTextMargin;
|
326
|
+
padding: @labelVerticalPadding @labelHorizontalPadding;
|
332
327
|
}
|
333
328
|
& when (@variationMenuVertical) {
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
329
|
+
.ui.vertical.menu .item > .label {
|
330
|
+
margin-top: @labelOffset;
|
331
|
+
margin-bottom: @labelOffset;
|
332
|
+
padding: @labelVerticalPadding @labelHorizontalPadding;
|
333
|
+
}
|
339
334
|
}
|
340
335
|
.ui.menu .item > .floating.label {
|
341
|
-
|
336
|
+
padding: @labelVerticalPadding @labelHorizontalPadding;
|
342
337
|
}
|
343
338
|
.ui.menu .item > .label {
|
344
|
-
|
345
|
-
|
339
|
+
background: @labelBackground;
|
340
|
+
color: @labelTextColor;
|
346
341
|
}
|
347
342
|
.ui.menu .item > .image.label img {
|
348
|
-
|
349
|
-
|
343
|
+
margin: @imageLabelImageMargin;
|
344
|
+
height: @imageLabelHeight;
|
350
345
|
}
|
351
|
-
|
346
|
+
|
347
|
+
/* --------------
|
352
348
|
Images
|
353
|
-
|
349
|
+
--------------- */
|
354
350
|
|
355
351
|
.ui.menu .item > img:not(.ui) {
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
352
|
+
display: inline-block;
|
353
|
+
vertical-align: middle;
|
354
|
+
margin: @imageMargin;
|
355
|
+
width: @imageWidth;
|
360
356
|
}
|
361
357
|
& when (@variationMenuVertical) {
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
358
|
+
.ui.vertical.menu .item > img:not(.ui):only-child {
|
359
|
+
display: block;
|
360
|
+
max-width: 100%;
|
361
|
+
width: @verticalImageWidth;
|
362
|
+
}
|
367
363
|
}
|
368
364
|
|
369
365
|
/*******************************
|
370
366
|
Coupling
|
371
367
|
*******************************/
|
372
368
|
|
373
|
-
|
369
|
+
/* --------------
|
374
370
|
List
|
375
|
-
|
371
|
+
--------------- */
|
376
372
|
|
377
373
|
/* Menu divider shouldn't apply */
|
378
374
|
.ui.menu .list .item::before {
|
379
|
-
|
375
|
+
background: none !important;
|
380
376
|
}
|
381
377
|
|
382
378
|
& when (@variationMenuVertical) {
|
383
|
-
|
384
|
-
|
385
|
-
|
379
|
+
/* --------------
|
380
|
+
Sidebar
|
381
|
+
--------------- */
|
386
382
|
|
387
|
-
|
383
|
+
/* Show vertical dividers below last */
|
388
384
|
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
385
|
+
.ui.vertical.sidebar.menu > .item:first-child::before {
|
386
|
+
display: block !important;
|
387
|
+
}
|
388
|
+
.ui.vertical.sidebar.menu > .item::before {
|
389
|
+
top: auto;
|
390
|
+
bottom: 0;
|
391
|
+
}
|
396
392
|
}
|
397
393
|
|
398
|
-
|
394
|
+
/* --------------
|
399
395
|
Container
|
400
|
-
|
396
|
+
--------------- */
|
401
397
|
|
402
398
|
@media only screen and (max-width: @largestMobileScreen) {
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
399
|
+
.ui.menu > .ui.container {
|
400
|
+
width: 100% !important;
|
401
|
+
margin-left: 0 !important;
|
402
|
+
margin-right: 0 !important;
|
403
|
+
}
|
408
404
|
}
|
409
405
|
@media only screen and (min-width: @tabletBreakpoint) {
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
406
|
+
.ui.menu:not(.secondary):not(.text):not(.tabular):not(.borderless) > .container > .item:not(.right):not(.borderless):first-child {
|
407
|
+
border-left: @dividerSize solid @dividerBackground;
|
408
|
+
}
|
409
|
+
.ui.menu:not(.secondary):not(.text):not(.tabular):not(.borderless) > .container > .right.item:not(.borderless):last-child,
|
410
|
+
.ui.menu:not(.secondary):not(.text):not(.tabular):not(.borderless) > .container > .right.menu > .item:not(.borderless):last-child {
|
411
|
+
border-right: @dividerSize solid @dividerBackground;
|
412
|
+
}
|
417
413
|
}
|
418
414
|
|
419
|
-
|
420
415
|
/*******************************
|
421
416
|
States
|
422
417
|
*******************************/
|
423
418
|
|
424
|
-
|
419
|
+
/* --------------
|
425
420
|
Hover
|
426
|
-
|
427
|
-
|
421
|
+
--------------- */
|
428
422
|
|
429
423
|
.ui.link.menu .item:hover,
|
430
424
|
.ui.menu .dropdown.item:hover,
|
431
425
|
.ui.menu .link.item:hover,
|
432
426
|
.ui.menu a.item:hover {
|
433
|
-
|
434
|
-
|
435
|
-
|
427
|
+
cursor: pointer;
|
428
|
+
background: @hoverItemBackground;
|
429
|
+
color: @hoverItemTextColor;
|
436
430
|
}
|
437
431
|
|
438
|
-
|
439
|
-
/*--------------
|
432
|
+
/* --------------
|
440
433
|
Pressed
|
441
|
-
|
434
|
+
--------------- */
|
442
435
|
|
443
436
|
.ui.link.menu .item:active,
|
444
437
|
.ui.menu .link.item:active,
|
445
438
|
.ui.menu a.item:active {
|
446
|
-
|
447
|
-
|
439
|
+
background: @pressedItemBackground;
|
440
|
+
color: @pressedItemTextColor;
|
448
441
|
}
|
449
442
|
|
450
|
-
|
451
|
-
/*--------------
|
443
|
+
/* --------------
|
452
444
|
Active
|
453
|
-
|
445
|
+
--------------- */
|
454
446
|
|
455
|
-
.ui.menu .active.item
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
447
|
+
.ui.menu .active.item {
|
448
|
+
background: @activeItemBackground;
|
449
|
+
color: @activeItemTextColor;
|
450
|
+
font-weight: @activeItemFontWeight;
|
451
|
+
box-shadow: @activeItemBoxShadow;
|
460
452
|
}
|
461
453
|
.ui.menu .active.item > i.icon {
|
462
|
-
|
454
|
+
opacity: @activeIconOpacity;
|
463
455
|
}
|
464
456
|
|
465
|
-
|
457
|
+
/* --------------
|
466
458
|
Active Hover
|
467
|
-
|
459
|
+
--------------- */
|
468
460
|
|
469
461
|
.ui.menu .active.item:hover,
|
470
462
|
.ui.vertical.menu .active.item:hover {
|
471
|
-
|
472
|
-
|
463
|
+
background-color: @activeHoverItemBackground;
|
464
|
+
color: @activeHoverItemColor;
|
473
465
|
}
|
474
466
|
|
475
|
-
|
476
|
-
/*--------------
|
467
|
+
/* --------------
|
477
468
|
Disabled
|
478
|
-
|
469
|
+
--------------- */
|
479
470
|
|
480
471
|
.ui.ui.menu .item.disabled {
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
472
|
+
cursor: default;
|
473
|
+
background-color: transparent;
|
474
|
+
color: @disabledTextColor;
|
475
|
+
pointer-events: none;
|
485
476
|
}
|
486
477
|
|
487
|
-
|
488
478
|
/*******************************
|
489
479
|
Types
|
490
480
|
*******************************/
|
491
481
|
|
492
|
-
|
482
|
+
/* ------------------
|
493
483
|
Floated Menu / Item
|
494
|
-
|
484
|
+
------------------- */
|
495
485
|
|
496
486
|
/* Left Floated */
|
497
487
|
.ui.menu:not(.vertical) .left.item,
|
498
488
|
.ui.menu:not(.vertical) .left.menu {
|
499
|
-
|
500
|
-
|
489
|
+
display: flex;
|
490
|
+
margin-right: auto !important;
|
501
491
|
}
|
492
|
+
|
502
493
|
/* Right Floated */
|
503
494
|
.ui.menu:not(.vertical) .right.item,
|
504
495
|
.ui.menu:not(.vertical) .right.menu {
|
505
|
-
|
506
|
-
|
496
|
+
display: flex;
|
497
|
+
margin-left: auto !important;
|
507
498
|
}
|
508
499
|
|
509
500
|
.ui.menu:not(.vertical) :not(.dropdown) > .left.menu,
|
510
501
|
.ui.menu:not(.vertical) :not(.dropdown) > .right.menu {
|
511
|
-
|
502
|
+
display: inherit;
|
512
503
|
}
|
513
504
|
|
514
505
|
/* Center */
|
515
506
|
.ui.menu:not(.vertical) .center.item,
|
516
507
|
.ui.menu:not(.vertical) .center.menu {
|
517
|
-
|
518
|
-
|
519
|
-
|
508
|
+
display: flex;
|
509
|
+
margin-left: auto !important;
|
510
|
+
margin-right: auto !important;
|
520
511
|
}
|
521
512
|
|
522
513
|
/* Swapped Borders */
|
523
514
|
.ui.menu .right.item::before,
|
524
515
|
.ui.menu .right.menu > .item::before {
|
525
|
-
|
526
|
-
|
516
|
+
right: auto;
|
517
|
+
left: 0;
|
527
518
|
}
|
528
519
|
|
529
520
|
/* Remove Outer Borders */
|
530
521
|
.ui.menu .center.item:last-child::before,
|
531
522
|
.ui.menu .center.menu > .item:last-child::before {
|
532
|
-
|
523
|
+
display: none;
|
533
524
|
}
|
534
525
|
|
535
526
|
& when (@variationMenuVertical) {
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
.ui.vertical.menu {
|
541
|
-
display: block;
|
542
|
-
flex-direction: column;
|
543
|
-
background: @verticalBackground;
|
544
|
-
box-shadow: @verticalBoxShadow;
|
545
|
-
}
|
546
|
-
|
547
|
-
/*--- Item ---*/
|
548
|
-
.ui.vertical.menu .item {
|
549
|
-
display: block;
|
550
|
-
background: @verticalItemBackground;
|
551
|
-
border-top: none;
|
552
|
-
border-right: none;
|
553
|
-
}
|
554
|
-
.ui.vertical.menu > .item:first-child {
|
555
|
-
border-radius: @borderRadius @borderRadius 0 0;
|
556
|
-
}
|
557
|
-
.ui.vertical.menu > .item:last-child {
|
558
|
-
border-radius: 0 0 @borderRadius @borderRadius;
|
559
|
-
}
|
560
|
-
|
561
|
-
/*--- Label ---*/
|
562
|
-
.ui.vertical.menu .item > .label {
|
563
|
-
float: right;
|
564
|
-
text-align: center;
|
565
|
-
}
|
566
|
-
|
567
|
-
/*--- Icon ---*/
|
568
|
-
.ui.vertical.menu .item > i.icon,
|
569
|
-
.ui.vertical.menu .item > i.icons {
|
570
|
-
width: @iconWidth;
|
571
|
-
float: @verticalIconFloat;
|
572
|
-
margin: @verticalIconMargin;
|
573
|
-
}
|
574
|
-
.ui.vertical.menu .item > .label + i.icon {
|
575
|
-
float: @labelAndIconFloat;
|
576
|
-
margin: @labelAndIconMargin;
|
577
|
-
}
|
578
|
-
|
579
|
-
|
580
|
-
/*--- Border ---*/
|
581
|
-
.ui.vertical.menu .item::before {
|
582
|
-
position: absolute;
|
583
|
-
content: '';
|
584
|
-
top: 0;
|
585
|
-
left: 0;
|
586
|
-
width: 100%;
|
587
|
-
height: @dividerSize;
|
588
|
-
background: @verticalDividerBackground;
|
589
|
-
}
|
590
|
-
|
591
|
-
.ui.vertical.menu .item:first-child::before {
|
592
|
-
display: none !important;
|
593
|
-
}
|
594
|
-
|
527
|
+
/* --------------
|
528
|
+
Vertical
|
529
|
+
--------------- */
|
595
530
|
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
padding: @subMenuVerticalPadding @subMenuHorizontalPadding;
|
603
|
-
font-size: @subMenuFontSize;
|
604
|
-
color: @subMenuTextColor;
|
605
|
-
}
|
606
|
-
.ui.vertical.menu .item .menu a.item:hover,
|
607
|
-
.ui.vertical.menu .item .menu .link.item:hover {
|
608
|
-
color: @darkTextColor;
|
609
|
-
}
|
610
|
-
.ui.vertical.menu .menu .item::before {
|
611
|
-
display: none;
|
612
|
-
}
|
531
|
+
.ui.vertical.menu {
|
532
|
+
display: block;
|
533
|
+
flex-direction: column;
|
534
|
+
background: @verticalBackground;
|
535
|
+
box-shadow: @verticalBoxShadow;
|
536
|
+
}
|
613
537
|
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
border-radius: @borderRadius;
|
628
|
-
}
|
629
|
-
.ui.vertical.menu .active.item .menu .active.item {
|
630
|
-
border-left: none;
|
631
|
-
}
|
632
|
-
.ui.vertical.menu .item .menu .active.item {
|
633
|
-
background-color: @subMenuActiveBackground;
|
634
|
-
font-weight: @subMenuActiveFontWeight;
|
635
|
-
color: @subMenuActiveTextColor;
|
636
|
-
}
|
637
|
-
}
|
538
|
+
/* --- Item --- */
|
539
|
+
.ui.vertical.menu .item {
|
540
|
+
display: block;
|
541
|
+
background: @verticalItemBackground;
|
542
|
+
border-top: none;
|
543
|
+
border-right: none;
|
544
|
+
}
|
545
|
+
.ui.vertical.menu > .item:first-child {
|
546
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
547
|
+
}
|
548
|
+
.ui.vertical.menu > .item:last-child {
|
549
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
550
|
+
}
|
638
551
|
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
.ui.tabular.menu {
|
645
|
-
border-radius: 0;
|
646
|
-
box-shadow: none !important;
|
647
|
-
border: none;
|
648
|
-
background: @tabularBackground;
|
649
|
-
border-bottom: @tabularBorderWidth solid @tabularBorderColor;
|
650
|
-
}
|
651
|
-
.ui.tabular.fluid.menu {
|
652
|
-
width: @tabularFluidWidth !important;
|
653
|
-
}
|
654
|
-
.ui.tabular.menu .item {
|
655
|
-
background: transparent;
|
656
|
-
border-bottom: none;
|
657
|
-
|
658
|
-
border-left: @tabularBorderWidth solid transparent;
|
659
|
-
border-right: @tabularBorderWidth solid transparent;
|
660
|
-
border-top: @tabularOppositeBorderWidth solid transparent;
|
661
|
-
padding: @tabularVerticalPadding @tabularHorizontalPadding;
|
662
|
-
color: @tabularTextColor;
|
663
|
-
}
|
664
|
-
.ui.tabular.menu .item::before {
|
665
|
-
display: none;
|
666
|
-
}
|
552
|
+
/* --- Label --- */
|
553
|
+
.ui.vertical.menu .item > .label {
|
554
|
+
float: right;
|
555
|
+
text-align: center;
|
556
|
+
}
|
667
557
|
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
558
|
+
/* --- Icon --- */
|
559
|
+
.ui.vertical.menu .item > i.icon,
|
560
|
+
.ui.vertical.menu .item > i.icons {
|
561
|
+
width: @iconWidth;
|
562
|
+
float: @verticalIconFloat;
|
563
|
+
margin: @verticalIconMargin;
|
564
|
+
}
|
565
|
+
.ui.vertical.menu .item > .label + i.icon {
|
566
|
+
float: @labelAndIconFloat;
|
567
|
+
margin: @labelAndIconMargin;
|
568
|
+
}
|
673
569
|
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
border-radius: @tabularBorderRadius @tabularBorderRadius 0 0 !important;
|
684
|
-
&:hover {
|
685
|
-
cursor: default;
|
570
|
+
/* --- Border --- */
|
571
|
+
.ui.vertical.menu .item::before {
|
572
|
+
position: absolute;
|
573
|
+
content: '';
|
574
|
+
top: 0;
|
575
|
+
left: 0;
|
576
|
+
width: 100%;
|
577
|
+
height: @dividerSize;
|
578
|
+
background: @verticalDividerBackground;
|
686
579
|
}
|
687
|
-
}
|
688
580
|
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
margin-left: 0;
|
693
|
-
margin-top: 0;
|
694
|
-
margin-right: 0;
|
695
|
-
width: 100%;
|
696
|
-
}
|
697
|
-
.top.attached.segment + .ui.bottom.tabular.menu {
|
698
|
-
position: relative;
|
699
|
-
width: @tabularFluidWidth;
|
700
|
-
left: -@tabularFluidOffset;
|
701
|
-
}
|
581
|
+
.ui.vertical.menu .item:first-child::before {
|
582
|
+
display: none !important;
|
583
|
+
}
|
702
584
|
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
border-radius: 0;
|
707
|
-
box-shadow: none !important;
|
708
|
-
border-bottom: none;
|
709
|
-
border-top: @tabularBorderWidth solid @tabularBorderColor;
|
710
|
-
}
|
711
|
-
.ui.bottom.tabular.menu .item {
|
712
|
-
background: none;
|
713
|
-
border-left: @tabularBorderWidth solid transparent;
|
714
|
-
border-right: @tabularBorderWidth solid transparent;
|
715
|
-
border-bottom: @tabularBorderWidth solid transparent;
|
716
|
-
border-top: none;
|
717
|
-
}
|
718
|
-
.ui.bottom.tabular.menu .active.item {
|
719
|
-
background: @tabularActiveBackground;
|
720
|
-
color: @tabularActiveColor;
|
721
|
-
border-color: @tabularBorderColor;
|
722
|
-
margin: -@tabularBorderWidth 0 0 0;
|
723
|
-
border-radius: 0 0 @tabularBorderRadius @tabularBorderRadius !important;
|
724
|
-
}
|
725
|
-
& when (@variationMenuVertical) {
|
726
|
-
/* Vertical Tabular (Left) */
|
727
|
-
.ui.vertical.tabular.menu {
|
728
|
-
background: @tabularVerticalBackground;
|
729
|
-
border-radius: 0;
|
730
|
-
box-shadow: none !important;
|
731
|
-
border-bottom: none;
|
732
|
-
border-right: @tabularBorderWidth solid @tabularBorderColor;
|
733
|
-
}
|
734
|
-
.ui.vertical.tabular.menu .item {
|
735
|
-
background: none;
|
736
|
-
border-left: @tabularBorderWidth solid transparent;
|
737
|
-
border-bottom: @tabularBorderWidth solid transparent;
|
738
|
-
border-top: @tabularBorderWidth solid transparent;
|
739
|
-
border-right: none;
|
740
|
-
}
|
741
|
-
.ui.vertical.tabular.menu .active.item {
|
742
|
-
background: @tabularActiveBackground;
|
743
|
-
color: @tabularActiveColor;
|
744
|
-
border-color: @tabularBorderColor;
|
745
|
-
margin: 0 -@tabularBorderWidth 0 0;
|
746
|
-
border-radius: @tabularBorderRadius 0 0 @tabularBorderRadius !important;
|
747
|
-
}
|
748
|
-
|
749
|
-
/* Vertical Right Tabular */
|
750
|
-
.ui.vertical.right.tabular.menu {
|
751
|
-
background: @tabularVerticalBackground;
|
752
|
-
border-radius: 0;
|
753
|
-
box-shadow: none !important;
|
754
|
-
border-bottom: none;
|
755
|
-
border-right: none;
|
756
|
-
border-left: @tabularBorderWidth solid @tabularBorderColor;
|
757
|
-
}
|
758
|
-
.ui.vertical.right.tabular.menu .item {
|
759
|
-
background: none;
|
760
|
-
border-right: @tabularBorderWidth solid transparent;
|
761
|
-
border-bottom: @tabularBorderWidth solid transparent;
|
762
|
-
border-top: @tabularBorderWidth solid transparent;
|
763
|
-
border-left: none;
|
764
|
-
}
|
765
|
-
.ui.vertical.right.tabular.menu .active.item {
|
766
|
-
background: @tabularActiveBackground;
|
767
|
-
color: @tabularActiveColor;
|
768
|
-
border-color: @tabularBorderColor;
|
769
|
-
margin: 0 0 0 -@tabularBorderWidth;
|
770
|
-
border-radius: 0 @tabularBorderRadius @tabularBorderRadius 0 !important;
|
585
|
+
/* --- Sub Menu --- */
|
586
|
+
.ui.vertical.menu .item > .menu {
|
587
|
+
margin: @subMenuMargin;
|
771
588
|
}
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
border-right: @tabularBorderWidth solid transparent;
|
778
|
-
border-top: @tabularOppositeBorderWidth solid transparent;
|
779
|
-
border-bottom: none;
|
780
|
-
}
|
781
|
-
& when (@variationMenuInverted) {
|
782
|
-
.ui.inverted.tabular.menu .active.item,
|
783
|
-
.ui.inverted.tabular.menu .active.item:hover {
|
784
|
-
background: @invertedTabularActiveBackground;
|
785
|
-
border-color: @invertedTabularBorderColor;
|
589
|
+
.ui.vertical.menu .menu .item {
|
590
|
+
background: none;
|
591
|
+
padding: @subMenuVerticalPadding @subMenuHorizontalPadding;
|
592
|
+
font-size: @subMenuFontSize;
|
593
|
+
color: @subMenuTextColor;
|
786
594
|
}
|
787
|
-
.ui.
|
788
|
-
|
789
|
-
|
790
|
-
|
595
|
+
.ui.vertical.menu .item .menu a.item:hover,
|
596
|
+
.ui.vertical.menu .item .menu .link.item:hover {
|
597
|
+
color: @darkTextColor;
|
598
|
+
}
|
599
|
+
.ui.vertical.menu .menu .item::before {
|
600
|
+
display: none;
|
791
601
|
}
|
792
|
-
}
|
793
|
-
}
|
794
|
-
|
795
|
-
|
796
|
-
& when (@variationMenuPagination) {
|
797
|
-
/*--------------
|
798
|
-
Pagination
|
799
|
-
---------------*/
|
800
|
-
|
801
|
-
.ui.pagination.menu {
|
802
|
-
margin: 0;
|
803
|
-
display: inline-flex;
|
804
|
-
vertical-align: middle;
|
805
|
-
}
|
806
|
-
.ui.pagination.menu .item:last-child {
|
807
|
-
border-radius: 0 @borderRadius @borderRadius 0;
|
808
|
-
}
|
809
|
-
.ui.compact.menu .item:last-child {
|
810
|
-
border-radius: 0 @borderRadius @borderRadius 0;
|
811
|
-
}
|
812
|
-
.ui.pagination.menu .item:last-child::before {
|
813
|
-
display: none;
|
814
|
-
}
|
815
|
-
|
816
|
-
.ui.pagination.menu .item {
|
817
|
-
min-width: @paginationMinWidth;
|
818
|
-
text-align: center;
|
819
|
-
}
|
820
|
-
.ui.pagination.menu .icon.item i.icon {
|
821
|
-
vertical-align: top;
|
822
|
-
}
|
823
602
|
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
603
|
+
/* Vertical Active */
|
604
|
+
.ui.vertical.menu .active.item {
|
605
|
+
background: @activeItemBackground;
|
606
|
+
border-radius: 0;
|
607
|
+
box-shadow: @verticalActiveBoxShadow;
|
608
|
+
}
|
609
|
+
.ui.vertical.menu > .active.item:first-child {
|
610
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
611
|
+
}
|
612
|
+
.ui.vertical.menu > .active.item:last-child {
|
613
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
614
|
+
}
|
615
|
+
.ui.vertical.menu > .active.item:only-child {
|
616
|
+
border-radius: @borderRadius;
|
617
|
+
}
|
618
|
+
.ui.vertical.menu .active.item .menu .active.item {
|
619
|
+
border-left: none;
|
620
|
+
}
|
621
|
+
.ui.vertical.menu .item .menu .active.item {
|
622
|
+
background-color: @subMenuActiveBackground;
|
623
|
+
font-weight: @subMenuActiveFontWeight;
|
624
|
+
color: @subMenuActiveTextColor;
|
625
|
+
}
|
832
626
|
}
|
833
627
|
|
834
|
-
& when (@
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
border: none;
|
853
|
-
padding: @secondaryItemPadding;
|
854
|
-
margin: @secondaryItemMargin;
|
855
|
-
background: @secondaryItemBackground;
|
856
|
-
transition: @secondaryItemTransition;
|
857
|
-
border-radius: @secondaryItemBorderRadius;
|
858
|
-
}
|
859
|
-
|
860
|
-
/* No Divider */
|
861
|
-
.ui.secondary.menu .item::before {
|
862
|
-
display: none !important;
|
863
|
-
}
|
864
|
-
|
865
|
-
/* Header */
|
866
|
-
.ui.secondary.menu .header.item {
|
867
|
-
border-radius: 0;
|
868
|
-
border-right: @secondaryHeaderBorder;
|
869
|
-
background: @secondaryHeaderBackground;
|
870
|
-
}
|
871
|
-
|
872
|
-
/* Image */
|
873
|
-
.ui.secondary.menu .item > img:not(.ui) {
|
874
|
-
margin: 0;
|
875
|
-
}
|
876
|
-
|
877
|
-
/* Hover */
|
878
|
-
.ui.secondary.menu .dropdown.item:hover,
|
879
|
-
.ui.secondary.menu .link.item:hover,
|
880
|
-
.ui.secondary.menu a.item:hover {
|
881
|
-
background: @secondaryHoverItemBackground;
|
882
|
-
color: @secondaryHoverItemColor;
|
883
|
-
}
|
884
|
-
|
885
|
-
/* Active */
|
886
|
-
.ui.secondary.menu .active.item {
|
887
|
-
box-shadow: none;
|
888
|
-
background: @secondaryActiveItemBackground;
|
889
|
-
color: @secondaryActiveItemColor;
|
890
|
-
border-radius: @secondaryItemBorderRadius;
|
891
|
-
}
|
892
|
-
|
893
|
-
/* Active Hover */
|
894
|
-
.ui.secondary.menu .active.item:hover {
|
895
|
-
box-shadow: none;
|
896
|
-
background: @secondaryActiveHoverItemBackground;
|
897
|
-
color: @secondaryActiveHoverItemColor;
|
898
|
-
}
|
628
|
+
& when (@variationMenuTabular) {
|
629
|
+
/* --------------
|
630
|
+
Tabular
|
631
|
+
--------------- */
|
632
|
+
|
633
|
+
.ui.tabular.menu {
|
634
|
+
border-radius: 0;
|
635
|
+
box-shadow: none !important;
|
636
|
+
border: none;
|
637
|
+
background: @tabularBackground;
|
638
|
+
border-bottom: @tabularBorderWidth solid @tabularBorderColor;
|
639
|
+
}
|
640
|
+
.ui.tabular.fluid.menu {
|
641
|
+
width: @tabularFluidWidth !important;
|
642
|
+
}
|
643
|
+
.ui.tabular.menu .item {
|
644
|
+
background: transparent;
|
645
|
+
border-bottom: none;
|
899
646
|
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
647
|
+
border-left: @tabularBorderWidth solid transparent;
|
648
|
+
border-right: @tabularBorderWidth solid transparent;
|
649
|
+
border-top: @tabularOppositeBorderWidth solid transparent;
|
650
|
+
padding: @tabularVerticalPadding @tabularHorizontalPadding;
|
651
|
+
color: @tabularTextColor;
|
905
652
|
}
|
906
|
-
.ui.
|
907
|
-
|
908
|
-
.ui.secondary.inverted.menu a.item:hover {
|
909
|
-
background: @secondaryInvertedHoverBackground;
|
910
|
-
color: @secondaryInvertedHoverColor;
|
653
|
+
.ui.tabular.menu .item::before {
|
654
|
+
display: none;
|
911
655
|
}
|
912
|
-
|
913
|
-
|
914
|
-
|
656
|
+
|
657
|
+
/* Hover */
|
658
|
+
.ui.tabular.menu .item:hover {
|
659
|
+
background-color: transparent;
|
660
|
+
color: @tabularHoveredTextColor;
|
915
661
|
}
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
662
|
+
|
663
|
+
/* Active */
|
664
|
+
.ui.tabular.menu .active.item {
|
665
|
+
background: @tabularActiveBackground;
|
666
|
+
color: @tabularActiveColor;
|
667
|
+
border-top-width: @tabularBorderWidth;
|
668
|
+
border-color: @tabularBorderColor;
|
669
|
+
font-weight: @tabularActiveWeight;
|
670
|
+
margin-bottom: -@tabularBorderWidth;
|
671
|
+
box-shadow: @tabularActiveBoxShadow;
|
672
|
+
border-radius: @tabularBorderRadius @tabularBorderRadius 0 0 !important;
|
673
|
+
&:hover {
|
674
|
+
cursor: default;
|
675
|
+
}
|
928
676
|
}
|
929
|
-
}
|
930
|
-
& when (@variationMenuVertical) {
|
931
|
-
/*---------------------
|
932
|
-
Secondary Vertical
|
933
|
-
-----------------------*/
|
934
677
|
|
935
|
-
/*
|
936
|
-
.ui.
|
937
|
-
|
678
|
+
/* Coupling with segment for attachment */
|
679
|
+
.ui.tabular.menu ~ .attached:not(.top).segment {
|
680
|
+
border-top: none;
|
681
|
+
margin-left: 0;
|
682
|
+
margin-top: 0;
|
683
|
+
margin-right: 0;
|
684
|
+
width: 100%;
|
938
685
|
}
|
939
|
-
.
|
940
|
-
|
941
|
-
|
686
|
+
.top.attached.segment + .ui.bottom.tabular.menu {
|
687
|
+
position: relative;
|
688
|
+
width: @tabularFluidWidth;
|
689
|
+
left: -@tabularFluidOffset;
|
942
690
|
}
|
943
691
|
|
944
|
-
|
945
|
-
.ui.
|
946
|
-
|
947
|
-
|
948
|
-
|
692
|
+
/* Bottom Vertical Tabular */
|
693
|
+
.ui.bottom.tabular.menu {
|
694
|
+
background: @tabularBackground;
|
695
|
+
border-radius: 0;
|
696
|
+
box-shadow: none !important;
|
697
|
+
border-bottom: none;
|
698
|
+
border-top: @tabularBorderWidth solid @tabularBorderColor;
|
699
|
+
}
|
700
|
+
.ui.bottom.tabular.menu .item {
|
701
|
+
background: none;
|
702
|
+
border-left: @tabularBorderWidth solid transparent;
|
703
|
+
border-right: @tabularBorderWidth solid transparent;
|
704
|
+
border-bottom: @tabularBorderWidth solid transparent;
|
705
|
+
border-top: none;
|
706
|
+
}
|
707
|
+
.ui.bottom.tabular.menu .active.item {
|
708
|
+
background: @tabularActiveBackground;
|
709
|
+
color: @tabularActiveColor;
|
710
|
+
border-color: @tabularBorderColor;
|
711
|
+
margin: -@tabularBorderWidth 0 0 0;
|
712
|
+
border-radius: 0 0 @tabularBorderRadius @tabularBorderRadius !important;
|
949
713
|
}
|
950
|
-
|
951
|
-
|
714
|
+
& when (@variationMenuVertical) {
|
715
|
+
/* Vertical Tabular (Left) */
|
716
|
+
.ui.vertical.tabular.menu {
|
717
|
+
background: @tabularVerticalBackground;
|
718
|
+
border-radius: 0;
|
719
|
+
box-shadow: none !important;
|
720
|
+
border-bottom: none;
|
721
|
+
border-right: @tabularBorderWidth solid @tabularBorderColor;
|
722
|
+
}
|
723
|
+
.ui.vertical.tabular.menu .item {
|
724
|
+
background: none;
|
725
|
+
border-left: @tabularBorderWidth solid transparent;
|
726
|
+
border-bottom: @tabularBorderWidth solid transparent;
|
727
|
+
border-top: @tabularBorderWidth solid transparent;
|
728
|
+
border-right: none;
|
729
|
+
}
|
730
|
+
.ui.vertical.tabular.menu .active.item {
|
731
|
+
background: @tabularActiveBackground;
|
732
|
+
color: @tabularActiveColor;
|
733
|
+
border-color: @tabularBorderColor;
|
734
|
+
margin: 0 -@tabularBorderWidth 0 0;
|
735
|
+
border-radius: @tabularBorderRadius 0 0 @tabularBorderRadius !important;
|
736
|
+
}
|
737
|
+
|
738
|
+
/* Vertical Right Tabular */
|
739
|
+
.ui.vertical.right.tabular.menu {
|
740
|
+
background: @tabularVerticalBackground;
|
741
|
+
border-radius: 0;
|
742
|
+
box-shadow: none !important;
|
743
|
+
border-bottom: none;
|
744
|
+
border-right: none;
|
745
|
+
border-left: @tabularBorderWidth solid @tabularBorderColor;
|
746
|
+
}
|
747
|
+
.ui.vertical.right.tabular.menu .item {
|
748
|
+
background: none;
|
749
|
+
border-right: @tabularBorderWidth solid transparent;
|
750
|
+
border-bottom: @tabularBorderWidth solid transparent;
|
751
|
+
border-top: @tabularBorderWidth solid transparent;
|
752
|
+
border-left: none;
|
753
|
+
}
|
754
|
+
.ui.vertical.right.tabular.menu .active.item {
|
755
|
+
background: @tabularActiveBackground;
|
756
|
+
color: @tabularActiveColor;
|
757
|
+
border-color: @tabularBorderColor;
|
758
|
+
margin: 0 0 0 -@tabularBorderWidth;
|
759
|
+
border-radius: 0 @tabularBorderRadius @tabularBorderRadius 0 !important;
|
760
|
+
}
|
952
761
|
}
|
953
762
|
|
954
|
-
/*
|
955
|
-
.ui.
|
956
|
-
|
763
|
+
/* Dropdown */
|
764
|
+
.ui.tabular.menu .active.dropdown.item {
|
765
|
+
margin-bottom: 0;
|
766
|
+
border-left: @tabularBorderWidth solid transparent;
|
767
|
+
border-right: @tabularBorderWidth solid transparent;
|
768
|
+
border-top: @tabularOppositeBorderWidth solid transparent;
|
769
|
+
border-bottom: none;
|
957
770
|
}
|
958
771
|
& when (@variationMenuInverted) {
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
772
|
+
.ui.inverted.tabular.menu .active.item,
|
773
|
+
.ui.inverted.tabular.menu .active.item:hover {
|
774
|
+
background: @invertedTabularActiveBackground;
|
775
|
+
border-color: @invertedTabularBorderColor;
|
776
|
+
}
|
777
|
+
.ui.inverted.tabular.menu .item:not(.active):hover {
|
778
|
+
color: @invertedTabularHoveredTextColor;
|
779
|
+
background: transparent;
|
780
|
+
cursor: pointer;
|
781
|
+
}
|
963
782
|
}
|
964
|
-
|
783
|
+
}
|
965
784
|
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
785
|
+
& when (@variationMenuPagination) {
|
786
|
+
/* --------------
|
787
|
+
Pagination
|
788
|
+
--------------- */
|
970
789
|
|
971
|
-
.ui.
|
972
|
-
|
973
|
-
|
974
|
-
|
790
|
+
.ui.pagination.menu {
|
791
|
+
margin: 0;
|
792
|
+
display: inline-flex;
|
793
|
+
vertical-align: middle;
|
794
|
+
}
|
795
|
+
.ui.pagination.menu .item:last-child {
|
796
|
+
border-radius: 0 @borderRadius @borderRadius 0;
|
797
|
+
}
|
798
|
+
.ui.compact.menu .item:last-child {
|
799
|
+
border-radius: 0 @borderRadius @borderRadius 0;
|
800
|
+
}
|
801
|
+
.ui.pagination.menu .item:last-child::before {
|
802
|
+
display: none;
|
975
803
|
}
|
976
804
|
|
977
|
-
.ui.
|
978
|
-
|
979
|
-
|
980
|
-
border-radius: 0;
|
981
|
-
align-self: flex-end;
|
982
|
-
|
983
|
-
margin: 0 0 -@secondaryPointingBorderWidth;
|
984
|
-
padding: @secondaryPointingItemVerticalPadding @secondaryPointingItemHorizontalPadding;
|
985
|
-
border-bottom-width: @secondaryPointingBorderWidth;
|
986
|
-
transition: @secondaryItemTransition;
|
805
|
+
.ui.pagination.menu .item {
|
806
|
+
min-width: @paginationMinWidth;
|
807
|
+
text-align: center;
|
987
808
|
}
|
988
|
-
.ui.
|
989
|
-
|
809
|
+
.ui.pagination.menu .icon.item i.icon {
|
810
|
+
vertical-align: top;
|
990
811
|
}
|
991
812
|
|
992
|
-
|
993
|
-
|
994
|
-
|
813
|
+
/* Active */
|
814
|
+
.ui.pagination.menu .active.item {
|
815
|
+
border-top: none;
|
816
|
+
padding-top: @itemVerticalPadding;
|
817
|
+
background-color: @paginationActiveBackground;
|
818
|
+
color: @paginationActiveTextColor;
|
819
|
+
box-shadow: none;
|
995
820
|
}
|
996
|
-
|
997
|
-
|
998
|
-
|
821
|
+
}
|
822
|
+
|
823
|
+
& when (@variationMenuSecondary) {
|
824
|
+
/* --------------
|
825
|
+
Secondary
|
826
|
+
--------------- */
|
827
|
+
|
828
|
+
.ui.secondary.menu {
|
829
|
+
background: @secondaryBackground;
|
830
|
+
margin-left: -@secondaryItemSpacing;
|
831
|
+
margin-right: -@secondaryItemSpacing;
|
832
|
+
border-radius: 0;
|
833
|
+
border: none;
|
834
|
+
box-shadow: none;
|
999
835
|
}
|
1000
836
|
|
1001
|
-
/* Item
|
1002
|
-
.ui.secondary.
|
1003
|
-
|
837
|
+
/* Item */
|
838
|
+
.ui.secondary.menu .item {
|
839
|
+
align-self: center;
|
840
|
+
box-shadow: none;
|
841
|
+
border: none;
|
842
|
+
padding: @secondaryItemPadding;
|
843
|
+
margin: @secondaryItemMargin;
|
844
|
+
background: @secondaryItemBackground;
|
845
|
+
transition: @secondaryItemTransition;
|
846
|
+
border-radius: @secondaryItemBorderRadius;
|
1004
847
|
}
|
1005
|
-
|
1006
|
-
|
848
|
+
|
849
|
+
/* No Divider */
|
850
|
+
.ui.secondary.menu .item::before {
|
851
|
+
display: none !important;
|
1007
852
|
}
|
1008
|
-
|
1009
|
-
|
853
|
+
|
854
|
+
/* Header */
|
855
|
+
.ui.secondary.menu .header.item {
|
856
|
+
border-radius: 0;
|
857
|
+
border-right: @secondaryHeaderBorder;
|
858
|
+
background: @secondaryHeaderBackground;
|
1010
859
|
}
|
1011
860
|
|
1012
|
-
/*
|
1013
|
-
.ui.secondary.
|
1014
|
-
|
1015
|
-
.ui.secondary.pointing.menu a.item:hover {
|
1016
|
-
background-color: transparent;
|
1017
|
-
color: @secondaryPointingHoverTextColor;
|
861
|
+
/* Image */
|
862
|
+
.ui.secondary.menu .item > img:not(.ui) {
|
863
|
+
margin: 0;
|
1018
864
|
}
|
1019
865
|
|
1020
|
-
/*
|
1021
|
-
.ui.secondary.
|
1022
|
-
.ui.secondary.
|
1023
|
-
.ui.secondary.
|
1024
|
-
|
1025
|
-
|
866
|
+
/* Hover */
|
867
|
+
.ui.secondary.menu .dropdown.item:hover,
|
868
|
+
.ui.secondary.menu .link.item:hover,
|
869
|
+
.ui.secondary.menu a.item:hover {
|
870
|
+
background: @secondaryHoverItemBackground;
|
871
|
+
color: @secondaryHoverItemColor;
|
1026
872
|
}
|
1027
873
|
|
1028
874
|
/* Active */
|
1029
|
-
.ui.secondary.
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
color: @secondaryPointingActiveTextColor;
|
875
|
+
.ui.secondary.menu .active.item {
|
876
|
+
box-shadow: none;
|
877
|
+
background: @secondaryActiveItemBackground;
|
878
|
+
color: @secondaryActiveItemColor;
|
879
|
+
border-radius: @secondaryItemBorderRadius;
|
1035
880
|
}
|
1036
881
|
|
1037
882
|
/* Active Hover */
|
1038
|
-
.ui.secondary.
|
1039
|
-
|
1040
|
-
|
883
|
+
.ui.secondary.menu .active.item:hover {
|
884
|
+
box-shadow: none;
|
885
|
+
background: @secondaryActiveHoverItemBackground;
|
886
|
+
color: @secondaryActiveHoverItemColor;
|
1041
887
|
}
|
1042
888
|
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
889
|
+
& when (@variationMenuInverted) {
|
890
|
+
/* Inverted */
|
891
|
+
.ui.secondary.inverted.menu .link.item:not(.disabled),
|
892
|
+
.ui.secondary.inverted.menu a.item:not(.disabled) {
|
893
|
+
color: @secondaryInvertedColor;
|
894
|
+
}
|
895
|
+
.ui.secondary.inverted.menu .dropdown.item:hover,
|
896
|
+
.ui.secondary.inverted.menu .link.item:hover,
|
897
|
+
.ui.secondary.inverted.menu a.item:hover {
|
898
|
+
background: @secondaryInvertedHoverBackground;
|
899
|
+
color: @secondaryInvertedHoverColor;
|
900
|
+
}
|
901
|
+
.ui.secondary.inverted.menu .active.item {
|
902
|
+
background: @secondaryInvertedActiveBackground;
|
903
|
+
color: @secondaryInvertedActiveColor;
|
904
|
+
}
|
1046
905
|
}
|
1047
|
-
& when (@variationMenuVertical) {
|
1048
|
-
/* Vertical Pointing */
|
1049
|
-
.ui.secondary.vertical.pointing.menu {
|
1050
|
-
border-bottom-width: 0;
|
1051
|
-
border-right-width: @secondaryPointingBorderWidth;
|
1052
|
-
border-right-style: solid;
|
1053
|
-
border-right-color: @secondaryPointingBorderColor;
|
1054
|
-
}
|
1055
|
-
.ui.secondary.vertical.pointing.menu .item {
|
1056
|
-
border-bottom: none;
|
1057
|
-
border-right-style: solid;
|
1058
|
-
border-right-color: transparent;
|
1059
|
-
border-radius: 0 !important;
|
1060
|
-
margin: @secondaryVerticalPointingItemMargin;
|
1061
|
-
border-right-width: @secondaryPointingBorderWidth;
|
1062
|
-
}
|
1063
906
|
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
907
|
+
/* Fix item margins */
|
908
|
+
.ui.secondary.item.menu {
|
909
|
+
margin-left: 0;
|
910
|
+
margin-right: 0;
|
1068
911
|
}
|
1069
|
-
|
1070
|
-
|
1071
|
-
.ui.secondary.inverted.pointing.menu {
|
1072
|
-
border-color: @secondaryPointingInvertedBorderColor;
|
1073
|
-
}
|
1074
|
-
|
1075
|
-
.ui.secondary.inverted.pointing.menu .item:not(.disabled) {
|
1076
|
-
color: @secondaryPointingInvertedItemTextColor;
|
1077
|
-
}
|
1078
|
-
.ui.secondary.inverted.pointing.menu .header.item {
|
1079
|
-
color: @secondaryPointingInvertedItemHeaderColor !important;
|
1080
|
-
}
|
1081
|
-
|
1082
|
-
/* Hover */
|
1083
|
-
.ui.secondary.inverted.pointing.menu .link.item:hover,
|
1084
|
-
.ui.secondary.inverted.pointing.menu a.item:hover {
|
1085
|
-
color: @secondaryPointingInvertedItemHoverTextColor;
|
1086
|
-
}
|
1087
|
-
|
1088
|
-
|
1089
|
-
/* Active */
|
1090
|
-
.ui.ui.secondary.inverted.pointing.menu .active.item {
|
1091
|
-
border-color: @secondaryPointingInvertedActiveBorderColor;
|
1092
|
-
color: @secondaryPointingInvertedActiveColor;
|
1093
|
-
background-color: transparent;
|
1094
|
-
}
|
912
|
+
.ui.secondary.item.menu .item:last-child {
|
913
|
+
margin-right: 0;
|
1095
914
|
}
|
1096
|
-
|
1097
|
-
|
915
|
+
& when (@variationMenuAttached) {
|
916
|
+
.ui.secondary.attached.menu {
|
917
|
+
box-shadow: none;
|
918
|
+
}
|
919
|
+
}
|
920
|
+
& when (@variationMenuVertical) {
|
921
|
+
/* ---------------------
|
922
|
+
Secondary Vertical
|
923
|
+
----------------------- */
|
1098
924
|
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
925
|
+
/* Sub Menu */
|
926
|
+
.ui.vertical.secondary.menu .item:not(.dropdown) > .menu {
|
927
|
+
margin: @secondaryMenuSubMenuMargin;
|
928
|
+
}
|
929
|
+
.ui.vertical.secondary.menu .item:not(.dropdown) > .menu > .item {
|
930
|
+
margin: @secondaryMenuSubMenuItemMargin;
|
931
|
+
padding: @secondaryMenuSubMenuItemPadding;
|
932
|
+
}
|
1103
933
|
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
934
|
+
.ui.secondary.vertical.menu > .item {
|
935
|
+
border: none;
|
936
|
+
margin: @secondaryVerticalItemMargin;
|
937
|
+
border-radius: @secondaryVerticalItemBorderRadius !important;
|
938
|
+
}
|
939
|
+
.ui.secondary.vertical.menu > .header.item {
|
940
|
+
border-radius: 0;
|
941
|
+
}
|
1109
942
|
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
}
|
943
|
+
/* Sub Menu */
|
944
|
+
.ui.vertical.secondary.menu .item > .menu .item {
|
945
|
+
background-color: transparent;
|
946
|
+
}
|
947
|
+
& when (@variationMenuInverted) {
|
948
|
+
/* Inverted */
|
949
|
+
.ui.secondary.inverted.menu {
|
950
|
+
background-color: transparent;
|
951
|
+
}
|
952
|
+
}
|
953
|
+
}
|
1122
954
|
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
}
|
955
|
+
& when (@variationMenuPointing) {
|
956
|
+
/* ---------------------
|
957
|
+
Secondary Pointing
|
958
|
+
----------------------- */
|
1128
959
|
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
font-size: @textMenuHeaderSize;
|
1135
|
-
text-transform: @textMenuHeaderTextTransform;
|
1136
|
-
font-weight: @textMenuHeaderFontWeight;
|
1137
|
-
}
|
960
|
+
.ui.secondary.pointing.menu {
|
961
|
+
margin-left: 0;
|
962
|
+
margin-right: 0;
|
963
|
+
border-bottom: @secondaryPointingBorderWidth solid @secondaryPointingBorderColor;
|
964
|
+
}
|
1138
965
|
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
966
|
+
.ui.secondary.pointing.menu .item {
|
967
|
+
border-bottom-color: transparent;
|
968
|
+
border-bottom-style: solid;
|
969
|
+
border-radius: 0;
|
970
|
+
align-self: flex-end;
|
1143
971
|
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
972
|
+
margin: 0 0 -@secondaryPointingBorderWidth;
|
973
|
+
padding: @secondaryPointingItemVerticalPadding @secondaryPointingItemHorizontalPadding;
|
974
|
+
border-bottom-width: @secondaryPointingBorderWidth;
|
975
|
+
transition: @secondaryItemTransition;
|
976
|
+
}
|
977
|
+
.ui.secondary.pointing.menu .ui.dropdown .menu .item {
|
978
|
+
border-bottom-width: 0;
|
979
|
+
}
|
980
|
+
|
981
|
+
.ui.secondary.pointing.menu .item > .label:not(.floating) {
|
982
|
+
margin-top: -@labelVerticalPadding;
|
983
|
+
margin-bottom: -@labelVerticalPadding;
|
984
|
+
}
|
985
|
+
.ui.secondary.pointing.menu .item > .circular.label {
|
986
|
+
margin-top: -@circularLabelVerticalPadding;
|
987
|
+
margin-bottom: -@circularLabelVerticalPadding;
|
988
|
+
}
|
989
|
+
|
990
|
+
/* Item Types */
|
991
|
+
.ui.secondary.pointing.menu .header.item {
|
992
|
+
color: @secondaryPointingHeaderColor !important;
|
993
|
+
}
|
994
|
+
.ui.secondary.pointing.menu .text.item {
|
995
|
+
box-shadow: none !important;
|
996
|
+
}
|
997
|
+
.ui.secondary.pointing.menu .item::after {
|
998
|
+
display: none;
|
999
|
+
}
|
1000
|
+
|
1001
|
+
/* Hover */
|
1002
|
+
.ui.secondary.pointing.menu .dropdown.item:hover,
|
1003
|
+
.ui.secondary.pointing.menu .link.item:hover,
|
1004
|
+
.ui.secondary.pointing.menu a.item:hover {
|
1005
|
+
background-color: transparent;
|
1006
|
+
color: @secondaryPointingHoverTextColor;
|
1007
|
+
}
|
1008
|
+
|
1009
|
+
/* Pressed */
|
1010
|
+
.ui.secondary.pointing.menu .dropdown.item:active,
|
1011
|
+
.ui.secondary.pointing.menu .link.item:active,
|
1012
|
+
.ui.secondary.pointing.menu a.item:active {
|
1013
|
+
background-color: transparent;
|
1014
|
+
border-color: @secondaryPointingBorderColor;
|
1015
|
+
}
|
1016
|
+
|
1017
|
+
/* Active */
|
1018
|
+
.ui.secondary.pointing.menu .active.item {
|
1019
|
+
background-color: transparent;
|
1020
|
+
box-shadow: none;
|
1021
|
+
border-color: @secondaryPointingActiveBorderColor;
|
1022
|
+
font-weight: @secondaryPointingActiveFontWeight;
|
1023
|
+
color: @secondaryPointingActiveTextColor;
|
1024
|
+
}
|
1025
|
+
|
1026
|
+
/* Active Hover */
|
1027
|
+
.ui.secondary.pointing.menu .active.item:hover {
|
1028
|
+
border-color: @secondaryPointingActiveHoverBorderColor;
|
1029
|
+
color: @secondaryPointingActiveHoverTextColor;
|
1030
|
+
}
|
1031
|
+
|
1032
|
+
/* Active Dropdown */
|
1033
|
+
.ui.secondary.pointing.menu .active.dropdown.item {
|
1034
|
+
border-color: @secondaryPointingActiveDropdownBorderColor;
|
1035
|
+
}
|
1036
|
+
& when (@variationMenuVertical) {
|
1037
|
+
/* Vertical Pointing */
|
1038
|
+
.ui.secondary.vertical.pointing.menu {
|
1039
|
+
border-bottom-width: 0;
|
1040
|
+
border-right-width: @secondaryPointingBorderWidth;
|
1041
|
+
border-right-style: solid;
|
1042
|
+
border-right-color: @secondaryPointingBorderColor;
|
1043
|
+
}
|
1044
|
+
.ui.secondary.vertical.pointing.menu .item {
|
1045
|
+
border-bottom: none;
|
1046
|
+
border-right-style: solid;
|
1047
|
+
border-right-color: transparent;
|
1048
|
+
border-radius: 0 !important;
|
1049
|
+
margin: @secondaryVerticalPointingItemMargin;
|
1050
|
+
border-right-width: @secondaryPointingBorderWidth;
|
1051
|
+
}
|
1052
|
+
|
1053
|
+
/* Vertical Active */
|
1054
|
+
.ui.secondary.vertical.pointing.menu .active.item {
|
1055
|
+
border-color: @secondaryPointingActiveBorderColor;
|
1056
|
+
}
|
1057
|
+
}
|
1058
|
+
& when (@variationMenuInverted) {
|
1059
|
+
/* Inverted */
|
1060
|
+
.ui.secondary.inverted.pointing.menu {
|
1061
|
+
border-color: @secondaryPointingInvertedBorderColor;
|
1062
|
+
}
|
1063
|
+
|
1064
|
+
.ui.secondary.inverted.pointing.menu .item:not(.disabled) {
|
1065
|
+
color: @secondaryPointingInvertedItemTextColor;
|
1066
|
+
}
|
1067
|
+
.ui.secondary.inverted.pointing.menu .header.item {
|
1068
|
+
color: @secondaryPointingInvertedItemHeaderColor !important;
|
1069
|
+
}
|
1070
|
+
|
1071
|
+
/* Hover */
|
1072
|
+
.ui.secondary.inverted.pointing.menu .link.item:hover,
|
1073
|
+
.ui.secondary.inverted.pointing.menu a.item:hover {
|
1074
|
+
color: @secondaryPointingInvertedItemHoverTextColor;
|
1075
|
+
}
|
1076
|
+
|
1077
|
+
/* Active */
|
1078
|
+
.ui.ui.secondary.inverted.pointing.menu .active.item {
|
1079
|
+
border-color: @secondaryPointingInvertedActiveBorderColor;
|
1080
|
+
color: @secondaryPointingInvertedActiveColor;
|
1081
|
+
background-color: transparent;
|
1082
|
+
}
|
1083
|
+
}
|
1084
|
+
}
|
1085
|
+
}
|
1086
|
+
|
1087
|
+
& when (@variationMenuText) {
|
1088
|
+
/* --------------
|
1089
|
+
Text Menu
|
1090
|
+
--------------- */
|
1091
|
+
|
1092
|
+
.ui.text.menu {
|
1093
|
+
background: none transparent;
|
1094
|
+
border-radius: 0;
|
1095
|
+
box-shadow: none;
|
1096
|
+
border: none;
|
1097
|
+
|
1098
|
+
margin: @textMenuMargin;
|
1152
1099
|
}
|
1153
|
-
.ui.
|
1154
|
-
|
1100
|
+
.ui.text.menu .item {
|
1101
|
+
border-radius: 0;
|
1102
|
+
box-shadow: none;
|
1103
|
+
align-self: center;
|
1104
|
+
margin: @textMenuItemMargin;
|
1105
|
+
padding: @textMenuItemPadding;
|
1106
|
+
font-weight: @textMenuItemFontWeight;
|
1107
|
+
color: @textMenuItemColor;
|
1108
|
+
transition: @textMenuItemTransition;
|
1155
1109
|
}
|
1156
|
-
|
1157
|
-
|
1110
|
+
|
1111
|
+
/* Border */
|
1112
|
+
.ui.text.menu .item::before,
|
1113
|
+
.ui.text.menu .menu .item::before {
|
1114
|
+
display: none !important;
|
1158
1115
|
}
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1116
|
+
|
1117
|
+
/* Header */
|
1118
|
+
.ui.text.menu .header.item {
|
1119
|
+
background-color: transparent;
|
1120
|
+
opacity: 1;
|
1121
|
+
color: @textMenuHeaderColor;
|
1122
|
+
font-size: @textMenuHeaderSize;
|
1123
|
+
text-transform: @textMenuHeaderTextTransform;
|
1124
|
+
font-weight: @textMenuHeaderFontWeight;
|
1163
1125
|
}
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1126
|
+
|
1127
|
+
/* Image */
|
1128
|
+
.ui.text.menu .item > img:not(.ui) {
|
1129
|
+
margin: 0;
|
1167
1130
|
}
|
1168
|
-
|
1169
|
-
|
1131
|
+
|
1132
|
+
/* --- fluid text --- */
|
1133
|
+
.ui.text.item.menu .item {
|
1134
|
+
margin: 0;
|
1170
1135
|
}
|
1136
|
+
& when (@variationMenuVertical) {
|
1137
|
+
/* --- vertical text --- */
|
1138
|
+
.ui.vertical.text.menu {
|
1139
|
+
margin: @textVerticalMenuMargin;
|
1140
|
+
}
|
1141
|
+
.ui.vertical.text.menu:first-child {
|
1142
|
+
margin-top: 0;
|
1143
|
+
}
|
1144
|
+
.ui.vertical.text.menu:last-child {
|
1145
|
+
margin-bottom: 0;
|
1146
|
+
}
|
1147
|
+
.ui.vertical.text.menu .item {
|
1148
|
+
margin: @textVerticalMenuItemMargin;
|
1149
|
+
padding-left: 0;
|
1150
|
+
padding-right: 0;
|
1151
|
+
}
|
1152
|
+
.ui.vertical.text.menu .item > i.icon {
|
1153
|
+
float: @textVerticalMenuIconFloat;
|
1154
|
+
margin: @iconMargin;
|
1155
|
+
}
|
1156
|
+
.ui.vertical.text.menu .header.item {
|
1157
|
+
margin: @textVerticalMenuHeaderMargin;
|
1158
|
+
}
|
1171
1159
|
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1160
|
+
/* Vertical Sub Menu */
|
1161
|
+
.ui.vertical.text.menu .item:not(.dropdown) > .menu {
|
1162
|
+
margin: @textMenuSubMenuMargin;
|
1163
|
+
}
|
1164
|
+
.ui.vertical.text.menu .item:not(.dropdown) > .menu > .item {
|
1165
|
+
margin: @textMenuSubMenuItemMargin;
|
1166
|
+
padding: @textMenuSubMenuItemPadding;
|
1167
|
+
}
|
1175
1168
|
}
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1169
|
+
|
1170
|
+
/* --- hover --- */
|
1171
|
+
.ui.text.menu .item:hover {
|
1172
|
+
opacity: 1;
|
1173
|
+
background-color: transparent;
|
1179
1174
|
}
|
1180
|
-
}
|
1181
|
-
/*--- hover ---*/
|
1182
|
-
.ui.text.menu .item:hover {
|
1183
|
-
opacity: 1;
|
1184
|
-
background-color: transparent;
|
1185
|
-
}
|
1186
1175
|
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1176
|
+
/* --- active --- */
|
1177
|
+
.ui.text.menu .active.item {
|
1178
|
+
background-color: transparent;
|
1179
|
+
border: none;
|
1180
|
+
box-shadow: none;
|
1181
|
+
font-weight: @textMenuActiveItemFontWeight;
|
1182
|
+
color: @textMenuActiveItemColor;
|
1183
|
+
}
|
1195
1184
|
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
}
|
1200
|
-
& when (@variationMenuPointing) {
|
1201
|
-
/* Disable Bariations */
|
1202
|
-
.ui.text.pointing.menu .active.item::after {
|
1203
|
-
box-shadow: none;
|
1185
|
+
/* --- active hover --- */
|
1186
|
+
.ui.text.menu .active.item:hover {
|
1187
|
+
background-color: transparent;
|
1204
1188
|
}
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1189
|
+
& when (@variationMenuPointing) {
|
1190
|
+
/* Disable Bariations */
|
1191
|
+
.ui.text.pointing.menu .active.item::after {
|
1192
|
+
box-shadow: none;
|
1193
|
+
}
|
1209
1194
|
}
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
.ui.inverted.text.menu .item,
|
1215
|
-
.ui.inverted.text.menu .item:hover,
|
1216
|
-
.ui.inverted.text.menu .active.item {
|
1217
|
-
background-color: transparent;
|
1195
|
+
& when (@variationMenuAttached) {
|
1196
|
+
.ui.text.attached.menu {
|
1197
|
+
box-shadow: none;
|
1198
|
+
}
|
1218
1199
|
}
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1200
|
+
& when (@variationMenuInverted) {
|
1201
|
+
/* Inverted */
|
1202
|
+
.ui.inverted.text.menu,
|
1203
|
+
.ui.inverted.text.menu .item,
|
1204
|
+
.ui.inverted.text.menu .item:hover,
|
1205
|
+
.ui.inverted.text.menu .active.item {
|
1206
|
+
background-color: transparent;
|
1207
|
+
}
|
1208
|
+
}
|
1209
|
+
& when (@variationMenuFluid) {
|
1210
|
+
/* Fluid */
|
1211
|
+
.ui.fluid.text.menu {
|
1212
|
+
margin-left: 0;
|
1213
|
+
margin-right: 0;
|
1214
|
+
}
|
1225
1215
|
}
|
1226
|
-
}
|
1227
1216
|
}
|
1228
1217
|
|
1229
1218
|
& when (@variationMenuIcon) {
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1219
|
+
/* --------------
|
1220
|
+
Icon Only
|
1221
|
+
--------------- */
|
1233
1222
|
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1223
|
+
& when (@variationMenuVertical) {
|
1224
|
+
/* Vertical Menu */
|
1225
|
+
.ui.vertical.icon.menu {
|
1226
|
+
display: inline-block;
|
1227
|
+
width: auto;
|
1228
|
+
}
|
1239
1229
|
}
|
1240
|
-
}
|
1241
1230
|
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1231
|
+
/* Item */
|
1232
|
+
.ui.icon.menu .item {
|
1233
|
+
height: auto;
|
1234
|
+
text-align: @iconMenuTextAlign;
|
1235
|
+
color: @iconMenuItemColor;
|
1236
|
+
}
|
1248
1237
|
|
1249
|
-
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1238
|
+
/* Icon */
|
1239
|
+
.ui.icon.menu .item > i.icon:not(.dropdown) {
|
1240
|
+
margin: 0;
|
1241
|
+
opacity: 1;
|
1242
|
+
}
|
1254
1243
|
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1244
|
+
/* Icon Glyph */
|
1245
|
+
.ui.icon.menu i.icon::before {
|
1246
|
+
opacity: 1;
|
1247
|
+
}
|
1259
1248
|
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1249
|
+
/* (x) Item Icon */
|
1250
|
+
.ui.menu .icon.item > i.icon {
|
1251
|
+
width: auto;
|
1252
|
+
margin: 0 auto;
|
1253
|
+
}
|
1265
1254
|
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1255
|
+
/* Vertical Icon */
|
1256
|
+
& when (@variationMenuVertical) {
|
1257
|
+
.ui.vertical.icon.menu .item > i.icon:not(.dropdown) {
|
1258
|
+
display: block;
|
1259
|
+
opacity: 1;
|
1260
|
+
margin: 0 auto;
|
1261
|
+
float: none;
|
1262
|
+
}
|
1273
1263
|
}
|
1274
|
-
}
|
1275
1264
|
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1265
|
+
/* Inverted */
|
1266
|
+
& when (@variationMenuInverted) {
|
1267
|
+
.ui.inverted.icon.menu .item {
|
1268
|
+
color: @iconMenuInvertedItemColor;
|
1269
|
+
}
|
1280
1270
|
}
|
1281
|
-
}
|
1282
1271
|
}
|
1283
1272
|
|
1284
1273
|
& when (@variationMenuLabeled) {
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1274
|
+
/* --------------
|
1275
|
+
Labeled Icon
|
1276
|
+
--------------- */
|
1288
1277
|
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1278
|
+
/* Menu */
|
1279
|
+
.ui.labeled.icon.menu {
|
1280
|
+
text-align: center;
|
1281
|
+
}
|
1293
1282
|
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1283
|
+
/* Item */
|
1284
|
+
.ui.labeled.icon.menu .item {
|
1285
|
+
min-width: @labeledIconMinWidth;
|
1286
|
+
flex-direction: column;
|
1287
|
+
}
|
1299
1288
|
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1289
|
+
/* Icon */
|
1290
|
+
.ui.labeled.icon.menu > .item > i.icon:not(.dropdown) {
|
1291
|
+
height: 1em;
|
1292
|
+
display: block;
|
1293
|
+
font-size: @labeledIconSize !important;
|
1294
|
+
margin: 0 auto @labeledIconTextMargin !important;
|
1295
|
+
}
|
1296
|
+
& when (@variationMenuFluid) {
|
1297
|
+
/* Fluid */
|
1298
|
+
.ui.fluid.labeled.icon.menu > .item {
|
1299
|
+
min-width: 0;
|
1300
|
+
}
|
1311
1301
|
}
|
1312
|
-
}
|
1313
1302
|
}
|
1314
1303
|
|
1315
|
-
|
1316
1304
|
/*******************************
|
1317
1305
|
Variations
|
1318
1306
|
*******************************/
|
1319
1307
|
|
1320
1308
|
& when (@variationMenuStackable) {
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1309
|
+
/* --------------
|
1310
|
+
Stackable
|
1311
|
+
--------------- */
|
1324
1312
|
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1313
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
1314
|
+
.ui.stackable.menu {
|
1315
|
+
flex-direction: column;
|
1328
1316
|
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1317
|
+
&.pointing .active.item::after when (@variationMenuPointing) {
|
1318
|
+
display: none;
|
1319
|
+
}
|
1320
|
+
}
|
1321
|
+
.ui.stackable.menu .item {
|
1322
|
+
width: 100% !important;
|
1323
|
+
}
|
1324
|
+
.ui.stackable.menu .item::before {
|
1325
|
+
position: absolute;
|
1326
|
+
content: '';
|
1327
|
+
top: auto;
|
1328
|
+
bottom: 0;
|
1329
|
+
left: 0;
|
1330
|
+
width: 100%;
|
1331
|
+
height: @dividerSize;
|
1332
|
+
background: @verticalDividerBackground;
|
1333
|
+
}
|
1346
1334
|
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1335
|
+
.ui.stackable.menu .left.menu,
|
1336
|
+
.ui.stackable.menu .left.item {
|
1337
|
+
margin-right: 0 !important;
|
1338
|
+
}
|
1339
|
+
.ui.stackable.menu .right.menu,
|
1340
|
+
.ui.stackable.menu .right.item {
|
1341
|
+
margin-left: 0 !important;
|
1342
|
+
}
|
1343
|
+
.ui.stackable.menu .center.menu,
|
1344
|
+
.ui.stackable.menu .center.item {
|
1345
|
+
margin-left: 0 !important;
|
1346
|
+
margin-right: 0 !important;
|
1347
|
+
}
|
1360
1348
|
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1349
|
+
.ui.stackable.menu .right.menu,
|
1350
|
+
.ui.stackable.menu .center.menu,
|
1351
|
+
.ui.stackable.menu .left.menu {
|
1352
|
+
flex-direction: column;
|
1353
|
+
}
|
1365
1354
|
}
|
1366
|
-
}
|
1367
1355
|
}
|
1368
1356
|
|
1369
|
-
|
1357
|
+
/* --------------
|
1370
1358
|
Colors
|
1371
|
-
|
1359
|
+
--------------- */
|
1372
1360
|
& when not (@variationMenuColors = false) {
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1361
|
+
each(@variationMenuColors, {
|
1362
|
+
@color: @value;
|
1363
|
+
@c: @colors[@@color][color];
|
1364
|
+
|
1365
|
+
& when not (@color=secondary) {
|
1366
|
+
.ui.ui.ui.menu .@{color}.active.item,
|
1367
|
+
.ui.ui.@{color}.menu .active.item:hover,
|
1368
|
+
.ui.ui.@{color}.menu .active.item {
|
1369
|
+
& when not (@secondaryPointingActiveBorderColor = currentColor) {
|
1370
|
+
border-color: @c;
|
1371
|
+
}
|
1372
|
+
color: @c;
|
1373
|
+
}
|
1383
1374
|
}
|
1384
|
-
|
1385
|
-
}
|
1386
|
-
}
|
1387
|
-
})
|
1375
|
+
})
|
1388
1376
|
}
|
1389
1377
|
|
1390
1378
|
& when (@variationMenuInverted) {
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
.ui.inverted.menu {
|
1396
|
-
border: @invertedBorder;
|
1397
|
-
background: @invertedBackground;
|
1398
|
-
box-shadow: @invertedBoxShadow;
|
1399
|
-
}
|
1379
|
+
/* --------------
|
1380
|
+
Inverted
|
1381
|
+
--------------- */
|
1400
1382
|
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
}
|
1407
|
-
.ui.inverted.menu .item.menu {
|
1408
|
-
background: @invertedSubMenuBackground;
|
1409
|
-
}
|
1383
|
+
.ui.inverted.menu {
|
1384
|
+
border: @invertedBorder;
|
1385
|
+
background: @invertedBackground;
|
1386
|
+
box-shadow: @invertedBoxShadow;
|
1387
|
+
}
|
1410
1388
|
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
.ui.vertical.inverted.menu .item::before {
|
1417
|
-
background: @invertedVerticalDividerBackground;
|
1389
|
+
/* Menu Item */
|
1390
|
+
.ui.inverted.menu .item,
|
1391
|
+
.ui.inverted.menu .item > a:not(.ui) {
|
1392
|
+
background: @invertedItemBackground;
|
1393
|
+
color: @invertedItemTextColor;
|
1418
1394
|
}
|
1419
|
-
|
1420
|
-
|
1421
|
-
.ui.vertical.inverted.menu .menu .item a:not(.ui) {
|
1422
|
-
color: @invertedSubMenuColor;
|
1395
|
+
.ui.inverted.menu .item.menu {
|
1396
|
+
background: @invertedSubMenuBackground;
|
1423
1397
|
}
|
1424
|
-
}
|
1425
|
-
/* Header */
|
1426
|
-
.ui.inverted.menu .header.item {
|
1427
|
-
margin: 0;
|
1428
|
-
background: @invertedHeaderBackground;
|
1429
|
-
box-shadow: none;
|
1430
|
-
}
|
1431
1398
|
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1399
|
+
/* --- Border --- */
|
1400
|
+
.ui.inverted.menu .item::before {
|
1401
|
+
background: @invertedDividerBackground;
|
1402
|
+
}
|
1403
|
+
& when (@variationMenuVertical) {
|
1404
|
+
.ui.vertical.inverted.menu .item::before {
|
1405
|
+
background: @invertedVerticalDividerBackground;
|
1406
|
+
}
|
1436
1407
|
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
background: @invertedHoverBackground;
|
1443
|
-
color: @invertedHoverColor;
|
1444
|
-
}
|
1445
|
-
& when (@variationMenuVertical) {
|
1446
|
-
.ui.vertical.inverted.menu .item .menu a.item:hover,
|
1447
|
-
.ui.vertical.inverted.menu .item .menu .link.item:hover {
|
1448
|
-
background: @invertedSubMenuBackground;
|
1449
|
-
color: @invertedSubMenuHoverColor;
|
1408
|
+
/* Sub Menu */
|
1409
|
+
.ui.vertical.inverted.menu .menu .item,
|
1410
|
+
.ui.vertical.inverted.menu .menu .item a:not(.ui) {
|
1411
|
+
color: @invertedSubMenuColor;
|
1412
|
+
}
|
1450
1413
|
}
|
1451
|
-
}
|
1452
|
-
/*--- Pressed ---*/
|
1453
|
-
.ui.inverted.menu a.item:active,
|
1454
|
-
.ui.inverted.menu .link.item:active{
|
1455
|
-
background: @invertedMenuPressedBackground;
|
1456
|
-
color: @invertedMenuPressedColor;
|
1457
|
-
}
|
1458
1414
|
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
& when (@variationMenuVertical) {
|
1465
|
-
.ui.inverted.vertical.menu .item .menu .active.item {
|
1466
|
-
background: @invertedSubMenuActiveBackground;
|
1467
|
-
color: @invertedSubMenuActiveColor;
|
1415
|
+
/* Header */
|
1416
|
+
.ui.inverted.menu .header.item {
|
1417
|
+
margin: 0;
|
1418
|
+
background: @invertedHeaderBackground;
|
1419
|
+
box-shadow: none;
|
1468
1420
|
}
|
1469
|
-
|
1470
|
-
|
1471
|
-
.ui.inverted.
|
1472
|
-
|
1473
|
-
margin: 0 !important;
|
1474
|
-
box-shadow: none !important;
|
1475
|
-
border: none !important;
|
1421
|
+
|
1422
|
+
/* Disabled */
|
1423
|
+
.ui.ui.inverted.menu .item.disabled {
|
1424
|
+
color: @invertedDisabledTextColor;
|
1476
1425
|
}
|
1477
|
-
}
|
1478
1426
|
|
1479
|
-
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1427
|
+
/* --- Hover --- */
|
1428
|
+
.ui.link.inverted.menu .item:hover,
|
1429
|
+
.ui.inverted.menu .dropdown.item:hover,
|
1430
|
+
.ui.inverted.menu .link.item:hover,
|
1431
|
+
.ui.inverted.menu a.item:hover {
|
1432
|
+
background: @invertedHoverBackground;
|
1433
|
+
color: @invertedHoverColor;
|
1434
|
+
}
|
1435
|
+
& when (@variationMenuVertical) {
|
1436
|
+
.ui.vertical.inverted.menu .item .menu a.item:hover,
|
1437
|
+
.ui.vertical.inverted.menu .item .menu .link.item:hover {
|
1438
|
+
background: @invertedSubMenuBackground;
|
1439
|
+
color: @invertedSubMenuHoverColor;
|
1440
|
+
}
|
1441
|
+
}
|
1442
|
+
|
1443
|
+
/* --- Pressed --- */
|
1444
|
+
.ui.inverted.menu a.item:active,
|
1445
|
+
.ui.inverted.menu .link.item:active {
|
1446
|
+
background: @invertedMenuPressedBackground;
|
1447
|
+
color: @invertedMenuPressedColor;
|
1448
|
+
}
|
1449
|
+
|
1450
|
+
/* --- Active --- */
|
1451
|
+
.ui.inverted.menu .active.item {
|
1452
|
+
background: @invertedActiveBackground;
|
1453
|
+
color: @invertedActiveColor !important;
|
1454
|
+
}
|
1455
|
+
& when (@variationMenuVertical) {
|
1456
|
+
.ui.inverted.vertical.menu .item .menu .active.item {
|
1457
|
+
background: @invertedSubMenuActiveBackground;
|
1458
|
+
color: @invertedSubMenuActiveColor;
|
1459
|
+
}
|
1460
|
+
}
|
1461
|
+
& when (@variationMenuPointing) {
|
1462
|
+
.ui.inverted.pointing.menu .active.item::after {
|
1463
|
+
background: @invertedArrowActiveColor;
|
1464
|
+
margin: 0 !important;
|
1465
|
+
box-shadow: none !important;
|
1466
|
+
border: none !important;
|
1467
|
+
}
|
1468
|
+
}
|
1469
|
+
|
1470
|
+
/* --- Active Hover --- */
|
1471
|
+
.ui.inverted.menu .active.item:hover {
|
1472
|
+
background: @invertedActiveHoverBackground;
|
1473
|
+
color: @invertedActiveHoverColor !important;
|
1474
|
+
}
|
1475
|
+
& when (@variationMenuPointing) {
|
1476
|
+
.ui.inverted.pointing.menu .active.item:hover::after {
|
1477
|
+
background: @invertedArrowActiveHoverColor;
|
1478
|
+
}
|
1487
1479
|
}
|
1488
|
-
}
|
1489
1480
|
}
|
1490
1481
|
|
1491
1482
|
& when (@variationMenuFloated) {
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1483
|
+
/* --------------
|
1484
|
+
Floated
|
1485
|
+
--------------- */
|
1495
1486
|
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1487
|
+
.ui.floated.menu {
|
1488
|
+
float: left;
|
1489
|
+
margin: 0 @floatedDistance 0 0;
|
1490
|
+
}
|
1491
|
+
.ui.floated.menu .item:last-child::before {
|
1492
|
+
display: none;
|
1493
|
+
}
|
1503
1494
|
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
1495
|
+
.ui.right.floated.menu {
|
1496
|
+
float: right;
|
1497
|
+
margin: 0 0 0 @floatedDistance;
|
1498
|
+
}
|
1508
1499
|
}
|
1509
1500
|
|
1510
1501
|
& when (@variationMenuCentered) {
|
1511
|
-
|
1512
|
-
|
1513
|
-
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1502
|
+
.ui.center.aligned.menu,
|
1503
|
+
.ui.centered.menu {
|
1504
|
+
display: inline-flex;
|
1505
|
+
transform: translateX(-50%);
|
1506
|
+
margin-left: 50%;
|
1507
|
+
}
|
1517
1508
|
}
|
1518
1509
|
|
1519
1510
|
& when (@variationMenuInverted) {
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
1523
|
-
|
1524
|
-
|
1525
|
-
|
1526
|
-
|
1527
|
-
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1511
|
+
/* --------------
|
1512
|
+
Inverted
|
1513
|
+
--------------- */
|
1514
|
+
& when not (@variationMenuColors = false) {
|
1515
|
+
each(@variationMenuColors, {
|
1516
|
+
@color: @value;
|
1517
|
+
@c: @colors[@@color][color];
|
1518
|
+
@h: @colors[@@color][hover];
|
1519
|
+
|
1520
|
+
& when not (@color=secondary) {
|
1521
|
+
.ui.ui.ui.inverted.menu .@{color}.active.item,
|
1522
|
+
.ui.ui.inverted.@{color}.menu {
|
1523
|
+
background-color: @c;
|
1524
|
+
}
|
1525
|
+
.ui.inverted.@{color}.menu .item::before {
|
1526
|
+
background-color: @invertedColoredDividerBackground;
|
1527
|
+
}
|
1528
|
+
.ui.ui.inverted.@{color}.menu .active.item {
|
1529
|
+
background-color: @invertedColoredActiveBackground;
|
1530
|
+
}
|
1531
|
+
& when (@variationMenuPointing) {
|
1532
|
+
.ui.inverted.pointing.@{color}.menu .active.item {
|
1533
|
+
background-color: @h;
|
1534
|
+
}
|
1535
|
+
}
|
1536
|
+
}
|
1537
|
+
})
|
1538
|
+
}
|
1539
|
+
|
1540
|
+
& when (@variationMenuPointing) {
|
1541
|
+
.ui.ui.ui.inverted.pointing.menu .active.item::after {
|
1542
|
+
background-color: inherit;
|
1536
1543
|
}
|
1537
|
-
.ui.ui.inverted.@{color}.menu .active.item {
|
1538
|
-
background-color: @invertedColoredActiveBackground;
|
1539
|
-
}
|
1540
|
-
& when (@variationMenuPointing) {
|
1541
|
-
.ui.inverted.pointing.@{color}.menu .active.item {
|
1542
|
-
background-color: @h;
|
1543
|
-
}
|
1544
|
-
}
|
1545
|
-
}
|
1546
|
-
})
|
1547
|
-
}
|
1548
|
-
|
1549
|
-
& when (@variationMenuPointing) {
|
1550
|
-
.ui.ui.ui.inverted.pointing.menu .active.item::after {
|
1551
|
-
background-color: inherit;
|
1552
1544
|
}
|
1553
|
-
}
|
1554
1545
|
}
|
1555
1546
|
|
1556
1547
|
& when (@variationMenuFitted) {
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1548
|
+
/* --------------
|
1549
|
+
Fitted
|
1550
|
+
--------------- */
|
1560
1551
|
|
1561
|
-
|
1562
|
-
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1568
|
-
|
1569
|
-
|
1570
|
-
|
1571
|
-
|
1572
|
-
|
1573
|
-
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1552
|
+
.ui.fitted.menu .item,
|
1553
|
+
.ui.fitted.menu .item .menu .item,
|
1554
|
+
.ui.menu .fitted.item {
|
1555
|
+
padding: 0;
|
1556
|
+
}
|
1557
|
+
.ui.horizontally.fitted.menu .item,
|
1558
|
+
.ui.horizontally.fitted.menu .item .menu .item,
|
1559
|
+
.ui.menu .horizontally.fitted.item {
|
1560
|
+
padding-top: @itemVerticalPadding;
|
1561
|
+
padding-bottom: @itemVerticalPadding;
|
1562
|
+
}
|
1563
|
+
.ui.vertically.fitted.menu .item,
|
1564
|
+
.ui.vertically.fitted.menu .item .menu .item,
|
1565
|
+
.ui.menu .vertically.fitted.item {
|
1566
|
+
padding-left: @itemHorizontalPadding;
|
1567
|
+
padding-right: @itemHorizontalPadding;
|
1568
|
+
}
|
1578
1569
|
}
|
1579
1570
|
|
1580
1571
|
& when (@variationMenuBorderless) {
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1572
|
+
/* --------------
|
1573
|
+
Borderless
|
1574
|
+
--------------- */
|
1584
1575
|
|
1585
|
-
|
1586
|
-
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1576
|
+
.ui.borderless.menu .item::before,
|
1577
|
+
.ui.borderless.menu .item .menu .item::before,
|
1578
|
+
.ui.menu .borderless.item::before {
|
1579
|
+
background: none !important;
|
1580
|
+
}
|
1590
1581
|
}
|
1591
1582
|
|
1592
1583
|
& when (@variationMenuCompact) {
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1584
|
+
/* -------------------
|
1585
|
+
Compact
|
1586
|
+
-------------------- */
|
1596
1587
|
|
1597
|
-
|
1598
|
-
|
1599
|
-
|
1600
|
-
|
1601
|
-
}
|
1602
|
-
& when (@variationMenuVertical) {
|
1603
|
-
.ui.compact.vertical.menu {
|
1604
|
-
& when (@supportIE) {
|
1605
|
-
/* IE hack to make dropdown icons appear inline */
|
1606
|
-
display: -ms-inline-flexbox !important;
|
1607
|
-
}
|
1608
|
-
display: inline-block;
|
1588
|
+
.ui.compact.menu {
|
1589
|
+
display: inline-flex;
|
1590
|
+
margin: 0;
|
1591
|
+
vertical-align: middle;
|
1609
1592
|
}
|
1610
|
-
|
1611
|
-
|
1612
|
-
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1617
|
-
|
1618
|
-
.ui.compact.vertical.menu {
|
1619
|
-
width: auto !important;
|
1593
|
+
& when (@variationMenuVertical) {
|
1594
|
+
.ui.compact.vertical.menu {
|
1595
|
+
& when (@supportIE) {
|
1596
|
+
/* IE hack to make dropdown icons appear inline */
|
1597
|
+
display: -ms-inline-flexbox !important;
|
1598
|
+
}
|
1599
|
+
display: inline-block;
|
1600
|
+
}
|
1620
1601
|
}
|
1621
|
-
.ui.compact.
|
1622
|
-
|
1602
|
+
.ui.compact.menu:not(.secondary) .item:last-child {
|
1603
|
+
border-radius: 0 @borderRadius @borderRadius 0;
|
1604
|
+
}
|
1605
|
+
.ui.compact.menu .item:last-child::before {
|
1606
|
+
display: none;
|
1607
|
+
}
|
1608
|
+
& when (@variationMenuVertical) {
|
1609
|
+
.ui.compact.vertical.menu {
|
1610
|
+
width: auto !important;
|
1611
|
+
}
|
1612
|
+
.ui.compact.vertical.menu .item:last-child::before {
|
1613
|
+
display: block;
|
1614
|
+
}
|
1623
1615
|
}
|
1624
|
-
}
|
1625
1616
|
}
|
1626
1617
|
|
1627
1618
|
& when (@variationMenuFluid) {
|
1628
|
-
|
1629
|
-
|
1630
|
-
|
1619
|
+
/* -------------------
|
1620
|
+
Fluid
|
1621
|
+
-------------------- */
|
1631
1622
|
|
1632
|
-
|
1633
|
-
|
1634
|
-
|
1635
|
-
|
1623
|
+
.ui.menu.fluid,
|
1624
|
+
.ui.vertical.menu.fluid {
|
1625
|
+
width: 100% !important;
|
1626
|
+
}
|
1636
1627
|
}
|
1637
1628
|
|
1638
|
-
|
1639
|
-
/*-------------------
|
1629
|
+
/* -------------------
|
1640
1630
|
Evenly Sized
|
1641
|
-
|
1631
|
+
-------------------- */
|
1642
1632
|
|
1643
1633
|
.ui.item.menu,
|
1644
1634
|
.ui.item.menu .item {
|
1645
|
-
|
1646
|
-
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1650
|
-
|
1651
|
-
|
1635
|
+
width: 100%;
|
1636
|
+
padding-left: 0 !important;
|
1637
|
+
padding-right: 0 !important;
|
1638
|
+
margin-left: 0 !important;
|
1639
|
+
margin-right: 0 !important;
|
1640
|
+
text-align: center;
|
1641
|
+
justify-content: center;
|
1652
1642
|
}
|
1653
1643
|
.ui.attached.item.menu:not(.tabular) {
|
1654
|
-
|
1644
|
+
margin: 0 @attachedHorizontalOffset !important;
|
1655
1645
|
}
|
1656
1646
|
|
1657
1647
|
.ui.item.menu .item:last-child::before {
|
1658
|
-
|
1648
|
+
display: none;
|
1659
1649
|
}
|
1660
1650
|
|
1661
1651
|
& when (@variationMenuEqualWidth) {
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1687
|
-
|
1688
|
-
|
1689
|
-
|
1690
|
-
|
1691
|
-
|
1692
|
-
|
1693
|
-
|
1694
|
-
|
1652
|
+
.ui.menu.two.item .item {
|
1653
|
+
width: 50%;
|
1654
|
+
}
|
1655
|
+
.ui.menu.three.item .item {
|
1656
|
+
width: 33.333%;
|
1657
|
+
}
|
1658
|
+
.ui.menu.four.item .item {
|
1659
|
+
width: 25%;
|
1660
|
+
}
|
1661
|
+
.ui.menu.five.item .item {
|
1662
|
+
width: 20%;
|
1663
|
+
}
|
1664
|
+
.ui.menu.six.item .item {
|
1665
|
+
width: 16.666%;
|
1666
|
+
}
|
1667
|
+
.ui.menu.seven.item .item {
|
1668
|
+
width: 14.285%;
|
1669
|
+
}
|
1670
|
+
.ui.menu.eight.item .item {
|
1671
|
+
width: 12.500%;
|
1672
|
+
}
|
1673
|
+
.ui.menu.nine.item .item {
|
1674
|
+
width: 11.11%;
|
1675
|
+
}
|
1676
|
+
.ui.menu.ten.item .item {
|
1677
|
+
width: 10.0%;
|
1678
|
+
}
|
1679
|
+
.ui.menu.eleven.item .item {
|
1680
|
+
width: 9.09%;
|
1681
|
+
}
|
1682
|
+
.ui.menu.twelve.item .item {
|
1683
|
+
width: 8.333%;
|
1684
|
+
}
|
1695
1685
|
}
|
1696
1686
|
|
1697
1687
|
& when (@variationMenuFixed) {
|
1698
|
-
|
1699
|
-
|
1700
|
-
|
1701
|
-
|
1702
|
-
|
1703
|
-
|
1704
|
-
|
1705
|
-
|
1706
|
-
|
1707
|
-
|
1708
|
-
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1688
|
+
/* --------------
|
1689
|
+
Fixed
|
1690
|
+
--------------- */
|
1691
|
+
|
1692
|
+
.ui.menu.fixed {
|
1693
|
+
position: fixed;
|
1694
|
+
z-index: 101;
|
1695
|
+
margin: 0;
|
1696
|
+
width: 100%;
|
1697
|
+
}
|
1698
|
+
.ui.menu.fixed,
|
1699
|
+
.ui.menu.fixed .item:first-child,
|
1700
|
+
.ui.menu.fixed .item:last-child {
|
1701
|
+
border-radius: 0 !important;
|
1702
|
+
}
|
1713
1703
|
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
1730
|
-
|
1731
|
-
|
1732
|
-
|
1733
|
-
|
1734
|
-
|
1735
|
-
|
1736
|
-
|
1737
|
-
|
1738
|
-
|
1739
|
-
|
1740
|
-
|
1741
|
-
|
1742
|
-
|
1743
|
-
|
1744
|
-
|
1745
|
-
|
1746
|
-
|
1747
|
-
|
1748
|
-
|
1749
|
-
|
1750
|
-
|
1751
|
-
|
1752
|
-
|
1753
|
-
|
1754
|
-
|
1755
|
-
|
1756
|
-
|
1704
|
+
.ui.fixed.menu,
|
1705
|
+
.ui[class*="top fixed"].menu {
|
1706
|
+
top: 0;
|
1707
|
+
left: 0;
|
1708
|
+
right: auto;
|
1709
|
+
bottom: auto;
|
1710
|
+
}
|
1711
|
+
.ui[class*="top fixed"].menu {
|
1712
|
+
border-top: none;
|
1713
|
+
border-left: none;
|
1714
|
+
border-right: none;
|
1715
|
+
}
|
1716
|
+
.ui[class*="right fixed"].menu {
|
1717
|
+
border-top: none;
|
1718
|
+
border-bottom: none;
|
1719
|
+
border-right: none;
|
1720
|
+
top: 0;
|
1721
|
+
right: 0;
|
1722
|
+
left: auto;
|
1723
|
+
bottom: auto;
|
1724
|
+
width: auto;
|
1725
|
+
height: 100%;
|
1726
|
+
}
|
1727
|
+
.ui[class*="bottom fixed"].menu {
|
1728
|
+
border-bottom: none;
|
1729
|
+
border-left: none;
|
1730
|
+
border-right: none;
|
1731
|
+
bottom: 0;
|
1732
|
+
left: 0;
|
1733
|
+
top: auto;
|
1734
|
+
right: auto;
|
1735
|
+
}
|
1736
|
+
.ui[class*="left fixed"].menu {
|
1737
|
+
border-top: none;
|
1738
|
+
border-bottom: none;
|
1739
|
+
border-left: none;
|
1740
|
+
top: 0;
|
1741
|
+
left: 0;
|
1742
|
+
right: auto;
|
1743
|
+
bottom: auto;
|
1744
|
+
width: auto;
|
1745
|
+
height: 100%;
|
1746
|
+
}
|
1757
1747
|
|
1758
|
-
|
1759
|
-
|
1760
|
-
|
1761
|
-
|
1748
|
+
/* Coupling with Grid */
|
1749
|
+
.ui.fixed.menu + .ui.grid {
|
1750
|
+
padding-top: @fixedPrecedingGridMargin;
|
1751
|
+
}
|
1762
1752
|
}
|
1763
1753
|
|
1764
1754
|
& when (@variationMenuPointing) {
|
1765
|
-
|
1766
|
-
|
1767
|
-
|
1768
|
-
|
1769
|
-
|
1770
|
-
|
1771
|
-
|
1772
|
-
|
1773
|
-
|
1774
|
-
|
1775
|
-
|
1776
|
-
|
1777
|
-
|
1778
|
-
|
1779
|
-
|
1780
|
-
|
1781
|
-
|
1782
|
-
|
1783
|
-
|
1784
|
-
|
1785
|
-
|
1786
|
-
|
1787
|
-
|
1788
|
-
|
1789
|
-
|
1790
|
-
|
1791
|
-
|
1792
|
-
|
1793
|
-
|
1794
|
-
|
1795
|
-
|
1796
|
-
|
1797
|
-
|
1798
|
-
|
1799
|
-
|
1800
|
-
|
1801
|
-
|
1802
|
-
|
1755
|
+
/* -------------------
|
1756
|
+
Pointing
|
1757
|
+
-------------------- */
|
1758
|
+
|
1759
|
+
.ui.pointing.menu .item::after {
|
1760
|
+
visibility: hidden;
|
1761
|
+
position: absolute;
|
1762
|
+
content: '';
|
1763
|
+
top: 100%;
|
1764
|
+
left: 50%;
|
1765
|
+
transform: translateX(-50%) translateY(-50%) rotate(45deg);
|
1766
|
+
background: none;
|
1767
|
+
|
1768
|
+
margin: (@arrowBorderWidth / 2) 0 0;
|
1769
|
+
width: @arrowSize;
|
1770
|
+
height: @arrowSize;
|
1771
|
+
|
1772
|
+
border: none;
|
1773
|
+
border-bottom: @arrowBorder;
|
1774
|
+
border-right: @arrowBorder;
|
1775
|
+
|
1776
|
+
z-index: @arrowZIndex;
|
1777
|
+
transition: @arrowTransition;
|
1778
|
+
}
|
1779
|
+
& when (@variationMenuVertical) {
|
1780
|
+
.ui.vertical.pointing.menu .item::after {
|
1781
|
+
position: absolute;
|
1782
|
+
top: 50%;
|
1783
|
+
right: 0;
|
1784
|
+
bottom: auto;
|
1785
|
+
left: auto;
|
1786
|
+
|
1787
|
+
transform: translateX(50%) translateY(-50%) rotate(45deg);
|
1788
|
+
margin: 0 -(@arrowBorderWidth / 2) 0 0;
|
1789
|
+
|
1790
|
+
border: none;
|
1791
|
+
border-top: @arrowBorder;
|
1792
|
+
border-right: @arrowBorder;
|
1793
|
+
}
|
1794
|
+
}
|
1795
|
+
.ui.pointing.menu .ui.dropdown .menu .item::after,
|
1796
|
+
.ui.vertical.pointing.menu .ui.dropdown .menu .item::after {
|
1797
|
+
display: none;
|
1803
1798
|
}
|
1804
|
-
}
|
1805
|
-
.ui.pointing.menu .ui.dropdown .menu .item::after,
|
1806
|
-
.ui.vertical.pointing.menu .ui.dropdown .menu .item::after {
|
1807
|
-
display: none;
|
1808
|
-
}
|
1809
1799
|
|
1810
|
-
|
1811
|
-
|
1812
|
-
|
1813
|
-
|
1814
|
-
|
1815
|
-
|
1816
|
-
|
1800
|
+
/* Active */
|
1801
|
+
.ui.pointing.menu .active.item::after {
|
1802
|
+
visibility: visible;
|
1803
|
+
}
|
1804
|
+
.ui.pointing.menu .active.dropdown.item::after {
|
1805
|
+
visibility: hidden;
|
1806
|
+
}
|
1817
1807
|
|
1818
|
-
|
1819
|
-
|
1820
|
-
|
1821
|
-
|
1822
|
-
|
1808
|
+
/* Don't double up pointers */
|
1809
|
+
.ui.pointing.menu .dropdown.active.item::after,
|
1810
|
+
.ui.pointing.menu .active.item .menu .active.item::after {
|
1811
|
+
display: none;
|
1812
|
+
}
|
1823
1813
|
|
1824
|
-
|
1825
|
-
|
1826
|
-
|
1827
|
-
}
|
1828
|
-
.ui.pointing.menu .active.item::after {
|
1829
|
-
background-color: @arrowActiveColor;
|
1830
|
-
}
|
1831
|
-
.ui.pointing.menu .active.item:hover::after {
|
1832
|
-
background-color: @arrowActiveHoverColor;
|
1833
|
-
}
|
1834
|
-
& when (@variationMenuVertical) {
|
1835
|
-
.ui.vertical.pointing.menu .active.item:hover::after {
|
1836
|
-
background-color: @arrowVerticalHoverColor;
|
1814
|
+
/* Colors */
|
1815
|
+
.ui.pointing.menu .active.item:hover::after {
|
1816
|
+
background-color: @arrowHoverColor;
|
1837
1817
|
}
|
1838
|
-
.ui.
|
1839
|
-
|
1818
|
+
.ui.pointing.menu .active.item::after {
|
1819
|
+
background-color: @arrowActiveColor;
|
1840
1820
|
}
|
1841
|
-
.ui.
|
1842
|
-
|
1821
|
+
.ui.pointing.menu .active.item:hover::after {
|
1822
|
+
background-color: @arrowActiveHoverColor;
|
1843
1823
|
}
|
1844
|
-
& when (@
|
1845
|
-
|
1846
|
-
|
1847
|
-
|
1824
|
+
& when (@variationMenuVertical) {
|
1825
|
+
.ui.vertical.pointing.menu .active.item:hover::after {
|
1826
|
+
background-color: @arrowVerticalHoverColor;
|
1827
|
+
}
|
1828
|
+
.ui.vertical.pointing.menu .active.item::after {
|
1829
|
+
background-color: @arrowVerticalActiveColor;
|
1830
|
+
}
|
1831
|
+
.ui.vertical.pointing.menu .menu .active.item::after {
|
1832
|
+
background-color: @arrowVerticalSubMenuColor;
|
1833
|
+
}
|
1834
|
+
& when (@variationMenuFluid) and (@variationGridStackable) {
|
1835
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
1836
|
+
.ui.stackable.grid .ui.fluid.vertical.pointing.menu .active.item::after {
|
1837
|
+
display: none;
|
1838
|
+
}
|
1839
|
+
}
|
1848
1840
|
}
|
1849
|
-
}
|
1850
1841
|
}
|
1851
|
-
}
|
1852
1842
|
}
|
1853
1843
|
|
1854
1844
|
& when not (@variationMenuColors = false) {
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1845
|
+
each(@variationMenuColors, {
|
1846
|
+
@color: @value;
|
1847
|
+
@c: @colors[@@color][color];
|
1858
1848
|
|
1859
|
-
|
1860
|
-
|
1861
|
-
|
1862
|
-
|
1849
|
+
.ui.inverted.pointing.menu .@{color}.active.item::after {
|
1850
|
+
background-color: @c;
|
1851
|
+
}
|
1852
|
+
})
|
1863
1853
|
}
|
1864
1854
|
|
1865
1855
|
& when (@variationMenuAttached) {
|
1866
|
-
|
1867
|
-
|
1868
|
-
|
1856
|
+
/* --------------
|
1857
|
+
Attached
|
1858
|
+
--------------- */
|
1869
1859
|
|
1870
|
-
|
1871
|
-
|
1872
|
-
|
1873
|
-
|
1874
|
-
|
1875
|
-
|
1876
|
-
|
1877
|
-
|
1878
|
-
|
1879
|
-
|
1880
|
-
|
1881
|
-
|
1882
|
-
|
1860
|
+
/* Middle */
|
1861
|
+
.ui.attached.menu {
|
1862
|
+
top: 0;
|
1863
|
+
bottom: 0;
|
1864
|
+
border-radius: 0;
|
1865
|
+
margin: 0 @attachedHorizontalOffset;
|
1866
|
+
width: @attachedWidth;
|
1867
|
+
max-width: @attachedWidth;
|
1868
|
+
box-shadow: @attachedBoxShadow;
|
1869
|
+
}
|
1870
|
+
.ui.attached + .ui.attached.menu:not(.top) {
|
1871
|
+
border-top: none;
|
1872
|
+
}
|
1883
1873
|
|
1884
|
-
|
1885
|
-
|
1886
|
-
|
1887
|
-
|
1888
|
-
|
1889
|
-
|
1890
|
-
|
1891
|
-
|
1892
|
-
|
1893
|
-
|
1894
|
-
|
1874
|
+
/* Top */
|
1875
|
+
.ui[class*="top attached"].menu {
|
1876
|
+
bottom: 0;
|
1877
|
+
margin-bottom: 0;
|
1878
|
+
top: @attachedTopOffset;
|
1879
|
+
margin-top: @verticalMargin;
|
1880
|
+
border-radius: @borderRadius @borderRadius 0 0;
|
1881
|
+
}
|
1882
|
+
.ui.menu[class*="top attached"]:first-child {
|
1883
|
+
margin-top: 0;
|
1884
|
+
}
|
1895
1885
|
|
1896
|
-
|
1897
|
-
|
1898
|
-
|
1899
|
-
|
1900
|
-
|
1901
|
-
|
1902
|
-
|
1903
|
-
|
1904
|
-
|
1905
|
-
|
1906
|
-
|
1907
|
-
|
1886
|
+
/* Bottom */
|
1887
|
+
.ui[class*="bottom attached"].menu {
|
1888
|
+
bottom: 0;
|
1889
|
+
margin-top: 0;
|
1890
|
+
top: @attachedBottomOffset;
|
1891
|
+
margin-bottom: @verticalMargin;
|
1892
|
+
box-shadow: @attachedBottomBoxShadow;
|
1893
|
+
border-radius: 0 0 @borderRadius @borderRadius;
|
1894
|
+
}
|
1895
|
+
.ui[class*="bottom attached"].menu:last-child {
|
1896
|
+
margin-bottom: 0;
|
1897
|
+
}
|
1908
1898
|
|
1909
|
-
|
1910
|
-
|
1911
|
-
|
1912
|
-
|
1913
|
-
|
1914
|
-
|
1915
|
-
|
1899
|
+
/* Attached Menu Item */
|
1900
|
+
.ui.top.attached.menu > .item:first-child {
|
1901
|
+
border-radius: @borderRadius 0 0 0;
|
1902
|
+
}
|
1903
|
+
.ui.bottom.attached.menu > .item:first-child {
|
1904
|
+
border-radius: 0 0 0 @borderRadius;
|
1905
|
+
}
|
1916
1906
|
|
1917
|
-
|
1918
|
-
|
1919
|
-
|
1920
|
-
}
|
1921
|
-
& when (@variationMenuInverted) {
|
1922
|
-
.ui.attached.inverted.menu {
|
1923
|
-
border: none;
|
1907
|
+
/* Tabular Attached */
|
1908
|
+
.ui.attached.menu:not(.tabular):not(.text) {
|
1909
|
+
border: @attachedBorder;
|
1924
1910
|
}
|
1925
|
-
& when (@
|
1926
|
-
|
1927
|
-
|
1928
|
-
|
1911
|
+
& when (@variationMenuInverted) {
|
1912
|
+
.ui.attached.inverted.menu {
|
1913
|
+
border: none;
|
1914
|
+
}
|
1915
|
+
& when (@variationMenuTabular) {
|
1916
|
+
.ui[class*="top attached"].inverted.tabular.menu {
|
1917
|
+
border-bottom: @invertedTabularBorder;
|
1918
|
+
}
|
1919
|
+
}
|
1929
1920
|
}
|
1930
|
-
|
1931
|
-
|
1932
|
-
|
1933
|
-
|
1934
|
-
|
1935
|
-
|
1921
|
+
& when (@variationMenuTabular) {
|
1922
|
+
.ui.attached.tabular.menu {
|
1923
|
+
margin-left: 0;
|
1924
|
+
margin-right: 0;
|
1925
|
+
width: 100%;
|
1926
|
+
}
|
1936
1927
|
}
|
1937
|
-
}
|
1938
1928
|
}
|
1939
1929
|
|
1940
|
-
|
1930
|
+
/* --------------
|
1941
1931
|
Sizes
|
1942
|
-
|
1932
|
+
--------------- */
|
1943
1933
|
|
1944
1934
|
.ui.menu {
|
1945
|
-
|
1935
|
+
font-size: @medium;
|
1946
1936
|
}
|
1947
1937
|
& when (@variationMenuVertical) {
|
1948
|
-
|
1949
|
-
|
1950
|
-
|
1938
|
+
.ui.vertical.menu {
|
1939
|
+
width: @mediumWidth;
|
1940
|
+
}
|
1951
1941
|
}
|
1952
1942
|
& when not (@variationMenuSizes = false) {
|
1953
|
-
|
1954
|
-
|
1955
|
-
|
1956
|
-
|
1957
|
-
|
1958
|
-
|
1959
|
-
|
1960
|
-
|
1961
|
-
|
1962
|
-
|
1963
|
-
|
1964
|
-
|
1965
|
-
|
1966
|
-
|
1943
|
+
each(@variationMenuSizes, {
|
1944
|
+
@w: @{value}Width;
|
1945
|
+
@s: @@value;
|
1946
|
+
.ui.@{value}.menu,
|
1947
|
+
.ui.@{value}.menu .dropdown,
|
1948
|
+
.ui.@{value}.menu .dropdown .menu > .item {
|
1949
|
+
font-size: @s;
|
1950
|
+
}
|
1951
|
+
& when (@variationMenuVertical) {
|
1952
|
+
.ui.@{value}.vertical.menu:not(.icon) {
|
1953
|
+
width: @@w;
|
1954
|
+
}
|
1955
|
+
}
|
1956
|
+
})
|
1967
1957
|
}
|
1968
1958
|
|
1969
|
-
|
1959
|
+
/* -------------------
|
1970
1960
|
Inverted dropdowns
|
1971
|
-
|
1961
|
+
-------------------- */
|
1972
1962
|
.ui.menu .ui.inverted.inverted.dropdown.item .menu {
|
1973
|
-
|
1974
|
-
|
1963
|
+
background: @invertedDropdownBackground;
|
1964
|
+
box-shadow: @invertedDropdownMenuBoxShadow;
|
1975
1965
|
}
|
1976
1966
|
|
1977
1967
|
.ui.menu .ui.inverted.dropdown .menu > .item {
|
1978
|
-
|
1968
|
+
color: @invertedDropdownItemColor !important;
|
1979
1969
|
}
|
1980
1970
|
|
1981
1971
|
.ui.menu .ui.inverted.dropdown .menu > .active.item {
|
1982
|
-
|
1983
|
-
|
1972
|
+
background: @invertedDropdownActiveItemBackground !important;
|
1973
|
+
color: @invertedDropdownActiveItemColor !important;
|
1984
1974
|
}
|
1985
1975
|
|
1986
1976
|
.ui.menu .ui.inverted.dropdown .menu > .item:hover {
|
1987
|
-
|
1988
|
-
|
1977
|
+
background: @invertedDropdownHoveredItemBackground !important;
|
1978
|
+
color: @invertedDropdownHoveredItemColor !important;
|
1989
1979
|
}
|
1990
1980
|
|
1991
1981
|
.ui.menu .ui.inverted.dropdown .menu > .selected.item {
|
1992
|
-
|
1993
|
-
|
1982
|
+
background: @invertedDropdownSelectedItemBackground !important;
|
1983
|
+
color: @invertedDropdownSelectedItemColor !important;
|
1994
1984
|
}
|
1995
1985
|
|
1996
1986
|
& when (@variationMenuVertical) {
|
1997
|
-
|
1998
|
-
|
1999
|
-
|
2000
|
-
|
1987
|
+
/* Vertical */
|
1988
|
+
.ui.vertical.menu .inverted.dropdown.item .menu {
|
1989
|
+
box-shadow: @invertedDropdownMenuBoxShadow;
|
1990
|
+
}
|
2001
1991
|
}
|
2002
1992
|
|
2003
1993
|
.loadUIOverrides();
|