| @@ -17,8 +17,18 @@ | ||
| 17 | 17 | min-height: 0; |
| 18 | 18 | min-width: 0; |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | +/* The editor embedded in the "Add New" tab — `wp.os.embedAdminPage()` | |
| 22 | + * puts a full-size iframe in here, so the host has to be the panel's | |
| 23 | + * whole box rather than shrink to a zero-height child. */ | |
| 24 | +.os-posts__embed-host { | |
| 25 | + display: flex; | |
| 26 | + flex: 1 1 auto; | |
| 27 | + min-height: 0; | |
| 28 | + min-width: 0; | |
| 29 | +} | |
| 30 | + | |
| 21 | 31 | /* --------------------------------------------------------------- |
| 22 | 32 | * The term canvas: a toolbar across the top, the Pixi stage on the |
| 23 | 33 | * left, a fixed-width sidebar editor on the right. The Pixi side |
| 24 | 34 | * paints the terms, the post satellites and the pager into the |
| @@ -124,9 +134,9 @@ | ||
| 124 | 134 | } |
| 125 | 135 | |
| 126 | 136 | .os-term-canvas__btn--primary { |
| 127 | 137 | background: var( --wp-admin-theme-color, #2271b1 ); |
| 128 | - color: var( --os-ui-fg-on-accent, #fff ); | |
| 138 | + color: var( --os-ui-accent-ink, var( --os-ui-fg-on-accent, #fff ) ); | |
| 129 | 139 | border-color: transparent; |
| 130 | 140 | } |
| 131 | 141 | |
| 132 | 142 | .os-term-canvas__btn--primary:hover { |
| @@ -131,9 +141,9 @@ | ||
| 131 | 141 | |
| 132 | 142 | .os-term-canvas__btn--primary:hover { |
| 133 | 143 | filter: brightness( 1.05 ); |
| 134 | 144 | background: var( --wp-admin-theme-color, #2271b1 ); |
| 135 | - color: var( --os-ui-fg-on-accent, #fff ); | |
| 145 | + color: var( --os-ui-accent-ink, var( --os-ui-fg-on-accent, #fff ) ); | |
| 136 | 146 | } |
| 137 | 147 | |
| 138 | 148 | .os-term-canvas__btn--secondary { |
| 139 | 149 | background: var( --os-ui-hover, rgba( 0, 0, 0, 0.04 ) ); |