This commit is contained in:
vincent
2026-08-17 15:41:27 +00:00
commit c08ff876f7
44 changed files with 16029 additions and 0 deletions

429
static/css/cooking-mode.css Normal file
View File

@@ -0,0 +1,429 @@
/* Cooking Mode Overlay */
.cooking-overlay {
position: fixed;
inset: 0;
z-index: 9999;
background: #1a1a2e;
color: #e0e0e0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
display: flex;
flex-direction: column;
overflow: hidden;
user-select: none;
-webkit-user-select: none;
}
/* Header bar */
.cooking-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 20px;
background: rgba(0, 0, 0, 0.3);
flex-shrink: 0;
gap: 12px;
z-index: 2;
}
.cooking-header-title {
font-size: 16px;
font-weight: 600;
color: #fff;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex-shrink: 1;
min-width: 0;
}
.cooking-header-sections {
display: flex;
gap: 8px;
overflow-x: auto;
flex-shrink: 0;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.cooking-header-sections::-webkit-scrollbar {
display: none;
}
.cooking-section-pill {
padding: 6px 14px;
border-radius: 20px;
font-size: 13px;
font-weight: 500;
white-space: nowrap;
cursor: pointer;
background: rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.7);
border: 1px solid rgba(255, 255, 255, 0.15);
transition: all 0.2s;
}
.cooking-section-pill:hover {
background: rgba(255, 255, 255, 0.15);
}
.cooking-section-pill.active {
background: linear-gradient(135deg, #f97316, #eab308);
color: #fff;
border-color: transparent;
}
.cooking-close-btn {
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
border: none;
color: #fff;
font-size: 20px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
transition: background 0.2s;
}
.cooking-close-btn:hover {
background: rgba(255, 255, 255, 0.2);
}
/* Carousel container */
.cooking-carousel {
flex: 1;
position: relative;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
/* Card positioning */
.cooking-card-container {
position: relative;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.cooking-card {
position: absolute;
width: calc(100% - 40px);
max-width: 800px;
max-height: 70vh;
overflow-y: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
border-radius: 20px;
padding: 32px;
transition: transform 0.3s ease-out, opacity 0.3s ease-out;
scrollbar-width: thin;
scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.cooking-card::-webkit-scrollbar {
width: 4px;
}
.cooking-card::-webkit-scrollbar-thumb {
background: rgba(255,255,255,0.2);
border-radius: 2px;
}
.cooking-card.current {
opacity: 1;
transform: translateY(0) scale(1);
z-index: 1;
touch-action: pan-y;
}
.cooking-card.prev {
opacity: 0.25;
transform: translateY(-75%) scale(0.85);
z-index: 0;
cursor: pointer;
}
.cooking-card.next {
opacity: 0.25;
transform: translateY(75%) scale(0.85);
z-index: 0;
cursor: pointer;
}
.cooking-card.hidden-card {
opacity: 0;
transform: translateY(100%) scale(0.8);
pointer-events: none;
}
/* Swipe animation */
.cooking-card.swiping {
transition: none;
}
/* Section header card */
.cooking-card-section {
background: linear-gradient(135deg, #1e293b, #0f172a);
border: 1px solid rgba(255, 255, 255, 0.1);
text-align: center;
}
.cooking-card-section h2 {
font-size: 32px;
font-weight: 700;
margin-bottom: 24px;
background: linear-gradient(135deg, #f97316, #eab308);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.cooking-mise-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 12px;
text-align: left;
}
.cooking-mise-item {
display: flex;
justify-content: space-between;
align-items: baseline;
padding: 8px 12px;
background: rgba(255, 255, 255, 0.05);
border-radius: 10px;
gap: 8px;
cursor: pointer;
transition: opacity 0.2s;
}
.cooking-mise-item.checked {
opacity: 0.35;
text-decoration: line-through;
}
.cooking-mise-name {
font-size: 18px;
color: #e0e0e0;
}
.cooking-mise-note {
font-size: 14px;
color: rgba(255, 255, 255, 0.5);
font-style: italic;
}
.cooking-mise-qty {
font-size: 16px;
font-weight: 600;
color: #f97316;
white-space: nowrap;
}
/* Step card */
.cooking-card-step {
background: linear-gradient(135deg, #1e293b, #162032);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.cooking-step-number {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 50%;
background: linear-gradient(135deg, #f97316, #eab308);
color: #fff;
font-weight: 700;
font-size: 13px;
margin-right: 8px;
flex-shrink: 0;
vertical-align: middle;
}
.cooking-step-image {
width: 100%;
max-height: 300px;
object-fit: cover;
border-radius: 12px;
margin-bottom: 16px;
}
.cooking-step-text {
font-size: 24px;
line-height: 1.6;
color: #f0f0f0;
}
/* Override badge styles within cooking mode for readability */
.cooking-step-text .ingredient-badge {
font-size: 22px;
padding: 2px 10px;
}
.cooking-step-text .cookware-badge {
font-size: 22px;
padding: 2px 10px;
}
.cooking-step-text .timer-badge {
font-size: 22px;
padding: 2px 10px;
}
.cooking-step-ingredients {
margin-top: 20px;
padding-top: 16px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
font-size: 15px;
color: rgba(255, 255, 255, 0.5);
}
.cooking-step-ingredients span {
margin-right: 12px;
}
/* Done card */
.cooking-card-done {
background: linear-gradient(135deg, #1e293b, #0f172a);
border: 1px solid rgba(255, 255, 255, 0.1);
text-align: center;
}
.cooking-card-done h2 {
font-size: 36px;
margin-bottom: 12px;
}
.cooking-card-done p {
font-size: 20px;
color: rgba(255, 255, 255, 0.6);
}
.cooking-done-close-btn {
margin-top: 28px;
padding: 12px 40px;
border-radius: 12px;
border: none;
background: linear-gradient(135deg, #f97316, #eab308);
color: #fff;
font-size: 18px;
font-weight: 600;
cursor: pointer;
transition: opacity 0.2s;
}
.cooking-done-close-btn:hover {
opacity: 0.85;
}
/* Progress bar */
.cooking-progress {
height: 3px;
background: rgba(255, 255, 255, 0.1);
flex-shrink: 0;
}
.cooking-progress-bar {
height: 100%;
background: linear-gradient(90deg, #f97316, #eab308);
transition: width 0.3s ease-out;
}
/* Responsive */
@media (max-width: 640px) {
.cooking-header {
padding: 10px 12px;
gap: 8px;
}
.cooking-header-sections {
flex-shrink: 1;
min-width: 0;
}
.cooking-section-pill {
padding: 4px 10px;
font-size: 12px;
}
.cooking-header-title {
font-size: 14px;
}
.cooking-card {
width: calc(100% - 24px);
padding: 20px 16px;
max-height: 75vh;
border-radius: 16px;
}
.cooking-card-section h2 {
font-size: 24px;
margin-bottom: 16px;
}
.cooking-step-text {
font-size: 18px;
line-height: 1.5;
}
.cooking-step-text .ingredient-badge,
.cooking-step-text .cookware-badge,
.cooking-step-text .timer-badge {
font-size: 16px;
padding: 1px 8px;
white-space: normal;
}
.cooking-step-ingredients {
font-size: 13px;
}
.cooking-mise-grid {
grid-template-columns: 1fr;
gap: 8px;
}
.cooking-mise-name {
font-size: 15px;
}
.cooking-mise-qty {
font-size: 14px;
}
.cooking-mise-item {
padding: 6px 10px;
}
.cooking-card-done h2 {
font-size: 28px;
}
.cooking-done-close-btn {
padding: 10px 32px;
font-size: 16px;
}
.cooking-close-btn {
width: 36px;
height: 36px;
font-size: 18px;
}
}
@media (min-width: 1024px) {
.cooking-step-text {
font-size: 28px;
}
}

View File

@@ -0,0 +1,146 @@
/* Custom styles to enhance Tailwind */
:root {
--primary-orange: #ff6b35;
--primary-green: #4ade80;
--light-orange: #fed7aa;
--light-blue: #dbeafe;
--light-green: #dcfce7;
--light-yellow: #fef3c7;
}
/* Recipe cards with colorful borders */
.recipe-card {
position: relative;
overflow: hidden;
}
.recipe-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #ff6b35, #fbbf24, #4ade80);
}
/* Ingredient badges */
.ingredient-badge {
background: linear-gradient(135deg, #fef3c7, #fed7aa);
border: 1px solid #fbbf24;
white-space: nowrap;
}
.cookware-badge {
background: linear-gradient(135deg, #dcfce7, #bbf7d0);
border: 1px solid #4ade80;
white-space: nowrap;
}
.timer-badge {
background: linear-gradient(135deg, #fee2e2, #fecaca);
border: 1px solid #f87171;
white-space: nowrap;
}
/* Enhanced buttons */
.btn-primary {
background: linear-gradient(135deg, #ff6b35, #f97316);
box-shadow: 0 4px 14px 0 rgba(255, 107, 53, 0.3);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px 0 rgba(255, 107, 53, 0.4);
}
/* Search input with colorful focus */
.search-input:focus {
border-color: #ff6b35;
box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}
/* Recipe image placeholder with gradient */
.recipe-image-placeholder {
background: linear-gradient(135deg, #ff6b35, #fbbf24);
width: 120px;
height: 120px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 3rem;
}
/* Step numbers with colorful circles */
.step-number {
width: 32px;
height: 32px;
background: linear-gradient(135deg, #ff6b35, #f97316);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
flex-shrink: 0;
}
/* Tags styling */
.tag {
display: inline-block;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 500;
margin-right: 0.5rem;
background: linear-gradient(135deg, #fbbf24, #fb923c);
color: white;
box-shadow: 0 2px 4px rgba(251, 146, 60, 0.2);
}
/* Navigation pills */
.nav-pill {
padding: 0.5rem 1.25rem;
border-radius: 9999px;
transition: all 0.3s;
font-weight: 500;
color: #6b7280;
position: relative;
}
.nav-pill:hover {
background: linear-gradient(135deg, #fef3c7, #fed7aa);
color: #ea580c;
transform: translateY(-2px);
box-shadow: 0 4px 6px rgba(234, 88, 12, 0.1);
}
.nav-pill.active {
background: linear-gradient(135deg, #ff6b35, #f97316);
color: white;
font-weight: 700;
box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}
/* Recipe metadata pills */
.metadata-pill {
display: inline-flex;
align-items: center;
padding: 0.375rem 0.875rem;
border-radius: 9999px;
background: linear-gradient(135deg, #f9fafb, #f3f4f6);
border: 1px solid #e5e7eb;
font-size: 0.875rem;
color: #374151;
font-weight: 500;
line-height: 1.25rem;
white-space: nowrap;
}
.metadata-pill svg {
width: 1rem;
height: 1rem;
margin-right: 0.5rem;
}

217
static/css/input.css Normal file
View File

@@ -0,0 +1,217 @@
@import "tailwindcss";
/* Tailwind v4 is CSS-first and no longer auto-discovers tailwind.config.js.
@config keeps the existing JS config (custom colours, gradient keyframes,
darkMode: 'class' and the content globs) authoritative. */
@config "../../tailwind.config.js";
/* Custom component classes */
@layer components {
/* Recipe cards with colorful borders */
.recipe-card {
@apply relative overflow-hidden;
}
.recipe-card::before {
content: '';
@apply absolute top-0 left-0 right-0 h-1;
background: linear-gradient(90deg, #ff6b35, #fbbf24, #4ade80);
}
/* Ingredient badges */
.ingredient-badge {
@apply inline-block align-middle px-2 py-0.5 rounded-full text-sm font-medium whitespace-nowrap;
background: linear-gradient(135deg, #fef3c7, #fed7aa);
@apply text-orange-700 border border-orange-400;
}
.cookware-badge {
@apply inline-block align-middle px-2 py-0.5 rounded-full text-sm font-medium whitespace-nowrap;
background: linear-gradient(135deg, #dcfce7, #bbf7d0);
@apply text-green-900 border border-green-400;
}
.timer-badge {
@apply inline-block align-middle px-2 py-0.5 rounded-full text-sm font-medium whitespace-nowrap;
background: linear-gradient(135deg, #fee2e2, #fecaca);
@apply text-red-900 border border-red-400;
}
/* Enhanced buttons */
.btn-primary {
background: linear-gradient(135deg, #ff6b35, #f97316);
@apply shadow-lg hover:-translate-y-0.5 transition-all;
}
.btn-primary:hover {
box-shadow: 0 6px 20px 0 rgba(255, 107, 53, 0.4);
}
/* Step numbers with colorful circles */
.step-number {
@apply w-8 h-8 flex items-center justify-center rounded-full text-white font-bold shrink-0;
background: linear-gradient(135deg, #ff6b35, #f97316);
}
/* Tags styling */
.tag {
@apply inline-block px-3 py-1 rounded-full text-xs font-medium mr-2;
background: linear-gradient(135deg, #fbbf24, #fb923c);
@apply text-white shadow-xs;
}
/* Navigation pills */
.nav-pill {
@apply px-5 py-2 rounded-full transition-all font-medium text-gray-500 relative;
}
.nav-pill:hover {
background: linear-gradient(135deg, #fef3c7, #fed7aa);
@apply text-orange-700 -translate-y-0.5 shadow-md;
}
.nav-pill.active {
background: linear-gradient(135deg, #ff6b35, #f97316);
@apply text-white font-bold shadow-lg;
}
/* Recipe metadata pills - simple outline style */
.metadata-pill {
@apply inline-flex items-center px-3 py-1 rounded-full text-sm font-medium whitespace-nowrap border bg-white;
}
.metadata-servings {
@apply text-gray-600 border-gray-300;
}
.metadata-time {
@apply text-blue-600 border-blue-300;
}
.metadata-difficulty {
@apply text-yellow-600 border-yellow-300;
}
.metadata-course {
@apply text-orange-600 border-orange-300;
}
.metadata-prep {
@apply text-indigo-600 border-indigo-300;
}
.metadata-cook {
@apply text-red-600 border-red-300;
}
.metadata-cuisine {
@apply text-green-600 border-green-300;
}
.metadata-diet {
@apply text-lime-600 border-lime-300;
}
.metadata-author {
@apply text-pink-600 border-pink-300;
}
.metadata-custom {
@apply text-purple-600 border-purple-300;
}
/* Search input with colorful focus */
.search-input:focus {
@apply border-primary-orange;
box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}
/* Step images in recipes */
.image-step {
@apply w-full max-h-80 object-contain rounded-xl;
}
/* Recipe image placeholder with gradient */
.recipe-image-placeholder {
background: linear-gradient(135deg, #ff6b35, #fbbf24);
@apply w-30 h-30 rounded-full flex items-center justify-center text-white text-5xl;
}
/* Pantry item styles with improved dark mode support */
.pantry-item {
@apply bg-gray-50 dark:bg-gray-800;
}
.pantry-item:hover {
@apply bg-gray-100 dark:bg-gray-700;
}
/* Out-of-stock pantry items with better dark mode contrast */
.pantry-item.out-of-stock {
@apply bg-red-50 border border-red-200 dark:bg-red-950/30 dark:border-red-900/50;
}
.pantry-item.out-of-stock:hover {
@apply bg-red-100 dark:bg-red-950/40;
}
/* Pantry text colors for dark mode */
.pantry-item .text-gray-900 {
@apply dark:text-gray-100;
}
.pantry-item .text-gray-600 {
@apply dark:text-gray-400;
}
.pantry-item .text-gray-500 {
@apply dark:text-gray-400;
}
/* Out-of-stock text in dark mode */
.pantry-item.out-of-stock .quantity-display {
@apply text-red-600 dark:text-red-400;
}
/* Status dots with dark mode support */
.item-status-dot.in-stock {
@apply bg-green-500 dark:bg-green-400;
}
.item-status-dot.out-of-stock {
@apply bg-red-500 dark:bg-red-400;
}
/* CodeMirror editor dark mode support */
.dark .cm-editor {
@apply bg-gray-900;
}
.dark .cm-gutters {
@apply bg-gray-800 border-gray-700;
}
.dark .cm-lineNumbers .cm-gutterElement {
@apply text-gray-400;
}
.dark .cm-activeLineGutter {
@apply bg-gray-700;
}
.dark .cm-activeLine {
@apply bg-gray-800/50;
}
.dark .cm-content {
caret-color: white;
}
.dark .cm-cursor {
border-left-color: white;
}
.dark .cm-selectionBackground {
@apply bg-blue-800/50!;
}
}

2
static/css/output.css Normal file

File diff suppressed because one or more lines are too long

445
static/css/styles.css Normal file
View File

@@ -0,0 +1,445 @@
/* Base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background-color: #f9fafb;
color: #111827;
line-height: 1.5;
}
/* Layout */
.viewport {
width: 100%;
max-width: 1024px;
margin: 3rem auto;
padding: 0 1rem;
}
/* Navigation */
nav {
background-color: white;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
border-radius: 0.5rem;
margin-bottom: 1.5rem;
}
nav > div {
padding: 1rem 1.5rem;
}
nav .flex {
display: flex;
align-items: center;
justify-content: space-between;
}
nav a {
text-decoration: none;
color: #4b5563;
transition: color 0.2s;
}
nav a:hover {
color: #111827;
}
nav a.font-semibold {
font-weight: 600;
color: #111827;
}
/* Main content */
main {
background-color: white;
border-radius: 0.5rem;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
padding: 1.5rem;
}
/* Typography */
h1 {
font-size: 1.5rem;
font-weight: bold;
margin-bottom: 1.5rem;
}
h2 {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 0.75rem;
}
h3 {
font-size: 1.125rem;
font-weight: 500;
margin-bottom: 0.5rem;
}
/* Forms */
input[type="text"],
input[type="number"] {
padding: 0.5rem;
border: 1px solid #d1d5db;
border-radius: 0.375rem;
outline: none;
}
input[type="text"]:focus,
input[type="number"]:focus {
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.search-input {
width: 16rem;
padding: 0.5rem 1rem;
}
/* Buttons */
button,
.btn-primary,
.btn-secondary {
padding: 0.5rem 1rem;
border-radius: 0.375rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
border: none;
display: inline-block;
}
.btn-primary {
background-color: #3b82f6;
color: white;
}
.btn-primary:hover {
background-color: #2563eb;
}
.btn-secondary {
background-color: #e5e7eb;
color: #374151;
}
.btn-secondary:hover {
background-color: #d1d5db;
}
/* Cards */
.recipe-card {
background-color: white;
border-radius: 0.5rem;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
padding: 1rem;
margin-bottom: 1rem;
transition: box-shadow 0.2s;
text-decoration: none;
color: inherit;
display: block;
}
.recipe-card:hover {
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
background-color: #f9fafb;
}
.recipe-step {
margin-bottom: 1rem;
padding: 0.75rem;
background-color: #f9fafb;
border-radius: 0.375rem;
}
/* Ingredients and tags */
.ingredient,
.cookware,
.timer {
display: inline-block;
padding: 0.25rem 0.5rem;
border-radius: 0.25rem;
font-size: 0.875rem;
margin-right: 0.5rem;
margin-bottom: 0.5rem;
}
.ingredient {
background-color: #dbeafe;
color: #1e40af;
}
.cookware {
background-color: #d1fae5;
color: #065f46;
}
.timer {
background-color: #fef3c7;
color: #92400e;
}
/* Search results dropdown */
.search-results {
position: absolute;
top: 100%;
margin-top: 0.5rem;
width: 100%;
background-color: white;
border: 1px solid #e5e7eb;
border-radius: 0.5rem;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
max-height: 300px;
overflow-y: auto;
}
.search-results a {
display: block;
padding: 0.5rem 0.75rem;
text-decoration: none;
color: #111827;
}
.search-results a:hover {
background-color: #f9fafb;
}
/* Utility classes */
.hidden {
display: none;
}
.flex {
display: flex;
}
.items-center {
align-items: center;
}
.justify-between {
justify-content: space-between;
}
.space-x-2 > * + * {
margin-left: 0.5rem;
}
.space-x-3 > * + * {
margin-left: 0.75rem;
}
.space-x-6 > * + * {
margin-left: 1.5rem;
}
.space-y-1 > * + * {
margin-top: 0.25rem;
}
.space-y-2 > * + * {
margin-top: 0.5rem;
}
.space-y-4 > * + * {
margin-top: 1rem;
}
.mb-2 {
margin-bottom: 0.5rem;
}
.mb-3 {
margin-bottom: 0.75rem;
}
.mb-4 {
margin-bottom: 1rem;
}
.mb-6 {
margin-bottom: 1.5rem;
}
.ml-2 {
margin-left: 0.5rem;
}
.mr-2 {
margin-right: 0.5rem;
}
.mr-4 {
margin-right: 1rem;
}
.mx-2 {
margin-left: 0.5rem;
margin-right: 0.5rem;
}
.p-3 {
padding: 0.75rem;
}
.px-3 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
.py-1 {
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
.py-2 {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
.text-sm {
font-size: 0.875rem;
}
.text-lg {
font-size: 1.125rem;
}
.text-xl {
font-size: 1.25rem;
}
.text-2xl {
font-size: 1.5rem;
}
.text-3xl {
font-size: 1.875rem;
}
.font-medium {
font-weight: 500;
}
.font-semibold {
font-weight: 600;
}
.font-bold {
font-weight: 700;
}
.text-gray-400 {
color: #9ca3af;
}
.text-gray-500 {
color: #6b7280;
}
.text-gray-600 {
color: #4b5563;
}
.text-gray-700 {
color: #374151;
}
.text-gray-800 {
color: #1f2937;
}
.text-gray-900 {
color: #111827;
}
.text-red-600 {
color: #dc2626;
}
.text-red-800 {
color: #991b1b;
}
.bg-gray-50 {
background-color: #f9fafb;
}
.bg-white {
background-color: white;
}
.rounded {
border-radius: 0.25rem;
}
.rounded-lg {
border-radius: 0.5rem;
}
.shadow-sm {
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.shadow-lg {
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.border {
border-width: 1px;
}
.border-gray-200 {
border-color: #e5e7eb;
}
.border-gray-300 {
border-color: #d1d5db;
}
.hover\:text-gray-900:hover {
color: #111827;
}
.hover\:text-red-800:hover {
color: #991b1b;
}
.hover\:bg-gray-50:hover {
background-color: #f9fafb;
}
.hover\:shadow-lg:hover {
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
/* Breadcrumbs */
ol.flex {
display: flex;
align-items: center;
}
/* Grid */
.grid {
display: grid;
grid-template-columns: 1fr;
gap: 1rem;
}
@media (min-width: 768px) {
.md\:grid-cols-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.md\:col-span-1 {
grid-column: span 1 / span 1;
}
.md\:col-span-2 {
grid-column: span 2 / span 2;
}
}