mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-20 02:02:21 +00:00
Add scope opacity and a reset to the Visual panel
The Display panel is regrouped as Visual (Look, Overlay, Effects) with style presets, a scope opacity slider and a reset to the default look. Scope opacity is carried in share links as field 30 and as the legacy sco parameter; 100 is the default and is left out of a link. Co-authored-by: Sameh Khamis <[email protected]>
This commit is contained in:
1 parent
d49d3d10cc
commit
d145c30967
13 files changed
+471
-11
No files matched your search
@@ -0,0 +1,24 @@
|
||||
/* 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);
|
||||
}
|
||||
Reference in new issue
Block a user