File size: 6,440 Bytes
81a8217 c72f0a1 81a8217 c72f0a1 dc31bad affe37f c72f0a1 81a8217 c72f0a1 affe37f 81a8217 affe37f c72f0a1 81a8217 c72f0a1 81a8217 affe37f dc31bad 81a8217 affe37f 81a8217 c72f0a1 81a8217 affe37f c72f0a1 affe37f c72f0a1 affe37f dc31bad affe37f dc31bad c72f0a1 dc31bad c72f0a1 affe37f dc31bad affe37f dc31bad affe37f dc31bad affe37f c72f0a1 affe37f c72f0a1 81a8217 c72f0a1 81a8217 c72f0a1 81a8217 c72f0a1 81a8217 c72f0a1 81a8217 c72f0a1 81a8217 c72f0a1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 | /* Saved Routes keep their rail when a record opens beside the fixed map. */
.cg-mapview.cg-app-route-surface {
min-height: 0;
min-width: 0;
box-sizing: border-box;
overflow: hidden;
}
.cg-mapview > .cg-map-stage {
position: relative;
overflow: hidden;
min-width: 0;
}
.cg-mapview.cg-app-route-surface > .cg-map-bar {
flex-shrink: 0;
container: cgtoolbar / inline-size;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
gap: 8px;
height: auto;
min-height: 0;
box-sizing: border-box;
}
.cg-app-route-surface .cg-app-map-name {
order: -1;
min-width: 0;
max-width: 100%;
min-height: 30px;
box-sizing: border-box;
align-items: center;
}
.cg-app-route-surface .cg-app-map-name strong {
max-width: none;
overflow: visible;
white-space: normal;
overflow-wrap: anywhere;
}
.cg-app-route-surface .cg-map-count { order: 2; flex: 0 1 auto; text-align: center; justify-content: center; }
.cg-app-route-surface .cg-map-geo { order: 7; }
.cg-app-route-surface .cg-map-geo .cg-btn {
box-sizing: border-box;
min-height: 28px;
height: auto;
padding: 4px 8px;
font-size: var(--lp-fs-3xs);
}
.cg-app-route-surface .cg-cal-nodate {
order: 6;
margin-left: auto;
padding-block: 0;
color: var(--lp-muted);
background: transparent;
}
.cg-app-route-surface .cg-map-hint { order: 8; margin-left: 0; flex: 0 1 auto; }
.cg-app-route-surface .cg-map-count,
.cg-app-route-surface .cg-cal-nodate,
.cg-app-route-surface .cg-map-hint {
font-size: var(--lp-fs-2xs);
line-height: var(--lp-lh);
}
.cg-app-route-surface .cg-map-bar > span {
min-width: 0;
max-height: none;
overflow: visible;
white-space: normal;
overflow-wrap: anywhere;
min-height: 30px;
display: inline-flex;
align-items: center;
flex-wrap: wrap;
}
/* The App name belongs to the header, while Route actions retain their own state. */
.cg-app-route-surface .cg-route-primary-actions > .cg-app-route-context { display: none; }
.cg-mapview.cg-app-route-surface > .cg-map-stage > .cg-route-nav-panel {
order: -1;
margin-left: 0;
margin-right: 8px;
}
.cg-mapview > .cg-map-stage > .cg-map-frame {
min-height: 0;
overflow: hidden;
}
@media (max-width: 760px) {
.cg-mapview.cg-app-route-surface > .cg-map-stage {
flex-direction: column;
}
.cg-mapview.cg-app-route-surface > .cg-map-stage > .cg-route-popover.cg-route-nav-panel {
flex: 0 0 50%;
width: 100%;
max-height: 420px;
margin: 0 0 8px;
}
}
.cg-app-route-surface .cg-routing-filter-bar,
.cg-app-route-surface .cg-routing-filter-bar > div,
.cg-app-route-surface .cg-routing-filter-bar .cg-map-settings,
.cg-app-route-surface .cg-routing-filter-bar .cg-toolbar,
/* Wrappers whose App controls are absent must not add empty header flex gaps. */
.cg-app-route-surface .cg-routing-filter-bar .cg-toolbar > .cg-tb-rows,
.cg-app-route-surface .cg-routing-filter-bar .cg-toolbar > .cg-tb-related {
display: contents;
}
.cg-app-route-surface .cg-routing-filter-bar .cg-toolbar { container: none; }
/* Counts stay beside the filter before the search yields space on narrow surfaces. */
.cg-mapview.cg-app-route-surface .cg-toolbar > * { order: 0; }
.cg-mapview.cg-app-route-surface .cg-toolbar > .cg-count {
order: 1;
margin-left: 0;
min-width: 0;
max-width: 100%;
white-space: normal;
overflow-wrap: anywhere;
min-height: 30px;
display: inline-flex;
align-items: center;
flex-wrap: wrap;
font-size: var(--lp-fs-2xs);
line-height: var(--lp-lh);
}
.cg-mapview.cg-app-route-surface .cg-toolbar > .cg-search {
order: 3;
margin-left: 0;
max-width: 100%;
}
.cg-mapview.cg-app-route-surface .cg-toolbar > .cg-tb-spacer { order: 4; }
.cg-mapview.cg-app-route-surface .cg-toolbar > .cg-tb-divider { order: 4; }
.cg-mapview.cg-app-route-surface .cg-toolbar > .cg-fullscreen-toggle { order: 5; }
.cg-app-route-surface .cg-search-input { width: 210px; }
.cg-routing-detail {
position: fixed;
inset: 0 0 0 auto;
z-index: var(--cg-z-record);
width: min(380px, 100vw);
display: flex;
flex-direction: column;
box-sizing: border-box;
overflow: hidden;
padding: 12px 8px;
border-left: 1px solid var(--lp-line);
background: var(--lp-panel);
color: var(--lp-ink);
animation: cg-routing-detail-enter var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing) both;
}
.cg-routing-detail > header { flex: 0 0 auto; }
.cg-routing-detail.is-closing {
animation-name: cg-routing-detail-exit;
pointer-events: none;
}
.cg-routing-detail-back {
border: 0;
background: transparent;
font: inherit;
color: var(--lp-blue-deep);
padding: 4px 0;
margin-bottom: 12px;
cursor: pointer;
font-size: var(--lp-fs-2xs);
transition: transform var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing);
}
.cg-routing-detail-back:active { transform: scale(0.97); }
.cg-routing-detail-back:focus-visible {
outline: 2px solid var(--lp-blue-deep);
outline-offset: 2px;
}
.cg-routing-detail h2 {
margin: 0 0 16px;
font-size: var(--lp-fs-sm);
font-weight: 600;
overflow-wrap: anywhere;
}
.cg-routing-detail-fields {
flex: 1 1 auto;
min-height: 0;
margin: 0;
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior-y: contain;
scrollbar-gutter: stable;
}
.cg-routing-detail-fields:focus-visible {
outline: 2px solid var(--lp-blue-deep);
outline-offset: -2px;
}
.cg-routing-detail-field { padding: 12px 0; border-bottom: 1px solid var(--lp-line); }
.cg-routing-detail-field:first-child { padding-top: 0; }
.cg-routing-detail dt { color: var(--lp-muted); font-size: var(--lp-fs-3xs); }
.cg-routing-detail dd {
margin: 4px 0 0;
font-size: var(--lp-fs-2xs);
font-variant-numeric: tabular-nums;
overflow-wrap: anywhere;
}
@keyframes cg-routing-detail-enter {
from { transform: translateX(8px); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}
@keyframes cg-routing-detail-exit {
from { transform: translateX(0); opacity: 1; }
to { transform: translateX(8px); opacity: 0; }
}
.cg-route-panel-scroll:focus-visible {
outline: 2px solid var(--lp-blue-deep);
outline-offset: -2px;
}
.cg-mapview.cg-app-route-surface #cg-route-popover .cg-route-primary-actions {
position: static;
margin: 0;
box-shadow: none;
background: var(--lp-surface);
}
@media (prefers-reduced-motion: reduce) {
.cg-routing-detail-back { transition: none; }
.cg-routing-detail { animation: none; transform: none; opacity: 1; }
}
|