editor.scss
67 lines
| 1 | .components-gblocks-dimensions-control { |
| 2 | &__inputs { |
| 3 | display: flex; |
| 4 | |
| 5 | & > div { |
| 6 | width: calc(25% - 5px); |
| 7 | } |
| 8 | |
| 9 | input[type="number"]="number""] { |
| 10 | border-top-right-radius: 0; |
| 11 | border-bottom-right-radius: 0; |
| 12 | height: 30px; |
| 13 | margin: 0; |
| 14 | padding: 5px; |
| 15 | -moz-appearance: textfield; |
| 16 | width: 100%; |
| 17 | border-right: 0; |
| 18 | } |
| 19 | |
| 20 | div:nth-child(1) input { |
| 21 | border-top-right-radius: 0; |
| 22 | border-bottom-right-radius: 0; |
| 23 | } |
| 24 | |
| 25 | div:not(:nth-child(1)) input { |
| 26 | border-radius: 0; |
| 27 | } |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | .gblocks-dimensions-control__label { |
| 32 | font-size: 10px; |
| 33 | opacity: 0.5; |
| 34 | line-height: 1; |
| 35 | } |
| 36 | |
| 37 | .components-gblocks-dimensions-control_sync { |
| 38 | &.components-button { |
| 39 | border-top-left-radius: 0; |
| 40 | border-bottom-left-radius: 0; |
| 41 | box-shadow: none; |
| 42 | justify-content: center; |
| 43 | padding: 0; |
| 44 | text-align: center; |
| 45 | text-shadow: none; |
| 46 | width: 30px; |
| 47 | height: 30px; |
| 48 | |
| 49 | &:not(.is-primary) { |
| 50 | background: #fff; |
| 51 | border: 1px solid #8d96a0; |
| 52 | color: #555d66; |
| 53 | } |
| 54 | |
| 55 | svg { |
| 56 | width: 18px; |
| 57 | height: 18px; |
| 58 | fill: currentColor; |
| 59 | } |
| 60 | |
| 61 | &:hover, |
| 62 | &:focus { |
| 63 | box-shadow: none !important; |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 |