forked from AuroraMiddleware/gtk
Merge branch 'theme-link-styling-fixes' into 'master'
Adwaita: Fix link styling See merge request GNOME/gtk!1721
This commit is contained in:
commit
f1da4cfae1
@ -1048,8 +1048,7 @@ list > row button.image-button:not(.flat) {
|
|||||||
*********/
|
*********/
|
||||||
|
|
||||||
%link,
|
%link,
|
||||||
button:link,
|
link {
|
||||||
link:link {
|
|
||||||
color: $link_color;
|
color: $link_color;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
|
||||||
@ -1074,19 +1073,17 @@ link:link {
|
|||||||
|
|
||||||
&:disabled, &:disabled:backdrop { color: transparentize(desaturate($link_color, 100%), 0.2); }
|
&:disabled, &:disabled:backdrop { color: transparentize(desaturate($link_color, 100%), 0.2); }
|
||||||
|
|
||||||
&:backdrop { &:backdrop:hover, &:backdrop:hover:selected, & { color: transparentize($link_color, 0.1); }}
|
&:backdrop { color: transparentize($link_color, 0.1); }
|
||||||
|
|
||||||
@at-root %link_selected,
|
@at-root %link_selected,
|
||||||
&:selected,
|
&:selected,
|
||||||
*:selected & { color: mix($selected_fg_color, $link_color, 80%); }
|
*:selected & { color: mix($selected_fg_color, $link_color, 80%); }
|
||||||
}
|
}
|
||||||
|
|
||||||
button:link,
|
button.link {
|
||||||
button:visited {
|
@extend %link;
|
||||||
@extend %undecorated_button;
|
|
||||||
|
|
||||||
text-shadow: none;
|
|
||||||
|
|
||||||
|
&,
|
||||||
&:hover,
|
&:hover,
|
||||||
&:active,
|
&:active,
|
||||||
&:checked {
|
&:checked {
|
||||||
@ -1096,7 +1093,7 @@ button:visited {
|
|||||||
}
|
}
|
||||||
|
|
||||||
> label {
|
> label {
|
||||||
@extend %link;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user