| @@ -111,8 +111,21 @@ | ||
| 111 | 111 | overflow: hidden; |
| 112 | 112 | pointer-events: none; |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | +@media (min-width: 783px) { | |
| 116 | + /* Without the skeleton case the collapse animates in on every load. */ | |
| 117 | + /* no-prefix */ | |
| 118 | + html.extendify-agent-skeleton #extendify-toolbar .ext-tb-ai-agent { | |
| 119 | + width: 0; | |
| 120 | + padding: 0; | |
| 121 | + margin: 0; | |
| 122 | + opacity: 0; | |
| 123 | + overflow: hidden; | |
| 124 | + pointer-events: none; | |
| 125 | + } | |
| 126 | +} | |
| 127 | + | |
| 115 | 128 | /* no-prefix */ |
| 116 | 129 | #extendify-toolbar .ext-tb-ai-agent:hover { |
| 117 | 130 | color: #ffffff; |
| 118 | 131 | background: #2145e6; |
| @@ -202,20 +215,26 @@ | ||
| 202 | 215 | |
| 203 | 216 | /* When Extendify Agent sidebar is open, reframe the toolbar to |
| 204 | 217 | match the way Extendify reframes the core admin bar (slot it |
| 205 | 218 | next to the sidebar inside the rounded frame). */ |
| 206 | -/* no-prefix */ | |
| 207 | -#extendify-toolbar.ext-tb-agent-open { | |
| 208 | - top: 8px; | |
| 209 | - left: 384px; | |
| 210 | - right: 8px; | |
| 211 | - border-radius: 8px 8px 0 0; | |
| 212 | - overflow: hidden; | |
| 219 | +/* 783px tracks Skeleton::DESKTOP; no 384px rail below it. */ | |
| 220 | +@media (min-width: 783px) { | |
| 221 | + /* .ext-tb-agent-open lands only once the sidebar mounts; the rail needs it sooner. */ | |
| 222 | + /* no-prefix */ | |
| 223 | + #extendify-toolbar.ext-tb-agent-open, | |
| 224 | + html.extendify-agent-skeleton #extendify-toolbar { | |
| 225 | + top: 8px; | |
| 226 | + left: 384px; | |
| 227 | + right: 8px; | |
| 228 | + border-radius: 8px 8px 0 0; | |
| 229 | + overflow: hidden; | |
| 230 | + } | |
| 213 | 231 | } |
| 214 | 232 | |
| 215 | 233 | @media screen and (max-width: 782px) { |
| 216 | 234 | /* no-prefix */ |
| 217 | 235 | #extendify-toolbar { |
| 236 | + z-index: 999; | |
| 218 | 237 | height: 46px; |
| 219 | 238 | font-size: 14px; |
| 220 | 239 | } |
| 221 | 240 | /* no-prefix */ |