editor.scss
86 lines
| 1 | .gblocks-unit-control { |
| 2 | &__disabled { |
| 3 | .gblocks-unit-control__input > *:not(.gblocks-unit-control__override-action):not(.popover-slot) { |
| 4 | opacity: 0.5; |
| 5 | } |
| 6 | } |
| 7 | |
| 8 | &__override-action { |
| 9 | position: absolute; |
| 10 | right: 30px; |
| 11 | top: 0; |
| 12 | |
| 13 | button.components-button { |
| 14 | width: 30px; |
| 15 | height: 30px; |
| 16 | min-width: 30px; |
| 17 | padding: 0; |
| 18 | justify-content: center !important; |
| 19 | |
| 20 | svg { |
| 21 | width: 20px; |
| 22 | margin: 0 !important; |
| 23 | } |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | &__input { |
| 28 | display: flex; |
| 29 | align-items: flex-start; |
| 30 | position: relative; |
| 31 | |
| 32 | .components-base-control:first-child { |
| 33 | flex-grow: 1; |
| 34 | } |
| 35 | |
| 36 | .components-base-control, |
| 37 | .components-base-control__field { |
| 38 | margin-bottom: 0; |
| 39 | } |
| 40 | |
| 41 | select { |
| 42 | appearance: none; |
| 43 | background: transparent; |
| 44 | border-radius: 0px 2px 2px 0px; |
| 45 | box-sizing: border-box; |
| 46 | color: rgb(85, 93, 102); |
| 47 | display: block; |
| 48 | font-size: 8px; |
| 49 | letter-spacing: -0.5px; |
| 50 | outline: none; |
| 51 | padding: 2px 3px; |
| 52 | text-align-last: center; |
| 53 | text-transform: uppercase; |
| 54 | width: 30px; |
| 55 | cursor: pointer; |
| 56 | height: 100%; |
| 57 | margin: 0; |
| 58 | |
| 59 | &:disabled { |
| 60 | background: none; |
| 61 | color: rgb(85, 93, 102); |
| 62 | border-color: rgb(85, 93, 102); |
| 63 | } |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | &__unit-select { |
| 68 | -moz-box-align: center; |
| 69 | align-items: center; |
| 70 | align-self: stretch; |
| 71 | box-sizing: border-box; |
| 72 | display: flex; |
| 73 | } |
| 74 | |
| 75 | &__popover { |
| 76 | margin-top: 5px; |
| 77 | border: 0; |
| 78 | |
| 79 | .components-popover__content { |
| 80 | box-shadow: 0 0 0; |
| 81 | border: 0; |
| 82 | outline: 0; |
| 83 | } |
| 84 | } |
| 85 | } |
| 86 |