From 5d29357cc93cad4ae01361f9e17b95df4914f804 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Sat, 7 Sep 2013 18:16:31 +0530 Subject: [PATCH] Restyled notebook tabs --- gtk-3.0/apps/granite-widgets.css | 3 ++- gtk-3.0/gtk-widgets.css | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gtk-3.0/apps/granite-widgets.css b/gtk-3.0/apps/granite-widgets.css index b0dc8bb..e943858 100644 --- a/gtk-3.0/apps/granite-widgets.css +++ b/gtk-3.0/apps/granite-widgets.css @@ -36,7 +36,8 @@ .dynamic-notebook .notebook tab:active { border-width: 1px; border-color: shade(@theme_bg_color, 0.8); - border-radius: 2px; + border-top-color: @theme_selected_bg_color; + border-radius: 0; background-color: shade(@theme_bg_color, 1.08); color: @theme_fg_color; } diff --git a/gtk-3.0/gtk-widgets.css b/gtk-3.0/gtk-widgets.css index fc7c75e..a6d869d 100644 --- a/gtk-3.0/gtk-widgets.css +++ b/gtk-3.0/gtk-widgets.css @@ -984,6 +984,7 @@ GtkModelMenuItem GtkBox GtkImage { .notebook tab:active { border-color: shade(@theme_base_color, 0.7); + border-radius: 0; background-color: @theme_base_color; background-image: none; } @@ -999,6 +1000,7 @@ GtkModelMenuItem GtkBox GtkImage { } .notebook tab.top:active { + border-top-color: @theme_selected_bg_color; } .notebook tab.right { @@ -1008,6 +1010,7 @@ GtkModelMenuItem GtkBox GtkImage { } .notebook tab.right:active { + border-right-color: @theme_selected_bg_color; } .notebook tab.bottom { @@ -1017,6 +1020,7 @@ GtkModelMenuItem GtkBox GtkImage { } .notebook tab.bottom:active { + border-bottom-color: @theme_selected_bg_color; } .notebook tab.left { @@ -1026,6 +1030,7 @@ GtkModelMenuItem GtkBox GtkImage { } .notebook tab.left:active { + border-left-color: @theme_selected_bg_color; } /******************