chore: initialize orderPRO with docs, i18n and scss asset pipeline
This commit is contained in:
171
resources/scss/app.scss
Normal file
171
resources/scss/app.scss
Normal file
@@ -0,0 +1,171 @@
|
||||
:root {
|
||||
--c-primary: #6690f4;
|
||||
--c-primary-dark: #3164db;
|
||||
--c-bg: #f4f6f9;
|
||||
--c-surface: #ffffff;
|
||||
--c-text: #4e5e6a;
|
||||
--c-text-strong: #2d3748;
|
||||
--c-muted: #718096;
|
||||
--c-border: #e2e8f0;
|
||||
--c-danger: #cc0000;
|
||||
--shadow-card: 0 1px 4px rgba(0, 0, 0, 0.06);
|
||||
--focus-ring: 0 0 0 3px rgba(102, 144, 244, 0.15);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Roboto", "Segoe UI", sans-serif;
|
||||
font-size: 14px;
|
||||
color: var(--c-text);
|
||||
background: var(--c-bg);
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--c-primary);
|
||||
}
|
||||
|
||||
.topbar {
|
||||
height: 56px;
|
||||
border-bottom: 1px solid var(--c-border);
|
||||
background: var(--c-surface);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 20px;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.brand {
|
||||
font-size: 22px;
|
||||
font-weight: 300;
|
||||
letter-spacing: -0.02em;
|
||||
color: var(--c-text-strong);
|
||||
}
|
||||
|
||||
.brand strong {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.logout-btn {
|
||||
min-height: 38px;
|
||||
border: 1px solid var(--c-border);
|
||||
border-radius: 8px;
|
||||
padding: 0 14px;
|
||||
font: inherit;
|
||||
font-weight: 600;
|
||||
color: var(--c-text-strong);
|
||||
background: var(--c-surface);
|
||||
cursor: pointer;
|
||||
transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.logout-btn:hover {
|
||||
border-color: #cbd5e0;
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.logout-btn:focus-visible {
|
||||
outline: none;
|
||||
box-shadow: var(--focus-ring);
|
||||
border-color: var(--c-primary);
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1120px;
|
||||
margin: 24px auto;
|
||||
padding: 0 18px 24px;
|
||||
}
|
||||
|
||||
.card {
|
||||
background: var(--c-surface);
|
||||
border-radius: 10px;
|
||||
box-shadow: var(--shadow-card);
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.card h1 {
|
||||
margin: 0 0 10px;
|
||||
color: var(--c-text-strong);
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.muted {
|
||||
color: var(--c-muted);
|
||||
}
|
||||
|
||||
.accent {
|
||||
color: var(--c-primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.btn {
|
||||
min-height: 38px;
|
||||
padding: 8px 16px;
|
||||
border: 0;
|
||||
border-radius: 8px;
|
||||
color: #ffffff;
|
||||
background: var(--c-primary);
|
||||
font: inherit;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s ease;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
background: var(--c-primary-dark);
|
||||
}
|
||||
|
||||
.btn:focus-visible {
|
||||
outline: none;
|
||||
box-shadow: var(--focus-ring);
|
||||
}
|
||||
|
||||
.form-control {
|
||||
width: 100%;
|
||||
min-height: 38px;
|
||||
border: 1px solid var(--c-border);
|
||||
border-radius: 8px;
|
||||
padding: 7px 12px;
|
||||
font: inherit;
|
||||
color: var(--c-text-strong);
|
||||
background: #ffffff;
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
outline: none;
|
||||
border-color: var(--c-primary);
|
||||
box-shadow: var(--focus-ring);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.topbar {
|
||||
padding: 0 14px;
|
||||
}
|
||||
|
||||
.brand {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.container {
|
||||
margin-top: 16px;
|
||||
padding: 0 14px 18px;
|
||||
}
|
||||
|
||||
.card {
|
||||
padding: 18px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user