Initial commit - Trekker V2 source
This commit is contained in:
commit
d71faf19e3
65 files changed
+3615
No files matched your search
@@ -0,0 +1,84 @@
|
||||
* { box-sizing: border-box; }
|
||||
html, body { margin: 0; height: 100%; font-family: system-ui, sans-serif; }
|
||||
#map { position: absolute; inset: 0; }
|
||||
|
||||
#sidebar {
|
||||
position: absolute; top: 0; left: 0; bottom: 0; width: 300px;
|
||||
background: rgba(20, 24, 28, 0.94); color: #eee; z-index: 10;
|
||||
padding: 12px; overflow-y: auto; transition: transform 0.2s;
|
||||
}
|
||||
#sidebar.collapsed { transform: translateX(-100%); }
|
||||
#sidebar header { display: flex; align-items: center; justify-content: space-between; }
|
||||
#sidebar h1 { font-size: 20px; margin: 4px 0; }
|
||||
#sidebar h2 { font-size: 13px; text-transform: uppercase; color: #9ab; margin: 14px 0 6px; }
|
||||
#sidebar section label { display: block; margin: 4px 0; font-size: 14px; }
|
||||
#sidebar-toggle {
|
||||
position: absolute; top: 10px; left: 310px; z-index: 11;
|
||||
transition: left 0.2s; background: #14181c; color: #eee;
|
||||
border: none; border-radius: 4px; padding: 6px 10px; cursor: pointer;
|
||||
}
|
||||
#sidebar.collapsed ~ #sidebar-toggle { left: 10px; }
|
||||
|
||||
.sidebar-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
|
||||
button, .button {
|
||||
background: #2d6cdf; color: #fff; border: none; border-radius: 4px;
|
||||
padding: 6px 10px; font-size: 13px; cursor: pointer; text-decoration: none;
|
||||
display: inline-block;
|
||||
}
|
||||
button.danger { background: #c0392b; }
|
||||
button.close {
|
||||
position: absolute; top: 6px; right: 6px; background: transparent;
|
||||
font-size: 20px; color: inherit;
|
||||
}
|
||||
#route-search { width: 100%; padding: 6px; border-radius: 4px; border: none; margin: 4px 0; }
|
||||
|
||||
#route-list, #pack-list { list-style: none; margin: 0; padding: 0; }
|
||||
#route-list li, #pack-list li {
|
||||
padding: 8px; border-radius: 4px; cursor: pointer; font-size: 14px;
|
||||
}
|
||||
#route-list li:hover { background: rgba(255,255,255,0.08); }
|
||||
#route-list li.active { background: rgba(45,108,223,0.35); }
|
||||
.route-sub, .pack-sub { font-size: 12px; color: #9ab; display: block; }
|
||||
|
||||
.badge { font-size: 11px; padding: 2px 8px; border-radius: 10px; }
|
||||
.badge.online { background: #27ae60; }
|
||||
.badge.offline { background: #c0392b; }
|
||||
|
||||
#route-panel {
|
||||
position: absolute; top: 0; right: 0; bottom: 0; width: 360px;
|
||||
background: rgba(20, 24, 28, 0.96); color: #eee; z-index: 10;
|
||||
padding: 16px; overflow-y: auto;
|
||||
}
|
||||
#route-panel h2 { margin: 4px 0; }
|
||||
#route-panel h3 { font-size: 13px; text-transform: uppercase; color: #9ab; }
|
||||
#route-panel label { display: block; margin: 10px 0; font-size: 14px; }
|
||||
#route-panel select { width: 100%; padding: 4px; }
|
||||
.rp-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
|
||||
#rp-segments { list-style: none; padding: 0; font-size: 13px; }
|
||||
#rp-segments li { padding: 6px; border-left: 3px solid #2d6cdf; margin: 4px 0; background: rgba(255,255,255,0.05); }
|
||||
|
||||
.weather-badge {
|
||||
display: inline-block; background: rgba(45,108,223,0.25);
|
||||
border-radius: 6px; padding: 6px 10px; font-size: 13px; margin: 6px 0;
|
||||
}
|
||||
|
||||
#rp-card-output .card {
|
||||
background: rgba(255,255,255,0.06); border-radius: 6px; padding: 10px;
|
||||
margin: 10px 0; font-size: 13px;
|
||||
}
|
||||
#rp-card-output .card h4 { margin: 4px 0; }
|
||||
|
||||
#modal-backdrop {
|
||||
position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 20;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
}
|
||||
.modal {
|
||||
position: relative; background: #1c2228; color: #eee; border-radius: 8px;
|
||||
padding: 20px; width: min(440px, 92vw); max-height: 86vh; overflow-y: auto;
|
||||
}
|
||||
.modal label { display: block; margin: 8px 0; font-size: 14px; }
|
||||
.modal input:not([type="checkbox"]), .modal textarea, .modal select {
|
||||
width: 100%; padding: 6px; border-radius: 4px; border: 1px solid #445;
|
||||
background: #11161b; color: #eee;
|
||||
}
|
||||
.status { font-size: 13px; color: #f1c40f; min-height: 1em; }
|
||||
Reference in new issue
Block a user