mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-02 17:00:19 +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
|
// very dark backgrounds
|
||||||
}
|
}
|
||||||
|
|
||||||
color: white;
|
|
||||||
padding: 4px; /* not working */
|
padding: 4px; /* not working */
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
box-shadow: none; // otherwise it gets inherited by windowframe.csd
|
box-shadow: none; // otherwise it gets inherited by windowframe.csd
|
||||||
text-shadow: 0 1px black;
|
text-shadow: 0 1px black;
|
||||||
// FIXME: we need a border or tooltips vanish on black background.
|
// FIXME: we need a border or tooltips vanish on black background.
|
||||||
decoration.csd {
|
decoration {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
* { //Yeah this is ugly
|
* { //Yeah this is ugly
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4261,7 +4261,6 @@ infobar {
|
|||||||
* Tooltips *
|
* Tooltips *
|
||||||
************/
|
************/
|
||||||
tooltip {
|
tooltip {
|
||||||
color: white;
|
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
/* not working */
|
/* not working */
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
@ -4271,11 +4270,12 @@ tooltip {
|
|||||||
background-color: rgba(0, 0, 0, 0.8);
|
background-color: rgba(0, 0, 0, 0.8);
|
||||||
background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
border: 1px solid rgba(255, 255, 255, 0.1); }
|
border: 1px solid rgba(255, 255, 255, 0.1); }
|
||||||
tooltip decoration.csd {
|
tooltip decoration {
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
tooltip * {
|
tooltip * {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
background-color: transparent; }
|
background-color: transparent;
|
||||||
|
color: white; }
|
||||||
|
|
||||||
/*****************
|
/*****************
|
||||||
* Color Chooser *
|
* Color Chooser *
|
||||||
|
@ -4433,7 +4433,6 @@ infobar {
|
|||||||
* Tooltips *
|
* Tooltips *
|
||||||
************/
|
************/
|
||||||
tooltip {
|
tooltip {
|
||||||
color: white;
|
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
/* not working */
|
/* not working */
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
@ -4443,11 +4442,12 @@ tooltip {
|
|||||||
background-color: rgba(0, 0, 0, 0.8);
|
background-color: rgba(0, 0, 0, 0.8);
|
||||||
background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
border: 1px solid rgba(255, 255, 255, 0.1); }
|
border: 1px solid rgba(255, 255, 255, 0.1); }
|
||||||
tooltip decoration.csd {
|
tooltip decoration {
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
tooltip * {
|
tooltip * {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
background-color: transparent; }
|
background-color: transparent;
|
||||||
|
color: white; }
|
||||||
|
|
||||||
/*****************
|
/*****************
|
||||||
* Color Chooser *
|
* Color Chooser *
|
||||||
|
Loading…
Reference in New Issue
Block a user