domma-cms 1.18.0 → 1.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,8 +11,8 @@
11
11
  <span data-icon="alert-triangle" data-icon-size="16"></span>
12
12
  <span data-bind-text="problems.value"></span></p>
13
13
 
14
- <div class="card">
15
- <div class="card-body" style="padding-top:0;">
14
+ <div class="mex-editor-shell">
15
+ <div class="mex-editor-body">
16
16
  <div class="tabs" id="me-tabs">
17
17
  <div class="tab-list">
18
18
  <button class="tab-item active" data-tab="me-items"><span data-icon="list"></span> Items</button>
@@ -36,354 +36,424 @@
36
36
 
37
37
  <div class="tab-panel" id="me-behaviour" data-panel="me-behaviour">
38
38
  <p class="text-muted mb-3" id="me-behaviour-note">
39
- Variant + style (font / icon size) apply both to the public <strong>navbar</strong> and the <strong>admin sidebar</strong>. The <strong>position</strong> field only affects the public navbar - the admin sidebar's position is fixed by the admin shell. Footer columns ignore everything here.
39
+ Set the layout, appearance and interactions for this menu. Public navbar options are identified below; item labels and links live on the Items tab.
40
40
  </p>
41
- <div class="grid grid-cols-2 dm-pe-grid">
42
- <div class="form-group">
43
- <label for="me-variant">Variant
44
- <span data-help-title="Variant" data-help="Choose the colour scheme for this menu. Transparent lets the page show behind the bar; Dark and Light choose a contrasting surface; Default follows the theme. Leaving the choice unset uses the normal menu default. Check the links against your page background, particularly over hero images. This also affects the admin sidebar when editing its menu."></span></label>
45
- <select id="me-variant" name="variant" class="form-input">
46
- <option value="">- default -</option>
47
- <option value="transparent">Transparent</option>
48
- <option value="dark">Dark</option>
49
- <option value="light">Light</option>
50
- <option value="default">Default</option>
51
- </select>
52
- </div>
53
- <div class="form-group">
54
- <label for="me-position">Position
55
- <span data-help-title="Position" data-help="Sticky keeps the public navbar at the top once scrolling reaches it. Fixed pins it to the viewport from the start. Static lets it scroll away with the page. Floating creates a separate panel with its own anchor, size and behaviour options below. Position does not move the admin sidebar; its place is controlled by the admin shell."></span></label>
56
- <select id="me-position" name="position" class="form-input">
57
- <option value="">- default -</option>
58
- <option value="sticky">Sticky</option>
59
- <option value="fixed">Fixed</option>
60
- <option value="static">Static</option>
61
- <option value="floating">Floating</option>
62
- </select>
63
- </div>
64
- <div class="form-group">
65
- <label for="me-orientation">Orientation
66
- <span data-help-title="Orientation" data-help="Horizontal arranges links across a row. Vertical stacks them into a column and, in the public navbar slot, creates a side rail with extra side and width controls. The mobile navbar uses its drawer layout instead. Choose the orientation first, then adjust the options that appear for that layout."></span></label>
67
- <select id="me-orientation" name="orientation" class="form-input">
68
- <option value="">- default (horizontal) -</option>
69
- <option value="horizontal">Horizontal</option>
70
- <option value="vertical">Vertical</option>
71
- </select>
72
- <small class="form-hint">Vertical stacks the items into a column - a docked side rail in the navbar slot, an indented list for <code>[menu]</code> and floating panels. Below 993px the navbar always falls back to the mobile drawer.</small>
73
- </div>
74
- <div class="form-group">
75
- <label for="me-align">Alignment
76
- <span data-help-title="Alignment" data-help="Place links at the left, centre or right of a horizontal menu, or spread them evenly across its width. The public navbar centres against the whole bar by default, rather than just the space beside the brand. A menu shortcode in page content defaults to the left. Vertical menus and the mobile drawer ignore this setting."></span></label>
77
- <select id="me-align" name="align" class="form-input">
78
- <option value="">- default -</option>
79
- <option value="left">Left</option>
80
- <option value="centre">Centre</option>
81
- <option value="right">Right</option>
82
- <option value="spread">Spread evenly</option>
83
- </select>
84
- <small class="form-hint">Where the items sit along a horizontal menu. On the public navbar the default is <strong>centre</strong>, measured on the bar itself rather than on the room left beside the brand. A <code>[menu]</code> in the page body packs left unless you choose otherwise. Vertical menus and the mobile drawer ignore this.</small>
85
- </div>
86
- <div class="form-group">
87
- <label>Mobile navbar</label>
88
- <label class="flex items-center gap-2"><input type="checkbox" id="me-mobile-hamburger" name="mobileHamburgerOnly" style="width:auto;margin:0"> Hamburger only (hide the top bar)
89
- <span data-help-title="Hamburger only (hide the top bar)" data-help="Below 993px, hide the navbar strip and its action icons, leaving a floating hamburger button that opens the navigation drawer. The brand remains unless Hide branding on mobile is also enabled. Search can still be opened with Ctrl+K or Cmd+K. This applies when the menu fills the public navbar slot; it does not change the desktop bar."></span></label>
90
- <label class="flex items-center gap-2"><input type="checkbox" id="me-mobile-brand" name="mobileHideBrand" style="width:auto;margin:0"> Hide branding on mobile
91
- <span data-help-title="Hide branding on mobile" data-help="Hide the public navbar logo and site name below 993px, independently of the hamburger-only option. The saved brand is kept and desktop branding is unaffected. Use this when a small screen needs more room or the page already includes a prominent logo. The site-wide branding switch can hide the brand at every size."></span></label>
92
- <small class="form-hint">Applies below 993px when this menu fills the navbar slot. Hamburger only leaves a floating menu button and hides the bar and its action icons. Branding stays visible unless hidden separately. Search remains available through Ctrl+K or Cmd+K.</small>
93
- </div>
94
- <div class="form-group dm-look-field">
95
- <label for="me-look-bar">Bar shape
96
- <span data-help-title="Bar shape" data-help="Pill gathers the items into one rounded capsule, and the item under the pointer gets its own soft pill. Segmented puts them in a tray with one raised thumb that slides to the item you point at. Underline has no tray - a short bar glides under the item. Dock makes the items swell as the pointer passes, like a dock. Neon gives the tray a glowing edge and the items a glow - best on dark themes. Every shape but Underline floats over the page without a strip unless Bar background says Strip. Navbar only, horizontal only, desktop only."></span></label>
97
- <select id="me-look-bar" name="lookBar" class="form-input">
98
- <option value="">Standard</option>
99
- <option value="pill">Pill</option>
100
- <option value="segmented">Segmented</option>
101
- <option value="underline">Underline glide</option>
102
- <option value="dock">Dock</option>
103
- <option value="neon">Neon</option>
104
- </select>
105
- <label class="flex items-center gap-2" style="margin-top:.4rem"><input type="checkbox" id="me-look-shrink" name="lookShrink" style="width:auto;margin:0"> Shrink when the page scrolls
106
- <span data-help-title="Shrink when the page scrolls" data-help="Reduce the desktop navbar size after the visitor starts scrolling, leaving more room for page content. This belongs to the horizontal navbar bar shape settings; it does not shrink a vertical rail, the admin sidebar or the mobile drawer. Visitors who request reduced motion receive the calmer presentation."></span></label>
107
- </div>
108
- <div class="form-group dm-look-field">
109
- <label for="me-look-brand">Branding shape
110
- <span data-help-title="Branding shape" data-help="Choose Standard for the normal logo and name presentation, or Pill to put the brand inside its own rounded capsule. The pill can match a pill navigation bar, but is configured separately. This applies to a horizontal desktop navbar. It does not switch branding off; use Site Settings &gt; Branding for that."></span></label>
111
- <select id="me-look-brand" name="lookBrand" class="form-input">
112
- <option value="">Standard</option>
113
- <option value="pill">Pill</option>
114
- </select>
115
- </div>
116
- <div class="form-group dm-look-field">
117
- <label for="me-look-strip">Bar background
118
- <span data-help-title="Bar background" data-help="The band across the top, and its line above the page. With a pill bar it goes by itself: the pills float over the top of the page on frosted glass, and a hero at the top runs up under them. None does that for any bar (and gives the links their pill); Strip keeps the band behind a pill bar. Desktop only - phones keep the usual bar."></span></label>
119
- <select id="me-look-strip" name="lookStrip" class="form-input">
120
- <option value="">Automatic - none with a pill bar</option>
121
- <option value="none">None - floating pills</option>
122
- <option value="band">Strip - keep the band</option>
123
- </select>
124
- </div>
125
- <div class="form-group dm-look-field">
126
- <label for="me-look-icons">Bar icons
127
- <span data-help-title="Bar icons" data-help="Colour the icons of the links along the bar. Rainbow gives each link the next colour along (an item's own Tile colour wins); Accent paints them all in the theme's main colour. Standard leaves them the colour of the text. Items drawn as a button (a pill) and items with their own colour keep theirs. If the bar runs short of room the icons are the last thing it drops."></span></label>
128
- <select id="me-look-icons" name="lookIcons" class="form-input">
129
- <option value="">Standard - the text colour</option>
130
- <option value="rainbow">Rainbow</option>
131
- <option value="accent">Accent</option>
132
- </select>
133
- </div>
134
- <div class="form-group dm-look-field">
135
- <label for="me-look-dropdown">Dropdown style
136
- <span data-help-title="Dropdown style" data-help="Cards opens each dropdown as a large rounded card: every sub-item gets a coloured icon tile and a line of description, laid out in columns. A sub-item with sub-items of its own becomes a column with a heading. Edit a top-level item to give its card a heading, a side box or a strip of chips."></span></label>
137
- <select id="me-look-dropdown" name="lookDropdown" class="form-input">
138
- <option value="">List</option>
139
- <option value="cards">Cards</option>
140
- </select>
141
- </div>
142
- <div class="form-group dm-look-cards-field" style="display:none">
143
- <label for="me-look-tiles">Icon tiles
144
- <span data-help-title="Icon tiles" data-help="Choose the backgrounds behind icons in card dropdowns. Rainbow assigns successive colours to items; Theme colour uses the site accent; Neutral uses a subdued surface; No tiles shows plain icons. An item with its own Tile colour overrides this menu-wide choice. These options appear when Dropdown style is Cards."></span></label>
145
- <select id="me-look-tiles" name="lookTiles" class="form-input">
146
- <option value="">Rainbow - each item the next colour</option>
147
- <option value="accent">Theme colour</option>
148
- <option value="neutral">Neutral</option>
149
- <option value="none">No tiles - plain icons</option>
150
- </select>
151
- <small class="form-hint">An item's own <strong>Tile colour</strong> always wins.</small>
152
- </div>
153
- <div class="form-group dm-look-cards-field" style="display:none">
154
- <label>Card movement</label>
155
- <label class="flex items-center gap-2"><input type="checkbox" id="me-look-morph" name="lookMorph" style="width:auto;margin:0"> Slide from one card to the next
156
- <span data-help-title="Slide from one card to the next" data-help="When moving between card dropdowns, animate the next card from the previous card instead of closing one and opening another. This works well with dropdowns that open on hover. Turn it off for a simpler change between panels. It applies to card dropdowns, and is disabled for visitors who request reduced motion."></span></label>
157
- <small class="form-hint">Moving between dropdowns grows the next card out of the last one instead of closing one and opening another. Pairs well with <strong>Open dropdowns on hover</strong>. Off for visitors who ask for reduced motion.</small>
158
- </div>
159
- <div class="form-group dm-vertical-field" style="display:none">
160
- <label for="me-side">Rail side
161
- <span data-help-title="Rail side" data-help="Dock a vertical public navbar to the left or right edge of the desktop viewport. Its rail reserves space on that side so page content remains beside it. This has no effect on a horizontal bar, a floating panel or the mobile drawer. Use Orientation to choose Vertical before setting the rail side."></span></label>
162
- <select id="me-side" name="side" class="form-input">
163
- <option value="left">Left</option>
164
- <option value="right">Right</option>
165
- </select>
166
- <small class="form-hint">Which edge a vertical navbar docks to.</small>
167
- </div>
168
- <div class="form-group dm-dock-rail-field" style="display:none">
169
- <label for="me-dock-width">Rail width (px)
170
- <span data-help-title="Rail width (px)" data-help="Set the expanded desktop rail width in pixels, from 160 to 480. A wider rail gives long labels more room and takes more width from the page. The page gutter follows the expanded rail width. Leaving it empty uses 240px. This is for a docked vertical navbar, not a floating panel."></span></label>
171
- <input type="number" id="me-dock-width" name="dockWidth" class="form-input" min="160" max="480" step="10" placeholder="240">
172
- <small class="form-hint">How wide the docked rail is, 160 to 480. The page's gutter follows it.</small>
173
- </div>
174
- <div class="form-group dm-dock-rail-field" style="display:none">
175
- <label>Rail behaviour</label>
176
- <label class="flex items-center gap-2"><input type="checkbox" id="me-dock-collapsible" name="dockCollapsible" style="width:auto;margin:0"> Collapsible to icons
177
- <span data-help-title="Collapsible to icons" data-help="Add a control that switches the desktop rail between full labels and a narrow strip of icons. In the collapsed rail, labels remain available as tooltips. Each visitor retains their own choice in their browser. Give items clear icons before enabling this. Below 993px the navbar uses the usual mobile drawer."></span></label>
178
- <label class="flex items-center gap-2 dm-dock-collapsed-field"><input type="checkbox" id="me-dock-collapsed" name="dockCollapsed" style="width:auto;margin:0"> Start collapsed
179
- <span data-help-title="Start collapsed" data-help="Start a collapsible desktop rail in its narrow icon-only state for a visitor with no saved preference. Visitors can expand it with the rail control, and their own saved choice takes precedence on later visits. Enable Collapsible to icons first. This does not set the initial state of the mobile drawer."></span></label>
180
- <label class="flex items-center gap-2"><input type="checkbox" id="me-dock-autohide" name="dockAutohide" style="width:auto;margin:0"> Autohide off-screen
181
- <span data-help-title="Autohide off-screen" data-help="Slide the desktop rail off its edge when it is not in use, leaving a small strip to reveal it. Moving the pointer to the edge, tapping the strip or focusing a control in the rail brings it back. The page uses the released width. This is separate from collapsing to icons, and does not replace the mobile drawer."></span></label>
182
- <small class="form-hint"><strong>Collapsible</strong> adds a toggle that shrinks the rail to its icons (labels become tooltips); each visitor's choice is remembered. <strong>Autohide</strong> slides the rail off its edge, leaving a strip - it comes back when the pointer reaches that edge, on a tap, or when focus moves into it - and the page takes the full width. Desktop only: below 993px the menu is the usual drawer.</small>
183
- </div>
184
- <div class="form-group dm-dock-bar-field" style="display:none">
185
- <label>Bar behaviour</label>
186
- <label class="flex items-center gap-2"><input type="checkbox" id="me-dock-hideOnScroll" name="dockHideOnScroll" style="width:auto;margin:0"> Hide on scroll
187
- <span data-help-title="Hide on scroll" data-help="Hide the horizontal navbar while the visitor scrolls down and reveal it as soon as they scroll up. This gives reading space while keeping navigation easy to recover. It works best with Sticky positioning. It controls the public bar, rather than a vertical rail, floating panel or the admin sidebar."></span></label>
188
- <small class="form-hint">The bar slides away while the page scrolls down and comes back as soon as it scrolls up. Best with Position <strong>Sticky</strong>.</small>
189
- </div>
190
- <div class="form-group dm-float-field" style="display:none">
191
- <label for="me-float-anchor">Float anchor
192
- <span data-help-title="Float anchor" data-help="Choose the viewport corner or side that the floating menu starts from. Top and bottom corners anchor both directions; the left and right edge options centre the panel vertically. The X and Y offsets add space from that anchor. These are starting values: a movable panel can retain a visitor-selected position."></span></label>
193
- <select id="me-float-anchor" name="floatAnchor" class="form-input">
194
- <option value="TL">Top left</option>
195
- <option value="TR">Top right</option>
196
- <option value="BL">Bottom left</option>
197
- <option value="BR">Bottom right</option>
198
- <option value="L">Left edge (centred)</option>
199
- <option value="R">Right edge (centred)</option>
200
- </select>
201
- </div>
202
- <div class="form-group dm-float-field" style="display:none">
203
- <label for="me-float-offsetX">Float offset X (px)
204
- <span data-help-title="Float offset X (px)" data-help="Set the horizontal distance in pixels between the floating panel and its selected viewport edge. For a right anchor the gap is measured from the right; for a left anchor it is measured from the left. Leaving it empty uses 16px. A visitor who has already moved the panel may see their remembered position instead."></span></label>
205
- <input type="number" id="me-float-offsetX" name="floatOffsetX" class="form-input" placeholder="16" min="0" max="4000">
206
- </div>
207
- <div class="form-group dm-float-field" style="display:none">
208
- <label for="me-float-offsetY">Float offset Y (px)
209
- <span data-help-title="Float offset Y (px)" data-help="Set the vertical gap in pixels for the floating panel relative to its anchor. Top anchors measure from the top and bottom anchors from the bottom; side-centred anchors start around the vertical centre. Leaving it empty uses 16px. Treat this as the initial position when visitors are allowed to move the panel."></span></label>
210
- <input type="number" id="me-float-offsetY" name="floatOffsetY" class="form-input" placeholder="16" min="0" max="4000">
211
- </div>
212
- <div class="form-group dm-float-field" style="display:none">
213
- <label for="me-float-width">Float width (px)
214
- <span data-help-title="Float width (px)" data-help="Set the initial floating panel width in pixels, from 120 to 600. Leaving it empty lets the layout choose its width. Allow space for labels and nested items. If resizing is enabled, a returning visitor may see their remembered size. Below 768px the panel returns to the page flow instead of floating."></span></label>
215
- <input type="number" id="me-float-width" name="floatWidth" class="form-input" placeholder="auto" min="120" max="600">
216
- </div>
217
- <div class="form-group dm-float-field" style="display:none">
218
- <label for="me-float-radius">Corner rounding (px)
219
- <span data-help-title="Corner rounding (px)" data-help="Set the rounding of the floating panel corners in pixels. Use 0 for square corners, a modest value for a soft rectangle, or a larger value for a more rounded panel. This changes the panel outline, not each link. Leave it empty to use the component default."></span></label>
220
- <input type="number" id="me-float-radius" name="floatRadius" class="form-input" placeholder="theme default" min="0" max="48">
221
- </div>
222
- <div class="form-group dm-float-field" style="display:none">
223
- <label for="me-float-shadow">Shadow
224
- <span data-help-title="Shadow" data-help="Choose how strongly the floating panel stands away from the page. None removes the shadow; larger choices create a more pronounced edge and depth. This affects the panel rather than individual items. Leave it on the default to follow the normal component styling, and check it against both light and dark page backgrounds."></span></label>
225
- <select id="me-float-shadow" name="floatShadow" class="form-input">
226
- <option value="">- theme default -</option>
227
- <option value="none">None</option>
228
- <option value="sm">Small</option>
229
- <option value="md">Medium</option>
230
- <option value="lg">Large</option>
231
- <option value="xl">Extra large</option>
232
- </select>
233
- </div>
234
- <div class="form-group dm-float-field" style="display:none">
235
- <label for="me-float-accent">Accent colour
236
- <span data-help-title="Accent colour" data-help="Choose the accent used on the floating panel border and the stripe along its leading edge. Theme colours follow the active theme; Custom lets you choose a hex colour. Leaving it unset keeps the normal styling. This is separate from link text, badges and the menu highlight colour."></span></label>
237
- <div class="me-colour-control">
238
- <select id="me-float-accent" name="floatAccent" class="form-input">
239
- <option value="">- none -</option>
240
- <option value="primary">primary</option>
241
- <option value="success">success</option>
242
- <option value="danger">danger</option>
243
- <option value="warning">warning</option>
244
- <option value="info">info</option>
245
- <option value="neutral">neutral</option>
246
- <option value="__custom__">Custom…</option>
247
- </select>
248
- <input type="color" id="me-float-accent-hex" class="form-input me-colour-hex" value="#000000" style="display:none">
41
+ <section class="mex-behaviour-section" aria-labelledby="me-section-layout">
42
+ <h3 class="mex-behaviour-title" id="me-section-layout"><span data-icon="layout" data-icon-size="18" aria-hidden="true"></span>Layout & position</h3>
43
+ <div class="mex-behaviour-content">
44
+ <p class="mex-behaviour-note">Choose a horizontal bar or vertical rail, and how it sits on the page.</p>
45
+ <div class="grid grid-cols-2 dm-pe-grid mex-behaviour-fields">
46
+ <div class="form-group">
47
+ <label for="me-position">Position
48
+ <span data-help-title="Position" data-help="Sticky keeps the public navbar at the top once scrolling reaches it. Fixed pins it to the viewport from the start. Static lets it scroll away with the page. Floating creates a separate panel with its own anchor, size and behaviour options below. Position does not move the admin sidebar; its place is controlled by the admin shell."></span></label>
49
+ <select id="me-position" name="position" class="form-input">
50
+ <option value="">- default -</option>
51
+ <option value="sticky">Sticky</option>
52
+ <option value="fixed">Fixed</option>
53
+ <option value="static">Static</option>
54
+ <option value="floating">Floating</option>
55
+ </select>
56
+ </div>
57
+ <div class="form-group">
58
+ <label for="me-orientation">Orientation
59
+ <span data-help-title="Orientation" data-help="Horizontal arranges links across a row. Vertical stacks them into a column and, in the public navbar slot, creates a side rail with extra side and width controls. The mobile navbar uses its drawer layout instead. Choose the orientation first, then adjust the options that appear for that layout."></span></label>
60
+ <select id="me-orientation" name="orientation" class="form-input">
61
+ <option value="">- default (horizontal) -</option>
62
+ <option value="horizontal">Horizontal</option>
63
+ <option value="vertical">Vertical</option>
64
+ </select>
65
+ <small class="form-hint">Vertical stacks the items into a column - a docked side rail in the navbar slot, an indented list for <code>[menu]</code> and floating panels. Below 993px the navbar always falls back to the mobile drawer.</small>
66
+ </div>
67
+ <div class="form-group">
68
+ <label for="me-align">Alignment
69
+ <span data-help-title="Alignment" data-help="Place links at the left, centre or right of a horizontal menu, or spread them evenly across its width. The public navbar centres against the whole bar by default, rather than just the space beside the brand. A menu shortcode in page content defaults to the left. Vertical menus and the mobile drawer ignore this setting."></span></label>
70
+ <select id="me-align" name="align" class="form-input">
71
+ <option value="">- default -</option>
72
+ <option value="left">Left</option>
73
+ <option value="centre">Centre</option>
74
+ <option value="right">Right</option>
75
+ <option value="spread">Spread evenly</option>
76
+ </select>
77
+ <small class="form-hint">Where the items sit along a horizontal menu. On the public navbar the default is <strong>centre</strong>, measured on the bar itself rather than on the room left beside the brand. A <code>[menu]</code> in the page body packs left unless you choose otherwise. Vertical menus and the mobile drawer ignore this.</small>
78
+ </div>
79
+ <div class="form-group dm-vertical-field" style="display:none">
80
+ <label for="me-side">Rail side
81
+ <span data-help-title="Rail side" data-help="Dock a vertical public navbar to the left or right edge of the desktop viewport. Its rail reserves space on that side so page content remains beside it. This has no effect on a horizontal bar, a floating panel or the mobile drawer. Use Orientation to choose Vertical before setting the rail side."></span></label>
82
+ <select id="me-side" name="side" class="form-input">
83
+ <option value="left">Left</option>
84
+ <option value="right">Right</option>
85
+ </select>
86
+ <small class="form-hint">Which edge a vertical navbar docks to.</small>
87
+ </div>
88
+ <div class="form-group dm-dock-rail-field" style="display:none">
89
+ <label for="me-dock-width">Rail width (px)
90
+ <span data-help-title="Rail width (px)" data-help="Set the expanded desktop rail width in pixels, from 160 to 480. A wider rail gives long labels more room and takes more width from the page. The page gutter follows the expanded rail width. Leaving it empty uses 240px. This is for a docked vertical navbar, not a floating panel."></span></label>
91
+ <input type="number" id="me-dock-width" name="dockWidth" class="form-input" min="160" max="480" step="10" placeholder="240">
92
+ <small class="form-hint">How wide the docked rail is, 160 to 480. The page's gutter follows it.</small>
93
+ </div>
94
+ <div class="form-group dm-dock-rail-field" style="display:none">
95
+ <label>Rail behaviour</label>
96
+ <label class="flex items-center gap-2"><input type="checkbox" id="me-dock-collapsible" name="dockCollapsible" style="width:auto;margin:0"> Collapsible to icons
97
+ <span data-help-title="Collapsible to icons" data-help="Add a control that switches the desktop rail between full labels and a narrow strip of icons. In the collapsed rail, labels remain available as tooltips. Each visitor retains their own choice in their browser. Give items clear icons before enabling this. Below 993px the navbar uses the usual mobile drawer."></span></label>
98
+ <label class="flex items-center gap-2 dm-dock-collapsed-field"><input type="checkbox" id="me-dock-collapsed" name="dockCollapsed" style="width:auto;margin:0"> Start collapsed
99
+ <span data-help-title="Start collapsed" data-help="Start a collapsible desktop rail in its narrow icon-only state for a visitor with no saved preference. Visitors can expand it with the rail control, and their own saved choice takes precedence on later visits. Enable Collapsible to icons first. This does not set the initial state of the mobile drawer."></span></label>
100
+ <label class="flex items-center gap-2"><input type="checkbox" id="me-dock-autohide" name="dockAutohide" style="width:auto;margin:0"> Autohide off-screen
101
+ <span data-help-title="Autohide off-screen" data-help="Slide the desktop rail off its edge when it is not in use, leaving a small strip to reveal it. Moving the pointer to the edge, tapping the strip or focusing a control in the rail brings it back. The page uses the released width. This is separate from collapsing to icons, and does not replace the mobile drawer."></span></label>
102
+ <small class="form-hint"><strong>Collapsible</strong> adds a toggle that shrinks the rail to its icons (labels become tooltips); each visitor's choice is remembered. <strong>Autohide</strong> slides the rail off its edge, leaving a strip - it comes back when the pointer reaches that edge, on a tap, or when focus moves into it - and the page takes the full width. Desktop only: below 993px the menu is the usual drawer.</small>
103
+ </div>
104
+ <div class="form-group dm-dock-bar-field" style="display:none">
105
+ <label>Bar behaviour</label>
106
+ <label class="flex items-center gap-2"><input type="checkbox" id="me-dock-hideOnScroll" name="dockHideOnScroll" style="width:auto;margin:0"> Hide on scroll
107
+ <span data-help-title="Hide on scroll" data-help="Hide the horizontal navbar while the visitor scrolls down and reveal it as soon as they scroll up. This gives reading space while keeping navigation easy to recover. It works best with Sticky positioning. It controls the public bar, rather than a vertical rail, floating panel or the admin sidebar."></span></label>
108
+ <small class="form-hint">The bar slides away while the page scrolls down and comes back as soon as it scrolls up. Best with Position <strong>Sticky</strong>.</small>
109
+ </div>
249
110
  </div>
