From fb84637498b664deb6f044b82483b7358c3450f8 Mon Sep 17 00:00:00 2001 From: mrnhmath Date: Sun, 28 May 2017 22:27:33 +0000 Subject: TOK/TG: Remove gradient from notebook header --- .../TraditionalGreen/gtk-3.0/gtk-widgets.css | 25 ++++------------------ .../TraditionalOk/gtk-3.0/gtk-widgets.css | 25 ++++------------------ 2 files changed, 8 insertions(+), 42 deletions(-) (limited to 'desktop-themes') diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css index 18a40d55..8fd49601 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css @@ -1763,11 +1763,7 @@ notebook header.top { margin: -1px -1px 0px 0px; border-width: 0px 0px 1px 0px; border-radius: 3px 3px 0px 0px; - background-image: linear-gradient(to bottom, - shade(@notebook_tab_gradient_a, 1.05), - shade(@notebook_tab_gradient_b, 1.04) 50%, - shade(@notebook_tab_gradient_c, 1.06) 50%, - shade(@notebook_tab_gradient_d, 1.05)); + background-color: @theme_bg_color; box-shadow: inset 0px -1px 0 0 @border_color; } @@ -1789,33 +1785,21 @@ printdialog > box.view.vertical.dialog-vbox > box.vertical > notebook > header.t notebook header.bottom { margin: 0px -1px -1px 0px; border-width: 1px 1px 0px 0px; - background-image: linear-gradient(to top, - shade(@notebook_tab_gradient_a, 1.05), - shade(@notebook_tab_gradient_b, 1.04) 50%, - shade(@notebook_tab_gradient_c, 1.06) 50%, - shade(@notebook_tab_gradient_d, 1.05)); + background-color: @theme_bg_color; box-shadow: inset 0px 1px 0 0 @border_color; } notebook header.left { margin: 0px 0px -1px -1px; border-width: 0px 1px 0px 0px; - background-image: linear-gradient(to right, - shade(@notebook_tab_gradient_a, 1.05), - shade(@notebook_tab_gradient_b, 1.04) 50%, - shade(@notebook_tab_gradient_c, 1.06) 50%, - shade(@notebook_tab_gradient_d, 1.05)); + background-color: @theme_bg_color; box-shadow: inset -1px 0px 0 0 @border_color; } notebook header.right { margin: 0px -1px -1px 0px; border-width: 0px 0px 0px 1px; - background-image: linear-gradient(to left, - shade(@notebook_tab_gradient_a, 1.05), - shade(@notebook_tab_gradient_b, 1.04) 50%, - shade(@notebook_tab_gradient_c, 1.06) 50%, - shade(@notebook_tab_gradient_d, 1.05)); + background-color: @theme_bg_color; box-shadow: inset 1px 0px 0 0 @border_color; } @@ -4376,4 +4360,3 @@ printdialog.background paper { dialog.background dialog-vbox.vertical .vertical { background: transparent; } - diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css index 12357bf7..03c387da 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css @@ -1764,11 +1764,7 @@ notebook header.top { margin: -1px -1px 0px 0px; border-width: 0px 0px 1px 0px; border-radius: 3px 3px 0px 0px; - background-image: linear-gradient(to bottom, - shade(@notebook_tab_gradient_a, 1.05), - shade(@notebook_tab_gradient_b, 1.04) 50%, - shade(@notebook_tab_gradient_c, 1.06) 50%, - shade(@notebook_tab_gradient_d, 1.05)); + background-color: @theme_bg_color; box-shadow: inset 0px -1px 0 0 @border_color; } @@ -1790,33 +1786,21 @@ printdialog > box.view.vertical.dialog-vbox > box.vertical > notebook > header.t notebook header.bottom { margin: 0px -1px -1px 0px; border-width: 1px 1px 0px 0px; - background-image: linear-gradient(to top, - shade(@notebook_tab_gradient_a, 1.05), - shade(@notebook_tab_gradient_b, 1.04) 50%, - shade(@notebook_tab_gradient_c, 1.06) 50%, - shade(@notebook_tab_gradient_d, 1.05)); + background-color: @theme_bg_color; box-shadow: inset 0px 1px 0 0 @border_color; } notebook header.left { margin: 0px 0px -1px -1px; border-width: 0px 1px 0px 0px; - background-image: linear-gradient(to right, - shade(@notebook_tab_gradient_a, 1.05), - shade(@notebook_tab_gradient_b, 1.04) 50%, - shade(@notebook_tab_gradient_c, 1.06) 50%, - shade(@notebook_tab_gradient_d, 1.05)); + background-color: @theme_bg_color; box-shadow: inset -1px 0px 0 0 @border_color; } notebook header.right { margin: 0px -1px -1px 0px; border-width: 0px 0px 0px 1px; - background-image: linear-gradient(to left, - shade(@notebook_tab_gradient_a, 1.05), - shade(@notebook_tab_gradient_b, 1.04) 50%, - shade(@notebook_tab_gradient_c, 1.06) 50%, - shade(@notebook_tab_gradient_d, 1.05)); + background-color: @theme_bg_color; box-shadow: inset 1px 0px 0 0 @border_color; } @@ -4379,4 +4363,3 @@ printdialog.background paper { dialog.background dialog-vbox.vertical .vertical { background: transparent; } - -- cgit v1.2.1