style(next): restyle tooltips

This commit is contained in:
Adorian Doran 2024-12-05 00:26:11 +02:00
parent a87c4132ce
commit 5c1a404ed0

View File

@ -194,9 +194,9 @@
--calendar-day-hover-background: var(--active-item-background-color); --calendar-day-hover-background: var(--active-item-background-color);
--calendar-day-highlight-background: #80808024; --calendar-day-highlight-background: #80808024;
--tooltip-border-color: transparent; --tooltip-background-color: rgba(255, 255, 255, 0.85);
--tooltip-background-color: rgba(255, 255, 255, 0.8); --tooltip-foreground-color: #000000ba;
--tooltip-foreground-color: #fff; --tooltip-shadow-color: rgba(0, 0, 0, .15);
} }
/* /*
@ -332,8 +332,9 @@
--calendar-day-hover-background: var(--active-item-background-color); --calendar-day-hover-background: var(--active-item-background-color);
--calendar-day-highlight-background: #8080805a; --calendar-day-highlight-background: #8080805a;
--tooltip-background: rgba(0, 0, 0, 0.9); --tooltip-background-color: rgba(67, 67, 67, 0.86);
--tooltip-foreground: #fff; --tooltip-foreground-color: #ffffffeb;
--tooltip-shadow-color: rgba(0, 0, 0, 0.4);
} }
body ::-webkit-calendar-picker-indicator { body ::-webkit-calendar-picker-indicator {
@ -496,13 +497,14 @@
display: none; display: none;
} }
.tooltip-inner { .tooltip .tooltip-inner {
padding: 5px 10px !important; padding: 6px 10px !important;
border-radius: 8px; box-shadow: -1px -1px 2px var(--tooltip-shadow-color),
border: 1px solid var(--tooltip-border-color) !important; 2px 2px 8px var(--tooltip-shadow-color) !important;
border: unset !important;
border-radius: 6px;
backdrop-filter: blur(5px);
color: var(--tooltip-foreground-color) !important; color: var(--tooltip-foreground-color) !important;
line-height: 1.25;
box-shadow: none !important;
} }
/* /*