250
- <small class="form-hint">Tints the panel border and draws a stripe down its leading edge.</small>
251
- </div>
252
- <div class="form-group dm-float-field" style="display:none">
253
- <label for="me-float-opacity">Panel opacity (%)
254
- <span data-help-title="Panel opacity (%)" data-help="Set the floating panel surface opacity from 20 to 100 percent. At 100 the surface is solid. Lower values let the page show through with a blurred backdrop; labels remain fully opaque. Busy backgrounds can reduce readability, so check the result over real content. Leaving the field empty uses 100 percent."></span></label>
255
- <input type="number" id="me-float-opacity" name="floatOpacity" class="form-input" placeholder="100" min="20" max="100">
256
- <small class="form-hint">Below 100 the panel surface goes translucent with a blur behind it. Text stays fully opaque.</small>
257
- </div>
258
- <div class="form-group dm-float-field" style="display:none">
259
- <label for="me-float-title">Panel title
260
- <span data-help-title="Panel title" data-help="Set the text in the floating panel bar beside its drag handle and collapse control. Leaving it blank uses the menu name. Keep it short enough to fit a narrow panel. This is a visible panel title, whereas the menu Description is administrative metadata. It does not rename the menu or its slug."></span></label>
261
- <input type="text" id="me-float-title" name="floatTitle" class="form-input" placeholder="menu name" maxlength="60">
262
- <small class="form-hint">Shown in the panel's bar, next to the drag handle and hamburger. Blank uses the menu's own name.</small>
263
- </div>
264
- <div class="form-group dm-float-field" style="display:none">
265
- <label>Panel behaviour</label>
266
- <label style="display:flex;align-items:center;gap:.5rem;font-weight:400;cursor:pointer">
267
- <input type="checkbox" id="me-float-collapsible" name="floatCollapsible" style="width:auto;margin:0">
268
- Collapsible - a hamburger button folds the panel away and back
269
-
270
- <span data-help-title="Collapsible - a hamburger button folds the panel away and back" data-help="Add a hamburger control that folds the floating menu content away and opens it again. Each visitor keeps their own collapsed state in their browser. Start collapsed supplies the initial choice for new visitors. On screens below 768px, the panel returns to the page flow but collapsing is still available."></span></label>
271
- <label style="display:flex;align-items:center;gap:.5rem;font-weight:400;cursor:pointer;margin-left:1.5rem" class="dm-float-collapsed-field">
272
- <input type="checkbox" id="me-float-collapsed" name="floatCollapsed" style="width:auto;margin:0">
273
- Start collapsed
274
-
275
- <span data-help-title="Start collapsed" data-help="Start a collapsible floating panel folded away for a visitor who has not made a choice yet. The visitor can open it with the panel hamburger control, and a previously saved visitor choice takes precedence. This setting requires Collapsible and does not delete or disable any menu items."></span></label>
276
- <label style="display:flex;align-items:center;gap:.5rem;font-weight:400;cursor:pointer">
277
- <input type="checkbox" id="me-float-movable" name="floatMovable" style="width:auto;margin:0">
278
- Movable - visitors drag the panel by its bar
279
-
280
- <span data-help-title="Movable - visitors drag the panel by its bar" data-help="Let visitors drag the floating panel by its top bar to a position that suits their page view. Their position is saved in their own browser; it does not change these site defaults for anyone else. Double-clicking the bar resets the panel. Below 768px the panel returns to normal page flow."></span></label>
281
- <label style="display:flex;align-items:center;gap:.5rem;font-weight:400;cursor:pointer">
282
- <input type="checkbox" id="me-float-resizable" name="floatResizable" style="width:auto;margin:0">
283
- Resizable - visitors drag the panel's bottom-right corner
284
-
285
- <span data-help-title="Resizable - visitors drag the panel&#x27;s bottom-right corner" data-help="Let visitors drag the floating panel bottom-right corner to change its size. Their chosen size is remembered in their own browser, while these settings remain the starting values for other visitors. Double-clicking the panel bar resets it. Resizing does not apply when the panel returns to page flow below 768px."></span></label>
286
- <small class="form-hint">Each visitor's own position, size and collapsed state are remembered in their browser; the settings above stay the starting point. Double-clicking the bar resets a panel. Below 768px panels return to the page flow, so only collapsing applies there.</small>
287
111
  </div>
