← All changes
|
build/styles/block-library/template-part/editor.css
+10
-8
23.5.1
→
trunk
View file →
| @@ -67,8 +67,14 @@ | ||
| 67 | 67 | /** |
| 68 | 68 | * Focus styles. |
| 69 | 69 | */ |
| 70 | 70 | /** |
| 71 | + * Standard focus rings for the WordPress Design System. | |
| 72 | + * | |
| 73 | + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site, | |
| 74 | + * e.g. `&:focus { @include outset-ring__focus(); }`. | |
| 75 | + */ | |
| 76 | +/** | |
| 71 | 77 | * Applies editor left position to the selector passed as argument |
| 72 | 78 | */ |
| 73 | 79 | /** |
| 74 | 80 | * Styles that are reused verbatim in a few places |
| @@ -90,22 +96,18 @@ | ||
| 90 | 96 | .block-editor-template-part__selection-modal { |
| 91 | 97 | z-index: 1000001; |
| 92 | 98 | } |
| 93 | 99 | .block-editor-template-part__selection-modal .block-editor-block-patterns-list { |
| 94 | - -moz-column-count: 2; | |
| 95 | - column-count: 2; | |
| 96 | - -moz-column-gap: 24px; | |
| 97 | - column-gap: 24px; | |
| 100 | + column-count: 2; | |
| 101 | + column-gap: 24px; | |
| 98 | 102 | } |
| 99 | 103 | @media (min-width: 1280px) { |
| 100 | 104 | .block-editor-template-part__selection-modal .block-editor-block-patterns-list { |
| 101 | - -moz-column-count: 3; | |
| 102 | - column-count: 3; | |
| 105 | + column-count: 3; | |
| 103 | 106 | } |
| 104 | 107 | } |
| 105 | 108 | .block-editor-template-part__selection-modal .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { |
| 106 | - -moz-column-break-inside: avoid; | |
| 107 | - break-inside: avoid-column; | |
| 109 | + break-inside: avoid-column; | |
| 108 | 110 | } |
| 109 | 111 | |
| 110 | 112 | .block-library-template-part__selection-search { |
| 111 | 113 | background: #fff; |