forked from AuroraMiddleware/gtk
Adwaita: tooltip fixes
The "too dark" background was caused by box-shadow inherited by window-frame.csd, so box-shadow: none and the right background color on tooltip selector.
This commit is contained in:
parent
7f4105bcaf
commit
f66d84deec
@ -2574,7 +2574,9 @@ GtkInfoBar {
|
|||||||
background-color: transparentize(black, 0.5); // FIXME: I think this is not
|
background-color: transparentize(black, 0.5); // FIXME: I think this is not
|
||||||
// what I get, it looks
|
// what I get, it looks
|
||||||
// more solid.
|
// more solid.
|
||||||
|
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.
|
||||||
}
|
}
|
||||||
|
|
||||||
.tooltip * { //Yeah this is ugly
|
.tooltip * { //Yeah this is ugly
|
||||||
|
@ -3969,6 +3969,7 @@ GtkInfoBar {
|
|||||||
/* not working */
|
/* not working */
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: rgba(0, 0, 0, 0.5);
|
background-color: rgba(0, 0, 0, 0.5);
|
||||||
|
box-shadow: none;
|
||||||
text-shadow: 0 1px black; }
|
text-shadow: 0 1px black; }
|
||||||
|
|
||||||
.tooltip * {
|
.tooltip * {
|
||||||
|
@ -4116,6 +4116,7 @@ GtkInfoBar {
|
|||||||
/* not working */
|
/* not working */
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background-color: rgba(0, 0, 0, 0.5);
|
background-color: rgba(0, 0, 0, 0.5);
|
||||||
|
box-shadow: none;
|
||||||
text-shadow: 0 1px black; }
|
text-shadow: 0 1px black; }
|
||||||
|
|
||||||
.tooltip * {
|
.tooltip * {
|
||||||
|
Loading…
Reference in New Issue
Block a user