mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
Adwaita: Update tooltip styling more
Now that tooltips are csd again, the CSS wasn't quite working anymore.
This commit is contained in:
parent
f2b373add8
commit
3552f524c3
@ -3054,18 +3054,18 @@ tooltip {
|
||||
// very dark backgrounds
|
||||
}
|
||||
|
||||
color: white;
|
||||
padding: 4px; /* not working */
|
||||
border-radius: 5px;
|
||||
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.csd {
|
||||
decoration {
|
||||
background-color: transparent;
|
||||
}
|
||||
* { //Yeah this is ugly
|
||||
padding: 4px;
|
||||
background-color: transparent;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4261,7 +4261,6 @@ infobar {
|
||||
* Tooltips *
|
||||
************/
|
||||
tooltip {
|
||||
color: white;
|
||||
padding: 4px;
|
||||
/* not working */
|
||||
border-radius: 5px;
|
||||
@ -4271,11 +4270,12 @@ tooltip {
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
background-clip: padding-box;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1); }
|
||||
tooltip decoration.csd {
|
||||
tooltip decoration {
|
||||
background-color: transparent; }
|
||||
tooltip * {
|
||||
padding: 4px;
|
||||
background-color: transparent; }
|
||||
background-color: transparent;
|
||||
color: white; }
|
||||
|
||||
/*****************
|
||||
* Color Chooser *
|
||||
|
@ -4433,7 +4433,6 @@ infobar {
|
||||
* Tooltips *
|
||||
************/
|
||||
tooltip {
|
||||
color: white;
|
||||
padding: 4px;
|
||||
/* not working */
|
||||
border-radius: 5px;
|
||||
@ -4443,11 +4442,12 @@ tooltip {
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
background-clip: padding-box;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1); }
|
||||
tooltip decoration.csd {
|
||||
tooltip decoration {
|
||||
background-color: transparent; }
|
||||
tooltip * {
|
||||
padding: 4px;
|
||||
background-color: transparent; }
|
||||
background-color: transparent;
|
||||
color: white; }
|
||||
|
||||
/*****************
|
||||
* Color Chooser *
|
||||
|
Loading…
Reference in New Issue
Block a user