- Rework org and store UI state modules (rename/move store/getter files, add runtime and bridge wiring) - Update store UI components and page structure (navbar/cart split, new StoreView flow) - Apply broad markdown/YAML/HTML/CSS/JS formatting cleanup across docs, templates, and workflows
193 lines
3.6 KiB
CSS
193 lines
3.6 KiB
CSS
:root {
|
|
--bg-app: #fdfcf8;
|
|
--bg-surface: #ffffff;
|
|
--bg-surface-hover: #f1f5f9;
|
|
--primary: #475569;
|
|
--primary-hover: #1e293b;
|
|
--text-main: #1f2937;
|
|
--text-muted: #64748b;
|
|
--text-inverse: #f8fafc;
|
|
--border: #e2e8f0;
|
|
--radius: 8px;
|
|
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
--footer-bg: #1e293b;
|
|
}
|
|
|
|
body {
|
|
font-family:
|
|
"Inter",
|
|
system-ui,
|
|
-apple-system,
|
|
sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
color: var(--text-main);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
#app {
|
|
min-height: 100vh;
|
|
}
|
|
|
|
main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
padding: 3rem 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.container {
|
|
max-width: 800px;
|
|
width: 100%;
|
|
background: #f1f5f9;
|
|
margin: 0 auto;
|
|
padding: 2rem;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Header */
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 3rem;
|
|
padding-bottom: 2rem;
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
h1 {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.5rem;
|
|
letter-spacing: -0.025em;
|
|
color: var(--primary-hover);
|
|
}
|
|
|
|
p {
|
|
color: var(--text-muted);
|
|
font-size: 1.1rem;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
/* Cards */
|
|
.card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 2rem;
|
|
margin-bottom: 2rem;
|
|
box-shadow: var(--shadow);
|
|
text-align: center;
|
|
|
|
h2 {
|
|
margin-top: 0;
|
|
font-size: 1.8rem;
|
|
color: var(--primary-hover);
|
|
}
|
|
}
|
|
|
|
/* PIN Display */
|
|
.pin-display {
|
|
font-size: 2.5rem;
|
|
letter-spacing: 0.5rem;
|
|
text-align: center;
|
|
margin-bottom: 2rem;
|
|
font-family: monospace;
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* Numpad */
|
|
.numpad {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 1rem;
|
|
max-width: 300px;
|
|
margin: 0 auto;
|
|
|
|
button {
|
|
padding: 1.5rem;
|
|
font-size: 1.5rem;
|
|
background: var(--bg-surface);
|
|
color: var(--text-main);
|
|
border: 1px solid var(--border);
|
|
box-shadow: var(--shadow);
|
|
margin: 0;
|
|
|
|
&:hover {
|
|
background: var(--primary);
|
|
color: white;
|
|
border-color: var(--primary);
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Kiosk Content */
|
|
.kiosk-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Kiosk Grid */
|
|
.kiosk-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 1.5rem;
|
|
margin-top: 2rem;
|
|
width: 100%;
|
|
max-width: 600px;
|
|
}
|
|
|
|
/* Kiosk Menu Stack */
|
|
.kiosk-menu-stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
margin-top: 2rem;
|
|
width: 100%;
|
|
max-width: 600px;
|
|
}
|
|
|
|
/* Kiosk Button */
|
|
.kiosk-btn {
|
|
padding: 2rem;
|
|
font-size: 1.25rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
height: 100%;
|
|
min-height: 120px;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Buttons */
|
|
button {
|
|
background: var(--primary);
|
|
color: white;
|
|
border: none;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: var(--radius);
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
font-family: inherit;
|
|
transition: all 0.2s ease;
|
|
|
|
&:hover {
|
|
background: var(--primary-hover);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
|
|
}
|
|
|
|
& + & {
|
|
margin-left: 1rem;
|
|
}
|
|
}
|