Improved screens
Builder_OS_WP_Screens (module wp-screens, includes/class-builder-os-wp-screens.php), admin/css/builder-os-wp-screens.css and admin/js/builder-os-wp-screens.js (depends on builder-os-motion-ui and, if present, jquery, theme, nav-menu, site-health and user-profile); the login uses admin/css/builder-os-login.css. Widgets is enqueued separately (admin_enqueue_scripts, priority 20), because it is a Gutenberg screen without the skin. The JavaScript starts after jQuery’s ready callbacks (jQuery(function () { setTimeout(start, 0); })), because theme.js paints the Themes search in its ready and nav-menu.js and site-health.js start there.
| Screen | Core file | kind |
|---|---|---|
| Themes | themes.php | themes |
| Menus | nav-menus.php | menus |
| Widgets (tokens and theme only) | widgets.php | widgets |
| Settings: General, Writing, Reading, Comments, Media, Permalinks | options-*.php | settings |
| Settings → Privacy | options-privacy.php | privacy |
Other plugins’ settings (base settings_page_*) | options-general.php?page=… | settings-ext (base style) |
| Tools, Import, Export | tools.php, import.php, export.php | tools, import, export |
| Site health | site-health.php | health |
| Export and Erase personal data | export-personal-data.php, erase-personal-data.php | privacy-tools |
| Profile and Edit user | profile.php, user-edit.php | profile |
| Login | wp-login.php | login module (brand_login) |
- Filters:
builder_os_screens(array of classes; removing one returns that screen to the base skin),builder_os_screens_plugin_settings(bool,true: other plugins’ settings pages receive the skin and the base style),builder_os_hide_color_scheme(bool: hides WordPress’s color scheme selector on the profile; by default, when BuilderOS forces it with its own scheme, rail and header) andbuilder_os_login_maker(HTML with<b>: the login footer, by default “BuilderOS by GrayCoder”; an empty string removes it). - WordPress settings. Pill tabs between the seven Settings pages (labels come from core’s submenu, already translated, and respect permissions).
table.form-tableis a card with 24 radius with the label on top, the field below and the help in gray (also without JavaScript; maximum width 920 px). With JavaScript, each section title, its texts and its table form a single.bos-card.bos-wps-seccard, the same for other plugins’ sections (add_settings_section). 44 px fields; other plugins’select2/selectWooare dressed the same. Checkboxes are switches on the same<input type="checkbox">(appearance: none, 40 × 24, lime knob); radios use the house’sbos-seg(4 options or fewer, short text, no other controls) or option cards (date and time formats, avatars, permalink structures and WooCommerce’s bases). - “Unsaved changes” bar (
.bos-wps-savebar): dark pill at the bottom center. It appears only if the form differs from its initial state (a snapshot of the fields; passwords count only if something is typed). Save presses core’s submit (#submit), with its validation and other plugins’ handlers; Discard doesform.reset()and fireschangeon each field. Core’s button stays in place. - Other plugins’ settings (
settings_page_*): base style, no switches,bos-segor changes bar (their JavaScript and AJAX saves aren’t touched). WooCommerce → Settings isn’t transformed: its module dresses it. - Themes (Backbone): card grid with the 16:10 screenshot, the active theme as the hero card with the lime “Active” chip, “Activate”, “Preview” and “Customize” as pills, “Theme details” as a glass pill over the screenshot, “Add theme” as a dashed tile and a glass bar with core’s search (the same
#wp-filter-search-input, whichtheme.jslistens to by id),/shortcut and “N themes installed”. The details and preview modals are dressed without touching their DOM; aMutationObserverrebuilds the chip when Backbone repaints. - Menus (
nav-menu.jsuntouched): “Edit menus / Manage locations” asbos-seg, sidebar boxes as cards, items as rows with a handle and the type as a chip, and the save footer (#nav-menu-footer) as a glass pill stuck to the bottom. If the menus module is active and the user hasedit_theme_options, a card links to BuilderOS’s menu editor (“Open in the BuilderOS editor”). - Widgets: core’s block editor with
bos-ui, the dashboard’s light or dark theme and the tokens in header, sidebars and footer; since the fourth batch, with BuilderOS’s rail and header (see “Fourth batch”). - Tools:
bos-cardtiles with icon, title, description and arrow (tool_box, in PHP, also without JavaScript); in Import, each importer is a tile; Export is a one-step wizard (choose what to export with option cards, refine with each type’s filters fromexport.js, download), and what other plugins add withexport_filtersstays in the form. - Site health (
site-health.jsuntouched): core’s ring dressed like Home’s (76 px; green, amber or red according togreen/orange), with the score read from itsstroke-dashoffset, and notices as rows with a colored dot and the category in a neutral chip, without core’s blue-bordered boxes. - Profile (
profile.php,user-edit.php): dark hero with a 112 px avatar, role chip, name, email and the two-step verification status (printed onall_admin_notices, so it looks the same without JavaScript). With JavaScript, sections are grouped into cards by the fields each block contains, never by the title text, which is translated: Personal data, Account, Security (password, sessions, application passwords and two-step verification), Preferences and one card for each block from other plugins (show_user_profile,edit_user_profile; e.g. WooCommerce addresses). “Dashboard theme” (Preferences, hookpersonal_options): Light, Dark or Automatic, saved inbos_themewhen pressing “Update profile”. All profile hooks are kept. - Login (
wp-login.php): 48 px fields, 52 px button with the lime circle, show password with a stroke icon, “Remember me” as a switch (the same#rememberme), errors with a dot, discreet “BuilderOS by GrayCoder” footer and, on mobile, a compact dark band at the top (lime chip and headline). Other plugins’ hooks (login_form, captcha), registration, the second step of two-step verification and the embedded login (interim-login), which keeps core’s compact format, are preserved.