From 9099094eaa88ee93bd903eba7256d9bc4deadc7a Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 17 Oct 2014 13:17:15 +0200 Subject: GreenLaguna GTK3: use an image as resize grip --- .../GreenLaguna/gtk-3.0/assets/Makefile.am | 1 + .../GreenLaguna/gtk-3.0/assets/resize-grip.svg | 117 +++++++++++++++++++++ .../GreenLaguna/gtk-3.0/gtk-widgets-assets.css | 7 ++ desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css | 8 +- 4 files changed, 127 insertions(+), 6 deletions(-) create mode 100644 desktop-themes/GreenLaguna/gtk-3.0/assets/resize-grip.svg (limited to 'desktop-themes/GreenLaguna/gtk-3.0') diff --git a/desktop-themes/GreenLaguna/gtk-3.0/assets/Makefile.am b/desktop-themes/GreenLaguna/gtk-3.0/assets/Makefile.am index 3a7c3d62..43405b4d 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/assets/Makefile.am +++ b/desktop-themes/GreenLaguna/gtk-3.0/assets/Makefile.am @@ -74,6 +74,7 @@ theme_DATA = \ radio-unselected-insensitive.svg \ radio-unselected-lessdark.svg \ radio-unselected.svg \ + resize-grip.svg \ scale-slider-horizontal-dark.svg \ scale-slider-horizontal-insensitive-dark.svg \ scale-slider-horizontal-insensitive.svg \ diff --git a/desktop-themes/GreenLaguna/gtk-3.0/assets/resize-grip.svg b/desktop-themes/GreenLaguna/gtk-3.0/assets/resize-grip.svg new file mode 100644 index 00000000..fa1f5872 --- /dev/null +++ b/desktop-themes/GreenLaguna/gtk-3.0/assets/resize-grip.svg @@ -0,0 +1,117 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets-assets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets-assets.css index 0f40565c..55364428 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets-assets.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets-assets.css @@ -223,6 +223,13 @@ GtkSwitch.trough:active { background-image: url("assets/radio-mixed-insensitive.svg"); } +/*the little usefull helper*/ + +.grip { +background-color: transparent; +background-image: url("assets/resize-grip.svg"); +} + /*.menuitem:active, .menuitem *:active, .menuitem:prelight, diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css index 6ce8db0c..6c5bb806 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css @@ -45,8 +45,8 @@ -adwaita-focus-border-radius: 2; -adwaita-focus-border-dashes: 1; - -GtkWindow-resize-grip-width: 10; - -GtkWindow-resize-grip-height: 10; + -GtkWindow-resize-grip-width: 14; + -GtkWindow-resize-grip-height: 12; } /*************** @@ -102,10 +102,6 @@ color: @theme_tooltip_fg_color; } -/*.grip { - background-color: shade(@inactive_frame_color, 0.93); -}*/ - .view.rubberband, .rubberband { background-color: alpha(@theme_selected_bg_color, 0.35); -- cgit v1.2.1