[gtk+] Adwaita: make links on infobars visible
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: make links on infobars visible
- Date: Tue, 8 Mar 2016 18:56:40 +0000 (UTC)
commit 5923b73fc1c48a29f4589b541651efc9d6fd1f1d
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Tue Mar 8 19:55:35 2016 +0100
Adwaita: make links on infobars visible
gtk/theme/Adwaita/_common.scss | 3 +++
gtk/theme/Adwaita/gtk-contained-dark.css | 12 +++++++++++-
gtk/theme/Adwaita/gtk-contained.css | 12 +++++++++++-
3 files changed, 25 insertions(+), 2 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 5c55df6..422ecff 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -870,6 +870,7 @@ button.color {
color: $selected_bg_color;
}
+ @at-root %link_selected,
&:selected,
*:selected & {
color: mix($selected_fg_color, $selected_bg_color, 80%);
@@ -3459,6 +3460,8 @@ infobar { border-style: none; }
& label:selected,
& label:selected:focus,
& label:selected:hover {background-color: darken($selected_bg_color, 10%); }
+
+ *:link { @extend %link_selected; }
}
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 7ecd0e3..fc100dd 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -1183,7 +1183,17 @@ button:visited {
button:backdrop:hover:selected:visited, .selection-mode.titlebar:not(headerbar)
.subtitle:backdrop:hover:link,
headerbar.selection-mode .subtitle:backdrop:hover:link {
color: #215d9c; }
- *:link:selected, button:selected:link,
+ .info *:link, .info button:link,
+ .info button:visited,
+ .question *:link,
+ .question button:link,
+ .question button:visited,
+ .warning *:link,
+ .warning button:link,
+ .warning button:visited,
+ .error *:link,
+ .error button:link,
+ .error button:visited, *:link:selected, button:selected:link,
button:selected:visited, .selection-mode.titlebar:not(headerbar) .subtitle:link,
headerbar.selection-mode .subtitle:link, *:selected *:link, *:selected button:link,
*:selected button:visited {
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 4e4a32f..7c42123 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1187,7 +1187,17 @@ button:visited {
button:backdrop:hover:selected:visited, .selection-mode.titlebar:not(headerbar)
.subtitle:backdrop:hover:link,
headerbar.selection-mode .subtitle:backdrop:hover:link {
color: #4a90d9; }
- *:link:selected, button:selected:link,
+ .info *:link, .info button:link,
+ .info button:visited,
+ .question *:link,
+ .question button:link,
+ .question button:visited,
+ .warning *:link,
+ .warning button:link,
+ .warning button:visited,
+ .error *:link,
+ .error button:link,
+ .error button:visited, *:link:selected, button:selected:link,
button:selected:visited, .selection-mode.titlebar:not(headerbar) .subtitle:link,
headerbar.selection-mode .subtitle:link, *:selected *:link, *:selected button:link,
*:selected button:visited {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]