|
2 | 2 | @use '@ibexa-admin-ui/src/bundle/Resources/public/scss/functions/calculate.rem' as *; |
3 | 3 |
|
4 | 4 | .ibexa-main-menu-popup { |
5 | | - .ibexa-popup-menu__item:not(.ibexa-main-menu-popup__group-item) > .ibexa-popup-menu__item-content { |
6 | | - height: calculateRem(36px); |
| 5 | + background-color: $ibexa-color-dark; |
| 6 | + border-color: $ibexa-color-dark-500; |
| 7 | + |
| 8 | + &__item-content { |
| 9 | + color: $ibexa-color-white; |
7 | 10 | padding: calculateRem(7.5px) calculateRem(12px); |
8 | | - font-size: calculateRem(14px); |
9 | 11 |
|
10 | 12 | > .ibexa-main-menu__item-text-column { |
11 | 13 | padding: 0; |
12 | 14 | } |
13 | 15 |
|
14 | | - &:hover > .ibexa-main-menu__item-text-column { |
| 16 | + &:hover { |
15 | 17 | color: $ibexa-color-complementary-primary-400; |
| 18 | + background-color: transparent; |
| 19 | + } |
| 20 | + |
| 21 | + &--current { |
| 22 | + > .ibexa-main-menu__item-text-column { |
| 23 | + color: $ibexa-color-complementary-primary-400; |
| 24 | + } |
16 | 25 | } |
17 | 26 | } |
18 | 27 |
|
19 | 28 | &__group-item { |
20 | 29 | flex-direction: column; |
21 | 30 | height: 100%; |
22 | 31 | align-items: initial; |
23 | | - // border-top: calculateRem(1px) solid $ibexa-color-dark-500; |
24 | | - // color: $ibexa-color-light-700; |
25 | | - // font-size: $ibexa-text-font-size-small; |
26 | 32 |
|
27 | 33 | .ibexa-popup-menu { |
28 | 34 | &__item { |
|
31 | 37 | } |
32 | 38 | } |
33 | 39 |
|
34 | | - .ibexa-main-menu-popup &__group-name { |
| 40 | + &__group-item-content { |
| 41 | + color: $ibexa-color-dark-300; |
| 42 | + padding: 0; |
| 43 | + } |
| 44 | + |
| 45 | + &__group-name { |
35 | 46 | border-top: calculateRem(1px) solid $ibexa-color-dark-500; |
36 | 47 | color: $ibexa-color-dark-500; |
37 | 48 | font-size: $ibexa-text-font-size-small; |
|
42 | 53 | border-radius: 0; |
43 | 54 | width: initial; |
44 | 55 |
|
45 | | - > .ibexa-main-menu__item-text-column { |
46 | | - padding: 1px 0; |
47 | | - } |
48 | | - |
49 | 56 | &:hover { |
50 | 57 | background-color: initial; |
51 | 58 | color: $ibexa-color-dark-500; |
52 | 59 | } |
53 | 60 | } |
54 | | - |
55 | | - .ibexa-popup-menu__item-content--current { |
56 | | - background-color: transparent; |
57 | | - |
58 | | - > .ibexa-main-menu__item-text-column { |
59 | | - color: $ibexa-color-complementary-primary-400; |
60 | | - } |
61 | | - |
62 | | - &:hover { |
63 | | - background-color: transparent; |
64 | | - |
65 | | - > .ibexa-main-menu__item-text-column { |
66 | | - color: $ibexa-color-complementary-primary-400; |
67 | | - } |
68 | | - } |
69 | | - } |
70 | 61 | } |
0 commit comments