Glass frame and background

For developersVersion 1.0.0Last updated:

Applies to the BuilderOS screens and to the WordPress ones with the skin (“Apply the design to the whole WordPress dashboard”), never to other plugins’ screens or to the block editor. The look is the same as in the other GrayCoder apps: a glass card that wraps the top bar and the page, over a background with glows and the “BuilderOS” watermark.

  • Frame. #wpcontent is a rectangle with a 32 px radius, with a 10 px margin at the top, bottom and right and 12 px from the rail (84 px from the left edge with the icon rail; 260 px with labels). The glass lives on #wpcontent::before (canvas/.3 in light, surface/.42 in dark, glass border, blur(28px)), never on the container itself: it is the containing block for WordPress modals. Scrolling remains the document’s (there is no inner scroll) so as not to break sticky elements, the media modals or WordPress’s scrollTo calls.
  • Top corners. The blur band under the bar is attached to the top edge of the frame and inherits its two 32 px top corners (border-start-start-radius and border-start-end-radius); without them it covered the frame’s rounding.
  • Canvas. The background color lives on <html> (#ededE9 / #0d0d0c) and the <body> is transparent, so the background shows behind the frame. With the rail active, the page’s scrollbar is thin (6 px).
  • Background and watermark. Builder_OS_Shell::backdrop() prints in the footer <span class="bos-ui bos-backdrop bos-backdrop--page" data-mark="BuilderOS"> with z-index: -1 and pointer-events: none: four glows and a watermark (the text of data-mark, 15vw, weight 600, opacity: var(--bos-watermark-a), .085 in light and .05 in dark), at the bottom right. On BuilderOS screens without the rail, the header (builder-os-admin-header.php) still prints it.
  • New tokens (builder-os-ui.css): --bos-glass-bg-dense (rgba(255,255,255,.7) / rgba(30,30,29,.72): translucent chrome; the rail in dark is no longer almost opaque) and --bos-watermark-a. Menus with text still use --bos-glass-bg-strong. The frame’s glass has its values written out in builder-os-shell.css, because on BuilderOS screens the <body> doesn’t have the tokens (only .bos-admin, inside #wpcontent) and giving it color-scheme would change the WordPress chrome, which would break the look of WordPress outside BuilderOS. If the glass tokens change, those values must change too.
  • AA contrast. --bos-glow-c (bottom-left glow) goes down from .4 to .28: over the frame, the checkboxes in WordPress lists (3:1 border) ended up at 2.95:1 next to that glow. These are kept on purpose: a darker fg-muted, --bos-c-control, the focus ring, the almost-opaque menus (.bos-pop, palette, notices) and the breadcrumb in fg-secondary.
  • Width. .bos-admin-body goes from 1280 to 1600 px, centered; WordPress screens with the skin use a 1600 px .wrap with the same page margin (16 / 24 px).
  • Right side strip (dock): off by default. It was a folded 52 px strip like the platform assistant’s. BuilderOS has no assistant in the panel, so it isn’t printed: Builder_OS_Shell::dock_enabled() returns false. A module that needs it turns it on with the builder_os_shell_dock filter; then aside.bos-dock is printed, the <body> gets bos-has-dock and, from 1024 px, the page reserves 76 px on the right. It is not the CRM’s dark bottom menu (Builder_OS_Board::dock(), .bos-tabdock), which is a separate component and always on.
  • WordPress skin (builder-os-wp-skin.css): the BuilderOS typeface reaches all elements, not just a list of tags; tables (.wp-list-table) have 12 × 14 px padding and fill-a hover; checkboxes inside .wrap are 18 px, radius 6 and a lime/contrast tick.
  • Rail details: 999 px pill, button hover .06, 19 px icons, the “+” with a thick stroke, the current item with a soft icon fill, a 12 px bubble with a 4 px slide, the logo grows 1.04 on hover (no lime ring), separators between groups at 8%, glass button shadow 0 8px 22px -16px and, only in the floating panel, a 36 px circle to the left of each submenu link. The lime tile (.bos-lime-tile) has no hatching.