_tooltips.scss 919 B

12345678910111213141516171819202122232425262728
  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: transparentize(black, 0.2);
  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. padding: 4px; /* not working */
  15. border-radius: 5px;
  16. box-shadow: none; // otherwise it gets inherited by windowframe.csd
  17. text-shadow: 0 1px black;
  18. // FIXME: we need a border or tooltips vanish on black background.
  19. decoration { background-color: transparent; }
  20. * { // Yeah this is ugly
  21. padding: 4px;
  22. background-color: transparent;
  23. color: white;
  24. }
  25. }