UI accent in the Park Tiles palette instead of light blue: active sidebar icons, selected panel options and primary buttons use NPS boundary olive on a light sage, defined once as --accent/--accent-bg
This commit is contained in:
1 parent
59a29e86a5
commit
1bb0e1137a
1 file changed
+27
-20
+27
-20
@@ -1,3 +1,10 @@
|
||||
/* The UI accent (active items, selected options, primary buttons), from the
|
||||
base map's Park Tiles palette: NPS boundary olive on a light sage. */
|
||||
:root {
|
||||
--accent: #546619;
|
||||
--accent-bg: #e1e5cf;
|
||||
}
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
@@ -368,8 +375,8 @@ html, body {
|
||||
}
|
||||
|
||||
.sidebar-icon.active {
|
||||
background: #dbe9ff;
|
||||
color: #1a5fb4;
|
||||
background: var(--accent-bg);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.sidebar-flyout {
|
||||
@@ -409,7 +416,7 @@ html, body {
|
||||
}
|
||||
|
||||
.sidebar-flyout__option.active {
|
||||
background: #dbe9ff;
|
||||
background: var(--accent-bg);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@@ -562,7 +569,7 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
|
||||
}
|
||||
|
||||
.side-panel-pin.active {
|
||||
color: #1a5fb4;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.basemap-panel__header {
|
||||
@@ -590,7 +597,7 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
|
||||
display: block;
|
||||
padding: 10px;
|
||||
font-size: 14px;
|
||||
color: #1a5fb4;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.basemap-panel__sources[hidden] {
|
||||
@@ -617,12 +624,12 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
|
||||
}
|
||||
|
||||
.basemap-panel__option.active {
|
||||
background: #dbe9ff;
|
||||
background: var(--accent-bg);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.basemap-panel__check {
|
||||
color: #1a5fb4;
|
||||
color: var(--accent);
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
@@ -1305,7 +1312,7 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
|
||||
}
|
||||
|
||||
.measure-ctrl__button.active {
|
||||
background: #dbe9ff;
|
||||
background: var(--accent-bg);
|
||||
}
|
||||
|
||||
.measure-panel {
|
||||
@@ -1392,7 +1399,7 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
|
||||
}
|
||||
|
||||
.measure-panel__mode.active {
|
||||
background: #dbe9ff;
|
||||
background: var(--accent-bg);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@@ -1431,7 +1438,7 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
|
||||
}
|
||||
|
||||
.search-ctrl__button.active {
|
||||
background: #dbe9ff;
|
||||
background: var(--accent-bg);
|
||||
}
|
||||
|
||||
.search-panel {
|
||||
@@ -1542,7 +1549,7 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
|
||||
}
|
||||
|
||||
.notes-ctrl__button.active {
|
||||
background: #dbe9ff;
|
||||
background: var(--accent-bg);
|
||||
}
|
||||
|
||||
.notes-panel {
|
||||
@@ -1584,7 +1591,7 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
|
||||
}
|
||||
|
||||
.notes-panel__mode.active {
|
||||
background: #dbe9ff;
|
||||
background: var(--accent-bg);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@@ -1600,7 +1607,7 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
|
||||
padding: 4px 8px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
background: #1a5fb4;
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
font: inherit;
|
||||
font-size: 12px;
|
||||
@@ -1685,9 +1692,9 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
|
||||
}
|
||||
|
||||
.notes-panel__icon-option.active {
|
||||
border-color: #1a5fb4;
|
||||
color: #1a5fb4;
|
||||
background: #dbe9ff;
|
||||
border-color: var(--accent);
|
||||
color: var(--accent);
|
||||
background: var(--accent-bg);
|
||||
}
|
||||
|
||||
/* The pending-note marker shown on the map while the save form is open —
|
||||
@@ -1752,7 +1759,7 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
|
||||
element specificity trap as elsewhere in this file; without it this
|
||||
lost and the Save button just looked like a second Cancel button. */
|
||||
.notes-panel__actions .notes-panel__save {
|
||||
background: #1a5fb4;
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -1781,7 +1788,7 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
|
||||
}
|
||||
|
||||
.pitch-toggle-ctrl__button.active {
|
||||
background: #dbe9ff;
|
||||
background: var(--accent-bg);
|
||||
}
|
||||
|
||||
.gpx-popup__header {
|
||||
@@ -1920,7 +1927,7 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
|
||||
}
|
||||
|
||||
.gpx-popup__edit-actions .gpx-popup__edit-save {
|
||||
background: #1a5fb4;
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@@ -2408,7 +2415,7 @@ body.side-pinned:has(.basemap-panel:not([hidden]), .gpx-panel:not([hidden])) .pr
|
||||
padding: 4px 10px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
background: #1a5fb4;
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
font: inherit;
|
||||
font-size: 12px;
|
||||
|
||||
Reference in new issue
Block a user