This commit is contained in:
Abdul Wahab
2026-09-01 10:04:59 +05:00
parent bccbc98c9b
commit 6cfeb7d374
@@ -1270,7 +1270,7 @@ Array.prototype.forEach.call(document.querySelectorAll('.scaler'), function (sca
'/* Depth additions. Flat is the base; the other answers lift only solid, meaningful objects. */',
'html[data-derived-section="depth"][data-derived-option="flat"] { --derived-shadow-chrome: none; --derived-shadow-card: none; --derived-shadow-control: none; --derived-shadow-surface: none; }',
'html[data-derived-section="depth"][data-derived-option="soft-lift"] { --derived-shadow-chrome: 0 1px 2px rgb(0 0 0 / 0.1); --derived-shadow-card: 0 1px 1px rgb(0 0 0 / 0.15), 0 3px 7px rgb(0 0 0 / 0.14); --derived-shadow-control: 0 1px 2px rgb(0 0 0 / 0.24); --derived-shadow-surface: 0 2px 5px rgb(0 0 0 / 0.14); }',
'html[data-derived-section="depth"][data-derived-option="soft-lift"] { --derived-shadow-chrome: 0 1px 2px rgb(0 0 0 / 0.08); --derived-shadow-card: 0 2px 4px rgb(0 0 0 / 0.1); --derived-shadow-control: 0 1px 2px rgb(0 0 0 / 0.1); --derived-shadow-surface: 0 2px 4px rgb(0 0 0 / 0.1); }',
'html[data-derived-section="depth"][data-derived-option="floating"] { --derived-shadow-chrome: 0 1px 3px rgb(0 0 0 / 0.1); --derived-shadow-card: 0 4px 8px rgb(0 0 0 / 0.14); --derived-shadow-control: 0 2px 4px rgb(0 0 0 / 0.12); --derived-shadow-surface: 0 4px 8px rgb(0 0 0 / 0.14); }',
'html[data-derived-section="depth"] :is(.pv-nav, .pv-phone-top) { box-shadow: var(--derived-shadow-chrome) !important; }',
'html[data-derived-section="depth"] :is(.pv-pill, .pv-actions i, .po-item--on, .po-field, .po-toggle) { box-shadow: var(--derived-shadow-control) !important; }',