mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-20 00:43:04 +00:00
add tooltip stuff
[deploy]
This commit is contained in:
12
src/lib/style/tippy.scss
Normal file
12
src/lib/style/tippy.scss
Normal file
@@ -0,0 +1,12 @@
|
||||
.tippy-box[data-theme~="surface-variant"] {
|
||||
color: var(--md-sys-color-on-surface-variant);
|
||||
background-color: var(--md-sys-color-surface-variant);
|
||||
|
||||
filter: drop-shadow(0 0 12px #000a);
|
||||
|
||||
@each $placement in top, bottom, right, left {
|
||||
&[data-placement^="#{$placement}"] > .tippy-arrow::before {
|
||||
border-#{$placement}-color: var(--md-sys-color-surface-variant);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user