From 095858803f0dab97e8b9fdbe97eec2515636fc94 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 17 Oct 2014 13:16:12 +0200 Subject: BlackMate GTK3: use an image as resize grip --- .../BlackMATE/gtk-3.0/assets/Makefile.am | 1 + .../BlackMATE/gtk-3.0/assets/resize-grip.svg | 117 +++++++++++++++++++++ .../BlackMATE/gtk-3.0/gtk-widgets-assets-dark.css | 7 ++ desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 8 +- 4 files changed, 127 insertions(+), 6 deletions(-) create mode 100644 desktop-themes/BlackMATE/gtk-3.0/assets/resize-grip.svg (limited to 'desktop-themes') diff --git a/desktop-themes/BlackMATE/gtk-3.0/assets/Makefile.am b/desktop-themes/BlackMATE/gtk-3.0/assets/Makefile.am index bfa67066..34dbd79b 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/assets/Makefile.am +++ b/desktop-themes/BlackMATE/gtk-3.0/assets/Makefile.am @@ -57,6 +57,7 @@ theme_DATA = \ radio-unselected-dark.svg \ radio-unselected-insensitive-dark.svg \ radio-unselected-lessdark.svg \ + resize-grip.svg \ scale-slider-horizontal-dark.svg \ scale-slider-horizontal-insensitive-dark.svg \ scale-slider-marks-above-horizontal-dark.svg \ diff --git a/desktop-themes/BlackMATE/gtk-3.0/assets/resize-grip.svg b/desktop-themes/BlackMATE/gtk-3.0/assets/resize-grip.svg new file mode 100644 index 00000000..fa1f5872 --- /dev/null +++ b/desktop-themes/BlackMATE/gtk-3.0/assets/resize-grip.svg @@ -0,0 +1,117 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets-assets-dark.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets-assets-dark.css index 68be5e6a..56dc99b2 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets-assets-dark.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets-assets-dark.css @@ -292,6 +292,13 @@ GtkScale.scale-has-marks-below.slider.vertical:insensitive { background-image: url("assets/scale-slider-marks-below-horizontal-dark.svg"); } +/*the little usefull helper*/ + +.grip { +background-color: transparent; +background-image: url("assets/resize-grip.svg"); +} + /*********** * Buttons * ***********/ diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index 01b573d9..23a077a1 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -47,8 +47,8 @@ -GtkWidget-focus-padding: 2; -GtkWidget-focus-line-width: 1; - -GtkWindow-resize-grip-width: 10; - -GtkWindow-resize-grip-height: 10; + -GtkWindow-resize-grip-width: 14; + -GtkWindow-resize-grip-height: 12; /* We use the outline properties to signal the focus properties * to the adwaita engine: using real CSS properties is faster, @@ -112,10 +112,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