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