|
| 1 | +$menubar-primary: () !default; |
| 2 | +$menubar-primary: map-deep-merge( |
| 3 | + ( |
| 4 | + nav-link: ( |
| 5 | + border-radius: 0, |
| 6 | + color: $gray-900, |
| 7 | + line-height: 24px, |
| 8 | + transition: #{color 0.15s ease-in-out, |
| 9 | + background-color 0.15s ease-in-out, |
| 10 | + border-color 0.15s ease-in-out, |
| 11 | + box-shadow 0.15s ease-in-out}, |
| 12 | + before: ( |
| 13 | + bottom: 0, |
| 14 | + content: '', |
| 15 | + display: block, |
| 16 | + left: 0, |
| 17 | + position: absolute, |
| 18 | + top: 0, |
| 19 | + transition: $transition-base, |
| 20 | + ), |
| 21 | + hover: ( |
| 22 | + background-color: $primary-l3, |
| 23 | + color: $gray-900, |
| 24 | + letter-spacing: 0, |
| 25 | + before: ( |
| 26 | + background: $secondary-l0, |
| 27 | + width: 0.125rem, |
| 28 | + ), |
| 29 | + ), |
| 30 | + focus: ( |
| 31 | + background-color: c-unset, |
| 32 | + box-shadow: none, |
| 33 | + color: $gray-900, |
| 34 | + outline: 0, |
| 35 | + after: ( |
| 36 | + bottom: 0, |
| 37 | + box-shadow: $component-focus-inset-box-shadow, |
| 38 | + content: '', |
| 39 | + display: block, |
| 40 | + left: 0, |
| 41 | + pointer-events: none, |
| 42 | + position: absolute, |
| 43 | + right: 0, |
| 44 | + top: 0, |
| 45 | + ), |
| 46 | + ), |
| 47 | + active-class: ( |
| 48 | + background-color: $primary-l3, |
| 49 | + color: $gray-900, |
| 50 | + font-weight: $font-weight-semi-bold, |
| 51 | + before: ( |
| 52 | + background-color: $primary, |
| 53 | + width: 0.375rem, |
| 54 | + ), |
| 55 | + focus: ( |
| 56 | + before: ( |
| 57 | + display: none, |
| 58 | + ), |
| 59 | + ), |
| 60 | + ), |
| 61 | + disabled: ( |
| 62 | + background-color: transparent, |
| 63 | + box-shadow: none, |
| 64 | + font-weight: $font-weight-normal, |
| 65 | + letter-spacing: 0.016rem, |
| 66 | + before: ( |
| 67 | + content: none, |
| 68 | + ), |
| 69 | + after: ( |
| 70 | + content: none, |
| 71 | + ), |
| 72 | + ), |
| 73 | + show: ( |
| 74 | + background-color: c-unset, |
| 75 | + box-shadow: c-unset, |
| 76 | + color: $gray-900, |
| 77 | + before: ( |
| 78 | + background-color: transparent, |
| 79 | + width: 0, |
| 80 | + ), |
| 81 | + hover: ( |
| 82 | + before: ( |
| 83 | + background-color: $secondary-l0, |
| 84 | + width: 0.125rem, |
| 85 | + ), |
| 86 | + ), |
| 87 | + ), |
| 88 | + autofit-row: ( |
| 89 | + align-items: center, |
| 90 | + margin-left: -0.25rem, |
| 91 | + margin-right: -0.25rem, |
| 92 | + autofit-col: ( |
| 93 | + padding-left: 0.25rem, |
| 94 | + padding-right: 0.25rem, |
| 95 | + ), |
| 96 | + ), |
| 97 | + collapse-icon: ( |
| 98 | + font-size: 0.75rem, |
| 99 | + font-weight: $font-weight-semi-bold, |
| 100 | + text-transform: uppercase, |
| 101 | + collapse-icon-closed: ( |
| 102 | + top: calc(22px - (1em / 2)), |
| 103 | + ), |
| 104 | + collapse-icon-open: ( |
| 105 | + top: calc(22px - (1em / 2)), |
| 106 | + ), |
| 107 | + ), |
| 108 | + ), |
| 109 | + ), |
| 110 | + $menubar-primary |
| 111 | +); |
| 112 | + |
1 | 113 | // Menubar Vertical MD
|
2 | 114 |
|
3 | 115 | $menubar-vertical-expand-md: () !default;
|
|
0 commit comments