шаг 4 завершен

This commit is contained in:
Alisa
2026-06-04 01:30:45 +03:00
parent 62ce8c4d01
commit 238831ad3a
26 changed files with 1703 additions and 70 deletions
+148 -5
View File
@@ -61,6 +61,10 @@ body {
padding: 24px;
}
.primary-link {
font-weight: 700;
}
.start-screen {
width: min(760px, 100%);
padding: 32px;
@@ -191,18 +195,17 @@ a:hover {
.category-list {
display: grid;
gap: 10px;
gap: 8px;
margin: 0;
padding: 0;
list-style: none;
}
.category-list .category-list {
display: flex;
flex-wrap: wrap;
gap: 8px;
display: grid;
gap: 6px;
margin: 8px 0 0;
padding: 0;
padding: 0 0 0 14px;
list-style: none;
}
@@ -211,6 +214,15 @@ a:hover {
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;
@@ -225,6 +237,21 @@ a:hover {
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;
@@ -284,6 +311,15 @@ a:hover {
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;
@@ -317,6 +353,103 @@ a:hover {
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);
@@ -336,4 +469,14 @@ a:hover {
.section-heading {
display: grid;
}
.catalog-layout,
.admin-layout {
grid-template-columns: 1fr;
}
.sticky-panel {
position: static;
max-height: none;
}
}