288
- <div class="form-group">
289
- <label>Open on hover</label>
290
- <label style="display:flex;align-items:center;gap:.5rem;font-weight:400;cursor:pointer">
291
- <input type="checkbox" id="me-appearOnHover" name="appearOnHover" style="width:auto;margin:0">
292
- Reveal dropdowns on hover (desktop navbar; click still works)
293
-
294
- <span data-help-title="Reveal dropdowns on hover (desktop navbar; click still works)" data-help="Open desktop navbar dropdowns when the pointer moves over their parent items. Clicking still works, and touch users continue to use tap controls. This can make a large navigation menu faster to browse, especially with card dropdowns. Leave it off when you want opening a dropdown to require an explicit click."></span></label>
295
- </div>
296
- <div class="form-group">
297
- <label for="me-highlight-hover">Hover effect
298
- <span data-help-title="Hover effect" data-help="Choose how links react when the pointer moves over them. None removes the hover effect; the other choices add the named visual treatment. This menu-wide default applies wherever the menu is drawn, including navbar, footer, shortcode and admin sidebar. An individual item can override it. When selected controls the current-page marker separately. Colour change tints the text; Underline and Overline add a line below or above it; Background tint adds a coloured wash; Darkened darkens the item; Uppercase changes letter case; Grow enlarges it; Breathe pulses its scale; Glow adds a soft glow. None leaves it still."></span></label>
299
- <!-- Options are filled from HIGHLIGHT_HOVER in menu-decor.mjs on mount,
300
- so this list and the per-item editor's always match. -->
301
- <select id="me-highlight-hover" name="highlightHover" class="form-input"></select>
302
- <small class="form-hint">What an item does under the pointer. Applies wherever this menu is drawn - navbar, footer, <code>[menu]</code> and the admin sidebar. Any single item can override this in its own editor, under Highlighting.</small>
303
- </div>
304
- <div class="form-group">
305
- <label for="me-highlight-active">When selected
306
- <span data-help-title="When selected" data-help="Choose how the link to the page currently being viewed is marked. This lets visitors recognise their place in the navigation. Leaving the choice unset uses the normal default; None explicitly removes the selected effect. An individual item can override this setting in its editor. This is separate from the effect shown while hovering. Bold increases text weight; Underline and Overline add a line; Background tint adds a wash; Darkened darkens the link; Filled pill encloses it in a rounded surface. None removes the selected marker."></span></label>
307
- <!-- Filled from HIGHLIGHT_ACTIVE in menu-decor.mjs on mount. -->
308
- <select id="me-highlight-active" name="highlightActive" class="form-input"></select>
309
- <small class="form-hint">How the item pointing at the page you are on is marked out. Any single item can override this in its own editor, under Highlighting.</small>
310
- </div>
311
- <div class="form-group">
312
- <label for="me-highlight-accent">Highlight colour
313
- <span data-help-title="Highlight colour" data-help="Choose the colour used by hover and selected-item effects throughout this menu. A theme colour follows the theme; Custom supplies a fixed hex colour. Leaving it empty uses the normal accent. An item can override the colour in its own editor. This does not set the floating panel accent or the badge colour."></span></label>
314
- <div class="me-colour-control">
315
- <select id="me-highlight-accent" name="highlightAccent" class="form-input">
316
- <option value="">- theme primary -</option>
317
- <option value="primary">primary</option>
318
- <option value="success">success</option>
319
- <option value="danger">danger</option>
320
- <option value="warning">warning</option>
321
- <option value="info">info</option>
322
- <option value="neutral">neutral</option>
323
- <option value="__custom__">Custom…</option>
324
- </select>
325
- <input type="color" id="me-highlight-accent-hex" class="form-input me-colour-hex" value="#000000" style="display:none">
112
+ </section>
113
+ <section class="mex-behaviour-section" aria-labelledby="me-section-appearance">
114
+ <h3 class="mex-behaviour-title" id="me-section-appearance"><span data-icon="palette" data-icon-size="18" aria-hidden="true"></span>Bar appearance</h3>
115
+ <div class="mex-behaviour-content">
116
+ <p class="mex-behaviour-note">Colour scheme, bar shape and branding. Shape options apply to the horizontal public navbar.</p>
117
+ <div class="grid grid-cols-2 dm-pe-grid mex-behaviour-fields">
118
+ <div class="form-group">
119
+ <label for="me-variant">Variant
120
+ <span data-help-title="Variant" data-help="Choose the colour scheme for this menu. Transparent lets the page show behind the bar; Dark and Light choose a contrasting surface; Default follows the theme. Leaving the choice unset uses the normal menu default. Check the links against your page background, particularly over hero images. This also affects the admin sidebar when editing its menu."></span></label>
121
+ <select id="me-variant" name="variant" class="form-input">
122
+ <option value="">- default -</option>
123
+ <option value="transparent">Transparent</option>
124
+ <option value="dark">Dark</option>
125
+ <option value="light">Light</option>
126
+ <option value="default">Default</option>
127
+ </select>
128
+ </div>
129
+ <div class="form-group dm-look-field">
130
+ <label for="me-look-bar">Bar shape
131
+ <span data-help-title="Bar shape" data-help="Pill gathers the items into one rounded capsule, and the item under the pointer gets its own soft pill. Segmented puts them in a tray with one raised thumb that slides to the item you point at. Underline has no tray - a short bar glides under the item. Dock makes the items swell as the pointer passes, like a dock. Neon gives the tray a glowing edge and the items a glow - best on dark themes. Every shape but Underline floats over the page without a strip unless Bar background says Strip. Navbar only, horizontal only, desktop only."></span></label>
132
+ <select id="me-look-bar" name="lookBar" class="form-input">
133
+ <option value="">Standard</option>
134
+ <option value="pill">Pill</option>
135
+ <option value="segmented">Segmented</option>
136
+ <option value="underline">Underline glide</option>
137
+ <option value="dock">Dock</option>
138
+ <option value="neon">Neon</option>
139
+ </select>
140
+ <label class="flex items-center gap-2" style="margin-top:.4rem"><input type="checkbox" id="me-look-shrink" name="lookShrink" style="width:auto;margin:0"> Shrink when the page scrolls
141
+ <span data-help-title="Shrink when the page scrolls" data-help="Reduce the desktop navbar size after the visitor starts scrolling, leaving more room for page content. This belongs to the horizontal navbar bar shape settings; it does not shrink a vertical rail, the admin sidebar or the mobile drawer. Visitors who request reduced motion receive the calmer presentation."></span></label>
142
+ </div>
143
+ <div class="form-group dm-look-field">
144
+ <label for="me-look-brand">Branding shape
145
+ <span data-help-title="Branding shape" data-help="Choose Standard for the normal logo and name presentation, or Pill to put the brand inside its own rounded capsule. The pill can match a pill navigation bar, but is configured separately. This applies to a horizontal desktop navbar. It does not switch branding off; use Site Settings &gt; Branding for that."></span></label>
146
+ <select id="me-look-brand" name="lookBrand" class="form-input">
147
+ <option value="">Standard</option>
148
+ <option value="pill">Pill</option>
149
+ </select>
150
+ </div>
151
+ <div class="form-group dm-look-field">
152
+ <label for="me-look-strip">Bar background
153
+ <span data-help-title="Bar background" data-help="The band across the top, and its line above the page. With a pill bar it goes by itself: the pills float over the top of the page on frosted glass, and a hero at the top runs up under them. None does that for any bar (and gives the links their pill); Strip keeps the band behind a pill bar. Desktop only - phones keep the usual bar."></span></label>
154
+ <select id="me-look-strip" name="lookStrip" class="form-input">
155
+ <option value="">Automatic - none with a pill bar</option>
156
+ <option value="none">None - floating pills</option>
157
+ <option value="band">Strip - keep the band</option>
158
+ </select>
159
+ </div>
160
+ <div class="form-group dm-look-field">
161
+ <label for="me-look-icons">Bar icons
162
+ <span data-help-title="Bar icons" data-help="Colour the icons of the links along the bar. Rainbow gives each link the next colour along (an item's own Tile colour wins); Accent paints them all in the theme's main colour. Standard leaves them the colour of the text. Items drawn as a button (a pill) and items with their own colour keep theirs. If the bar runs short of room the icons are the last thing it drops."></span></label>
163
+ <select id="me-look-icons" name="lookIcons" class="form-input">
164
+ <option value="">Standard - the text colour</option>
165
+ <option value="rainbow">Rainbow</option>
166
+ <option value="accent">Accent</option>
167
+ </select>
168
+ </div>
326
169
  </div>
