gtk-4.0/widgets/_tooltips.scss 906 B raw
1
/************
2
 * Tooltips *
3
 ************/
4
tooltip {
5
  &.background {
6
    // background-color needs to be set this way otherwise it gets drawn twice
7
    // see https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details.
8
    background-color: $osd_bg_color;
9
    background-clip: padding-box;
10
    border: 1px solid $tooltip_borders_color; // this suble border is meant to
11
                                              // not make the tooltip melt with
12
                                              // very dark backgrounds
13
  }
14
15
  padding: 4px; /* not working */
16
  border-radius: 5px;
17
  box-shadow: none; // otherwise it gets inherited by windowframe.csd
18
  text-shadow: 0 1px black;
19
20
  // FIXME: we need a border or tooltips vanish on black background.
21
  decoration { background-color: transparent; }
22
23
  * { // Yeah this is ugly
24
    padding: 4px;
25
    background-color: transparent;
26
    color: white;
27
  }
28
}