[orbis] Weekly backup 2026-07-07 — 318 files changed, 48597 insertions(+), 7 deletions(-)

This commit is contained in:
DO Server Backup
2026-07-07 15:58:55 +00:00
parent 5fda5a1536
commit fe18800d18
318 changed files with 48597 additions and 7 deletions
@@ -0,0 +1,223 @@
/* Account Layout */
.account-layout {
display: grid;
grid-template-columns: 250px 1fr;
gap: 2rem;
}
.account-sidebar {
background: var(--color-surface);
border-radius: var(--radius-lg);
padding: 1.5rem;
height: fit-content;
position: sticky;
top: 90px;
}
.account-avatar {
width: 80px;
height: 80px;
background: var(--color-primary);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
margin: 0 auto 1rem;
}
.account-sidebar-user {
text-align: center;
margin-bottom: 1.5rem;
}
.account-sidebar-user h3 {
margin: 0 0 0.25rem;
font-size: 1rem;
}
.account-sidebar-user p {
font-size: 0.875rem;
margin: 0;
color: var(--color-text-muted);
}
.account-nav {
list-style: none;
}
.account-nav li {
margin-bottom: 0.5rem;
}
.account-nav a {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1rem;
border-radius: var(--radius-md);
color: var(--color-text);
transition: all 0.2s;
}
.account-nav a:hover {
background: var(--color-background);
color: var(--color-primary);
}
.account-nav a.active {
background: var(--color-primary);
color: white;
}
.account-nav a i {
width: 20px;
text-align: center;
}
.account-nav a.danger {
color: var(--color-error);
}
.account-content {
min-height: 500px;
}
.account-header {
margin-bottom: 2rem;
}
.account-header h1 {
font-size: 1.75rem;
margin-bottom: 0.5rem;
}
/* Section Cards */
.section-card {
background: var(--color-surface);
border-radius: var(--radius-lg);
margin-bottom: 1.5rem;
}
.section-card-header {
padding: 1rem 1.5rem;
border-bottom: 1px solid var(--color-border);
display: flex;
justify-content: space-between;
align-items: center;
}
.section-card-header h3 {
margin: 0;
font-size: 1rem;
}
.section-card-body {
padding: 1.5rem;
}
/* Order List Items */
.order-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 0;
border-bottom: 1px solid var(--color-border);
}
.order-item:last-child {
border-bottom: none;
padding-bottom: 0;
}
.order-item:first-child {
padding-top: 0;
}
.order-info h4 {
margin: 0 0 0.25rem;
font-size: 0.9375rem;
}
.order-info p {
margin: 0;
color: var(--color-text-muted);
font-size: 0.875rem;
}
.order-meta {
text-align: right;
}
.order-meta .amount {
font-weight: 600;
margin-bottom: 0.25rem;
}
/* Dashboard Stats Grid */
.dashboard-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1rem;
margin-bottom: 2rem;
}
.dashboard-stat {
background: var(--color-surface);
border-radius: var(--radius-lg);
padding: 1.5rem;
text-align: center;
}
.dashboard-stat-icon {
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1rem;
font-size: 1.25rem;
}
.dashboard-stat-icon.primary {
background: rgba(255, 94, 26, 0.1);
color: var(--color-primary);
}
.dashboard-stat-icon.success {
background: rgba(16, 185, 129, 0.1);
color: var(--color-success);
}
.dashboard-stat-icon.warning {
background: rgba(245, 158, 11, 0.1);
color: var(--color-warning);
}
.dashboard-stat-value {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 0.25rem;
}
.dashboard-stat-label {
color: var(--color-text-muted);
font-size: 0.875rem;
}
/* Responsive */
@media (max-width: 768px) {
.account-layout {
grid-template-columns: 1fr;
}
.account-sidebar {
position: static;
}
.dashboard-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@@ -0,0 +1,543 @@
/**
* Tom's Java Jive - Admin Panel Styles
*/
:root {
/* Admin Colors */
--admin-sidebar-bg: #1F2937;
--admin-sidebar-hover: #374151;
--admin-sidebar-active: var(--color-primary);
--admin-header-bg: #FFFFFF;
--admin-content-bg: #F9FAFB;
--admin-text-light: #9CA3AF;
}
/* ================================
Admin Layout
================================ */
.admin-layout {
display: flex;
min-height: 100vh;
}
.admin-sidebar {
width: 260px;
background: var(--admin-sidebar-bg);
color: white;
display: flex;
flex-direction: column;
position: fixed;
top: 0;
left: 0;
bottom: 0;
z-index: 100;
transition: transform 0.3s ease;
}
.admin-sidebar-header {
padding: 1.5rem;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-logo {
display: flex;
align-items: center;
gap: 0.75rem;
color: white;
font-family: var(--font-heading);
font-size: 1.25rem;
font-weight: 600;
}
.admin-logo img {
height: 32px;
}
.admin-nav {
flex: 1;
padding: 1rem 0;
overflow-y: auto;
}
.admin-nav-section {
margin-bottom: 1.5rem;
}
.admin-nav-title {
padding: 0.5rem 1.5rem;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--admin-text-light);
}
.admin-nav-item {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1.5rem;
color: rgba(255,255,255,0.8);
transition: all 0.2s ease;
}
.admin-nav-item:hover {
background: var(--admin-sidebar-hover);
color: white;
}
.admin-nav-item.active {
background: var(--admin-sidebar-active);
color: white;
}
.admin-nav-item i {
width: 20px;
text-align: center;
}
.admin-nav-badge {
margin-left: auto;
padding: 0.125rem 0.5rem;
font-size: 0.75rem;
font-weight: 600;
background: var(--color-error);
color: white;
border-radius: 9999px;
}
.admin-main {
flex: 1;
margin-left: 260px;
background: var(--admin-content-bg);
min-height: 100vh;
}
.admin-header {
background: var(--admin-header-bg);
padding: 1rem 1.5rem;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid var(--color-border);
position: sticky;
top: 0;
z-index: 50;
}
.admin-header-left {
display: flex;
align-items: center;
gap: 1rem;
}
.admin-search {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: var(--color-background);
border: 1px solid var(--color-border);
border-radius: var(--radius-md);
min-width: 300px;
}
.admin-search input {
border: none;
background: transparent;
outline: none;
width: 100%;
}
.admin-header-right {
display: flex;
align-items: center;
gap: 1rem;
}
.admin-user {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.5rem;
border-radius: var(--radius-md);
cursor: pointer;
}
.admin-user:hover {
background: var(--color-background);
}
.admin-avatar {
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--color-primary);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: 600;
}
.admin-content {
padding: 1.5rem;
}
/* ================================
Admin Cards
================================ */
.admin-card {
background: var(--color-surface);
border-radius: var(--radius-lg);
border: 1px solid var(--color-border);
margin-bottom: 1.5rem;
}
.admin-card-header {
padding: 1rem 1.5rem;
border-bottom: 1px solid var(--color-border);
display: flex;
align-items: center;
justify-content: space-between;
}
.admin-card-title {
font-size: 1rem;
font-weight: 600;
margin: 0;
}
.admin-card-body {
padding: 1.5rem;
}
/* ================================
Stats Cards
================================ */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5rem;
margin-bottom: 1.5rem;
}
.stat-card {
background: var(--color-surface);
border-radius: var(--radius-lg);
border: 1px solid var(--color-border);
padding: 1.5rem;
display: flex;
align-items: flex-start;
gap: 1rem;
}
.stat-card-icon {
width: 48px;
height: 48px;
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.25rem;
}
.stat-card-icon.primary {
background: rgba(232, 106, 51, 0.1);
color: var(--color-primary);
}
.stat-card-icon.success {
background: rgba(16, 185, 129, 0.1);
color: var(--color-success);
}
.stat-card-icon.warning {
background: rgba(245, 158, 11, 0.1);
color: var(--color-warning);
}
.stat-card-icon.error {
background: rgba(239, 68, 68, 0.1);
color: var(--color-error);
}
.stat-card-value {
font-size: 1.5rem;
font-weight: 700;
color: var(--color-text);
}
.stat-card-label {
font-size: 0.875rem;
color: var(--color-text-muted);
}
/* ================================
Admin Tables
================================ */
.admin-table {
width: 100%;
border-collapse: collapse;
}
.admin-table th,
.admin-table td {
padding: 0.875rem 1rem;
text-align: left;
border-bottom: 1px solid var(--color-border);
}
.admin-table th {
font-weight: 600;
font-size: 0.875rem;
color: var(--color-text-muted);
background: var(--color-background);
}
.admin-table tbody tr:hover {
background: var(--color-background);
}
.admin-table td a {
color: var(--color-primary);
font-weight: 500;
}
/* ================================
Page Header
================================ */
.page-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 1.5rem;
}
.page-title {
font-size: 1.5rem;
margin: 0;
}
/* ================================
Form Improvements for Admin
================================ */
.admin-form-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
}
.admin-form-grid .full-width {
grid-column: 1 / -1;
}
/* ================================
Responsive Admin
================================ */
.sidebar-toggle {
display: none;
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: var(--color-text);
}
@media (max-width: 1024px) {
.admin-sidebar {
transform: translateX(-100%);
}
.admin-sidebar.open {
transform: translateX(0);
}
.admin-main {
margin-left: 0;
}
.sidebar-toggle {
display: block;
}
.admin-search {
min-width: 200px;
}
}
@media (max-width: 768px) {
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}
.admin-form-grid {
grid-template-columns: 1fr;
}
.admin-table {
display: block;
overflow-x: auto;
}
}
/* ================================
POS Specific Styles
================================ */
.pos-layout {
display: grid;
grid-template-columns: 1fr 400px;
gap: 1.5rem;
height: calc(100vh - 140px);
}
.pos-products {
overflow-y: auto;
}
.pos-cart {
background: var(--color-surface);
border-radius: var(--radius-lg);
border: 1px solid var(--color-border);
display: flex;
flex-direction: column;
}
.pos-cart-header {
padding: 1rem;
border-bottom: 1px solid var(--color-border);
}
.pos-cart-items {
flex: 1;
overflow-y: auto;
padding: 1rem;
}
.pos-cart-item {
display: flex;
gap: 0.75rem;
padding: 0.75rem 0;
border-bottom: 1px solid var(--color-border);
}
.pos-cart-footer {
padding: 1rem;
border-top: 1px solid var(--color-border);
background: var(--color-background);
}
.pos-totals {
margin-bottom: 1rem;
}
.pos-total-row {
display: flex;
justify-content: space-between;
margin-bottom: 0.5rem;
}
.pos-total-row.grand-total {
font-size: 1.25rem;
font-weight: 700;
padding-top: 0.5rem;
border-top: 1px solid var(--color-border);
}
.pos-product-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 1rem;
}
.pos-product-card {
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius-md);
padding: 0.75rem;
cursor: pointer;
transition: all 0.2s ease;
}
.pos-product-card:hover {
border-color: var(--color-primary);
box-shadow: var(--shadow-md);
}
.pos-product-card img {
width: 100%;
aspect-ratio: 1;
object-fit: cover;
border-radius: var(--radius-sm);
margin-bottom: 0.5rem;
}
.pos-product-name {
font-size: 0.875rem;
font-weight: 500;
margin-bottom: 0.25rem;
}
.pos-product-price {
font-size: 0.875rem;
color: var(--color-primary);
font-weight: 600;
}
/* Payment Buttons */
.payment-methods {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem;
margin-top: 1rem;
}
.payment-btn {
padding: 1rem;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
border: 2px solid var(--color-border);
background: var(--color-surface);
border-radius: var(--radius-md);
cursor: pointer;
transition: all 0.2s ease;
}
.payment-btn:hover {
border-color: var(--color-primary);
}
.payment-btn.selected {
border-color: var(--color-primary);
background: rgba(232, 106, 51, 0.05);
}
.payment-btn i {
font-size: 1.5rem;
color: var(--color-primary);
}
@media (max-width: 1024px) {
.pos-layout {
grid-template-columns: 1fr;
height: auto;
}
.pos-cart {
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 50vh;
transform: translateY(calc(100% - 60px));
transition: transform 0.3s ease;
z-index: 100;
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.pos-cart.expanded {
transform: translateY(0);
}
}
@@ -0,0 +1,154 @@
/* Cart Page Layout */
.cart-layout {
display: grid;
grid-template-columns: 1fr 350px;
gap: 2rem;
align-items: start;
}
.cart-empty {
padding: 3rem;
text-align: center;
}
.cart-empty-icon {
font-size: 4rem;
color: var(--color-text-muted);
margin-bottom: 1rem;
}
/* Cart Items */
.cart-items-list {
display: grid;
gap: 1rem;
}
.cart-item {
display: grid;
grid-template-columns: 80px 1fr auto auto;
gap: 1rem;
align-items: center;
padding-bottom: 1rem;
border-bottom: 1px solid var(--color-border);
}
.cart-item:last-child {
border-bottom: none;
padding-bottom: 0;
}
.cart-item-img {
width: 80px;
height: 80px;
object-fit: cover;
border-radius: var(--radius-md);
}
.cart-item-name {
font-weight: 600;
margin-bottom: 0.25rem;
}
.cart-item-price {
color: var(--color-text-muted);
margin: 0;
}
/* Quantity Selector */
.quantity-selector {
display: flex;
align-items: center;
border: 1px solid var(--color-border);
border-radius: var(--radius-md);
}
.qty-btn {
padding: 0.25rem 0.75rem;
background: none;
border: none;
cursor: pointer;
font-size: 1rem;
color: var(--color-text);
transition: var(--transition);
}
.qty-btn:hover {
color: var(--color-primary);
}
.qty-input {
width: 50px;
text-align: center;
border: none;
outline: none;
font-size: 1rem;
font-family: inherit;
}
.cart-item-total {
text-align: right;
}
.cart-item-total .amount {
font-weight: 600;
margin-bottom: 0.25rem;
}
.btn-remove {
background: none;
border: none;
color: var(--color-error);
cursor: pointer;
font-size: 0.875rem;
padding: 0;
}
/* Order Summary Sidebar */
.cart-summary {
position: sticky;
top: 100px;
}
.cart-summary-row {
display: flex;
justify-content: space-between;
margin-bottom: 0.5rem;
}
.cart-summary-total {
display: flex;
justify-content: space-between;
font-size: 1.25rem;
font-weight: 600;
}
.free-shipping-msg {
font-size: 0.875rem;
color: var(--color-primary);
margin: 0.5rem 0;
}
@media (max-width: 768px) {
.cart-layout {
grid-template-columns: 1fr;
}
.cart-summary {
position: static;
}
.cart-item {
grid-template-columns: 64px 1fr;
grid-template-rows: auto auto;
}
.cart-item-img {
width: 64px;
height: 64px;
}
.quantity-selector,
.cart-item-total {
grid-column: 2;
}
}
@@ -0,0 +1,103 @@
/* Checkout Page Layout */
.checkout-layout {
display: grid;
grid-template-columns: 1fr 400px;
gap: 2rem;
align-items: start;
}
/* Address grid: city / state / zip */
.address-grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr;
gap: 1rem;
}
/* Order Summary Sidebar */
.checkout-summary {
position: sticky;
top: 100px;
}
/* Scrollable cart preview in sidebar */
.checkout-items-preview {
max-height: 250px;
overflow-y: auto;
margin-bottom: 1rem;
}
.checkout-item {
display: flex;
gap: 1rem;
margin-bottom: 1rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--color-border);
}
.checkout-item:last-child {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
}
.checkout-item-img {
width: 60px;
height: 60px;
object-fit: cover;
border-radius: var(--radius-md);
flex-shrink: 0;
}
.checkout-item-info {
flex: 1;
}
.checkout-item-info p {
font-weight: 500;
margin-bottom: 0.25rem;
}
.checkout-item-info small {
color: var(--color-text-muted);
font-size: 0.875rem;
}
.checkout-item-total {
text-align: right;
font-weight: 600;
}
.checkout-summary-row {
display: flex;
justify-content: space-between;
margin-bottom: 0.5rem;
}
.checkout-summary-total {
display: flex;
justify-content: space-between;
font-size: 1.25rem;
font-weight: 600;
}
.secure-badge {
font-size: 0.75rem;
color: var(--color-text-muted);
text-align: center;
margin-top: 1rem;
}
@media (max-width: 768px) {
.checkout-layout {
grid-template-columns: 1fr;
}
.checkout-summary {
position: static;
order: -1;
}
.address-grid {
grid-template-columns: 1fr 1fr;
}
}
@@ -0,0 +1,182 @@
/* Hero Section */
.hero {
background: linear-gradient(135deg, rgba(27,27,27,0.7) 0%, rgba(27,27,27,0.4) 100%),
url('/assets/images/hero-coffee.jpg');
background-size: cover;
background-position: center;
min-height: 600px;
display: flex;
align-items: center;
text-align: center;
color: white;
padding: 4rem 0;
}
.hero h1 {
font-family: var(--font-display);
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 1rem;
line-height: 1.2;
}
.hero p {
font-size: 1.25rem;
margin-bottom: 2rem;
opacity: 0.9;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
/* Features Section */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.feature-card {
text-align: center;
padding: 2rem;
}
.feature-icon {
width: 64px;
height: 64px;
background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
border-radius: var(--radius-lg);
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1.5rem;
color: white;
font-size: 1.5rem;
}
.feature-card h3 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.75rem;
}
.feature-card p {
color: var(--color-text-muted);
font-size: 0.9375rem;
}
/* Newsletter Section */
.newsletter {
background: linear-gradient(135deg, var(--color-secondary) 0%, #5D2E0A 100%);
color: white;
padding: 4rem 0;
text-align: center;
}
.newsletter h2 {
font-family: var(--font-display);
font-size: 2rem;
margin-bottom: 0.5rem;
}
.newsletter p {
opacity: 0.9;
margin-bottom: 1.5rem;
}
.newsletter-form {
display: flex;
gap: 0.75rem;
max-width: 450px;
margin: 0 auto;
}
.newsletter-form input {
flex: 1;
padding: 0.875rem 1rem;
border: none;
border-radius: var(--radius-md);
font-size: 1rem;
}
.newsletter-form button {
padding: 0.875rem 1.5rem;
background: var(--color-primary);
color: white;
border: none;
border-radius: var(--radius-md);
font-weight: 600;
cursor: pointer;
transition: var(--transition);
}
.newsletter-form button:hover {
background: var(--color-primary-dark);
}
/* Coffee Splash Blocks */
.splash-section { overflow: hidden; }
.splash-scroll-wrap {
position: relative;
display: flex;
align-items: center;
gap: .5rem;
}
.splash-scroll-track {
display: flex;
gap: 1.5rem;
overflow-x: auto;
scroll-behavior: smooth;
scrollbar-width: none;
-ms-overflow-style: none;
padding: .5rem 0;
flex: 1;
}
.splash-scroll-track::-webkit-scrollbar { display: none; }
.splash-item {
min-width: 220px;
flex-shrink: 0;
}
.splash-arrow {
flex-shrink: 0;
width: 40px;
height: 40px;
border-radius: 50%;
border: 2px solid var(--color-border);
background: var(--color-surface);
color: var(--color-text);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all .2s;
z-index: 2;
}
.splash-arrow:hover {
background: var(--color-primary);
border-color: var(--color-primary);
color: white;
}
.splash-arrow:disabled {
opacity: .3;
cursor: default;
}
@media (max-width: 768px) {
.hero h1 { font-size: 2.5rem; }
.hero p { font-size: 1.125rem; }
.newsletter-form { flex-direction: column; }
.splash-arrow { display: none; }
.splash-scroll-track { padding-bottom: .5rem; }
}
@media (max-width: 480px) {
.hero h1 { font-size: 2rem; }
}
@@ -0,0 +1,118 @@
/* Product Grid */
.product-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 2rem;
}
/* Product Card */
.product-card {
background: var(--color-surface);
border-radius: var(--radius-lg);
overflow: hidden;
transition: var(--transition);
box-shadow: var(--shadow-sm);
}
.product-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-xl);
}
.product-card-image {
display: block;
position: relative;
padding-top: 100%;
overflow: hidden;
}
.product-card-image img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img {
transform: scale(1.05);
}
.product-card-badge {
position: absolute;
top: 1rem;
left: 1rem;
background: var(--color-primary);
color: white;
padding: 0.25rem 0.75rem;
border-radius: var(--radius-full);
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
}
.product-card-body {
padding: 1.25rem;
}
.product-card-category {
font-size: 0.8125rem;
color: var(--color-primary);
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 0.5rem;
}
.product-card-title {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--color-text);
}
.product-card-title a {
color: inherit;
}
.product-card-title a:hover {
color: var(--color-primary);
}
.product-card-price {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 1rem;
}
.product-card-price .current {
font-size: 1.25rem;
font-weight: 700;
color: var(--color-primary);
}
.product-card-price .original {
font-size: 0.9375rem;
color: var(--color-text-muted);
text-decoration: line-through;
}
.product-card-rating {
display: flex;
align-items: center;
gap: 0.25rem;
color: #F59E0B;
font-size: 0.875rem;
margin-bottom: 1rem;
}
.product-card-rating span {
color: var(--color-text-muted);
margin-left: 0.25rem;
}
@media (max-width: 480px) {
.product-grid { grid-template-columns: 1fr; }
}
@@ -0,0 +1,538 @@
/**
* Tom's Java Jive - Main Stylesheet
* Matching original React design
*/
:root {
--color-primary: #FF5E1A;
--color-primary-dark: #E54D0D;
--color-secondary: #8B4513;
--color-accent: #FF5E1A;
--color-background: #FDFBF7;
--color-surface: #FFFFFF;
--color-text: #1B1B1B;
--color-text-muted: #6B7280;
--color-text-light: #9CA3AF;
--color-border: #E8E2D9;
--color-success: #10B981;
--color-warning: #F59E0B;
--color-error: #EF4444;
--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--font-display: 'Playfair Display', Georgia, serif;
--radius-sm: 6px;
--radius-md: 8px;
--radius-lg: 12px;
--radius-xl: 16px;
--radius-full: 9999px;
--shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
--shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
--shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
--shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
--transition: all 0.2s ease;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
body {
font-family: var(--font-primary);
font-size: 16px;
line-height: 1.6;
color: var(--color-text);
background: var(--color-background);
-webkit-font-smoothing: antialiased;
}
a {
color: var(--color-primary);
text-decoration: none;
transition: var(--transition);
}
a:hover {
color: var(--color-primary-dark);
}
img {
max-width: 100%;
height: auto;
}
/* Container */
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 1.5rem;
}
/* Header / Navigation */
.header {
background: var(--color-surface);
border-bottom: 1px solid var(--color-border);
position: sticky;
top: 0;
z-index: 100;
}
.nav {
display: flex;
align-items: center;
justify-content: space-between;
height: 70px;
}
.logo {
display: flex;
align-items: center;
gap: 0.75rem;
font-weight: 700;
font-size: 1.25rem;
color: var(--color-text);
}
.logo:hover {
color: var(--color-text);
}
.logo-img {
height: 70px;
width: auto;
}
.logo-text {
font-family: var(--font-display);
font-size: 1.5rem;
color: var(--color-secondary);
}
.nav-links {
display: flex;
align-items: center;
gap: 2rem;
list-style: none;
}
.nav-links a {
color: var(--color-text);
font-weight: 500;
font-size: 0.9375rem;
padding: 0.5rem 0;
position: relative;
}
.nav-links a:hover {
color: var(--color-primary);
}
.nav-links a.active {
color: var(--color-primary);
}
.nav-links a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: var(--color-primary);
transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
width: 100%;
}
.nav-actions {
display: flex;
align-items: center;
gap: 1rem;
}
.cart-btn {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
border-radius: var(--radius-full);
background: var(--color-background);
color: var(--color-text);
font-size: 1.25rem;
transition: var(--transition);
}
.cart-btn:hover {
background: var(--color-primary);
color: white;
}
.cart-count {
position: absolute;
top: -4px;
right: -4px;
background: var(--color-primary);
color: white;
font-size: 0.75rem;
font-weight: 600;
min-width: 20px;
height: 20px;
border-radius: var(--radius-full);
display: flex;
align-items: center;
justify-content: center;
}
/* Buttons */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.75rem 1.5rem;
font-size: 1rem;
font-weight: 600;
border-radius: var(--radius-md);
border: none;
cursor: pointer;
transition: var(--transition);
text-decoration: none;
}
.btn-primary {
background: var(--color-primary);
color: white;
}
.btn-primary:hover {
background: var(--color-primary-dark);
color: white;
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}
.btn-secondary {
background: white;
color: var(--color-text);
border: 2px solid var(--color-border);
}
.btn-secondary:hover {
border-color: var(--color-primary);
color: var(--color-primary);
}
.btn-outline {
background: transparent;
color: white;
border: 2px solid white;
}
.btn-outline:hover {
background: white;
color: var(--color-text);
}
.btn-lg {
padding: 1rem 2rem;
font-size: 1.125rem;
}
.btn-sm {
padding: 0.5rem 1rem;
font-size: 0.875rem;
}
.btn-block {
display: flex;
width: 100%;
}
/* Sections */
.section {
padding: 5rem 0;
}
.section-header {
text-align: center;
margin-bottom: 3rem;
}
.section-header h2 {
font-family: var(--font-display);
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 0.5rem;
color: var(--color-text);
}
.section-header p {
font-size: 1.125rem;
color: var(--color-text-muted);
}
/* Cards */
.card {
background: var(--color-surface);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm);
overflow: hidden;
}
.card-header {
padding: 1.25rem;
border-bottom: 1px solid var(--color-border);
}
.card-body {
padding: 1.5rem;
}
/* Forms */
.form-group {
margin-bottom: 1.25rem;
}
.form-label {
display: block;
font-size: 0.875rem;
font-weight: 500;
margin-bottom: 0.5rem;
color: var(--color-text);
}
.form-input,
.form-select,
.form-textarea {
width: 100%;
padding: 0.75rem 1rem;
font-size: 1rem;
border: 2px solid var(--color-border);
border-radius: var(--radius-md);
background: var(--color-surface);
transition: var(--transition);
font-family: inherit;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
outline: none;
border-color: var(--color-primary);
box-shadow: 0 0 0 3px rgba(255,94,26,0.1);
}
.form-textarea {
min-height: 120px;
resize: vertical;
}
.form-error {
color: var(--color-error);
font-size: 0.8125rem;
margin-top: 0.25rem;
}
.form-checkbox {
display: flex;
align-items: center;
gap: 0.5rem;
cursor: pointer;
}
/* Alerts */
.alert {
padding: 1rem 1.25rem;
border-radius: var(--radius-md);
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 0.75rem;
}
.alert-success {
background: rgba(16, 185, 129, 0.1);
color: var(--color-success);
border: 1px solid rgba(16, 185, 129, 0.3);
}
.alert-error {
background: rgba(239, 68, 68, 0.1);
color: var(--color-error);
border: 1px solid rgba(239, 68, 68, 0.3);
}
.alert-warning {
background: rgba(245, 158, 11, 0.1);
color: var(--color-warning);
border: 1px solid rgba(245, 158, 11, 0.3);
}
/* Badges */
.badge {
display: inline-flex;
align-items: center;
padding: 0.25rem 0.75rem;
font-size: 0.75rem;
font-weight: 600;
border-radius: var(--radius-full);
}
.badge-primary {
background: rgba(255,94,26,0.15);
color: var(--color-primary);
}
.badge-success {
background: rgba(16, 185, 129, 0.15);
color: var(--color-success);
}
.badge-warning {
background: rgba(245, 158, 11, 0.15);
color: var(--color-warning);
}
.badge-error {
background: rgba(239, 68, 68, 0.15);
color: var(--color-error);
}
/* Footer */
.footer {
background: var(--color-text);
color: white;
padding: 2.5rem 0 1.5rem;
}
.footer-grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr;
gap: 2rem;
margin-bottom: 2rem;
}
.footer-brand p {
color: rgba(255,255,255,0.7);
margin-top: 1rem;
font-size: 0.9375rem;
}
.footer h4 {
font-size: 1rem;
font-weight: 600;
margin-bottom: 1.25rem;
color: white;
}
.footer-links {
list-style: none;
}
.footer-links li {
margin-bottom: 0.5rem;
}
.footer-links a {
color: rgba(255,255,255,0.7);
font-size: 0.9375rem;
transition: var(--transition);
}
.footer-links a:hover {
color: var(--color-primary);
}
.footer-bottom {
padding-top: 2rem;
border-top: 1px solid rgba(255,255,255,0.1);
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.875rem;
color: rgba(255,255,255,0.5);
}
.footer-social {
display: flex;
gap: 1rem;
}
.footer-social a {
color: rgba(255,255,255,0.7);
font-size: 1.25rem;
}
.footer-social a:hover {
color: var(--color-primary);
}
/* Utilities */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.text-success { color: var(--color-success); }
.text-error { color: var(--color-error); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.5rem; }
/* Loading Spinner */
.loading {
display: inline-block;
width: 20px;
height: 20px;
border: 2px solid currentColor;
border-radius: 50%;
border-top-color: transparent;
animation: spin 0.8s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* Responsive */
@media (max-width: 1024px) {
.footer-grid {
grid-template-columns: 1fr 1fr;
}
}
@media (max-width: 768px) {
.section-header h2 {
font-size: 2rem;
}
.nav-links {
display: none;
}
.footer-grid {
grid-template-columns: 1fr;
gap: 2rem;
}
.footer-bottom {
flex-direction: column;
gap: 1rem;
text-align: center;
}
}