[gtk+/wip/matthiasc/tab-strip] Add some hover style
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/tab-strip] Add some hover style
- Date: Thu, 26 May 2016 02:21:12 +0000 (UTC)
commit 0a06bb66dbf955614ee2804c91e4a25a6369c83a
Author: Matthias Clasen <mclasen redhat com>
Date: Wed May 25 21:32:26 2016 -0400
Add some hover style
Just so we can see it is there.
gtk/theme/Adwaita/_common.scss | 7 ++++++-
gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++++-
gtk/theme/Adwaita/gtk-contained.css | 5 ++++-
3 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 393fba2..ee6a55a 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2308,10 +2308,15 @@ tabs {
padding: 13px; // keeping width when paging buttons show up
border-right: 1px solid transparentize($borders_color,0.5);
&:first-child { border-left: 1px solid transparentize($borders_color,0.5); }
- &:checked { //FIXME not really working
+ &:checked,
+ &:checked:hover { //FIXME not really working
border-bottom: 2px solid $selected_bg_color;
padding-bottom: 11px;
}
+ &:hover {
+ border-bottom: 2px solid $borders_color;
+ padding-bottom: 11px;
+ }
}
}
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 657de19..ebbabc5 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -2599,9 +2599,12 @@ tabs tab {
border-right: 1px solid rgba(27, 31, 32, 0.5); }
tabs tab:first-child {
border-left: 1px solid rgba(27, 31, 32, 0.5); }
- tabs tab:checked {
+ tabs tab:checked, tabs tab:checked:hover {
border-bottom: 2px solid #215d9c;
padding-bottom: 11px; }
+ tabs tab:hover {
+ border-bottom: 2px solid #1b1f20;
+ padding-bottom: 11px; }
/**************
* Scrollbars *
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 73783fe..c86033d 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -2612,9 +2612,12 @@ tabs tab {
border-right: 1px solid rgba(182, 182, 179, 0.5); }
tabs tab:first-child {
border-left: 1px solid rgba(182, 182, 179, 0.5); }
- tabs tab:checked {
+ tabs tab:checked, tabs tab:checked:hover {
border-bottom: 2px solid #4a90d9;
padding-bottom: 11px; }
+ tabs tab:hover {
+ border-bottom: 2px solid #b6b6b3;
+ padding-bottom: 11px; }
/**************
* Scrollbars *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]