Night palette fixed (the section bands, the remaining light fills and row lines onto --ui-*, color-scheme: dark for checkboxes, the map controls lifted off the dark map, the home icon); side panels below the topbar (the title in view); offline login ticked in TODO (session cookie + TRUSTED_NETWORKS)
This commit is contained in:
1 parent
7fcac61c99
commit
9b797fd48c
3 files changed
+32
-21
No files matched your search
+20
-15
@@ -66,10 +66,10 @@
|
||||
generate more light than the chart display itself"). */
|
||||
:root[data-palette="night"] {
|
||||
--ui-bg: #0c0c0b;
|
||||
--ui-bg-2: #161614; /* hover, subtle fills */
|
||||
--ui-bg-2: #1c1c19; /* hover, subtle fills */
|
||||
--ui-fg: #8f8b80;
|
||||
--ui-muted: #5f5c55;
|
||||
--ui-line: #24231f;
|
||||
--ui-line: #34332d;
|
||||
--accent: #6e7c32;
|
||||
--accent-bg: #1d2113;
|
||||
--band: #000000;
|
||||
@@ -104,6 +104,9 @@ body { background: var(--ui-bg); color: var(--ui-fg); }
|
||||
.maplibregl-popup-anchor-left .maplibregl-popup-tip { border-right-color: var(--ui-bg); }
|
||||
.maplibregl-popup-anchor-right .maplibregl-popup-tip { border-left-color: var(--ui-bg); }
|
||||
:root[data-palette] .maplibregl-ctrl-icon { filter: invert(0.75); }
|
||||
:root[data-palette] { color-scheme: dark; } /* checkboxes, scrollbars, inputs */
|
||||
:root[data-palette] .maplibregl-ctrl-group { background: var(--ui-bg-2); box-shadow: 0 0 0 1px var(--ui-line); }
|
||||
:root[data-palette] .maplibregl-ctrl-group button:not(:disabled):hover { background-color: var(--ui-line); }
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
@@ -640,11 +643,11 @@ html, body {
|
||||
|
||||
.basemap-panel {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
top: 44px; /* below the topbar, its title in view */
|
||||
left: 52px;
|
||||
width: 300px;
|
||||
max-width: 90vw;
|
||||
height: 100%;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--ui-bg);
|
||||
@@ -788,7 +791,7 @@ button.basemap-panel__link[hidden] { display: none; }
|
||||
renders here unchanged; no separate panel-flavored template needed. */
|
||||
.trail-panel {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
top: 44px;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 300px;
|
||||
@@ -813,7 +816,7 @@ button.basemap-panel__link[hidden] { display: none; }
|
||||
right: 6px;
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
background: rgb(from var(--ui-bg) r g b / 0.85);
|
||||
font-size: 18px;
|
||||
line-height: 1;
|
||||
padding: 2px 7px;
|
||||
@@ -854,7 +857,7 @@ button.basemap-panel__link[hidden] { display: none; }
|
||||
.debug-panel__body pre {
|
||||
margin: 2px 0 8px;
|
||||
padding: 6px;
|
||||
background: #f6f6f6;
|
||||
background: var(--ui-bg-2);
|
||||
border-radius: 4px;
|
||||
font-size: 11px;
|
||||
white-space: pre-wrap;
|
||||
@@ -898,7 +901,7 @@ button.basemap-panel__link[hidden] { display: none; }
|
||||
|
||||
.offline-data-panel__continent > summary {
|
||||
font-weight: 600;
|
||||
background: #f7f7f7;
|
||||
background: var(--ui-bg-2);
|
||||
border-bottom: 1px solid var(--ui-line);
|
||||
}
|
||||
|
||||
@@ -1067,11 +1070,11 @@ button.basemap-panel__link[hidden] { display: none; }
|
||||
|
||||
.gpx-panel {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
top: 44px; /* below the topbar, its title in view */
|
||||
left: 52px;
|
||||
width: 300px;
|
||||
max-width: 90vw;
|
||||
height: 100%;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--ui-bg);
|
||||
@@ -2400,7 +2403,7 @@ button.basemap-panel__link[hidden] { display: none; }
|
||||
flex-shrink: 0;
|
||||
padding: 2px 6px;
|
||||
border-radius: 3px;
|
||||
background: #e5e5e5;
|
||||
background: var(--ui-bg-2);
|
||||
color: var(--ui-muted);
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
@@ -2519,7 +2522,7 @@ button.basemap-panel__link[hidden] { display: none; }
|
||||
color: var(--ui-muted);
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
background: rgba(252, 252, 251, 0.75);
|
||||
background: rgb(from var(--ui-bg) r g b / 0.75);
|
||||
padding: 1px 3px;
|
||||
border-radius: 2px;
|
||||
pointer-events: none;
|
||||
@@ -2702,7 +2705,7 @@ button.basemap-panel__link[hidden] { display: none; }
|
||||
}
|
||||
|
||||
.plugins-panel__item + .plugins-panel__item {
|
||||
box-shadow: inset 0 1px #e6e6e6;
|
||||
box-shadow: inset 0 1px var(--ui-line);
|
||||
}
|
||||
|
||||
.plugins-panel__label {
|
||||
@@ -3328,7 +3331,7 @@ button.basemap-panel__link[hidden] { display: none; }
|
||||
.gpx-tree li + li,
|
||||
.sidebar-flyout__option + .sidebar-flyout__option,
|
||||
.gpx-tree__download-menu-item + .gpx-tree__download-menu-item {
|
||||
box-shadow: inset 0 1px #e6e6e6;
|
||||
box-shadow: inset 0 1px var(--ui-line);
|
||||
}
|
||||
|
||||
.gpx-tree__download-menu-item + .gpx-tree__download-menu-item,
|
||||
@@ -3339,7 +3342,7 @@ button.basemap-panel__link[hidden] { display: none; }
|
||||
.overlays-panel__group {
|
||||
margin: 10px -12px 0;
|
||||
padding: 8px 16px 6px;
|
||||
background: #f3f3f1;
|
||||
background: var(--ui-bg-2);
|
||||
border-top: 1px solid var(--ui-line);
|
||||
border-bottom: 1px solid var(--ui-line);
|
||||
}
|
||||
@@ -3560,3 +3563,5 @@ html.driving #map .maplibregl-ctrl-top-left { display: none; }
|
||||
.drive-bar button:disabled { opacity: 0.4; }
|
||||
html.follow-3d .maplibregl-ctrl-overview-map { display: none; }
|
||||
.drive-bar .drive-bar__night { font-size: 30px; }
|
||||
/* npmap's home button draws its house in #333: the UI's text color instead */
|
||||
.feather-home { fill: var(--ui-fg); }
|
||||
Reference in new issue
Block a user