svelte-5-ui-lib
Version:
Svelte 5 UI Lib is a UI library built from scratch to leverage Svelte 5's runes system, creating smooth, reactive components.
167 lines (166 loc) • 4.78 kB
CSS
.apexcharts-canvas .apexcharts-tooltip {
background-color: white;
color: #6b7280;
border: 0 ;
border-radius: 0.25rem;
box-shadow:
0 4px 6px -1px rgb(0 0 0 / 0.1),
0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.dark .apexcharts-canvas .apexcharts-tooltip {
background-color: #374151;
color: #9ca3af;
border-color: transparent;
box-shadow:
0 4px 6px -1px rgb(0 0 0 / 0.1),
0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.apexcharts-canvas .apexcharts-tooltip .apexcharts-tooltip-title {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-right: 0.75rem;
padding-left: 0.75rem;
margin-bottom: 0.75rem;
background-color: #f3f4f6;
border-bottom-color: #e5e7eb;
font-size: 0.875rem ;
font-weight: 400;
color: #6b7280;
}
.dark .apexcharts-canvas .apexcharts-tooltip .apexcharts-tooltip-title {
background-color: #4b5563;
border-color: #6b7280;
color: #9ca3af;
}
.apexcharts-canvas .apexcharts-xaxistooltip {
color: #6b7280;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-right: 0.75rem;
padding-left: 0.75rem;
border-color: transparent;
background-color: white;
border-radius: 0.25rem;
box-shadow:
0 4px 6px -1px rgb(0 0 0 / 0.1),
0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.dark .apexcharts-canvas .apexcharts-xaxistooltip {
color: #9ca3af;
background-color: #374151;
}
.apexcharts-canvas .apexcharts-tooltip .apexcharts-tooltip-text-y-label {
color: #6b7280;
font-size: 0.875rem;
}
.dark .apexcharts-canvas .apexcharts-tooltip .apexcharts-tooltip-text-y-label {
color: #9ca3af;
}
.apexcharts-canvas .apexcharts-tooltip .apexcharts-tooltip-text-y-value {
color: #111827;
font-size: 0.875rem;
}
:is([dir='rtl']) .apexcharts-tooltip .apexcharts-tooltip-marker {
margin-right: 0px;
margin-left: e;
}
.dark .apexcharts-canvas .apexcharts-tooltip .apexcharts-tooltip-text-y-value {
color: white;
}
.apexcharts-canvas .apexcharts-xaxistooltip-text {
font-weight: 400;
font-size: 0.875rem ;
}
.apexcharts-canvas .apexcharts-xaxistooltip:after,
.apexcharts-canvas .apexcharts-xaxistooltip:before {
border-bottom-color: white;
}
.apexcharts-canvas .apexcharts-xaxistooltip:after {
border-width: 8px;
margin-left: -8px;
}
.apexcharts-canvas .apexcharts-xaxistooltip:before {
border-width: 10px;
margin-left: -10px;
}
.dark .apexcharts-canvas .apexcharts-xaxistooltip:after,
.dark .apexcharts-canvas .apexcharts-xaxistooltip:before {
border-bottom-color: #374151;
}
.apexcharts-canvas .apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-y-group {
padding: 0;
}
.apexcharts-canvas .apexcharts-tooltip-series-group.apexcharts-active {
padding-left: 0.75rem;
padding-right: 0.75rem;
padding-bottom: 0.75rem;
background-color: white ;
color: #6b7280 ;
}
.dark .apexcharts-canvas .apexcharts-tooltip-series-group.apexcharts-active {
background-color: #374151 ;
color: #9ca3af ;
}
.apexcharts-canvas .apexcharts-tooltip-series-group.apexcharts-active:first-of-type {
padding-top: 0.75rem;
}
.apexcharts-canvas .apexcharts-legend {
padding: 0 ;
}
.apexcharts-canvas .apexcharts-legend-text {
font-size: 0.75rem;
font-weight: 500 ;
padding-left: 1.25rem;
color: #6b7280 ;
}
:is([dir='rtl']) .apexcharts-canvas .apexcharts-legend-text {
padding-right: 0.5rem;
}
.apexcharts-canvas .apexcharts-legend-text:not(.apexcharts-inactive-legend):hover {
color: #111827 ;
}
.dark .apexcharts-canvas .apexcharts-legend-text {
color: #9ca3af ;
}
.dark .apexcharts-canvas .apexcharts-legend-text:not(.apexcharts-inactive-legend):hover {
color: white ;
}
.apexcharts-canvas .apexcharts-legend-series {
margin-left: 0.5rem;
margin-right: 0.5rem;
margin-bottom: 0.25rem ;
display: flex;
align-items: center;
}
.apexcharts-datalabels-group .apexcharts-text.apexcharts-datalabel-value {
fill: #111827 ;
font-size: 1.875rem;
font-weight: 700;
}
.dark .apexcharts-canvas .apexcharts-datalabels-group .apexcharts-text.apexcharts-datalabel-value {
fill: white ;
}
.apexcharts-canvas .apexcharts-datalabels-group .apexcharts-text.apexcharts-datalabel-label {
fill: #6b7280 ;
font-size: 1rem;
font-weight: 400;
}
.dark .apexcharts-canvas .apexcharts-datalabels-group .apexcharts-text.apexcharts-datalabel-label {
fill: #9ca3af ;
}
.apexcharts-canvas .apexcharts-datalabels .apexcharts-text.apexcharts-pie-label {
font-size: 0.75rem ;
font-weight: 600 ;
text-shadow: none ;
filter: none ;
}
.apexcharts-gridline,
.apexcharts-xcrosshairs,
.apexcharts-ycrosshairs {
stroke: #e5e7eb ;
}
.dark .apexcharts-gridline,
.dark .apexcharts-xcrosshairs,
.dark .apexcharts-ycrosshairs {
stroke: #374151 ;
}