327
- <small class="form-hint">Used by the colour, underline, overline, tint, glow and pill effects. The underline and overline effects fall back to the item's own text colour when this is unset.</small>
328
- </div>
329
- <div class="form-group">
330
- <label>Staggered entrance
331
- <span data-help-title="Staggered entrance" data-help="The items arrive one after another when the menu is drawn, like a row of cards revealing. A dropdown or footer column staggers in on its own when it opens. Visitors who have asked for less motion (their device setting, or the site's Reduce motion control) see the items straight away."></span></label>
332
- <label style="display:flex;align-items:center;gap:.5rem;font-weight:400;cursor:pointer">
333
- <input type="checkbox" id="me-entrance-enabled" name="entranceEnabled" style="width:auto;margin:0">
334
- Bring the items in one after another
335
-
336
- <span data-help-title="Bring the items in one after another" data-help="Reveal menu items one after another instead of presenting the whole list at once. Set the animation, spacing between starts and duration below. Dropdowns and footer groups reveal their own items when shown. Visitors who request reduced motion see items immediately, regardless of this setting."></span></label>
337
- <small class="form-hint">Applies wherever this menu is drawn on the site - navbar, footer, <code>[menu]</code> and floating panels.</small>
338
- </div>
339
- <div class="form-group dm-entrance-field" style="display:none">
340
- <label for="me-entrance-animation">Entrance animation
341
- <span data-help-title="Entrance animation" data-help="Choose the movement used as each menu item first appears. This controls entrance only, rather than hover or the selected-page highlight. Use the delay and duration fields to set its pacing. Reduced-motion visitors see the items immediately. The setting is available when staggered entrance is enabled. Fade changes opacity; Slide up and Slide down move vertically; the left and right choices enter from the named side; Zoom grows into place; Pop adds a bounce; Flip rotates down; Blur sharpens into focus."></span></label>
342
- <!-- Filled from ENTRANCE_ANIMATIONS in menu-decor.mjs on mount. -->
343
- <select id="me-entrance-animation" name="entranceAnimation" class="form-input"></select>
344
170
  </div>
