mirror of
https://github.com/luneko/SweetTokyoNight.git
synced 2025-12-13 15:29:53 +01:00
Gtk-4: Add initial suppport to gtk v4
This commit is contained in:
28
gtk-4.0/widgets/_tooltips.scss
Normal file
28
gtk-4.0/widgets/_tooltips.scss
Normal file
@@ -0,0 +1,28 @@
|
||||
/************
|
||||
* Tooltips *
|
||||
************/
|
||||
tooltip {
|
||||
&.background {
|
||||
// background-color needs to be set this way otherwise it gets drawn twice
|
||||
// see https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details.
|
||||
background-color: darken($_sidebar_color, 5%);
|
||||
background-clip: padding-box;
|
||||
border: 1px solid $tooltip_borders_color; // this suble border is meant to
|
||||
// not make the tooltip melt with
|
||||
// very dark backgrounds
|
||||
}
|
||||
|
||||
padding: 4px; /* not working */
|
||||
border-radius: 4px;
|
||||
box-shadow: none; // otherwise it gets inherited by windowframe.csd
|
||||
text-shadow: 0 1px black;
|
||||
|
||||
// FIXME: we need a border or tooltips vanish on black background.
|
||||
decoration { background-color: transparent; }
|
||||
|
||||
* { // Yeah this is ugly
|
||||
padding: 4px;
|
||||
background-color: transparent;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user