styling css gloablization

This commit is contained in:
IGNY8 VPS (Salman)
2025-12-29 05:59:56 +00:00
parent 0ffd21b9bf
commit c91175fdcb
8 changed files with 148 additions and 138 deletions

View File

@@ -152,7 +152,7 @@
justify-content: space-between;
margin-bottom: 12px;
background: var(--igny8-gradient-blue);
color: #fff;
color: white;
padding: 12px 16px;
border-radius: var(--igny8-radius) var(--igny8-radius) 0 0;
margin: -10px -10px 12px -10px;
@@ -171,7 +171,7 @@
border-radius: var(--igny8-radius);
cursor: pointer;
transition: all 0.2s ease-in-out;
color: #fff;
color: white;
text-decoration: none;
white-space: nowrap;
margin: 0 5px;
@@ -236,16 +236,16 @@
padding: 12px 16px !important; /* Increased height for headers */
font-size: 14px !important; /* Larger font for headers */
font-weight: 600 !important;
color: #475467 !important; /* gray-600 - darker for better visibility */
color: var(--color-gray-600) !important; /* gray-600 - darker for better visibility */
text-align: left !important;
background-color: #f8fafc !important; /* Light gray background */
border-bottom: 2px solid #e2e8f0 !important; /* Thicker bottom border */
background-color: var(--color-gray-50) !important; /* Light gray background */
border-bottom: 2px solid var(--color-gray-200) !important; /* Thicker bottom border */
text-transform: capitalize;
letter-spacing: 0.3px;
}
.dark .igny8-table-compact th {
color: #e5eaf0 !important; /* Lighter text for dark mode */
color: var(--color-gray-200) !important; /* Lighter text for dark mode */
background-color: rgba(15, 23, 42, 0.5) !important; /* Dark gray background */
border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}
@@ -254,7 +254,7 @@
.igny8-table-compact td {
padding: 8px 12px !important; /* Reduced padding for body cells */
font-size: 14px !important; /* Consistent size across all cells */
border-bottom: 1px solid #e2e8f0 !important;
border-bottom: 1px solid var(--color-gray-200) !important;
}
.dark .igny8-table-compact td {
@@ -301,33 +301,33 @@ select.igny8-select-styled {
select.igny8-select-styled option {
padding: 10px 12px !important;
background: #fff !important;
color: #334054 !important;
background: white !important;
color: var(--color-gray-700) !important;
font-size: 13px !important;
}
select.igny8-select-styled option:hover {
background: #f1f5f9 !important;
background: var(--color-gray-100) !important;
}
select.igny8-select-styled option:checked {
background: #ede9fe !important;
color: #5d4ae3 !important;
background: var(--color-purple-100) !important;
color: var(--color-purple-600) !important;
font-weight: 600 !important;
}
.dark select.igny8-select-styled option {
background: #1f2937 !important;
color: #e5eaf0 !important;
background: var(--color-gray-800) !important;
color: var(--color-gray-200) !important;
}
.dark select.igny8-select-styled option:hover {
background: #374151 !important;
background: var(--color-gray-700) !important;
}
.dark select.igny8-select-styled option:checked {
background: #3a2f94 !important;
color: #e9d5ff !important;
background: var(--color-purple-900) !important;
color: var(--color-purple-200) !important;
}
/* === Header Metrics Bar (compact, right-aligned) === */
@@ -389,7 +389,7 @@ select.igny8-select-styled option:checked {
}
.dark .igny8-header-metric-value {
color: #fff;
color: white;
}
.igny8-header-metric-accent {
@@ -425,13 +425,13 @@ select.igny8-select-styled option:checked {
/* Very Hard (5) - Darker error background (not maroon, just darker error red) */
.difficulty-badge.difficulty-very-hard {
background-color: #dc2626 !important; /* red-600 - darker than bg-error-500 (red-500) */
color: #fff !important;
background-color: var(--color-error-600) !important; /* red-600 - darker than bg-error-500 (red-500) */
color: white !important;
}
.dark .difficulty-badge.difficulty-very-hard {
background-color: #dc2626 !important; /* red-600 - darker error */
color: #fff !important;
background-color: var(--color-error-600) !important; /* red-600 - darker error */
color: white !important;
}
/* Center align Difficulty column header and cells */

View File

@@ -11,42 +11,42 @@
/* ===================================================================
PRIMARY BRAND COLORS
=================================================================== */
--color-primary: #0693e3; /* Primary brand blue - main CTA */
--color-primary-dark: #0472b8; /* Darkened for hover / active / gradient depth */
--color-primary: #2C7AA1; /* Primary rich blue - main CTA */
--color-primary-dark: #236082; /* Darkened for hover / active / gradient depth */
/* Success Green (cooler to match cyan) */
--color-success: #0bbf87; /* Teal-green for success states */
--color-success-dark: #08966b; /* Deeper teal-green for hover / active */
/* Success Green (teal-aligned) */
--color-success: #2CA18E; /* Deep teal for success states */
--color-success-dark: #238272; /* Deeper teal for hover / active */
/* Amber / Warning (warmed up to complement cyan) */
--color-warning: #ff7a00; /* Vivid orange for highlight / warning */
--color-warning-dark: #cc5f00; /* Darker orange for hover / strong warning */
/* Amber / Warning (warm contrast to cool palette) */
--color-warning: #D9A12C; /* Golden amber for highlight / warning */
--color-warning-dark: #B8872A; /* Darker amber for hover / strong warning */
/* Danger / Destructive */
--color-danger: #ef4444;
--color-danger-dark: #d13333; /* Refreshed red with better contrast */
--color-danger: #A12C40; /* Deep red aligned with palette */
--color-danger-dark: #832334; /* Darker red for hover / active */
/* Purple */
--color-purple: #5d4ae3; /* Purple for highlighting / special emphasis */
--color-purple-dark: #3a2f94; /* Darker purple for hover / active */
/* Purple (accent for special emphasis) */
--color-purple: #2C40A1; /* Navy-purple from analogous palette */
--color-purple-dark: #232F7A; /* Darker navy-purple for hover / active */
/* ===================================================================
BACKGROUND COLORS
=================================================================== */
--color-navy: #0d1b2a; /* Sidebar background */
--color-navy-light: #142b3f; /* Slightly lighter navy, hover/active */
--color-surface: #f8fafc; /* Page background (soft gray-white) */
--color-panel: #ffffff; /* Cards / panel foreground */
--color-panel-alt: #f1f5f9; /* Sub-panel / hover card background */
--color-navy: #1A2B3C; /* Sidebar background (charcoal-navy) */
--color-navy-light: #243A4D; /* Slightly lighter navy, hover/active */
--color-surface: #F8FAFB; /* Page background (cool gray-white) */
--color-panel: #FFFFFF; /* Cards / panel foreground */
--color-panel-alt: #EEF4F7; /* Sub-panel / hover card background (teal-tinted) */
/* ===================================================================
TEXT COLORS
=================================================================== */
--color-text: #555a68; /* main headings/body text */
--color-text-dim: #64748b; /* secondary/subtext */
--color-text-light: #e5eaf0; /* text on dark sidebar */
--color-stroke: #e2e8f0; /* table/grid borders and dividers */
--color-text: #1A2B3C; /* Main headings/body text (matches navy) */
--color-text-dim: #5A6B7C; /* Secondary/subtext (mid-gray with blue undertone) */
--color-text-light: #E8F0F4; /* Text on dark sidebar */
--color-stroke: #D4E0E8; /* Table/grid borders and dividers (cool-tinted) */
/* ===================================================================
BORDER RADIUS
=================================================================== */