345
- <div class="form-group dm-entrance-field" style="display:none">
346
- <label for="me-entrance-stagger">Delay between items (ms)
347
- <span data-help-title="Delay between items (ms)" data-help="Set the delay in milliseconds between the start of one item entrance and the next. Smaller values make a long menu appear sooner; larger values make the sequence more noticeable. This is the gap between starts, not the animation duration. Visitors requesting reduced motion do not wait for the sequence. The accepted range is 0 to 1000ms, and the default is 60ms. At 0, items begin together."></span></label>
348
- <input type="number" id="me-entrance-stagger" name="entranceStagger" class="form-input" placeholder="60" min="0" max="1000" step="10">
349
- </div>
350
- <div class="form-group dm-entrance-field" style="display:none">
351
- <label for="me-entrance-duration">Each item's animation (ms)
352
- <span data-help-title="Each item&#x27;s animation (ms)" data-help="Set how long each item entrance animation takes, in milliseconds. This is independent of the delay between item starts, so animations may overlap. Shorter values feel quicker; longer values create a more gradual reveal. This only applies when staggered entrance is enabled and the visitor has not requested reduced motion. The accepted range is 50 to 3000ms, and the default is 400ms."></span></label>
353
- <input type="number" id="me-entrance-duration" name="entranceDuration" class="form-input" placeholder="400" min="50" max="3000" step="50">
171
+ </section>
172
+ <section class="mex-behaviour-section" aria-labelledby="me-section-dropdowns">
173
+ <h3 class="mex-behaviour-title" id="me-section-dropdowns"><span data-icon="list" data-icon-size="18" aria-hidden="true"></span>Dropdowns</h3>
174
+ <div class="mex-behaviour-content">
175
+ <p class="mex-behaviour-note">Choose how submenus open and how their links are presented.</p>
176
+ <div class="grid grid-cols-2 dm-pe-grid mex-behaviour-fields">
177
+ <div class="form-group">
178
+ <label>Open on hover</label>
179
+ <label style="display:flex;align-items:center;gap:.5rem;font-weight:400;cursor:pointer">
180
+ <input type="checkbox" id="me-appearOnHover" name="appearOnHover" style="width:auto;margin:0">
181
+ Reveal dropdowns on hover (desktop navbar; click still works)
182
+
183
+ <span data-help-title="Reveal dropdowns on hover (desktop navbar; click still works)" data-help="Open desktop navbar dropdowns when the pointer moves over their parent items. Clicking still works, and touch users continue to use tap controls. This can make a large navigation menu faster to browse, especially with card dropdowns. Leave it off when you want opening a dropdown to require an explicit click."></span></label>
184
+ </div>
185
+ <div class="form-group dm-look-field">
186
+ <label for="me-look-dropdown">Dropdown style
187
+ <span data-help-title="Dropdown style" data-help="Cards opens each dropdown as a large rounded card: every sub-item gets a coloured icon tile and a line of description, laid out in columns. A sub-item with sub-items of its own becomes a column with a heading. Edit a top-level item to give its card a heading, a side box or a strip of chips."></span></label>
188
+ <select id="me-look-dropdown" name="lookDropdown" class="form-input">
189
+ <option value="">List</option>
190
+ <option value="cards">Cards</option>
191
+ </select>
192
+ </div>
193
+ <div class="form-group dm-look-cards-field" style="display:none">
194
+ <label for="me-look-tiles">Icon tiles
195
+ <span data-help-title="Icon tiles" data-help="Choose the backgrounds behind icons in card dropdowns. Rainbow assigns successive colours to items; Theme colour uses the site accent; Neutral uses a subdued surface; No tiles shows plain icons. An item with its own Tile colour overrides this menu-wide choice. These options appear when Dropdown style is Cards."></span></label>
196
+ <select id="me-look-tiles" name="lookTiles" class="form-input">
197
+ <option value="">Rainbow - each item the next colour</option>
198
+ <option value="accent">Theme colour</option>
199
+ <option value="neutral">Neutral</option>
200
+ <option value="none">No tiles - plain icons</option>
201
+ </select>
202
+ <small class="form-hint">An item's own <strong>Tile colour</strong> always wins.</small>
203
+ </div>
204
+ <div class="form-group dm-look-cards-field" style="display:none">
205
+ <label>Card movement</label>
206
+ <label class="flex items-center gap-2"><input type="checkbox" id="me-look-morph" name="lookMorph" style="width:auto;margin:0"> Slide from one card to the next
207
+ <span data-help-title="Slide from one card to the next" data-help="When moving between card dropdowns, animate the next card from the previous card instead of closing one and opening another. This works well with dropdowns that open on hover. Turn it off for a simpler change between panels. It applies to card dropdowns, and is disabled for visitors who request reduced motion."></span></label>
208
+ <small class="form-hint">Moving between dropdowns grows the next card out of the last one instead of closing one and opening another. Pairs well with <strong>Open dropdowns on hover</strong>. Off for visitors who ask for reduced motion.</small>
209
+ </div>
210
+ </div>
354
211
  </div>
355
- <div class="form-group">
356
- <label for="me-class">CSS classes
357
- <span data-help-title="CSS classes" data-help="Add your own CSS class names, separated by spaces, to this menu outer element: the navbar, footer column or menu shortcode navigation. Enter names without leading dots, then write rules in Custom CSS. Each item can also have classes in its own editor. Classes add styling hooks; they do not supply styles by themselves."></span></label>
358
- <input type="text" id="me-class" name="class" class="form-input" placeholder="site-nav is-compact" autocomplete="off" spellcheck="false">
359
- <small class="form-hint">Letters, digits, hyphens and underscores; no dots. For styling in Custom CSS.</small>
212
+ </section>
213
+ <section class="mex-behaviour-section" aria-labelledby="me-section-mobile">
214
+ <h3 class="mex-behaviour-title" id="me-section-mobile"><span data-icon="smartphone" data-icon-size="18" aria-hidden="true"></span>Mobile navigation</h3>
215
+ <div class="mex-behaviour-content">
216
+ <p class="mex-behaviour-note">Public navbar options for screens below 993px.</p>
217
+ <div class="grid grid-cols-2 dm-pe-grid mex-behaviour-fields">
218
+ <div class="form-group">
219
+ <label>Mobile navbar</label>
220
+ <label class="flex items-center gap-2"><input type="checkbox" id="me-mobile-hamburger" name="mobileHamburgerOnly" style="width:auto;margin:0"> Hamburger only (hide the top bar)
221
+ <span data-help-title="Hamburger only (hide the top bar)" data-help="Below 993px, hide the navbar strip and its action icons, leaving a floating hamburger button that opens the navigation drawer. The brand remains unless Hide branding on mobile is also enabled. Search can still be opened with Ctrl+K or Cmd+K. This applies when the menu fills the public navbar slot; it does not change the desktop bar."></span></label>
222
+ <label class="flex items-center gap-2"><input type="checkbox" id="me-mobile-brand" name="mobileHideBrand" style="width:auto;margin:0"> Hide branding on mobile
223
+ <span data-help-title="Hide branding on mobile" data-help="Hide the public navbar logo and site name below 993px, independently of the hamburger-only option. The saved brand is kept and desktop branding is unaffected. Use this when a small screen needs more room or the page already includes a prominent logo. The site-wide branding switch can hide the brand at every size."></span></label>
224
+ <small class="form-hint">Applies below 993px when this menu fills the navbar slot. Hamburger only leaves a floating menu button and hides the bar and its action icons. Branding stays visible unless hidden separately. Search remains available through Ctrl+K or Cmd+K.</small>
225
+ </div>
226
+ </div>
360
227
  </div>
