Rounded, after the Design canvas' GridRounded: drive mode's cells and keys with 12 px corners on a black ground, the gaps (3 px a side) out of them, the map keeping its area with corners of its own; the map's points one frame, the NPS rounded square — the trip's stops, the search pins, the clusters and the points with no pictogram (badges like the p4n/OsmAnd ones) instead of circles
This commit is contained in:
1 parent
87d7bd2463
commit
bf90f4cf23
2 files changed
+44
-17
No files matched your search
+26
-2
@@ -3019,7 +3019,7 @@ button.basemap-panel__link[hidden] { display: none; }
|
||||
.route-marker {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border-radius: 50%;
|
||||
border-radius: 5px; /* the NPS rounded square, like the points' badges */
|
||||
background: #1d6fdc;
|
||||
border: 2px solid #fff;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
|
||||
@@ -3800,7 +3800,7 @@ html.driving .drive-panel { grid-area: var(--drive-menu, 2 / 10 / 10 / 17); }
|
||||
.drive-trip[data-mode="search"] .drive-trip__search { grid-row: 2 / 3; }
|
||||
.drive-trip[data-mode="search"] .drive-trip__search input { border: 2px solid var(--drive-key-on); }
|
||||
/* the search's results on the map and in the list: saved points cyan, places amber */
|
||||
.drive-pin { width: calc(14px * var(--s, 1)); height: calc(14px * var(--s, 1)); flex: none; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
|
||||
.drive-pin { width: calc(14px * var(--s, 1)); height: calc(14px * var(--s, 1)); flex: none; border-radius: 3px; box-shadow: 0 0 0 2px #fff; }
|
||||
.maplibregl-marker.drive-pin { width: calc(18px * var(--s, 1)); height: calc(18px * var(--s, 1)); box-shadow: 0 0 0 2.5px #fff, 0 1px 4px rgb(0 0 0 / 0.4); }
|
||||
.drive-pin--saved { background: #12bedf; }
|
||||
.drive-pin--place { background: #e8a200; }
|
||||
@@ -4923,6 +4923,30 @@ html.driving .drive-cell--field { position: relative; }
|
||||
.drive-rec__tick input { width: 30px; height: 30px; accent-color: var(--drive-key-on); }
|
||||
.drive-rec__day .drive-panel__text { flex: 1; justify-content: center; padding: 0 12px; }
|
||||
.drive-rec__day .drive-panel__look { width: var(--cell, 80px); flex: none; background: none; }
|
||||
|
||||
/* Rounded (the Design canvas' GridRounded): the cells and keys with soft
|
||||
corners on a black ground, the gaps taken out of them (3 px a side) — the
|
||||
map keeps its area, framed with corners of its own. Overrides the 1 px
|
||||
lines of the grid and its menus above. */
|
||||
:root { --drive-ground: #000; --drive-radius: 12px; --drive-half-gap: 3px; }
|
||||
html.driving #app,
|
||||
.drive-panel,
|
||||
.drive-trip__stops,
|
||||
.drive-trip__results,
|
||||
.drive-panel__list,
|
||||
.drive-points__bar,
|
||||
.drive-layers__presets,
|
||||
.drive-layers__source,
|
||||
.drive-rec__days { gap: 0; background: var(--drive-ground); }
|
||||
.drive-cell,
|
||||
.drive-panel__cell,
|
||||
.drive-panel__empty,
|
||||
.drive-rec__day,
|
||||
.drive-panel > :not(.drive-trip__stops, .drive-trip__results, .drive-panel__list, .drive-points__bar, .drive-layers__presets, .drive-layers__source, .drive-rec__days) {
|
||||
margin: var(--drive-half-gap);
|
||||
border-radius: var(--drive-radius);
|
||||
}
|
||||
html.driving .app-body { border-radius: calc(var(--drive-radius) + 2px); overflow: hidden; }
|
||||
.drive-rec__cutrow { flex: none; height: calc(var(--cell, 80px) / 2); display: flex; align-items: center; gap: 10px; padding-left: 28px; background: var(--band); color: var(--drive-muted); font-size: calc(14px * var(--s, 1)); }
|
||||
.drive-rec__cutrow span:nth-child(2) { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.drive-panel .drive-rec__cutrow button { height: 100%; padding: 0 16px; background: none; border-left: 1px solid var(--drive-line); font-size: calc(14px * var(--s, 1)); font-weight: 700; }
|
||||
|
||||
Reference in new issue
Block a user