menu.scss
82 lines
| 1 | .presto-player { |
| 2 | &__menu-content { |
| 3 | padding: 0px 4px; |
| 4 | } |
| 5 | |
| 6 | &__menu-icon { |
| 7 | opacity: 0.75; |
| 8 | margin-right: 15px; |
| 9 | } |
| 10 | |
| 11 | &__action-overlay { |
| 12 | background: rgba(0, 0, 0, 0.5); |
| 13 | position: absolute; |
| 14 | top: 0; |
| 15 | left: 0; |
| 16 | bottom: 0; |
| 17 | right: 0; |
| 18 | z-index: 9; |
| 19 | color: #fff !important; |
| 20 | } |
| 21 | |
| 22 | &__action-overlay-content { |
| 23 | padding: 5%; |
| 24 | text-align: center; |
| 25 | display: flex; |
| 26 | align-items: center; |
| 27 | justify-content: center; |
| 28 | height: 100%; |
| 29 | } |
| 30 | |
| 31 | &__action-overlay-heading { |
| 32 | color: #fff !important; |
| 33 | font-size: 24px; |
| 34 | } |
| 35 | |
| 36 | &__menu-item { |
| 37 | width: 100%; |
| 38 | padding: 8px 0; |
| 39 | display: flex; |
| 40 | -webkit-box-align: center; |
| 41 | align-items: center; |
| 42 | height: auto; |
| 43 | min-height: 32px; |
| 44 | font-weight: 400; |
| 45 | line-height: 20px; |
| 46 | width: 100%; |
| 47 | cursor: pointer; |
| 48 | border-radius: 5px; |
| 49 | color: #555; |
| 50 | transition: 0.3s color ease; |
| 51 | font-size: 1.1em; |
| 52 | |
| 53 | &.is-back-button { |
| 54 | position: sticky; |
| 55 | background: #fff; |
| 56 | |
| 57 | .back-icon { |
| 58 | margin-left: -5px; |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | &:hover { |
| 63 | color: #000; |
| 64 | |
| 65 | .submenu-icon { |
| 66 | opacity: 1; |
| 67 | } |
| 68 | .presto-player__menu-icon { |
| 69 | opacity: 1; |
| 70 | color: #000; |
| 71 | // color: var(--wp-admin-theme-color); |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | .submenu-icon { |
| 76 | transition: 0.3s opacity ease; |
| 77 | margin-left: auto; |
| 78 | opacity: 0.25; |
| 79 | } |
| 80 | } |
| 81 | } |
| 82 |