361
- <div class="form-group">
362
- <label for="me-fontFamily">Font family
363
- <span data-help-title="Font family" data-help="Set a CSS font family for menu labels, such as Arial, sans-serif. This field selects from fonts already available to the page; it does not download a font. Leave it blank to inherit the site typography. The style applies to the menu, including the admin sidebar when this is its menu."></span></label>
364
- <input type="text" id="me-fontFamily" name="fontFamily" class="form-input" placeholder="Inter">
228
+ </section>
229
+ <section class="mex-behaviour-section" aria-labelledby="me-section-highlights">
230
+ <h3 class="mex-behaviour-title" id="me-section-highlights"><span data-icon="mouse-pointer" data-icon-size="18" aria-hidden="true"></span>Hover & selection</h3>
231
+ <div class="mex-behaviour-content">
232
+ <p class="mex-behaviour-note">Set the feedback when visitors point at a link or open its page.</p>
233
+ <div class="grid grid-cols-2 dm-pe-grid mex-behaviour-fields">
234
+ <div class="form-group">
235
+ <label for="me-highlight-hover">Hover effect
236
+ <span data-help-title="Hover effect" data-help="Choose how links react when the pointer moves over them. None removes the hover effect; the other choices add the named visual treatment. This menu-wide default applies wherever the menu is drawn, including navbar, footer, shortcode and admin sidebar. An individual item can override it. When selected controls the current-page marker separately. Colour change tints the text; Underline and Overline add a line below or above it; Background tint adds a coloured wash; Darkened darkens the item; Uppercase changes letter case; Grow enlarges it; Breathe pulses its scale; Glow adds a soft glow. None leaves it still."></span></label>
237
+ <!-- Options are filled from HIGHLIGHT_HOVER in menu-decor.mjs on mount,
238
+ so this list and the per-item editor's always match. -->
239
+ <select id="me-highlight-hover" name="highlightHover" class="form-input"></select>
240
+ <small class="form-hint">What an item does under the pointer. Applies wherever this menu is drawn - navbar, footer, <code>[menu]</code> and the admin sidebar. Any single item can override this in its own editor, under Highlighting.</small>
241
+ </div>
242
+ <div class="form-group">
243
+ <label for="me-highlight-active">When selected
244
+ <span data-help-title="When selected" data-help="Choose how the link to the page currently being viewed is marked. This lets visitors recognise their place in the navigation. Leaving the choice unset uses the normal default; None explicitly removes the selected effect. An individual item can override this setting in its editor. This is separate from the effect shown while hovering. Bold increases text weight; Underline and Overline add a line; Background tint adds a wash; Darkened darkens the link; Filled pill encloses it in a rounded surface. None removes the selected marker."></span></label>
245
+ <!-- Filled from HIGHLIGHT_ACTIVE in menu-decor.mjs on mount. -->
246
+ <select id="me-highlight-active" name="highlightActive" class="form-input"></select>
247
+ <small class="form-hint">How the item pointing at the page you are on is marked out. Any single item can override this in its own editor, under Highlighting.</small>
248
+ </div>
249
+ <div class="form-group">
250
+ <label for="me-highlight-accent">Highlight colour
251
+ <span data-help-title="Highlight colour" data-help="Choose the colour used by hover and selected-item effects throughout this menu. A theme colour follows the theme; Custom supplies a fixed hex colour. Leaving it empty uses the normal accent. An item can override the colour in its own editor. This does not set the floating panel accent or the badge colour."></span></label>
252
+ <div class="me-colour-control">
253
+ <select id="me-highlight-accent" name="highlightAccent" class="form-input">
254
+ <option value="">- theme primary -</option>
255
+ <option value="primary">primary</option>
256
+ <option value="success">success</option>
257
+ <option value="danger">danger</option>
258
+ <option value="warning">warning</option>
259
+ <option value="info">info</option>
260
+ <option value="neutral">neutral</option>
261
+ <option value="__custom__">Custom…</option>
262
+ </select>
263
+ <input type="color" id="me-highlight-accent-hex" class="form-input me-colour-hex" value="#000000" style="display:none">
264
+ </div>
265
+ <small class="form-hint">Used by the colour, underline, overline, tint, glow and pill effects. The underline and overline effects fall back to the item's own text colour when this is unset.</small>
266
+ </div>
267
+ </div>
365
268
  </div>
366
- <div class="form-group">
367
- <label for="me-fontSize">Font size
368
- <span data-help-title="Font size" data-help="Set the menu label size using a CSS value such as 16px or 1rem. A rem value follows the root text size; pixels give a fixed size. Leave it blank to inherit the normal menu typography. Check long labels and mobile navigation after changing this; icon size is controlled separately."></span></label>
369
- <input type="text" id="me-fontSize" name="fontSize" class="form-input" placeholder="14 (px assumed) or 1rem">
269
+ </section>
270
+ <section class="mex-behaviour-section" aria-labelledby="me-section-entrance">
271
+ <h3 class="mex-behaviour-title" id="me-section-entrance"><span data-icon="play" data-icon-size="18" aria-hidden="true"></span>Entrance animation</h3>
272
+ <div class="mex-behaviour-content">
273
+ <p class="mex-behaviour-note">Control how the items first appear. Reduced-motion preferences are respected.</p>
274
+ <div class="grid grid-cols-2 dm-pe-grid mex-behaviour-fields">
275
+ <div class="form-group">
276
+ <label>Staggered entrance
277
+ <span data-help-title="Staggered entrance" data-help="The items arrive one after another when the menu is drawn, like a row of cards revealing. A dropdown or footer column staggers in on its own when it opens. Visitors who have asked for less motion (their device setting, or the site's Reduce motion control) see the items straight away."></span></label>
278
+ <label style="display:flex;align-items:center;gap:.5rem;font-weight:400;cursor:pointer">
279
+ <input type="checkbox" id="me-entrance-enabled" name="entranceEnabled" style="width:auto;margin:0">
280
+ Bring the items in one after another
281
+
282
+ <span data-help-title="Bring the items in one after another" data-help="Reveal menu items one after another instead of presenting the whole list at once. Set the animation, spacing between starts and duration below. Dropdowns and footer groups reveal their own items when shown. Visitors who request reduced motion see items immediately, regardless of this setting."></span></label>
283
+ <small class="form-hint">Applies wherever this menu is drawn on the site - navbar, footer, <code>[menu]</code> and floating panels.</small>
284
+ </div>
285
+ <div class="form-group dm-entrance-field" style="display:none">
286
+ <label for="me-entrance-animation">Entrance animation
287
+ <span data-help-title="Entrance animation" data-help="Choose the movement used as each menu item first appears. This controls entrance only, rather than hover or the selected-page highlight. Use the delay and duration fields to set its pacing. Reduced-motion visitors see the items immediately. The setting is available when staggered entrance is enabled. Fade changes opacity; Slide up and Slide down move vertically; the left and right choices enter from the named side; Zoom grows into place; Pop adds a bounce; Flip rotates down; Blur sharpens into focus."></span></label>
288
+ <!-- Filled from ENTRANCE_ANIMATIONS in menu-decor.mjs on mount. -->
289
+ <select id="me-entrance-animation" name="entranceAnimation" class="form-input"></select>
290
+ </div>
291
+ <div class="form-group dm-entrance-field" style="display:none">
292
+ <label for="me-entrance-stagger">Delay between items (ms)
293
+ <span data-help-title="Delay between items (ms)" data-help="Set the delay in milliseconds between the start of one item entrance and the next. Smaller values make a long menu appear sooner; larger values make the sequence more noticeable. This is the gap between starts, not the animation duration. Visitors requesting reduced motion do not wait for the sequence. The accepted range is 0 to 1000ms, and the default is 60ms. At 0, items begin together."></span></label>
294
+ <input type="number" id="me-entrance-stagger" name="entranceStagger" class="form-input" placeholder="60" min="0" max="1000" step="10">
295
+ </div>
296
+ <div class="form-group dm-entrance-field" style="display:none">
297
+ <label for="me-entrance-duration">Each item's animation (ms)
298
+ <span data-help-title="Each item&#x27;s animation (ms)" data-help="Set how long each item entrance animation takes, in milliseconds. This is independent of the delay between item starts, so animations may overlap. Shorter values feel quicker; longer values create a more gradual reveal. This only applies when staggered entrance is enabled and the visitor has not requested reduced motion. The accepted range is 50 to 3000ms, and the default is 400ms."></span></label>
299
+ <input type="number" id="me-entrance-duration" name="entranceDuration" class="form-input" placeholder="400" min="50" max="3000" step="50">
300
+ </div>
301
+ </div>
370
302
  </div>
