build/styles/block-library/buttons
editor-rtl.css
1.3 KB
7 months ago
editor-rtl.min.css
1006 B
7 months ago
editor.css
1.3 KB
7 months ago
editor.min.css
1006 B
7 months ago
style-rtl.css
1.7 KB
7 months ago
style-rtl.min.css
1.4 KB
7 months ago
style.css
1.7 KB
7 months ago
style.min.css
1.4 KB
7 months ago
editor.css in Gutenberg 23.2.0, at build/styles/block-library/buttons/editor.css
| 1 | .wp-block-buttons > .wp-block { |
| 2 | margin: 0; |
| 3 | } |
| 4 | .wp-block-buttons > .wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button { |
| 5 | margin: 0; |
| 6 | } |
| 7 | .wp-block-buttons > .block-list-appender { |
| 8 | display: inline-flex; |
| 9 | align-items: center; |
| 10 | } |
| 11 | .wp-block-buttons.is-vertical > .block-list-appender .block-list-appender__toggle { |
| 12 | justify-content: flex-start; |
| 13 | } |
| 14 | .wp-block-buttons > .wp-block-button:focus { |
| 15 | box-shadow: none; |
| 16 | } |
| 17 | .wp-block-buttons { |
| 18 | /* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */ |
| 19 | } |
| 20 | .wp-block-buttons:not(.is-content-justification-space-between, |
| 21 | .is-content-justification-right, |
| 22 | .is-content-justification-left, |
| 23 | .is-content-justification-center) .wp-block[data-align=center] { |
| 24 | /* stylelint-enable @stylistic/indentation */ |
| 25 | margin-left: auto; |
| 26 | margin-right: auto; |
| 27 | margin-top: 0; |
| 28 | width: 100%; |
| 29 | } |
| 30 | .wp-block-buttons:not(.is-content-justification-space-between, |
| 31 | .is-content-justification-right, |
| 32 | .is-content-justification-left, |
| 33 | .is-content-justification-center) .wp-block[data-align=center] .wp-block-button { |
| 34 | margin-bottom: 0; |
| 35 | } |
| 36 | |
| 37 | .wp-block[data-align=center] > .wp-block-buttons { |
| 38 | align-items: center; |
| 39 | justify-content: center; |
| 40 | } |
| 41 | |
| 42 | .wp-block[data-align=right] > .wp-block-buttons { |
| 43 | justify-content: flex-end; |
| 44 | } |