Fix sub-app permissions bug, add Comments app, support Site Editor
- Root-cause fix for "Sorry, you are not allowed to access this page" on Menu Creator/Activity Log/Role Editor: remove_submenu_page() was corrupting WP core's user_can_access_admin_page() capability lookup. Sub-apps now stay registered in $submenu; MenuSerializer filters them out of the sidebar instead. - Add a 6th sub-app, Comments, with a redirect from native edit-comments.php. - Extend the window-chrome/taskbar framing to the Site Editor (site-editor.php), including a fix for a CSS position:fixed over-constraint bug that let its frame run past the viewport. - Rewrite the taskbar from a single sessionStorage slot to a list so multiple minimized windows are each independently restorable. - Extend native-dark.css coverage to the block editor's own chrome. Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
b0b0a9999a
commit
8153d4397c
@@ -377,3 +377,73 @@ html.aurora-dark.aurora-ready #wpbody-content .theme-browser .theme .theme-actio
|
||||
color: var(--aurora-text);
|
||||
border-color: var(--aurora-card-border);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* Block editor (Gutenberg) chrome — the top toolbar/title bar and the
|
||||
* right-hand Post/Block settings sidebar. The actual editing canvas
|
||||
* (.interface-interface-skeleton__content, the white "page" itself) is
|
||||
* deliberately left native/white — it's a WYSIWYG preview of the live,
|
||||
* light-themed page, not admin chrome, so it shouldn't follow the theme.
|
||||
* Everything surrounding it does, matching every other page's framing
|
||||
* (shell-frame.css gives .interface-interface-skeleton itself the card
|
||||
* background/border/radius; this just covers what's inside it).
|
||||
* ------------------------------------------------------------------------ */
|
||||
html.aurora-dark.aurora-ready .editor-header {
|
||||
background: var(--aurora-frame-bg);
|
||||
border-bottom: 1px solid var(--aurora-frame-border);
|
||||
color: var(--aurora-text);
|
||||
}
|
||||
|
||||
html.aurora-dark.aurora-ready .editor-header .components-button,
|
||||
html.aurora-dark.aurora-ready .editor-header .editor-post-title__input,
|
||||
html.aurora-dark.aurora-ready .editor-header .editor-document-bar,
|
||||
html.aurora-dark.aurora-ready .editor-header .editor-document-bar__title {
|
||||
color: var(--aurora-text);
|
||||
}
|
||||
|
||||
html.aurora-dark.aurora-ready .editor-header .components-button:hover {
|
||||
background: var(--aurora-bg-subtle);
|
||||
}
|
||||
|
||||
html.aurora-dark.aurora-ready .interface-interface-skeleton__sidebar {
|
||||
background: var(--aurora-frame-bg);
|
||||
border-left: 1px solid var(--aurora-frame-border);
|
||||
color: var(--aurora-text);
|
||||
}
|
||||
|
||||
/* .interface-complementary-area (the actual Post/Block settings panel) is
|
||||
a nested child with its own explicit white background — the outer
|
||||
__sidebar rule above doesn't reach it, so without this the whole panel
|
||||
still shows through white regardless of theme. */
|
||||
html.aurora-dark.aurora-ready .interface-complementary-area {
|
||||
background: var(--aurora-frame-bg);
|
||||
color: var(--aurora-text);
|
||||
}
|
||||
|
||||
html.aurora-dark.aurora-ready .interface-interface-skeleton__sidebar .components-panel,
|
||||
html.aurora-dark.aurora-ready .interface-interface-skeleton__sidebar .components-panel__body,
|
||||
html.aurora-dark.aurora-ready .interface-interface-skeleton__sidebar .editor-post-status,
|
||||
html.aurora-dark.aurora-ready .interface-interface-skeleton__sidebar .interface-complementary-area-header {
|
||||
background: var(--aurora-frame-bg);
|
||||
border-color: var(--aurora-frame-border);
|
||||
color: var(--aurora-text);
|
||||
}
|
||||
|
||||
html.aurora-dark.aurora-ready .interface-interface-skeleton__sidebar .components-panel__body-title,
|
||||
html.aurora-dark.aurora-ready .interface-interface-skeleton__sidebar label {
|
||||
color: var(--aurora-text);
|
||||
}
|
||||
|
||||
html.aurora-dark.aurora-ready .interface-interface-skeleton__sidebar input,
|
||||
html.aurora-dark.aurora-ready .interface-interface-skeleton__sidebar select,
|
||||
html.aurora-dark.aurora-ready .interface-interface-skeleton__sidebar textarea,
|
||||
html.aurora-dark.aurora-ready .interface-interface-skeleton__sidebar .components-select-control__input,
|
||||
html.aurora-dark.aurora-ready .interface-interface-skeleton__sidebar .components-text-control__input {
|
||||
background: var(--aurora-bg-subtle);
|
||||
border-color: var(--aurora-border);
|
||||
color: var(--aurora-text);
|
||||
}
|
||||
|
||||
html.aurora-dark.aurora-ready .interface-interface-skeleton__sidebar .components-button {
|
||||
color: var(--aurora-text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user