forked from AuroraMiddleware/gtk
Adwaita: Update tooltip theming
Use the newly introduced element name instead of hardcoding the type.
This commit is contained in:
parent
efc8dc63e3
commit
d974610741
@ -3015,7 +3015,7 @@ infobar {
|
|||||||
* Tooltips *
|
* Tooltips *
|
||||||
************/
|
************/
|
||||||
|
|
||||||
.tooltip {
|
tooltip {
|
||||||
&.background {
|
&.background {
|
||||||
// background-color needs to be set this way otherwise it gets drawn twice
|
// background-color needs to be set this way otherwise it gets drawn twice
|
||||||
// see https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details.
|
// see https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details.
|
||||||
@ -3037,7 +3037,7 @@ infobar {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.tooltip * { //Yeah this is ugly
|
tooltip * { //Yeah this is ugly
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: inherit; // just to be sure
|
color: inherit; // just to be sure
|
||||||
|
@ -4148,21 +4148,21 @@ infobar {
|
|||||||
/************
|
/************
|
||||||
* Tooltips *
|
* Tooltips *
|
||||||
************/
|
************/
|
||||||
.tooltip {
|
tooltip {
|
||||||
color: white;
|
color: white;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
/* not working */
|
/* not working */
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
text-shadow: 0 1px black; }
|
text-shadow: 0 1px black; }
|
||||||
.tooltip.background {
|
tooltip.background {
|
||||||
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.csd {
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.tooltip * {
|
tooltip * {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: inherit; }
|
color: inherit; }
|
||||||
|
@ -4320,21 +4320,21 @@ infobar {
|
|||||||
/************
|
/************
|
||||||
* Tooltips *
|
* Tooltips *
|
||||||
************/
|
************/
|
||||||
.tooltip {
|
tooltip {
|
||||||
color: white;
|
color: white;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
/* not working */
|
/* not working */
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
text-shadow: 0 1px black; }
|
text-shadow: 0 1px black; }
|
||||||
.tooltip.background {
|
tooltip.background {
|
||||||
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.csd {
|
||||||
background-color: transparent; }
|
background-color: transparent; }
|
||||||
|
|
||||||
.tooltip * {
|
tooltip * {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: inherit; }
|
color: inherit; }
|
||||||
|
Loading…
Reference in New Issue
Block a user