diff options
author | raveit65 <[email protected]> | 2014-10-17 13:17:15 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2014-10-17 13:17:15 +0200 |
commit | 9099094eaa88ee93bd903eba7256d9bc4deadc7a (patch) | |
tree | 30102115fa8bb6b2d79af8a381179f1c73b418a3 | |
parent | 095858803f0dab97e8b9fdbe97eec2515636fc94 (diff) | |
download | mate-themes-9099094eaa88ee93bd903eba7256d9bc4deadc7a.tar.bz2 mate-themes-9099094eaa88ee93bd903eba7256d9bc4deadc7a.tar.xz |
GreenLaguna GTK3: use an image as resize grip
4 files changed, 127 insertions, 6 deletions
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 @@ +<?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/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); |