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