/*
 * css/designer-basic.css - Admin > Settings > Designer > "What Basic mode shows".
 * js/designer-basic.js puts db-hide-<key> / db-show-<key> on <body>, only in
 * Basic mode and never for staff signed in as admin. With no setting saved
 * there are no such classes and nothing in this file applies.
 * The "show" switches for rulers, rotation, layer order, X/Y and outline work
 * through :not(.db-show-...) guards on the Basic rules in designer.html.
 */

/* On the plate */
body.mode-basic.db-hide-dimsBtn .dim-toggle { display: none !important; }

/* Tools - the classic tool buttons, and the same tools in the side menus */
body.mode-basic.db-hide-curved :is(.tool[data-tool="curvedText"], [data-dm-tool="curvedText"]),
body.mode-basic.db-hide-triangle :is(.tool[data-tool="triangle"], [data-dm-tool="triangle"]),
body.mode-basic.db-hide-line :is(.tool[data-tool="line"], [data-dm-tool="line"]),
body.mode-basic.db-hide-holes :is(.tool[data-tool="hole"], [data-dm-tool="hole"], .dm-holes-sub, [data-dm-sub="holes"]),
body.mode-basic.db-hide-code :is(.tool[data-tool="code"], [data-dm-tool="code"], [data-dm-sub="qr"]),
body.mode-basic.db-hide-image :is(.tool[data-tool="image"], [data-dm-tool="image"], [data-dm-sub="image"]),
body.mode-basic.db-hide-symbols :is(#symbolSection, [data-dm-sub="symbols"]),
body.mode-basic.db-hide-measure :is(.tool[data-tool="measure"], [data-dm-tool="measure"], .dm-stop, [data-dm-sub="measure"]) { display: none !important; }

/* Label settings */
body.mode-basic.db-hide-presets .row:has(#presetSelect),
body.mode-basic.db-hide-adhesive .row:has(#adhesiveType) { display: none !important; }

/* Selected item (right-hand panel) */
body.mode-basic.db-hide-weight .row:has(#propWeight),
body.mode-basic.db-hide-spacing .row:has(#propLetterSpacing),
body.mode-basic.db-hide-case #textToolsRow,
body.mode-basic.db-hide-curve #textCurveRow,
body.mode-basic.db-hide-fill #fillStyleRow { display: none !important; }

/* Top bar */
body.mode-basic.db-hide-cpd :is(#copyObjectBtn, #pasteObjectBtn, #deleteObjectBtn),
body.mode-basic.db-hide-lock #lockObjectBtn,
body.mode-basic.db-hide-clear #clearAllBtn,
body.mode-basic.db-hide-align #textAlignGroup,
body.mode-basic.db-hide-export .dropdown-container:has(#exportDropdownBtn),
body.mode-basic.db-hide-store #templateStoreBtn,
body.mode-basic.db-hide-adv .mode-switch-group { display: none !important; }

/* Help */
body.mode-basic.db-hide-tourBtn #etour-replay { display: none !important; }
