diff options
author | raveit65 <[email protected]> | 2014-10-17 13:16:12 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2014-10-17 13:16:12 +0200 |
commit | 095858803f0dab97e8b9fdbe97eec2515636fc94 (patch) | |
tree | 8c61d0ce4419562bd581c1f5e9cd263569d417ec | |
parent | d963d7aefd5d47e086aefb2c7f2c39c942d1b807 (diff) | |
download | mate-themes-095858803f0dab97e8b9fdbe97eec2515636fc94.tar.bz2 mate-themes-095858803f0dab97e8b9fdbe97eec2515636fc94.tar.xz |
BlackMate GTK3: use an image as resize grip
4 files changed, 127 insertions, 6 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="13" + height="13" + id="svg17653" + version="1.1" + inkscape:version="0.48.2 r9819" + sodipodi:docname="resize-grip.svg"> + <defs + id="defs17655" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="21.311078" + inkscape:cx="-8.2186936" + inkscape:cy="8.0008486" + inkscape:current-layer="layer1" + showgrid="true" + inkscape:grid-bbox="true" + inkscape:document-units="px" + inkscape:window-width="1920" + inkscape:window-height="1022" + inkscape:window-x="0" + inkscape:window-y="26" + inkscape:window-maximized="1" /> + <metadata + id="metadata17658"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + id="layer1" + inkscape:label="Layer 1" + inkscape:groupmode="layer" + transform="translate(0,-3)"> + <path + transform="matrix(0.65777374,0,0,0.65777374,-560.57081,-392.19484)" + d="m 870.53682,617.14966 a 1.9003495,1.9003495 0 1 1 -3.80069,0 1.9003495,1.9003495 0 1 1 3.80069,0 z" + sodipodi:ry="1.9003495" + sodipodi:rx="1.9003495" + sodipodi:cy="617.14966" + sodipodi:cx="868.63647" + id="path5513" + style="fill:#b9beb3;fill-opacity:1;stroke:none;display:inline;enable-background:new" + sodipodi:type="arc" /> + <path + sodipodi:type="arc" + style="fill:#b9beb3;fill-opacity:1;stroke:none;display:inline;enable-background:new" + id="path5515" + sodipodi:cx="868.63647" + sodipodi:cy="617.14966" + sodipodi:rx="1.9003495" + sodipodi:ry="1.9003495" + d="m 870.53682,617.14966 a 1.9003495,1.9003495 0 1 1 -3.80069,0 1.9003495,1.9003495 0 1 1 3.80069,0 z" + transform="matrix(0.65777374,0,0,0.65777374,-563.84354,-392.19484)" /> + <path + sodipodi:type="arc" + style="fill:#b9beb3;fill-opacity:1;stroke:none;display:inline;enable-background:new" + id="path5517" + sodipodi:cx="868.63647" + sodipodi:cy="617.14966" + sodipodi:rx="1.9003495" + sodipodi:ry="1.9003495" + d="m 870.53682,617.14966 a 1.9003495,1.9003495 0 1 1 -3.80069,0 1.9003495,1.9003495 0 1 1 3.80069,0 z" + transform="matrix(0.65777374,0,0,0.65777374,-560.57081,-395.46756)" /> + <path + transform="matrix(0.65777374,0,0,0.65777374,-560.57081,-398.74029)" + d="m 870.53682,617.14966 a 1.9003495,1.9003495 0 1 1 -3.80069,0 1.9003495,1.9003495 0 1 1 3.80069,0 z" + sodipodi:ry="1.9003495" + sodipodi:rx="1.9003495" + sodipodi:cy="617.14966" + sodipodi:cx="868.63647" + id="path5519" + style="fill:#b9beb3;fill-opacity:1;stroke:none;display:inline;enable-background:new" + sodipodi:type="arc" /> + <path + transform="matrix(0.65777374,0,0,0.65777374,-567.11626,-392.19484)" + d="m 870.53682,617.14966 a 1.9003495,1.9003495 0 1 1 -3.80069,0 1.9003495,1.9003495 0 1 1 3.80069,0 z" + sodipodi:ry="1.9003495" + sodipodi:rx="1.9003495" + sodipodi:cy="617.14966" + sodipodi:cx="868.63647" + id="path5521" + style="fill:#b9beb3;fill-opacity:1;stroke:none;display:inline;enable-background:new" + sodipodi:type="arc" /> + <path + transform="matrix(0.65777374,0,0,0.65777374,-563.84354,-395.46756)" + d="m 870.53682,617.14966 a 1.9003495,1.9003495 0 1 1 -3.80069,0 1.9003495,1.9003495 0 1 1 3.80069,0 z" + sodipodi:ry="1.9003495" + sodipodi:rx="1.9003495" + sodipodi:cy="617.14966" + sodipodi:cx="868.63647" + id="path5523" + style="fill:#b9beb3;fill-opacity:1;stroke:none;display:inline;enable-background:new" + sodipodi:type="arc" /> + </g> +</svg> 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); |