add global styling settings and refresh
This commit is contained in:
1 parent
ab9dfff33f
commit
41fa7ddf73
25 files changed
+2306
-269
No files matched your search
@@ -495,3 +495,89 @@
|
||||
}
|
||||
|
||||
|
||||
/* --- Design System Refinement Start --- */
|
||||
|
||||
.shop-drawer {
|
||||
width: min(560px, 100%);
|
||||
min-width: 0;
|
||||
padding: clamp(1rem, 3vw, 1.4rem);
|
||||
box-shadow: var(--theme-shadow);
|
||||
}
|
||||
|
||||
.drawer-top button,
|
||||
.cart-toast-close,
|
||||
.cart-controls button,
|
||||
.subscription-row button {
|
||||
min-width: 44px;
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.drawer-section,
|
||||
.cart-item,
|
||||
.order-card,
|
||||
.read-block,
|
||||
.status-box,
|
||||
.requirement-row,
|
||||
.drawer-error,
|
||||
.payment-card,
|
||||
.pref-toggle,
|
||||
.subscription-row,
|
||||
.totals-box .discount-explainer,
|
||||
.cart-toast,
|
||||
.shop-field input {
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.drawer-primary,
|
||||
.drawer-secondary,
|
||||
.cart-remove,
|
||||
.cart-controls,
|
||||
.cart-controls button,
|
||||
.cart-toast button,
|
||||
.subscription-row button {
|
||||
border-radius: 999px;
|
||||
}
|
||||
|
||||
.drawer-primary,
|
||||
.cart-toast > button:last-child {
|
||||
min-height: 48px;
|
||||
}
|
||||
|
||||
.drawer-primary,
|
||||
.drawer-secondary,
|
||||
.cart-remove,
|
||||
.payment-card,
|
||||
.pref-toggle,
|
||||
.subscription-row button {
|
||||
transition:
|
||||
transform var(--duration-med) var(--ease-out),
|
||||
border-color var(--duration-med) var(--ease-out),
|
||||
background-color var(--duration-med) var(--ease-out),
|
||||
box-shadow var(--duration-med) var(--ease-out);
|
||||
}
|
||||
|
||||
.drawer-primary:hover:not(:disabled),
|
||||
.drawer-secondary:hover,
|
||||
.cart-remove:hover,
|
||||
.payment-card:hover,
|
||||
.pref-toggle:hover,
|
||||
.subscription-row button:hover {
|
||||
transform: translateY(-1px);
|
||||
border-color: rgba(var(--theme-accent-rgb) / 0.55);
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.shop-drawer {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.cart-toast {
|
||||
right: var(--page-x);
|
||||
bottom: var(--page-x);
|
||||
width: calc(100vw - (var(--page-x) * 2));
|
||||
}
|
||||
}
|
||||
|
||||
/* --- Design System Refinement End --- */
|
||||
|
||||
|
||||
Reference in new issue
Block a user