| @@ -6,10 +6,11 @@ | ||
| 6 | 6 | color-scheme: only light; |
| 7 | 7 | } |
| 8 | 8 | |
| 9 | 9 | @layer components { |
| 10 | + /* Theme variations like hong-kong and tokyo uppercase every heading. */ | |
| 10 | 11 | .extendify-agent-markdown :is(h1, h2, h3, h4) { |
| 11 | - @apply font-sans! text-gray-900!; | |
| 12 | + @apply font-sans! normal-case! tracking-normal! text-gray-900!; | |
| 12 | 13 | } |
| 13 | 14 | .extendify-agent-markdown h1 { |
| 14 | 15 | @apply mb-2! mt-0! text-2xl! font-bold!; |
| 15 | 16 | } |
| @@ -168,10 +169,32 @@ | ||
| 168 | 169 | /* no-prefix */ |
| 169 | 170 | .extendify-agent-canvas-open .wp-site-blocks > header, |
| 170 | 171 | .extendify-agent-canvas-open .wp-site-blocks > main, |
| 171 | 172 | .extendify-agent-canvas-open .wp-site-blocks > footer, |
| 172 | -.extendify-agent-canvas-open #wpwrap, | |
| 173 | +/* Leaves only: a filter re-anchors fixed children — the bar, the menu backdrop. */ | |
| 174 | +.extendify-agent-canvas-open #adminmenuback, | |
| 175 | +.extendify-agent-canvas-open #adminmenuwrap, | |
| 176 | +.extendify-agent-canvas-open #wpbody, | |
| 177 | +.extendify-agent-canvas-open #wpfooter, | |
| 173 | 178 | .extendify-agent-canvas-open #wpadminbar, |
| 179 | +.extendify-agent-canvas-open [data-extendify-agent-emptied], | |
| 174 | 180 | .extendify-agent-canvas-open #extendify-toolbar { |
| 175 | 181 | filter: blur(var(--extendify-canvas-blur, 0px)); |
| 176 | 182 | transition: filter 300ms ease-in-out; |
| 183 | +} | |
| 184 | + | |
| 185 | +/* no-prefix */ | |
| 186 | +.extendify-agent-canvas-dims-agent [data-extendify-agent-panel] { | |
| 187 | + filter: blur(var(--extendify-canvas-blur, 0px)); | |
| 188 | + transition: filter 300ms ease-in-out; | |
| 189 | +} | |
| 190 | + | |
| 191 | +/* Below 783px the sidebar unmounts, and an offset left behind strands the bar. */ | |
| 192 | +/* 384 and 8 mirror Skeleton::printStyles; drift shows up as a jump on mount. */ | |
| 193 | +@media (min-width: 783px) { | |
| 194 | + /* no-prefix */ | |
| 195 | + html.extendify-agent-docked #wpadminbar { | |
| 196 | + margin: 8px 8px 0 384px; | |
| 197 | + max-width: calc(100% - 392px); | |
| 198 | + border-radius: 8px 8px 0 0; | |
| 199 | + } | |
| 177 | 200 | } |