Some checks failed
Architecture Governance / architecture (push) Has been cancelled
- fix save-bar buttons to use shared app-button primitive (were unstyled) - fix platform-nav-group border/radius via structural selectors, drop dead -middle/-right classes - storefront widgets (hero/categories/product-carousel/footer-nav): design tokens, hover/focus states, 44px touch targets, entrance motion, reduced- motion guards - admin dashboard cards + quick-actions: hover lift, entrance animation - admin product-form gallery remove badge: hover/focus + expanded hit area - project-editor section.shared button styles: hover/active/focus/disabled states + reduced-motion; section-switch fade-in motion Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
60 lines
1.4 KiB
SCSS
60 lines
1.4 KiB
SCSS
.dashboard-quick-actions__title {
|
|
margin: 0 0 12px;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--text-primary, #1e3c38);
|
|
}
|
|
|
|
.dashboard-quick-actions__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
.dashboard-quick-actions__item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
min-height: 56px;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--border-color, #d3dad9);
|
|
border-radius: var(--radius-md, 12px);
|
|
background: var(--bg-primary, #fff);
|
|
color: var(--text-primary, #1e3c38);
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
|
|
}
|
|
|
|
.dashboard-quick-actions__item:hover,
|
|
.dashboard-quick-actions__item:focus-visible {
|
|
border-color: var(--primary-color, #497671);
|
|
box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.1));
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.dashboard-quick-actions__item:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.dashboard-quick-actions__item {
|
|
transition: none;
|
|
}
|
|
|
|
.dashboard-quick-actions__item:hover,
|
|
.dashboard-quick-actions__item:focus-visible {
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 960px) {
|
|
.dashboard-quick-actions__grid { grid-template-columns: repeat(2, 1fr); }
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.dashboard-quick-actions__grid { grid-template-columns: 1fr; }
|
|
}
|