updateweb
This commit is contained in:
458
website/public/assets/css/navbar.css
Normal file
458
website/public/assets/css/navbar.css
Normal file
@@ -0,0 +1,458 @@
|
||||
/* Import Amsterdam Three Font */
|
||||
@font-face {
|
||||
font-family: 'Amsterdam Three';
|
||||
src: url('/assets/fonts/AmsterdamThreeSlant-axaym.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
/* Modern Navbar Styles */
|
||||
.modern-navbar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
background: #FFD0D0;
|
||||
box-shadow: none;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
}
|
||||
|
||||
.navbar-wrapper {
|
||||
max-width: 1400px;
|
||||
margin: 0 auto;
|
||||
padding: 0 24px;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: space-between !important;
|
||||
height: 72px;
|
||||
}
|
||||
|
||||
/* Logo Section */
|
||||
.navbar-brand {
|
||||
flex-shrink: 0 !important;
|
||||
min-width: 240px !important;
|
||||
margin-right: 48px !important;
|
||||
}
|
||||
|
||||
.brand-link {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 20px !important;
|
||||
text-decoration: none;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
|
||||
.brand-link:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
object-fit: contain;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.brand-name {
|
||||
font-family: 'Amsterdam Three', cursive;
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
color: #202023;
|
||||
letter-spacing: 0.5px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Main Navigation */
|
||||
.navbar-menu {
|
||||
flex: 1 !important;
|
||||
display: flex !important;
|
||||
justify-content: center !important;
|
||||
padding: 0 60px !important;
|
||||
min-width: 0 !important;
|
||||
}
|
||||
|
||||
.nav-menu-list {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 8px !important;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
display: block;
|
||||
padding: 10px 20px;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
color: #202023;
|
||||
text-decoration: none;
|
||||
border-radius: 6px;
|
||||
transition: all 0.2s;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
|
||||
.nav-link:hover,
|
||||
.nav-link.active {
|
||||
color: #202023;
|
||||
background: #FCB1D8;
|
||||
}
|
||||
|
||||
/* Right Actions */
|
||||
.navbar-actions {
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
gap: 16px !important;
|
||||
flex-shrink: 0 !important;
|
||||
min-width: 120px !important;
|
||||
justify-content: flex-end !important;
|
||||
margin-left: 48px !important;
|
||||
}
|
||||
|
||||
.action-item {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.action-btn {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: #202023;
|
||||
font-size: 22px;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.action-btn:hover {
|
||||
background: #FFEBEB;
|
||||
color: #202023;
|
||||
}
|
||||
|
||||
.action-badge {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
padding: 0 5px;
|
||||
background: #FCB1D8;
|
||||
color: #202023;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
border-radius: 9px;
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.action-badge.show {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
/* Dropdown Styles */
|
||||
.action-dropdown {
|
||||
position: absolute;
|
||||
top: calc(100% + 8px);
|
||||
right: 0;
|
||||
width: 380px;
|
||||
max-height: 500px;
|
||||
background: white;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
z-index: 1001;
|
||||
}
|
||||
|
||||
.action-dropdown.active {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.dropdown-head {
|
||||
padding: 20px;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.dropdown-head h3 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: #1a1a1a;
|
||||
}
|
||||
|
||||
.dropdown-close {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: #6b7280;
|
||||
font-size: 18px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.dropdown-close:hover {
|
||||
background: #f3f4f6;
|
||||
color: #1a1a1a;
|
||||
}
|
||||
|
||||
.dropdown-body {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 16px;
|
||||
max-height: 350px;
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
text-align: center;
|
||||
padding: 40px 20px;
|
||||
color: #9ca3af;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.dropdown-foot {
|
||||
padding: 16px 20px;
|
||||
border-top: 1px solid #e5e5e5;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.cart-summary {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.summary-label {
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
color: #6b7280;
|
||||
}
|
||||
|
||||
.summary-value {
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
color: #1a1a1a;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
.btn-primary-full,
|
||||
.btn-outline,
|
||||
.btn-text {
|
||||
display: block;
|
||||
text-align: center;
|
||||
padding: 12px 20px;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
border-radius: 8px;
|
||||
transition: all 0.2s;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.btn-primary-full {
|
||||
background: #6b46c1;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-primary-full:hover {
|
||||
background: #5936a3;
|
||||
}
|
||||
|
||||
.btn-outline {
|
||||
background: transparent;
|
||||
color: #6b46c1;
|
||||
border: 1px solid #6b46c1;
|
||||
}
|
||||
|
||||
.btn-outline:hover {
|
||||
background: #f3f0ff;
|
||||
}
|
||||
|
||||
.btn-text {
|
||||
background: transparent;
|
||||
color: #6b7280;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.btn-text:hover {
|
||||
color: #1a1a1a;
|
||||
}
|
||||
|
||||
/* Mobile Toggle */
|
||||
.mobile-toggle {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
padding: 10px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
border-radius: 6px;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.mobile-toggle:hover {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
.toggle-line {
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background: #4a4a4a;
|
||||
border-radius: 2px;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
/* Mobile Menu */
|
||||
.mobile-menu {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: -100%;
|
||||
width: 320px;
|
||||
height: 100vh;
|
||||
background: white;
|
||||
box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
|
||||
z-index: 1002;
|
||||
transition: right 0.3s ease;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.mobile-menu.active {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.mobile-menu-header {
|
||||
padding: 24px;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.mobile-brand {
|
||||
font-family: 'Amsterdam Three', cursive;
|
||||
font-size: 22px;
|
||||
font-weight: 400;
|
||||
color: #1a1a1a;
|
||||
}
|
||||
|
||||
.mobile-close {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: #6b7280;
|
||||
font-size: 20px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.mobile-close:hover {
|
||||
background: #f3f4f6;
|
||||
}
|
||||
|
||||
.mobile-menu-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.mobile-menu-list li {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.mobile-link {
|
||||
display: block;
|
||||
padding: 14px 16px;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
color: #4a4a4a;
|
||||
text-decoration: none;
|
||||
border-radius: 8px;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.mobile-link:hover,
|
||||
.mobile-link.active {
|
||||
color: #6b46c1;
|
||||
background: #f3f0ff;
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
@media (max-width: 1024px) {
|
||||
.navbar-menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mobile-toggle {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
min-width: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.navbar-actions {
|
||||
margin-left: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.navbar-wrapper {
|
||||
padding: 0 16px;
|
||||
height: 64px;
|
||||
}
|
||||
|
||||
.brand-name {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
min-width: auto;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.navbar-actions {
|
||||
margin-left: 12px;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.action-dropdown {
|
||||
width: 100vw;
|
||||
max-width: 380px;
|
||||
right: -16px;
|
||||
}
|
||||
}
|
||||
439
website/public/assets/css/responsive-enhanced.css
Normal file
439
website/public/assets/css/responsive-enhanced.css
Normal file
@@ -0,0 +1,439 @@
|
||||
/**
|
||||
* Enhanced Responsive Utilities
|
||||
* Comprehensive responsive design system with accessibility
|
||||
*/
|
||||
|
||||
/* ========================================
|
||||
LOADING STATES
|
||||
======================================== */
|
||||
.loading-state {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 4px solid #f3f3f3;
|
||||
border-top: 4px solid #667eea;
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
PRODUCT GRID RESPONSIVE
|
||||
======================================== */
|
||||
.products-grid {
|
||||
display: grid;
|
||||
gap: 24px;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.products-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.products-grid {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.products-grid {
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1280px) {
|
||||
.products-grid {
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
PRODUCT CARD RESPONSIVE
|
||||
======================================== */
|
||||
.product-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
background: white;
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 2px 8px rgba(252, 177, 216, 0.15);
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.product-card:hover {
|
||||
box-shadow: 0 4px 16px rgba(252, 177, 216, 0.25);
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
|
||||
.product-image {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
aspect-ratio: 1;
|
||||
overflow: hidden;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.product-image img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.product-card:hover .product-image img {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.product-info {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 16px;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.product-info h3 {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
line-height: 1.4;
|
||||
color: #202023;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
.product-description {
|
||||
font-size: 14px;
|
||||
color: #202023;
|
||||
opacity: 0.7;
|
||||
margin: 0;
|
||||
line-height: 1.5;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
flex: 1;
|
||||
min-height: 42px;
|
||||
}
|
||||
|
||||
.product-card .price {
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
color: #FCB1D8;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.product-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
padding: 0 16px 16px 16px;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.product-actions .btn {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
padding: 12px 16px;
|
||||
background: #FCB1D8;
|
||||
color: #202023;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.product-actions .btn:hover {
|
||||
background: #F6CCDE;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.product-actions .btn i {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
@media (max-width: 639px) {
|
||||
.product-info h3 {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.product-description {
|
||||
font-size: 13px;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.product-card .price {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
NAVBAR RESPONSIVE
|
||||
======================================== */
|
||||
.modern-navbar {
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.modern-navbar {
|
||||
padding: 0 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.modern-navbar {
|
||||
padding: 0 60px;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.navbar-brand {
|
||||
min-width: 150px;
|
||||
}
|
||||
|
||||
.navbar-menu {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
MOBILE MENU
|
||||
======================================== */
|
||||
.mobile-menu {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 280px;
|
||||
height: 100vh;
|
||||
background: white;
|
||||
z-index: 9999;
|
||||
transition: left 0.3s ease;
|
||||
overflow-y: auto;
|
||||
box-shadow: 2px 0 10px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.mobile-menu.active {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.mobile-menu-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: rgba(0,0,0,0.5);
|
||||
z-index: 9998;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity 0.3s ease, visibility 0.3s ease;
|
||||
}
|
||||
|
||||
.mobile-menu.active ~ .mobile-menu-overlay,
|
||||
.mobile-menu-overlay.active {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.mobile-menu-toggle {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
BUTTONS RESPONSIVE
|
||||
======================================== */
|
||||
.btn {
|
||||
padding: 10px 20px;
|
||||
font-size: 14px;
|
||||
border-radius: 6px;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.btn-small {
|
||||
padding: 8px 16px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.btn-icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
padding: 0;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
@media (max-width: 639px) {
|
||||
.btn {
|
||||
padding: 8px 16px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.btn-small {
|
||||
padding: 6px 12px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.btn-icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
UTILITY CLASSES
|
||||
======================================== */
|
||||
.container {
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.container {
|
||||
padding: 0 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.container {
|
||||
padding: 0 60px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Text utilities */
|
||||
.text-center { text-align: center; }
|
||||
.text-left { text-align: left; }
|
||||
.text-right { text-align: right; }
|
||||
|
||||
/* Display utilities */
|
||||
.hidden { display: none !important; }
|
||||
.block { display: block !important; }
|
||||
.inline-block { display: inline-block !important; }
|
||||
.flex { display: flex !important; }
|
||||
.inline-flex { display: inline-flex !important; }
|
||||
|
||||
/* Responsive visibility */
|
||||
@media (max-width: 639px) {
|
||||
.hidden-mobile { display: none !important; }
|
||||
}
|
||||
|
||||
@media (min-width: 640px) and (max-width: 767px) {
|
||||
.hidden-tablet { display: none !important; }
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.hidden-desktop { display: none !important; }
|
||||
}
|
||||
|
||||
@media (max-width: 639px) {
|
||||
.visible-mobile { display: block !important; }
|
||||
}
|
||||
|
||||
@media (min-width: 640px) and (max-width: 767px) {
|
||||
.visible-tablet { display: block !important; }
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.visible-desktop { display: block !important; }
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
ACCESSIBILITY
|
||||
======================================== */
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0,0,0,0);
|
||||
white-space: nowrap;
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
.skip-link {
|
||||
position: fixed;
|
||||
top: -100px;
|
||||
left: 10px;
|
||||
background: #667eea;
|
||||
color: white;
|
||||
padding: 10px 20px;
|
||||
border-radius: 4px;
|
||||
text-decoration: none;
|
||||
z-index: 10001;
|
||||
transition: top 0.2s;
|
||||
}
|
||||
|
||||
.skip-link:focus {
|
||||
top: 10px;
|
||||
outline: 2px solid white;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
*:focus-visible {
|
||||
outline: 2px solid #667eea;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
button:focus-visible,
|
||||
a:focus-visible {
|
||||
outline: 2px solid #667eea;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
PRINT STYLES
|
||||
======================================== */
|
||||
@media print {
|
||||
.modern-navbar,
|
||||
.mobile-menu,
|
||||
.notification-container,
|
||||
.btn,
|
||||
footer {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: 12pt;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.product-card {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
}
|
||||
462
website/public/assets/css/theme-colors.css
Normal file
462
website/public/assets/css/theme-colors.css
Normal file
@@ -0,0 +1,462 @@
|
||||
/* Sky Art Shop - Color Palette */
|
||||
:root {
|
||||
/* Primary Color Palette */
|
||||
--color-bg-main: #FFEBEB; /* Main background - light pink */
|
||||
--color-bg-secondary: #FFD0D0; /* Secondary sections, navbar - medium pink */
|
||||
--color-bg-promotion: #F6CCDE; /* Promotional sections - rosy pink */
|
||||
--color-accent: #FCB1D8; /* Buttons, CTAs, separators - bright pink */
|
||||
--color-text-main: #202023; /* Main text color - dark charcoal */
|
||||
--color-text-light: #ffffff; /* Light text for dark backgrounds */
|
||||
|
||||
/* Gradients */
|
||||
--gradient-primary: linear-gradient(135deg, #FFD0D0 0%, #FCB1D8 100%);
|
||||
--gradient-soft: linear-gradient(135deg, #FFEBEB 0%, #FFD0D0 100%);
|
||||
--gradient-promo: linear-gradient(135deg, #F6CCDE 0%, #FCB1D8 100%);
|
||||
--gradient-hero: linear-gradient(135deg, #FFD0D0 0%, #F6CCDE 50%, #FCB1D8 100%);
|
||||
|
||||
/* Button States */
|
||||
--btn-primary-bg: #FCB1D8;
|
||||
--btn-primary-hover: #F6CCDE;
|
||||
--btn-primary-text: #202023;
|
||||
|
||||
/* Shadows */
|
||||
--shadow-sm: 0 2px 8px rgba(252, 177, 216, 0.15);
|
||||
--shadow-md: 0 4px 16px rgba(252, 177, 216, 0.2);
|
||||
--shadow-lg: 0 8px 24px rgba(252, 177, 216, 0.25);
|
||||
}
|
||||
|
||||
/* Global Body Styles */
|
||||
body {
|
||||
background-color: var(--color-bg-main) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
}
|
||||
|
||||
/* Typography - All headings use main text color */
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
/* Ensure all paragraphs and text use main color */
|
||||
p, span, div, li, td, th, label {
|
||||
color: var(--color-text-main);
|
||||
}
|
||||
|
||||
/* Primary Buttons and CTAs */
|
||||
.btn-primary,
|
||||
.action-btn,
|
||||
.modern-btn,
|
||||
.shop-now-btn,
|
||||
.btn,
|
||||
.hero .btn,
|
||||
.cta-btn,
|
||||
button[type="submit"] {
|
||||
background: var(--btn-primary-bg) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
border: none !important;
|
||||
transition: all 0.3s ease !important;
|
||||
font-weight: 600 !important;
|
||||
}
|
||||
|
||||
.btn-primary:hover,
|
||||
.action-btn:hover,
|
||||
.modern-btn:hover,
|
||||
.shop-now-btn:hover,
|
||||
.btn:hover,
|
||||
.hero .btn:hover,
|
||||
.cta-btn:hover,
|
||||
button[type="submit"]:hover {
|
||||
background: var(--btn-primary-hover) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
/* Navigation Bar */
|
||||
.modern-navbar {
|
||||
background: var(--color-bg-secondary) !important;
|
||||
box-shadow: var(--shadow-sm) !important;
|
||||
}
|
||||
|
||||
.brand-name {
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
.nav-link:hover,
|
||||
.nav-link.active {
|
||||
background: var(--color-accent) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
/* Hero Section */
|
||||
.hero {
|
||||
background: #FFEBEB !important;
|
||||
}
|
||||
|
||||
.hero h1,
|
||||
.hero h2,
|
||||
.hero h3 {
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
.hero p {
|
||||
color: var(--color-text-main) !important;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* Sections */
|
||||
.inspiration,
|
||||
.promotion-section,
|
||||
.promo-section,
|
||||
section[id*="promotion"],
|
||||
.featured-section {
|
||||
background: var(--color-bg-promotion) !important;
|
||||
}
|
||||
|
||||
.featured,
|
||||
.features,
|
||||
.about-section {
|
||||
background: var(--color-bg-secondary) !important;
|
||||
}
|
||||
|
||||
/* Section Separators */
|
||||
.section-separator,
|
||||
.divider,
|
||||
hr {
|
||||
border-color: var(--color-accent) !important;
|
||||
background: var(--color-accent) !important;
|
||||
}
|
||||
|
||||
/* Cards and Containers */
|
||||
.card,
|
||||
.product-card,
|
||||
.info-card,
|
||||
.content-card {
|
||||
background: var(--color-text-light) !important;
|
||||
box-shadow: var(--shadow-sm) !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.card:hover,
|
||||
.product-card:hover {
|
||||
box-shadow: var(--shadow-md) !important;
|
||||
}
|
||||
|
||||
/* Card Headings */
|
||||
.card h3,
|
||||
.card h4,
|
||||
.product-card h3,
|
||||
.product-card h4 {
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
footer,
|
||||
.footer {
|
||||
background: var(--color-text-main) !important;
|
||||
color: var(--color-text-light) !important;
|
||||
}
|
||||
|
||||
footer h3,
|
||||
footer h4,
|
||||
footer p,
|
||||
footer span {
|
||||
color: var(--color-text-light) !important;
|
||||
}
|
||||
|
||||
footer a {
|
||||
color: var(--color-text-light) !important;
|
||||
}
|
||||
|
||||
footer a:hover {
|
||||
color: var(--color-accent) !important;
|
||||
}
|
||||
|
||||
/* Badges */
|
||||
.badge,
|
||||
.action-badge,
|
||||
.tag {
|
||||
background: var(--color-accent) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
input,
|
||||
textarea,
|
||||
select {
|
||||
border-color: var(--color-bg-secondary) !important;
|
||||
background: var(--color-text-light) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
input:focus,
|
||||
textarea:focus,
|
||||
select:focus {
|
||||
border-color: var(--color-accent) !important;
|
||||
box-shadow: 0 0 0 3px rgba(252, 177, 216, 0.1) !important;
|
||||
}
|
||||
|
||||
input::placeholder,
|
||||
textarea::placeholder {
|
||||
color: var(--color-text-main);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
a {
|
||||
color: var(--color-text-main);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
/* Contact Gradient Cards */
|
||||
.gradient-card {
|
||||
background: var(--gradient-primary) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
.gradient-card h3,
|
||||
.gradient-card h4,
|
||||
.gradient-card p {
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
.gradient-card i {
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
/* Shipping/Top Banner */
|
||||
.shipping-banner,
|
||||
.top-banner,
|
||||
.promo-banner {
|
||||
background: var(--gradient-promo) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
/* Product Grid */
|
||||
.product-grid {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* Shop Page Backgrounds */
|
||||
.utility-bar {
|
||||
background: var(--color-bg-secondary) !important;
|
||||
border-bottom: 1px solid var(--color-accent) !important;
|
||||
}
|
||||
|
||||
.utility-bar h1 {
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
.utility-bar p {
|
||||
color: var(--color-text-main) !important;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
/* Dropdown Panels */
|
||||
.action-dropdown,
|
||||
.cart-dropdown,
|
||||
.wishlist-dropdown {
|
||||
background: var(--color-text-light) !important;
|
||||
box-shadow: var(--shadow-lg) !important;
|
||||
}
|
||||
|
||||
.dropdown-head {
|
||||
background: var(--color-bg-secondary) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
.dropdown-head h3 {
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
/* Loading States */
|
||||
.skeleton,
|
||||
.loading {
|
||||
background: linear-gradient(90deg, var(--color-bg-main) 25%, var(--color-bg-secondary) 50%, var(--color-bg-main) 75%) !important;
|
||||
background-size: 200% 100%;
|
||||
animation: loading 1.5s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@keyframes loading {
|
||||
0% { background-position: 200% 0; }
|
||||
100% { background-position: -200% 0; }
|
||||
}
|
||||
|
||||
/* Alert/Notification Colors */
|
||||
.alert-success,
|
||||
.notification,
|
||||
.toast {
|
||||
background: var(--color-bg-secondary) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
border: 1px solid var(--color-accent) !important;
|
||||
}
|
||||
|
||||
/* Pagination */
|
||||
.pagination .active {
|
||||
background: var(--btn-primary-bg) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
.pagination button:hover {
|
||||
background: var(--btn-primary-hover) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
/* Tabs */
|
||||
.tab-active,
|
||||
.active-tab {
|
||||
background: var(--color-bg-secondary) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
/* Price Tags */
|
||||
.price,
|
||||
.product-price {
|
||||
color: var(--color-accent) !important;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* Status Indicators */
|
||||
.status-active,
|
||||
.in-stock {
|
||||
color: var(--color-accent) !important;
|
||||
}
|
||||
|
||||
/* Hover Effects */
|
||||
.hover-lift:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
/* Border Colors */
|
||||
.border-primary {
|
||||
border-color: var(--color-bg-secondary) !important;
|
||||
}
|
||||
|
||||
.border-accent {
|
||||
border-color: var(--color-accent) !important;
|
||||
}
|
||||
|
||||
/* Mobile Menu */
|
||||
.mobile-menu {
|
||||
background: var(--color-bg-secondary) !important;
|
||||
}
|
||||
|
||||
.mobile-brand {
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
.mobile-link {
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
.mobile-link:hover {
|
||||
background: var(--color-accent) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
/* Table Headers */
|
||||
table thead {
|
||||
background: var(--color-bg-secondary) !important;
|
||||
}
|
||||
|
||||
table th {
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
/* Filters and Sidebar */
|
||||
.filter-section,
|
||||
.sidebar {
|
||||
background: var(--color-text-light) !important;
|
||||
}
|
||||
|
||||
.filter-title {
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
/* Search Bar */
|
||||
.search-container input {
|
||||
background: var(--color-text-light) !important;
|
||||
border-color: var(--color-bg-secondary) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
.search-container input:focus {
|
||||
border-color: var(--color-accent) !important;
|
||||
box-shadow: 0 0 0 3px rgba(252, 177, 216, 0.1) !important;
|
||||
}
|
||||
|
||||
.search-container button {
|
||||
background: var(--color-accent) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
.search-container button:hover {
|
||||
background: var(--btn-primary-hover) !important;
|
||||
}
|
||||
|
||||
/* Modal/Dialog */
|
||||
.modal,
|
||||
.dialog {
|
||||
background: var(--color-text-light) !important;
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
background: var(--color-bg-secondary) !important;
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
/* Breadcrumbs */
|
||||
.breadcrumb {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.breadcrumb a {
|
||||
color: var(--color-text-main) !important;
|
||||
}
|
||||
|
||||
.breadcrumb a:hover {
|
||||
color: var(--color-accent) !important;
|
||||
}
|
||||
|
||||
/* Empty States */
|
||||
.empty-state {
|
||||
color: var(--color-text-main) !important;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
/* About, Blog Hero Sections */
|
||||
.about-hero {
|
||||
background: linear-gradient(135deg, #F6CCDE 0%, #FCB1D8 100%) !important;
|
||||
padding: 40px 0 30px !important;
|
||||
color: #202023 !important;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.about-hero h1 {
|
||||
font-size: 2.5rem !important;
|
||||
margin-bottom: 12px !important;
|
||||
font-weight: 700 !important;
|
||||
color: #202023 !important;
|
||||
}
|
||||
|
||||
.about-hero .hero-subtitle,
|
||||
.about-hero p {
|
||||
font-size: 1.1rem !important;
|
||||
color: #202023 !important;
|
||||
opacity: 0.9;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.about-content {
|
||||
background: #FFEBEB !important;
|
||||
}
|
||||
Reference in New Issue
Block a user