| 1 |
@charset "UTF-8"; |
| 2 |
|
| 3 |
/************ |
| 4 |
* Tooltips * |
| 5 |
************/ |
| 6 |
|
| 7 |
tooltip { |
| 8 |
&.background { |
| 9 |
// background-color needs to be set this way otherwise it gets drawn twice |
| 10 |
// see https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details. |
| 11 |
background-color: gtk("@tooltip_background"); |
| 12 |
background-clip: padding-box; |
| 13 |
} |
| 14 |
|
| 15 |
color: gtk("@tooltip_text"); |
| 16 |
padding: 4px; /* not working */ |
| 17 |
border-radius: $r; |
| 18 |
box-shadow: none; // otherwise it gets inherited by windowframe.csd |
| 19 |
text-shadow: none; |
| 20 |
border: 1px solid gtk("@tooltip_border"); |
| 21 |
&.window-frame.csd { |
| 22 |
background-color: transparent; |
| 23 |
box-shadow: none; |
| 24 |
} |
| 25 |
decoration { |
| 26 |
background-color: transparent; |
| 27 |
} |
| 28 |
} |
| 29 |
|
| 30 |
tooltip * { |
| 31 |
//Yeah this is ugly |
| 32 |
padding: 0px; |
| 33 |
background-color: transparent; |
| 34 |
color: gtk("@tooltip_text"); // just to be sure |
| 35 |
} |