197 lines
2.8 KiB
CSS
197 lines
2.8 KiB
CSS
/* Shared styling for identity's kiosk pages (register.html, dashboard.html).
|
|
* Same dark, big-touch-target theme as pantry-vision/frontend/style.css — these are
|
|
* sibling kiosk frontends and should read as one system. */
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html, body {
|
|
margin: 0;
|
|
height: 100%;
|
|
background: #101014;
|
|
color: #e8e8ec;
|
|
font-family: sans-serif;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#tabs {
|
|
display: flex;
|
|
height: 84px;
|
|
background: rgba(16, 16, 20, 0.96);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.tab {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 2px;
|
|
background: transparent;
|
|
border: none;
|
|
color: #9a9aa6;
|
|
font-size: 26px;
|
|
}
|
|
|
|
.tab span {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.tab.active {
|
|
color: #e8e8ec;
|
|
background: rgba(110, 168, 254, 0.16);
|
|
}
|
|
|
|
main {
|
|
height: calc(100% - 84px);
|
|
overflow-y: auto;
|
|
padding: 16px;
|
|
}
|
|
|
|
main.no-tabs {
|
|
height: 100%;
|
|
}
|
|
|
|
.panel {
|
|
display: none;
|
|
}
|
|
|
|
.panel.active {
|
|
display: block;
|
|
}
|
|
|
|
.big-btn {
|
|
min-height: 64px;
|
|
min-width: 200px;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
border-radius: 12px;
|
|
border: none;
|
|
color: #101014;
|
|
background: #6ea8fe;
|
|
}
|
|
|
|
.big-btn.secondary {
|
|
background: rgba(255, 255, 255, 0.14);
|
|
color: #e8e8ec;
|
|
}
|
|
|
|
.hint {
|
|
color: #9a9aa6;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.error {
|
|
color: #ff8080;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.card-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-height: 56px;
|
|
padding: 8px 16px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.card-name {
|
|
flex: 1;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.12);
|
|
flex-shrink: 0;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.card-meta {
|
|
font-size: 14px;
|
|
color: #9a9aa6;
|
|
}
|
|
|
|
.status-home {
|
|
color: #7cf0a0;
|
|
}
|
|
|
|
.status-away {
|
|
color: #9a9aa6;
|
|
}
|
|
|
|
.urgent-week {
|
|
background: rgba(255, 200, 80, 0.10);
|
|
}
|
|
.urgent-week .card-meta {
|
|
color: #ffc850;
|
|
}
|
|
|
|
.urgent-soon {
|
|
background: rgba(255, 140, 80, 0.14);
|
|
}
|
|
.urgent-soon .card-meta {
|
|
color: #ff8c50;
|
|
}
|
|
|
|
section.block {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
section.block h2 {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: #9a9aa6;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.weather-hero {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 16px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.weather-temp {
|
|
font-size: 48px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.weather-condition {
|
|
font-size: 18px;
|
|
color: #9a9aa6;
|
|
}
|
|
|
|
.clothing-suggestion {
|
|
font-size: 16px;
|
|
padding: 10px 14px;
|
|
border-radius: 10px;
|
|
background: rgba(110, 168, 254, 0.14);
|
|
display: inline-block;
|
|
}
|