[gtk/wip/baedert/for-master] Adwaita: make links in infobars legible
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master] Adwaita: make links in infobars legible
- Date: Sat, 28 Sep 2019 07:11:45 +0000 (UTC)
commit 6369698e394a1ee0ced983210206925a8e0406a3
Author: Jakub Steiner <jimmac gmail com>
Date: Mon Jul 29 10:03:19 2019 +0200
Adwaita: make links in infobars legible
- No longer tinted blue, make legible
Fixes https://gitlab.gnome.org/GNOME/gnome-software/issues/751
gtk/theme/Adwaita/_common.scss | 2 +-
gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++-
gtk/theme/Adwaita/gtk-contained.css | 4 +++-
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 3130a5024a..2bef713a0a 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -4247,7 +4247,7 @@ infobar {
selection { background-color: darken($bg_color, 10%); }
- *:link { @extend %link_selected; }
+ *:link { color: $link_color; }
}
}
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 584ea9e158..d0a5e3f5c5 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -505,7 +505,7 @@ button:link > label:disabled, button:visited > label:disabled, button:link > lab
button:link > label:backdrop:backdrop:hover, button:visited > label:backdrop:backdrop:hover, button:link >
label:backdrop:backdrop:hover:selected, button:visited > label:backdrop:backdrop:hover:selected, button:link
label:backdrop, button:visited > label:backdrop, *:link:backdrop:backdrop:hover,
button:backdrop:backdrop:hover:link, button:backdrop:backdrop:hover:visited,
*:link:backdrop:backdrop:hover:selected, button:backdrop:backdrop:hover:selected:link,
button:backdrop:backdrop:hover:selected:visited, .selection-mode .titlebar:not(headerbar)
.subtitle:backdrop:backdrop:hover:link, .selection-mode.titlebar:not(headerbar)
.subtitle:backdrop:backdrop:hover:link, .selection-mode headerbar .subtitle:backdrop:backdrop:hover:link,
headerbar.selection-mode .subtitle:backdrop:backdrop:hover:link, *:link:backdrop, button:backdrop:link,
button:backdrop:visited { color: #15539e; }
-infobar.info *:link, infobar.info button:link, infobar.info button:visited, infobar.question *:link,
infobar.question button:link, infobar.question button:visited, infobar.warning *:link, infobar.warning
button:link, infobar.warning button:visited, infobar.error *:link, infobar.error button:link, infobar.error
button:visited, button:link > label:selected, button:visited > label:selected, *:selected button:link >
label, *:selected button:visited > label, *:link:selected, button:selected:link, button:selected:visited,
.selection-mode .titlebar:not(headerbar) .subtitle:link, .selection-mode.titlebar:not(headerbar)
.subtitle:link, .selection-mode headerbar .subtitle:link, headerbar.selection-mode .subtitle:link, *:selected
*:link, *:selected button:link, *:selected button:visited { color: #d0ddec; }
+button:link > label:selected, button:visited > label:selected, *:selected button:link > label, *:selected
button:visited > label, *:link:selected, button:selected:link, button:selected:visited, .selection-mode
.titlebar:not(headerbar) .subtitle:link, .selection-mode.titlebar:not(headerbar) .subtitle:link,
.selection-mode headerbar .subtitle:link, headerbar.selection-mode .subtitle:link, *:selected *:link,
*:selected button:link, *:selected button:visited { color: #d0ddec; }
button:link, button:visited { text-shadow: none; }
@@ -1850,6 +1850,8 @@ infobar.info button:backdrop label, infobar.info button:backdrop, infobar.info b
infobar.info selection, infobar.question selection, infobar.warning selection, infobar.error selection {
background-color: #1b1b1b; }
+infobar.info *:link, infobar.info button:link, infobar.info button:visited, infobar.question *:link,
infobar.question button:link, infobar.question button:visited, infobar.warning *:link, infobar.warning
button:link, infobar.warning button:visited, infobar.error *:link, infobar.error button:link, infobar.error
button:visited { color: #3584e4; }
+
/************ Tooltips * */
tooltip { padding: 4px; border-radius: 5px; box-shadow: none; text-shadow: 0 1px black; }
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 68dfecff4f..47a5e99f77 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -513,7 +513,7 @@ button:link > label:disabled, button:visited > label:disabled, button:link > lab
button:link > label:backdrop:backdrop:hover, button:visited > label:backdrop:backdrop:hover, button:link >
label:backdrop:backdrop:hover:selected, button:visited > label:backdrop:backdrop:hover:selected, button:link
label:backdrop, button:visited > label:backdrop, *:link:backdrop:backdrop:hover,
button:backdrop:backdrop:hover:link, button:backdrop:backdrop:hover:visited,
*:link:backdrop:backdrop:hover:selected, button:backdrop:backdrop:hover:selected:link,
button:backdrop:backdrop:hover:selected:visited, .selection-mode .titlebar:not(headerbar)
.subtitle:backdrop:backdrop:hover:link, .selection-mode.titlebar:not(headerbar)
.subtitle:backdrop:backdrop:hover:link, .selection-mode headerbar .subtitle:backdrop:backdrop:hover:link,
headerbar.selection-mode .subtitle:backdrop:backdrop:hover:link, *:link:backdrop, button:backdrop:link,
button:backdrop:visited { color: #3584e4; }
-infobar.info *:link, infobar.info button:link, infobar.info button:visited, infobar.question *:link,
infobar.question button:link, infobar.question button:visited, infobar.warning *:link, infobar.warning
button:link, infobar.warning button:visited, infobar.error *:link, infobar.error button:link, infobar.error
button:visited, button:link > label:selected, button:visited > label:selected, *:selected button:link >
label, *:selected button:visited > label, *:link:selected, button:selected:link, button:selected:visited,
.selection-mode .titlebar:not(headerbar) .subtitle:link, .selection-mode.titlebar:not(headerbar)
.subtitle:link, .selection-mode headerbar .subtitle:link, headerbar.selection-mode .subtitle:link, *:selected
*:link, *:selected button:link, *:selected button:visited { color: #d7e6fa; }
+button:link > label:selected, button:visited > label:selected, *:selected button:link > label, *:selected
button:visited > label, *:link:selected, button:selected:link, button:selected:visited, .selection-mode
.titlebar:not(headerbar) .subtitle:link, .selection-mode.titlebar:not(headerbar) .subtitle:link,
.selection-mode headerbar .subtitle:link, headerbar.selection-mode .subtitle:link, *:selected *:link,
*:selected button:link, *:selected button:visited { color: #d7e6fa; }
button:link, button:visited { text-shadow: none; }
@@ -1866,6 +1866,8 @@ infobar.info button:backdrop label, infobar.info button:backdrop, infobar.info b
infobar.info selection, infobar.question selection, infobar.warning selection, infobar.error selection {
background-color: #dfdcd8; }
+infobar.info *:link, infobar.info button:link, infobar.info button:visited, infobar.question *:link,
infobar.question button:link, infobar.question button:visited, infobar.warning *:link, infobar.warning
button:link, infobar.warning button:visited, infobar.error *:link, infobar.error button:link, infobar.error
button:visited { color: #1b6acb; }
+
/************ Tooltips * */
tooltip { padding: 4px; border-radius: 5px; box-shadow: none; text-shadow: 0 1px black; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]