371
- <div class="form-group">
372
- <label for="me-fontWeight">Font weight
373
- <span data-help-title="Font weight" data-help="Set the thickness of menu label text using a CSS weight such as 400 for regular, 600 for semibold or 700 for bold. The chosen font must provide the weight to render it accurately. Leave it blank to inherit the normal menu weight. This does not change icon stroke thickness."></span></label>
374
- <input type="text" id="me-fontWeight" name="fontWeight" class="form-input" placeholder="500">
303
+ </section>
304
+ <section class="mex-behaviour-section" aria-labelledby="me-section-typography">
305
+ <h3 class="mex-behaviour-title" id="me-section-typography"><span data-icon="type" data-icon-size="18" aria-hidden="true"></span>Text & icons</h3>
306
+ <div class="mex-behaviour-content">
307
+ <p class="mex-behaviour-note">Leave a field blank to inherit the normal menu styling.</p>
308
+ <div class="grid grid-cols-2 dm-pe-grid mex-behaviour-fields">
309
+ <div class="form-group">
310
+ <label for="me-fontFamily">Font family
311
+ <span data-help-title="Font family" data-help="Set a CSS font family for menu labels, such as Arial, sans-serif. This field selects from fonts already available to the page; it does not download a font. Leave it blank to inherit the site typography. The style applies to the menu, including the admin sidebar when this is its menu."></span></label>
312
+ <input type="text" id="me-fontFamily" name="fontFamily" class="form-input" placeholder="Inter">
313
+ </div>
314
+ <div class="form-group">
315
+ <label for="me-fontSize">Font size
316
+ <span data-help-title="Font size" data-help="Set the menu label size using a CSS value such as 16px or 1rem. A rem value follows the root text size; pixels give a fixed size. Leave it blank to inherit the normal menu typography. Check long labels and mobile navigation after changing this; icon size is controlled separately."></span></label>
317
+ <input type="text" id="me-fontSize" name="fontSize" class="form-input" placeholder="14 (px assumed) or 1rem">
318
+ </div>
319
+ <div class="form-group">
320
+ <label for="me-fontWeight">Font weight
321
+ <span data-help-title="Font weight" data-help="Set the thickness of menu label text using a CSS weight such as 400 for regular, 600 for semibold or 700 for bold. The chosen font must provide the weight to render it accurately. Leave it blank to inherit the normal menu weight. This does not change icon stroke thickness."></span></label>
322
+ <input type="text" id="me-fontWeight" name="fontWeight" class="form-input" placeholder="500">
323
+ </div>
324
+ <div class="form-group">
325
+ <label for="me-letterSpacing">Letter spacing
326
+ <span data-help-title="Letter spacing" data-help="Adjust the space between letters using a CSS value such as 0.02em or 1px. An em value scales with the menu text size. Small positive values can help short uppercase labels; large values make longer labels harder to fit. Leave it blank to inherit the normal spacing."></span></label>
327
+ <input type="text" id="me-letterSpacing" name="letterSpacing" class="form-input" placeholder="0.01 (em assumed) or 1px">
328
+ </div>
329
+ <div class="form-group">
330
+ <label for="me-iconSize">Icon size
331
+ <span data-help-title="Icon size" data-help="Set the size of menu icons using a CSS size such as 18px. This is independent of the label font size. Keep icons large enough to recognise, especially when a rail can collapse to icons. Leave it blank to use the menu default. It does not choose the icon assigned to each item."></span></label>
332
+ <input type="text" id="me-iconSize" name="iconSize" class="form-input" placeholder="15 (px assumed) or 1.25em">
333
+ </div>
334
+ </div>
375
335
  </div>
376
- <div class="form-group">
377
- <label for="me-letterSpacing">Letter spacing
378
- <span data-help-title="Letter spacing" data-help="Adjust the space between letters using a CSS value such as 0.02em or 1px. An em value scales with the menu text size. Small positive values can help short uppercase labels; large values make longer labels harder to fit. Leave it blank to inherit the normal spacing."></span></label>
379
- <input type="text" id="me-letterSpacing" name="letterSpacing" class="form-input" placeholder="0.01 (em assumed) or 1px">
336
+ </section>
337
+ <section class="mex-behaviour-section dm-float-field" aria-labelledby="me-section-floating" style="display:none">
338
+ <h3 class="mex-behaviour-title" id="me-section-floating"><span data-icon="move" data-icon-size="18" aria-hidden="true"></span>Floating panel</h3>
339
+ <div class="mex-behaviour-content">
340
+ <p class="mex-behaviour-note">Anchor, size and controls for a menu with Position set to Floating.</p>
341
+ <div class="grid grid-cols-2 dm-pe-grid mex-behaviour-fields">
342
+ <div class="form-group dm-float-field" style="display:none">
343
+ <label for="me-float-anchor">Float anchor
344
+ <span data-help-title="Float anchor" data-help="Choose the viewport corner or side that the floating menu starts from. Top and bottom corners anchor both directions; the left and right edge options centre the panel vertically. The X and Y offsets add space from that anchor. These are starting values: a movable panel can retain a visitor-selected position."></span></label>
345
+ <select id="me-float-anchor" name="floatAnchor" class="form-input">
346
+ <option value="TL">Top left</option>
347
+ <option value="TR">Top right</option>
348
+ <option value="BL">Bottom left</option>
349
+ <option value="BR">Bottom right</option>
350
+ <option value="L">Left edge (centred)</option>
351
+ <option value="R">Right edge (centred)</option>
352
+ </select>
353
+ </div>
354
+ <div class="form-group dm-float-field" style="display:none">
355
+ <label for="me-float-offsetX">Float offset X (px)
356
+ <span data-help-title="Float offset X (px)" data-help="Set the horizontal distance in pixels between the floating panel and its selected viewport edge. For a right anchor the gap is measured from the right; for a left anchor it is measured from the left. Leaving it empty uses 16px. A visitor who has already moved the panel may see their remembered position instead."></span></label>
357
+ <input type="number" id="me-float-offsetX" name="floatOffsetX" class="form-input" placeholder="16" min="0" max="4000">
358
+ </div>
359
+ <div class="form-group dm-float-field" style="display:none">
360
+ <label for="me-float-offsetY">Float offset Y (px)
361
+ <span data-help-title="Float offset Y (px)" data-help="Set the vertical gap in pixels for the floating panel relative to its anchor. Top anchors measure from the top and bottom anchors from the bottom; side-centred anchors start around the vertical centre. Leaving it empty uses 16px. Treat this as the initial position when visitors are allowed to move the panel."></span></label>
362
+ <input type="number" id="me-float-offsetY" name="floatOffsetY" class="form-input" placeholder="16" min="0" max="4000">
363
+ </div>
364
+ <div class="form-group dm-float-field" style="display:none">
365
+ <label for="me-float-width">Float width (px)
366
+ <span data-help-title="Float width (px)" data-help="Set the initial floating panel width in pixels, from 120 to 600. Leaving it empty lets the layout choose its width. Allow space for labels and nested items. If resizing is enabled, a returning visitor may see their remembered size. Below 768px the panel returns to the page flow instead of floating."></span></label>
367
+ <input type="number" id="me-float-width" name="floatWidth" class="form-input" placeholder="auto" min="120" max="600">
368
+ </div>
369
+ <div class="form-group dm-float-field" style="display:none">
370
+ <label for="me-float-radius">Corner rounding (px)
371
+ <span data-help-title="Corner rounding (px)" data-help="Set the rounding of the floating panel corners in pixels. Use 0 for square corners, a modest value for a soft rectangle, or a larger value for a more rounded panel. This changes the panel outline, not each link. Leave it empty to use the component default."></span></label>
372
+ <input type="number" id="me-float-radius" name="floatRadius" class="form-input" placeholder="theme default" min="0" max="48">
373
+ </div>
374
+ <div class="form-group dm-float-field" style="display:none">
375
+ <label for="me-float-shadow">Shadow
376
+ <span data-help-title="Shadow" data-help="Choose how strongly the floating panel stands away from the page. None removes the shadow; larger choices create a more pronounced edge and depth. This affects the panel rather than individual items. Leave it on the default to follow the normal component styling, and check it against both light and dark page backgrounds."></span></label>
377
+ <select id="me-float-shadow" name="floatShadow" class="form-input">
378
+ <option value="">- theme default -</option>
379
+ <option value="none">None</option>
380
+ <option value="sm">Small</option>
381
+ <option value="md">Medium</option>
382
+ <option value="lg">Large</option>
383
+ <option value="xl">Extra large</option>
384
+ </select>
385
+ </div>
386
+ <div class="form-group dm-float-field" style="display:none">
387
+ <label for="me-float-accent">Accent colour
388
+ <span data-help-title="Accent colour" data-help="Choose the accent used on the floating panel border and the stripe along its leading edge. Theme colours follow the active theme; Custom lets you choose a hex colour. Leaving it unset keeps the normal styling. This is separate from link text, badges and the menu highlight colour."></span></label>
389
+ <div class="me-colour-control">
390
+ <select id="me-float-accent" name="floatAccent" class="form-input">
391
+ <option value="">- none -</option>
392
+ <option value="primary">primary</option>
393
+ <option value="success">success</option>
394
+ <option value="danger">danger</option>
395
+ <option value="warning">warning</option>
396
+ <option value="info">info</option>
397
+ <option value="neutral">neutral</option>
398
+ <option value="__custom__">Custom…</option>
399
+ </select>
400
+ <input type="color" id="me-float-accent-hex" class="form-input me-colour-hex" value="#000000" style="display:none">
401
+ </div>
402
+ <small class="form-hint">Tints the panel border and draws a stripe down its leading edge.</small>
403
+ </div>
404
+ <div class="form-group dm-float-field" style="display:none">
405
+ <label for="me-float-opacity">Panel opacity (%)
406
+ <span data-help-title="Panel opacity (%)" data-help="Set the floating panel surface opacity from 20 to 100 percent. At 100 the surface is solid. Lower values let the page show through with a blurred backdrop; labels remain fully opaque. Busy backgrounds can reduce readability, so check the result over real content. Leaving the field empty uses 100 percent."></span></label>
407
+ <input type="number" id="me-float-opacity" name="floatOpacity" class="form-input" placeholder="100" min="20" max="100">
408
+ <small class="form-hint">Below 100 the panel surface goes translucent with a blur behind it. Text stays fully opaque.</small>
409
+ </div>
410
+ <div class="form-group dm-float-field" style="display:none">
411
+ <label for="me-float-title">Panel title
412
+ <span data-help-title="Panel title" data-help="Set the text in the floating panel bar beside its drag handle and collapse control. Leaving it blank uses the menu name. Keep it short enough to fit a narrow panel. This is a visible panel title, whereas the menu Description is administrative metadata. It does not rename the menu or its slug."></span></label>
413
+ <input type="text" id="me-float-title" name="floatTitle" class="form-input" placeholder="menu name" maxlength="60">
414
+ <small class="form-hint">Shown in the panel's bar, next to the drag handle and hamburger. Blank uses the menu's own name.</small>
415
+ </div>
416
+ <div class="form-group dm-float-field" style="display:none">
417
+ <label>Panel behaviour</label>
418
+ <label style="display:flex;align-items:center;gap:.5rem;font-weight:400;cursor:pointer">
419
+ <input type="checkbox" id="me-float-collapsible" name="floatCollapsible" style="width:auto;margin:0">
420
+ Collapsible - a hamburger button folds the panel away and back
421
+
422
+ <span data-help-title="Collapsible - a hamburger button folds the panel away and back" data-help="Add a hamburger control that folds the floating menu content away and opens it again. Each visitor keeps their own collapsed state in their browser. Start collapsed supplies the initial choice for new visitors. On screens below 768px, the panel returns to the page flow but collapsing is still available."></span></label>
423
+ <label style="display:flex;align-items:center;gap:.5rem;font-weight:400;cursor:pointer;margin-left:1.5rem" class="dm-float-collapsed-field">
424
+ <input type="checkbox" id="me-float-collapsed" name="floatCollapsed" style="width:auto;margin:0">
425
+ Start collapsed
426
+
427
+ <span data-help-title="Start collapsed" data-help="Start a collapsible floating panel folded away for a visitor who has not made a choice yet. The visitor can open it with the panel hamburger control, and a previously saved visitor choice takes precedence. This setting requires Collapsible and does not delete or disable any menu items."></span></label>
428
+ <label style="display:flex;align-items:center;gap:.5rem;font-weight:400;cursor:pointer">
429
+ <input type="checkbox" id="me-float-movable" name="floatMovable" style="width:auto;margin:0">
430
+ Movable - visitors drag the panel by its bar
431
+
432
+ <span data-help-title="Movable - visitors drag the panel by its bar" data-help="Let visitors drag the floating panel by its top bar to a position that suits their page view. Their position is saved in their own browser; it does not change these site defaults for anyone else. Double-clicking the bar resets the panel. Below 768px the panel returns to normal page flow."></span></label>
433
+ <label style="display:flex;align-items:center;gap:.5rem;font-weight:400;cursor:pointer">
434
+ <input type="checkbox" id="me-float-resizable" name="floatResizable" style="width:auto;margin:0">
435
+ Resizable - visitors drag the panel's bottom-right corner
436
+
437
+ <span data-help-title="Resizable - visitors drag the panel&#x27;s bottom-right corner" data-help="Let visitors drag the floating panel bottom-right corner to change its size. Their chosen size is remembered in their own browser, while these settings remain the starting values for other visitors. Double-clicking the panel bar resets it. Resizing does not apply when the panel returns to page flow below 768px."></span></label>
438
+ <small class="form-hint">Each visitor's own position, size and collapsed state are remembered in their browser; the settings above stay the starting point. Double-clicking the bar resets a panel. Below 768px panels return to the page flow, so only collapsing applies there.</small>
439
+ </div>
440
+ </div>
380
441
  </div>
