483 lines
7.3 KiB
CSS
483 lines
7.3 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
font-family: Arial, sans-serif;
|
|
color: #18201b;
|
|
background: #f7f8f4;
|
|
}
|
|
|
|
.site-utility {
|
|
width: min(1080px, calc(100% - 48px));
|
|
display: flex;
|
|
gap: 14px;
|
|
align-items: center;
|
|
margin: 18px auto 0;
|
|
}
|
|
|
|
.back-button {
|
|
appearance: none;
|
|
border: 1px solid #cfd8c9;
|
|
border-radius: 8px;
|
|
padding: 10px 12px;
|
|
font: inherit;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #1d5d3b;
|
|
background: #ffffff;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.back-button:hover {
|
|
border-color: #9fb194;
|
|
background: #f5f8f1;
|
|
}
|
|
|
|
.breadcrumbs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 7px;
|
|
align-items: center;
|
|
min-width: 0;
|
|
font-size: 14px;
|
|
color: #687466;
|
|
}
|
|
|
|
.breadcrumbs a {
|
|
color: #1d5d3b;
|
|
}
|
|
|
|
.breadcrumbs-separator {
|
|
color: #a3ad9d;
|
|
}
|
|
|
|
.page {
|
|
min-height: 100vh;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 24px;
|
|
}
|
|
|
|
.primary-link {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.start-screen {
|
|
width: min(760px, 100%);
|
|
padding: 32px;
|
|
border: 1px solid #d9dfd3;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.start-screen.wide {
|
|
width: min(1080px, 100%);
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 8px;
|
|
font-size: 14px;
|
|
color: #687466;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0 0 16px;
|
|
font-size: 40px;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
p {
|
|
font-size: 18px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
h2 {
|
|
margin: 0 0 16px;
|
|
font-size: 22px;
|
|
}
|
|
|
|
h3 {
|
|
margin: 0 0 8px;
|
|
font-size: 17px;
|
|
}
|
|
|
|
a {
|
|
color: #1d5d3b;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.status-box {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
margin-top: 24px;
|
|
padding: 14px 16px;
|
|
border-radius: 8px;
|
|
background: #eef4ea;
|
|
}
|
|
|
|
.status-box.success {
|
|
background: #e8f5ec;
|
|
color: #145a2a;
|
|
}
|
|
|
|
.status-box.danger {
|
|
background: #fff0ee;
|
|
color: #8a1f11;
|
|
}
|
|
|
|
.primary-button {
|
|
appearance: none;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
padding: 14px 18px;
|
|
margin-top: 18px;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: #ffffff;
|
|
background: #1d5d3b;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.primary-button:hover {
|
|
background: #16492e;
|
|
}
|
|
|
|
.content-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 18px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.panel {
|
|
padding: 20px;
|
|
border: 1px solid #dfe5da;
|
|
border-radius: 8px;
|
|
background: #fbfcf8;
|
|
}
|
|
|
|
.products-panel {
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.section-heading {
|
|
display: flex;
|
|
gap: 16px;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.section-heading .eyebrow,
|
|
.section-heading h2 {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.subtle-link {
|
|
flex: 0 0 auto;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.muted {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
color: #687466;
|
|
}
|
|
|
|
.category-list {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.category-list .category-list {
|
|
display: grid;
|
|
gap: 6px;
|
|
margin: 8px 0 0;
|
|
padding: 0 0 0 14px;
|
|
list-style: none;
|
|
}
|
|
|
|
.category-list li {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.category-list li.is-current > a,
|
|
.category-list a.is-current-link {
|
|
display: inline-block;
|
|
border-radius: 6px;
|
|
padding: 3px 6px;
|
|
color: #ffffff;
|
|
background: #1d5d3b;
|
|
}
|
|
|
|
.category-list.depth-1 li {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.category-list.depth-2 {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.category-list.depth-2 li {
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.category-details summary {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.category-details summary a {
|
|
min-width: 0;
|
|
}
|
|
|
|
.category-details summary::marker {
|
|
color: #7a856f;
|
|
}
|
|
|
|
.settings-list {
|
|
display: grid;
|
|
gap: 12px;
|
|
margin: 0;
|
|
}
|
|
|
|
.settings-list div {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 12px;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.settings-list dt {
|
|
color: #687466;
|
|
}
|
|
|
|
.settings-list dd {
|
|
margin: 0;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.product-grid,
|
|
.admin-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.product-card,
|
|
.admin-tile {
|
|
min-height: 96px;
|
|
padding: 16px;
|
|
border: 1px solid #dfe5da;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.product-card p {
|
|
margin: 0 0 10px;
|
|
font-size: 14px;
|
|
color: #687466;
|
|
}
|
|
|
|
.product-card .product-category {
|
|
margin-bottom: 8px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
color: #7a856f;
|
|
}
|
|
|
|
.price-line {
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
font-size: 14px;
|
|
color: #2d372f;
|
|
}
|
|
|
|
.old-price {
|
|
display: inline-block;
|
|
margin-right: 8px;
|
|
font-size: 13px;
|
|
font-weight: 400;
|
|
color: #8b9485;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.price-tiers {
|
|
display: grid;
|
|
gap: 6px;
|
|
margin: 12px 0 0;
|
|
padding: 10px 0 0;
|
|
border-top: 1px solid #e3e8de;
|
|
list-style: none;
|
|
}
|
|
|
|
.price-tiers li {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 8px;
|
|
align-items: baseline;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.price-tiers span {
|
|
color: #687466;
|
|
}
|
|
|
|
.price-tiers strong {
|
|
color: #1d5d3b;
|
|
}
|
|
|
|
.admin-tile {
|
|
display: grid;
|
|
place-items: center;
|
|
min-height: 72px;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
}
|
|
|
|
.catalog-layout,
|
|
.admin-layout {
|
|
width: min(1180px, 100%);
|
|
display: grid;
|
|
grid-template-columns: 320px minmax(0, 1fr);
|
|
gap: 20px;
|
|
align-items: start;
|
|
}
|
|
|
|
.catalog-sidebar,
|
|
.catalog-content {
|
|
min-width: 0;
|
|
}
|
|
|
|
.sticky-panel {
|
|
position: sticky;
|
|
top: 18px;
|
|
max-height: calc(100vh - 36px);
|
|
overflow: auto;
|
|
}
|
|
|
|
.catalog-heading {
|
|
padding: 24px;
|
|
margin-bottom: 18px;
|
|
border: 1px solid #dfe5da;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.catalog-heading h1 {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.catalog-product-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
}
|
|
|
|
.admin-form {
|
|
display: grid;
|
|
gap: 14px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.admin-form label {
|
|
display: grid;
|
|
gap: 6px;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #394437;
|
|
}
|
|
|
|
.admin-form input,
|
|
.admin-form select,
|
|
.admin-form textarea {
|
|
width: 100%;
|
|
border: 1px solid #cfd8c9;
|
|
border-radius: 8px;
|
|
padding: 11px 12px;
|
|
font: inherit;
|
|
font-size: 15px;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.admin-form textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
.checkbox-label {
|
|
display: flex !important;
|
|
grid-template-columns: none;
|
|
gap: 8px !important;
|
|
align-items: center;
|
|
}
|
|
|
|
.checkbox-label input {
|
|
width: auto;
|
|
}
|
|
|
|
.admin-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.admin-list div {
|
|
display: grid;
|
|
gap: 4px;
|
|
padding: 12px;
|
|
border: 1px solid #dfe5da;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.admin-list span {
|
|
font-size: 13px;
|
|
color: #687466;
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.site-utility {
|
|
width: calc(100% - 32px);
|
|
display: grid;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.content-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.settings-list div {
|
|
grid-template-columns: 1fr;
|
|
gap: 2px;
|
|
}
|
|
|
|
.section-heading {
|
|
display: grid;
|
|
}
|
|
|
|
.catalog-layout,
|
|
.admin-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.sticky-panel {
|
|
position: static;
|
|
max-height: none;
|
|
}
|
|
}
|