components
4 years ago
css
4 years ago
attributes.js
4 years ago
block.js
4 years ago
deprecated.js
5 years ago
edit.js
4 years ago
editor.scss
4 years ago
save.js
4 years ago
editor.scss
56 lines
| 1 | /** |
| 2 | * Editor Styles |
| 3 | */ |
| 4 | .editor-styles-wrapper { |
| 5 | .gb-button-wrapper { |
| 6 | position: relative; |
| 7 | |
| 8 | .gb-button { |
| 9 | display: flex; |
| 10 | justify-content: center; |
| 11 | align-items: center; |
| 12 | text-align: center; |
| 13 | padding: unset; |
| 14 | line-height: unset; |
| 15 | text-decoration: none !important; |
| 16 | border: none; |
| 17 | transition: .2s background-color ease-in-out, .2s color ease-in-out, .2s border-color ease-in-out, .2s opacity ease-in-out, .2s box-shadow ease-in-out; |
| 18 | margin: 0; |
| 19 | |
| 20 | .editor-rich-text__tinymce { |
| 21 | line-height: 1em; |
| 22 | } |
| 23 | |
| 24 | .gb-icon { |
| 25 | align-self: center; |
| 26 | } |
| 27 | |
| 28 | &.button { |
| 29 | font-size: inherit; |
| 30 | min-height: auto; |
| 31 | border-radius: unset; |
| 32 | } |
| 33 | } |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | .components-popover .gblocks-button-link { |
| 38 | margin-bottom: 10px; |
| 39 | } |
| 40 | |
| 41 | .components-popover .gblocks-button-link { |
| 42 | input[type=text]=text].block-editor-url-input__input { |
| 43 | max-width: 100%; |
| 44 | border: 1px solid #ddd; |
| 45 | border-radius: 2px; |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | .gblocks-button-link-dropdown { |
| 50 | .components-base-control:last-child { |
| 51 | .components-base-control__field { |
| 52 | margin-bottom: 0; |
| 53 | } |
| 54 | } |
| 55 | } |
| 56 |