very basic UI
This commit is contained in:
66
style.css
Normal file
66
style.css
Normal file
@@ -0,0 +1,66 @@
|
||||
body {
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
#ui-container {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: 20px;
|
||||
width: 280px;
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
backdrop-filter: blur(10px);
|
||||
border-radius: 12px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 4px 20px rgba(0,0,0,0.15);
|
||||
user-select: none;
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.header h2 { margin: 0 0 5px 0; font-size: 18px; color: #333; }
|
||||
.header p { margin: 0; font-size: 12px; color: #666; }
|
||||
|
||||
.section { margin-top: 20px; border-top: 1px solid #eee; padding-top: 15px; }
|
||||
.section h3 { margin: 0 0 10px 0; font-size: 14px; text-transform: uppercase; color: #888; letter-spacing: 0.5px; }
|
||||
|
||||
.stat-row { display: flex; justify-content: space-between; font-weight: bold; margin-bottom: 10px; font-size: 16px; }
|
||||
|
||||
.button-row { display: flex; gap: 10px; }
|
||||
button {
|
||||
flex: 1;
|
||||
padding: 8px 12px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
button:hover { opacity: 0.8; }
|
||||
|
||||
.primary { background-color: #2563EB; color: white; }
|
||||
.danger { background-color: #ef4444; color: white; }
|
||||
.secondary { background-color: #e5e7eb; color: #374151; }
|
||||
|
||||
/* Route List */
|
||||
#route-list { list-style: none; padding: 0; margin: 0; }
|
||||
#route-list li {
|
||||
background: #f3f4f6;
|
||||
margin-bottom: 8px;
|
||||
padding: 10px;
|
||||
border-radius: 6px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-size: 14px;
|
||||
}
|
||||
#route-list li button {
|
||||
flex: 0;
|
||||
margin-left: 10px;
|
||||
padding: 4px 8px;
|
||||
font-size: 12px;
|
||||
background: #fee2e2;
|
||||
color: #991b1b;
|
||||
}
|
||||
Reference in New Issue
Block a user