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:
Lapo Calamandrei 2014-09-05 16:17:00 +02:00
parent 7f4105bcaf
commit f66d84deec
3 changed files with 4 additions and 0 deletions

View File

@ -2574,7 +2574,9 @@ GtkInfoBar {
background-color: transparentize(black, 0.5); // FIXME: I think this is not
// what I get, it looks
// more solid.
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.
}
.tooltip * { //Yeah this is ugly

View File

@ -3969,6 +3969,7 @@ GtkInfoBar {
/* not working */
border-radius: 5px;
background-color: rgba(0, 0, 0, 0.5);
box-shadow: none;
text-shadow: 0 1px black; }
.tooltip * {

View File

@ -4116,6 +4116,7 @@ GtkInfoBar {
/* not working */
border-radius: 5px;
background-color: rgba(0, 0, 0, 0.5);
box-shadow: none;
text-shadow: 0 1px black; }
.tooltip * {