381
- <div class="form-group">
382
- <label for="me-iconSize">Icon size
383
- <span data-help-title="Icon size" data-help="Set the size of menu icons using a CSS size such as 18px. This is independent of the label font size. Keep icons large enough to recognise, especially when a rail can collapse to icons. Leave it blank to use the menu default. It does not choose the icon assigned to each item."></span></label>
384
- <input type="text" id="me-iconSize" name="iconSize" class="form-input" placeholder="15 (px assumed) or 1.25em">
442
+ </section>
443
+ <section class="mex-behaviour-section" aria-labelledby="me-section-advanced">
444
+ <h3 class="mex-behaviour-title" id="me-section-advanced"><span data-icon="code" data-icon-size="18" aria-hidden="true"></span>Custom styling</h3>
445
+ <div class="mex-behaviour-content">
446
+ <p class="mex-behaviour-note">Add hooks for your own rules in Custom CSS.</p>
447
+ <div class="grid grid-cols-2 dm-pe-grid mex-behaviour-fields">
448
+ <div class="form-group">
449
+ <label for="me-class">CSS classes
450
+ <span data-help-title="CSS classes" data-help="Add your own CSS class names, separated by spaces, to this menu outer element: the navbar, footer column or menu shortcode navigation. Enter names without leading dots, then write rules in Custom CSS. Each item can also have classes in its own editor. Classes add styling hooks; they do not supply styles by themselves."></span></label>
451
+ <input type="text" id="me-class" name="class" class="form-input" placeholder="site-nav is-compact" autocomplete="off" spellcheck="false">
452
+ <small class="form-hint">Letters, digits, hyphens and underscores; no dots. For styling in Custom CSS.</small>
453
+ </div>
454
+ </div>
385
455
  </div>
386
- </div>
456
+ </section>
387
457
  </div>
388
458
 
389
459
  <div class="tab-panel" id="me-binding" data-panel="me-binding">
@@ -468,6 +538,55 @@
468
538
  .mex-note { color: var(--dm-text-muted); font-size: var(--dm-text-sm); margin: 0; }
469
539
  .mex-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
470
540
  .mex-toolbar .btn { display: inline-flex; align-items: center; gap: .3rem; }
541
+ /* Quiet surfaces separate settings without nested card chrome. */
542
+ .mex .mex-editor-shell, .mex .mex-editor-body { min-width: 0; }
543
+ .mex #me-tabs > .tab-list { flex-wrap: wrap; }
544
+ .mex .mex-behaviour-section, .me-item-form .me-item-section {
545
+ min-width: 0;
546
+ padding: 0;
547
+ border: 1px solid color-mix(in srgb, var(--dm-text) 10%, transparent);
548
+ border-radius: 12px;
549
+ background: color-mix(in srgb, var(--dm-text) 2%, var(--dm-surface));
550
+ }
551
+ .mex .mex-behaviour-section { margin: 0 0 1.25rem; }
552
+ .mex .mex-behaviour-title, .me-item-form .me-item-section-title {
553
+ display: flex;
554
+ align-items: center;
555
+ gap: .45rem;
556
+ margin: 0;
557
+ padding: .9rem 1rem 0;
558
+ border: 0;
559
+ background: transparent;
560
+ color: var(--dm-text);
561
+ font-size: .8125rem;
562
+ font-weight: 600;
563
+ line-height: 1.4;
564
+ text-transform: none;
565
+ letter-spacing: normal;
566
+ }
567
+ .mex .mex-behaviour-title > svg { width: 15px; height: 15px; color: var(--dm-text-muted); }
568
+ .mex .mex-behaviour-content { padding: .7rem 1rem 1rem; min-width: 0; }
569
+ .mex .mex-behaviour-note { margin: 0 0 1rem; color: var(--dm-text-muted); font-size: var(--dm-text-sm); line-height: 1.5; }
570
+ .mex .mex-behaviour-fields { gap: 1rem 1.5rem; }
571
+ .mex .mex-behaviour-fields > .form-group { min-width: 0; margin-bottom: 0; }
572
+ .mex .mex-behaviour-fields label { flex-wrap: wrap; }
573
+ .mex .mex-behaviour-fields .form-input { max-width: 100%; }
574
+ .me-item-form { gap: 1rem; }
575
+ .me-item-form .me-item-section-body, .me-item-form .me-feature-fields { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
576
+ .me-item-form .me-item-section-body { padding: .7rem 1rem 1rem; }
577
+ .me-item-form .me-field-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
578
+ .me-item-form .form-field { min-width: 0; margin: 0; }
579
+ .me-item-form .me-item-section-body > .form-hint { margin: 0; }
580
+ .me-item-form .me-item-actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .65rem .25rem; border-top: 1px solid color-mix(in srgb, var(--dm-text) 10%, transparent); background: var(--dm-surface); }
581
+ .me-item-form .me-item-actions .form-hint { flex: 1; min-width: 0; margin: 0; }
582
+ .me-item-form .me-item-actions .btn { flex-shrink: 0; }
583
+ @media (max-width: 720px) {
584
+ .mex .mex-behaviour-fields { grid-template-columns: minmax(0, 1fr); }
585
+ .mex .mex-behaviour-fields > .col-span-2 { grid-column: auto; }
586
+ .mex .mex-behaviour-title, .me-item-form .me-item-section-title { padding: .8rem .8rem 0; }
587
+ .mex .mex-behaviour-content, .me-item-form .me-item-section-body { padding: .65rem .8rem .8rem; }
588
+ .me-item-form .me-field-grid { grid-template-columns: minmax(0, 1fr); }
589
+ }
471
590
  /* Rows: grip, label, url, hide, edit, ⋮ - everything else is in the row's context menu. */
472
591
  .mex .menu-tree-row--slim { grid-template-columns: 26px minmax(0, 1fr) auto repeat(3, auto); padding: 3px 4px; border-radius: var(--dm-radius-sm); cursor: pointer; }
473
592
  .mex .menu-tree-row--separator, .mex .menu-tree-row--spacer { grid-template-columns: 26px minmax(80px, 1fr) auto; padding: 2px 4px; }