editor.scss
53 lines
| 1 | .gb-responsive-tabs { |
| 2 | position: sticky; |
| 3 | top: 0; |
| 4 | background: #fafafa; |
| 5 | border-bottom: 1px solid #ddd; |
| 6 | z-index: 10; |
| 7 | display: flex; |
| 8 | |
| 9 | button { |
| 10 | flex-grow: 1; |
| 11 | justify-content: center; |
| 12 | padding: 7px; |
| 13 | height: unset; |
| 14 | border-radius: unset; |
| 15 | outline: 0 !important; |
| 16 | background: none !important; |
| 17 | |
| 18 | svg { |
| 19 | width: 20px; |
| 20 | height: 20px; |
| 21 | opacity: 0.3; |
| 22 | } |
| 23 | |
| 24 | &.is-pressed:not(:disabled), |
| 25 | &:focus:not(:disabled), |
| 26 | &:active:not(:disabled) { |
| 27 | box-shadow: unset !important; |
| 28 | background: #fff !important; |
| 29 | color: var(--wp-admin-theme-color) !important; |
| 30 | opacity: 1; |
| 31 | |
| 32 | &:hover { |
| 33 | background: #fff !important; |
| 34 | color: var(--wp-admin-theme-color) !important; |
| 35 | } |
| 36 | |
| 37 | svg { |
| 38 | opacity: 1; |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | &:hover:not(:disabled) { |
| 43 | box-shadow: unset !important; |
| 44 | background: #fafafa !important; |
| 45 | color: currentColor !important; |
| 46 | } |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | .block-editor-block-inspector .gb-responsive-tabs + .components-panel__body { |
| 51 | border-top: 0; |
| 52 | } |
| 53 |