| 1 |
// Form-editor stylesheet manifest. |
| 2 |
// |
| 3 |
// Per-concern partials live in ./style/. Each partial is a self-contained |
| 4 |
// SCSS file with no shared variables/mixins, so the import order is |
| 5 |
// non-load-bearing. Kept in functional groupings: |
| 6 |
// |
| 7 |
// editor chrome → Gutenberg-surface suppression (tab hijack, Block tab hide). |
| 8 |
// panels → existing-fields panel + the right-rail Field Settings sidebar. |
| 9 |
// blocks → per-block visuals (MSF step-break, Progress Bar, FFC). |
| 10 |
// interactions → drag scope gates and selection outlines. |
| 11 |
// |
| 12 |
// Add a new partial as `style/_<topic>.scss` and `@use` it from below. |
| 13 |
// Don't add new rules directly to this file — keep it a manifest. |
| 14 |
|
| 15 |
// Design tokens — MUST come first so the :root custom-property block is emitted |
| 16 |
// before any partial references var(--wppb-fb-*). (CSS custom properties resolve |
| 17 |
// at runtime regardless of source order, but keeping it first documents intent.) |
| 18 |
@use 'style/tokens'; |
| 19 |
|
| 20 |
// Chrome |
| 21 |
@use 'style/editor-chrome'; |
| 22 |
@use 'style/inspector-spacing'; |
| 23 |
@use 'style/inserter'; |
| 24 |
@use 'style/top-bar'; |
| 25 |
|
| 26 |
// Panels |
| 27 |
@use 'style/existing-fields'; |
| 28 |
@use 'style/field-settings-sidebar'; |
| 29 |
@use 'style/delete-confirm'; |
| 30 |
@use 'style/form-shortcode'; |
| 31 |
|
| 32 |
// Block visuals |
| 33 |
@use 'style/msf-step-break'; |
| 34 |
@use 'style/progress-bar'; |
| 35 |
@use 'style/ffc-columns'; |
| 36 |
@use 'style/woo-address'; |
| 37 |
@use 'style/pms-fields'; |
| 38 |
|
| 39 |
// Interactions |
| 40 |
@use 'style/repeater-scope'; |
| 41 |
@use 'style/field-block'; |
| 42 |
@use 'style/repeater-block'; |
| 43 |
@use 'style/add-field-button'; |
| 44 |
// After add-field-button + existing-fields: overrides the shared card/list |
| 45 |
// insets for the compact on-canvas inserter popover. |
| 46 |
@use 'style/mini-inserter'; |
| 47 |
@use 'style/unique-field-tip'; |
| 48 |
|
| 49 |
// No partial for the inserter hover-preview mockups (`field-art/`): every rule |
| 50 |
// they need is inline on the wrapper and the <svg>, because the preview iframe |
| 51 |
// loads this stylesheet a beat after first paint and anything sizing-related |
| 52 |
// left here would visibly reflow. See `field-art/index.js`. |
| 53 |
|