Gtk-4: Add initial suppport to gtk v4

This commit is contained in:
EliverLara
2021-12-05 13:56:24 -06:00
parent 028fe82356
commit 15064551dd
61 changed files with 20832 additions and 0 deletions

View 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;
}
}