many changes for modules widgets and colors and styling
This commit is contained in:
@@ -271,3 +271,301 @@
|
||||
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
|
||||
.chat-height { height: calc(100vh - 8.125rem); }
|
||||
.inbox-height { height: calc(100vh - 8.125rem); }
|
||||
|
||||
/* ===================================================================
|
||||
IGNY8 ACTIVE UTILITY CLASSES
|
||||
Migrated from igny8-colors.css - these are actively used in components
|
||||
=================================================================== */
|
||||
|
||||
/* === Styled Dropdown/Select === */
|
||||
.igny8-select-styled {
|
||||
background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23647085' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
|
||||
background-repeat: no-repeat !important;
|
||||
background-position: right 12px center !important;
|
||||
padding-right: 36px !important;
|
||||
}
|
||||
|
||||
.dark .igny8-select-styled {
|
||||
background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2398A2B3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
|
||||
}
|
||||
|
||||
/* === Header Metrics Bar (compact, right-aligned) === */
|
||||
.igny8-header-metrics {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 6px 12px;
|
||||
background: transparent;
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 2px 6px 3px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.dark .igny8-header-metrics {
|
||||
background: transparent;
|
||||
box-shadow: 0 2px 6px 3px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.igny8-header-metric {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.igny8-header-metric-separator {
|
||||
width: 1px;
|
||||
height: 16px;
|
||||
background: rgb(203 213 225);
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.dark .igny8-header-metric-separator {
|
||||
background: rgb(148 163 184);
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.igny8-header-metric-label {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
text-transform: capitalize;
|
||||
letter-spacing: 0.3px;
|
||||
color: rgb(100 116 139);
|
||||
}
|
||||
|
||||
.dark .igny8-header-metric-label {
|
||||
color: rgb(148 163 184);
|
||||
}
|
||||
|
||||
.igny8-header-metric-value {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: rgb(30 41 59);
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
.igny8-header-metric-value-credits {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.dark .igny8-header-metric-value {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.igny8-header-metric-accent {
|
||||
width: 4px;
|
||||
height: 20px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.igny8-header-metric-accent.blue {
|
||||
background: var(--color-primary);
|
||||
}
|
||||
|
||||
.igny8-header-metric-accent.green {
|
||||
background: var(--color-success);
|
||||
}
|
||||
|
||||
.igny8-header-metric-accent.amber {
|
||||
background: var(--color-warning);
|
||||
}
|
||||
|
||||
.igny8-header-metric-accent.purple {
|
||||
background: var(--color-purple);
|
||||
}
|
||||
|
||||
/* === Table Compact Styles === */
|
||||
.igny8-table-compact th {
|
||||
padding: 12px 16px !important;
|
||||
font-size: 14px !important;
|
||||
font-weight: 600 !important;
|
||||
color: var(--color-gray-600) !important;
|
||||
text-align: left !important;
|
||||
background-color: var(--color-gray-50) !important;
|
||||
border-bottom: 2px solid var(--color-gray-200) !important;
|
||||
text-transform: capitalize;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
|
||||
.dark .igny8-table-compact th {
|
||||
color: var(--color-gray-200) !important;
|
||||
background-color: rgba(15, 23, 42, 0.5) !important;
|
||||
border-bottom-color: rgba(255, 255, 255, 0.1) !important;
|
||||
}
|
||||
|
||||
.igny8-table-compact td {
|
||||
padding: 8px 12px !important;
|
||||
font-size: 14px !important;
|
||||
border-bottom: 1px solid var(--color-gray-200) !important;
|
||||
}
|
||||
|
||||
.dark .igny8-table-compact td {
|
||||
border-bottom-color: rgba(255, 255, 255, 0.05) !important;
|
||||
}
|
||||
|
||||
.igny8-table-compact th.text-center {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.igny8-table-compact td.text-center {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
/* === Smooth Table Height Transitions === */
|
||||
.igny8-table-container {
|
||||
min-height: 500px;
|
||||
transition: min-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
will-change: min-height;
|
||||
}
|
||||
|
||||
.igny8-table-container.loading {
|
||||
min-height: 500px;
|
||||
overflow: hidden !important;
|
||||
contain: layout style paint;
|
||||
}
|
||||
|
||||
.igny8-table-container.loaded {
|
||||
min-height: auto;
|
||||
overflow: visible;
|
||||
transition: min-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
animation: fadeInContainer 0.3s ease-out;
|
||||
}
|
||||
|
||||
@keyframes fadeInContainer {
|
||||
from { opacity: 0.95; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
.igny8-table-wrapper {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
overflow-x: hidden;
|
||||
overflow-y: hidden;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: rgba(148, 163, 184, 0.3) transparent;
|
||||
transition: opacity 0.4s ease-in-out;
|
||||
contain: layout;
|
||||
}
|
||||
|
||||
.igny8-table-container.loading .igny8-table-wrapper {
|
||||
overflow-x: hidden !important;
|
||||
overflow-y: hidden !important;
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
|
||||
.igny8-table-container.loading .igny8-table-wrapper::-webkit-scrollbar {
|
||||
display: none !important;
|
||||
width: 0 !important;
|
||||
height: 0 !important;
|
||||
}
|
||||
|
||||
.igny8-table-container.loaded .igny8-table-wrapper {
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
animation: showScrollbar 0.4s ease-out 0.3s both;
|
||||
}
|
||||
|
||||
@keyframes showScrollbar {
|
||||
from { scrollbar-width: none; }
|
||||
to { scrollbar-width: thin; }
|
||||
}
|
||||
|
||||
.igny8-table-smooth {
|
||||
width: 100%;
|
||||
table-layout: fixed;
|
||||
min-width: 100%;
|
||||
transition: opacity 0.5s ease-in-out;
|
||||
contain: layout;
|
||||
}
|
||||
|
||||
.igny8-table-container.loading .igny8-table-smooth {
|
||||
opacity: 0.8;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.igny8-table-container.loaded .igny8-table-smooth {
|
||||
opacity: 1;
|
||||
table-layout: auto;
|
||||
transition: opacity 0.5s ease-in-out, table-layout 0.1s ease-out;
|
||||
}
|
||||
|
||||
.igny8-table-body {
|
||||
position: relative;
|
||||
min-height: 450px;
|
||||
transition: min-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease-in-out;
|
||||
contain: layout;
|
||||
}
|
||||
|
||||
.igny8-table-container.loading .igny8-table-body {
|
||||
min-height: 450px;
|
||||
opacity: 1;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.igny8-table-container.loaded .igny8-table-body {
|
||||
min-height: 0;
|
||||
opacity: 1;
|
||||
transition: min-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease-in-out;
|
||||
}
|
||||
|
||||
.igny8-table-container.loading .igny8-table-body > tr:not(.igny8-skeleton-row) {
|
||||
display: none !important;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.igny8-table-container.loaded .igny8-table-body > tr.igny8-skeleton-row {
|
||||
display: none !important;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.igny8-data-row {
|
||||
animation: fadeInRow 0.6s ease-out forwards;
|
||||
opacity: 0;
|
||||
transform: translateY(8px);
|
||||
}
|
||||
|
||||
@keyframes fadeInRow {
|
||||
from { opacity: 0; transform: translateY(8px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
.igny8-skeleton-row {
|
||||
animation: none !important;
|
||||
opacity: 1 !important;
|
||||
transform: none !important;
|
||||
display: table-row !important;
|
||||
}
|
||||
|
||||
.igny8-table-container.loading * {
|
||||
backface-visibility: hidden;
|
||||
perspective: 1000px;
|
||||
}
|
||||
|
||||
/* === Filter Bar === */
|
||||
.igny8-filter-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
/* === Difficulty Badge Special Styling === */
|
||||
.difficulty-badge {
|
||||
border-radius: 3px !important;
|
||||
min-width: 28px !important;
|
||||
display: inline-flex !important;
|
||||
justify-content: center !important;
|
||||
align-items: center !important;
|
||||
}
|
||||
|
||||
.difficulty-badge.difficulty-very-hard {
|
||||
background-color: var(--color-error-600) !important;
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
.dark .difficulty-badge.difficulty-very-hard {
|
||||
background-color: var(--color-error-600) !important;
|
||||
color: white !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user