From 5d4f221bf5db6d86e20696869fe4eb88af2cc733 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Thu, 27 Aug 2015 21:04:40 +0200 Subject: [PATCH] don't leak underlines --- common/gtk-3.0/3.18/gtk-contained-dark.css | 2 +- common/gtk-3.0/3.18/gtk-contained-darker.css | 2 +- common/gtk-3.0/3.18/gtk-contained-solid-dark.css | 2 +- common/gtk-3.0/3.18/gtk-contained-solid-darker.css | 2 +- common/gtk-3.0/3.18/gtk-contained-solid.css | 2 +- common/gtk-3.0/3.18/gtk-contained.css | 2 +- common/gtk-3.0/3.18/sass/_common.scss | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/common/gtk-3.0/3.18/gtk-contained-dark.css b/common/gtk-3.0/3.18/gtk-contained-dark.css index 808a3f4..3f5e5e3 100644 --- a/common/gtk-3.0/3.18/gtk-contained-dark.css +++ b/common/gtk-3.0/3.18/gtk-contained-dark.css @@ -828,7 +828,7 @@ GtkSearchEntry.entry { .header-bar.titlebar.selection-mode .subtitle:link, *:selected *:link, *:selected .button:link, *:selected .button:visited { color: #dceaf9; } -.button:link .label, .button:visited .label { +.button:link > .label, .button:visited > .label { text-decoration-line: underline; } /***************** diff --git a/common/gtk-3.0/3.18/gtk-contained-darker.css b/common/gtk-3.0/3.18/gtk-contained-darker.css index d78b205..f1d744f 100644 --- a/common/gtk-3.0/3.18/gtk-contained-darker.css +++ b/common/gtk-3.0/3.18/gtk-contained-darker.css @@ -828,7 +828,7 @@ GtkSearchEntry.entry { .header-bar.titlebar.selection-mode .subtitle:link, *:selected *:link, *:selected .button:link, *:selected .button:visited { color: #dceaf9; } -.button:link .label, .button:visited .label { +.button:link > .label, .button:visited > .label { text-decoration-line: underline; } /***************** diff --git a/common/gtk-3.0/3.18/gtk-contained-solid-dark.css b/common/gtk-3.0/3.18/gtk-contained-solid-dark.css index c54fa10..7f81a6c 100644 --- a/common/gtk-3.0/3.18/gtk-contained-solid-dark.css +++ b/common/gtk-3.0/3.18/gtk-contained-solid-dark.css @@ -828,7 +828,7 @@ GtkSearchEntry.entry { .header-bar.titlebar.selection-mode .subtitle:link, *:selected *:link, *:selected .button:link, *:selected .button:visited { color: #dceaf9; } -.button:link .label, .button:visited .label { +.button:link > .label, .button:visited > .label { text-decoration-line: underline; } /***************** diff --git a/common/gtk-3.0/3.18/gtk-contained-solid-darker.css b/common/gtk-3.0/3.18/gtk-contained-solid-darker.css index a4bf7f7..7ddb001 100644 --- a/common/gtk-3.0/3.18/gtk-contained-solid-darker.css +++ b/common/gtk-3.0/3.18/gtk-contained-solid-darker.css @@ -828,7 +828,7 @@ GtkSearchEntry.entry { .header-bar.titlebar.selection-mode .subtitle:link, *:selected *:link, *:selected .button:link, *:selected .button:visited { color: #dceaf9; } -.button:link .label, .button:visited .label { +.button:link > .label, .button:visited > .label { text-decoration-line: underline; } /***************** diff --git a/common/gtk-3.0/3.18/gtk-contained-solid.css b/common/gtk-3.0/3.18/gtk-contained-solid.css index b22780a..1fed2a9 100644 --- a/common/gtk-3.0/3.18/gtk-contained-solid.css +++ b/common/gtk-3.0/3.18/gtk-contained-solid.css @@ -828,7 +828,7 @@ GtkSearchEntry.entry { .header-bar.titlebar.selection-mode .subtitle:link, *:selected *:link, *:selected .button:link, *:selected .button:visited { color: #dceaf9; } -.button:link .label, .button:visited .label { +.button:link > .label, .button:visited > .label { text-decoration-line: underline; } /***************** diff --git a/common/gtk-3.0/3.18/gtk-contained.css b/common/gtk-3.0/3.18/gtk-contained.css index b48451a..f8be200 100644 --- a/common/gtk-3.0/3.18/gtk-contained.css +++ b/common/gtk-3.0/3.18/gtk-contained.css @@ -828,7 +828,7 @@ GtkSearchEntry.entry { .header-bar.titlebar.selection-mode .subtitle:link, *:selected *:link, *:selected .button:link, *:selected .button:visited { color: #dceaf9; } -.button:link .label, .button:visited .label { +.button:link > .label, .button:visited > .label { text-decoration-line: underline; } /***************** diff --git a/common/gtk-3.0/3.18/sass/_common.scss b/common/gtk-3.0/3.18/sass/_common.scss index eae5de1..c851e4f 100644 --- a/common/gtk-3.0/3.18/sass/_common.scss +++ b/common/gtk-3.0/3.18/sass/_common.scss @@ -773,7 +773,7 @@ $_dot_color: $selected_bg_color; &:hover, &:active, &:checked { @extend %undecorated_button; } - & .label { text-decoration-line: underline; } + > .label { text-decoration-line: underline; } } /*****************