Files
gods-eye-view/src/ui/styles/scope-off-shadows.css
T

27 lines
1.0 KiB
CSS

/* With Scope off the map fills the whole screen. The HUD keeps its black
plates (overlays.css); the glass chrome lifts off the map with a soft
drop shadow. */
:root[data-scope-mask='off'] {
--scope-off-panel-shadow:
0 10px 30px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.45);
}
/* Glass surfaces (rails, the rails' name panels, open panels and
the dock) get a lift so their edges hold against bright imagery. */
:root[data-scope-mask='off'] .ui-rail,
:root[data-scope-mask='off'] .gev-panel-rail .ui-rail--expanded::after,
:root[data-scope-mask='off']
:is(.data-panel-inner, .utilities-panel-inner, .ui-panel__inner),
:root[data-scope-mask='off'] #left-panel-stack > #pp-toggles,
:root[data-scope-mask='off']
#right-context-rail
> [data-panel-id]:not(.collapsed),
:root[data-scope-mask='off'] #command-dock > * {
box-shadow: var(--scope-off-panel-shadow);
}
:root[data-scope-mask='off'] .ui-rail__label,
:root[data-scope-mask='off'] .ui-rail__item .ui-icon {
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}