From c1218ede8474c7ab29624ab8fc81333d003b0f20 Mon Sep 17 00:00:00 2001
From: Horst3180
Date: Mon, 6 Jul 2015 20:16:48 +0200
Subject: titlebutton tweaks
---
common/gtk-3.0/3.16/_common.scss | 6 +--
common/gtk-3.0/3.16/assets.svg | 42 ++++++++++-----------
.../assets/titlebutton-close-backdrop-darker.png | Bin 682 -> 686 bytes
.../assets/titlebutton-close-backdrop-darker@2.png | Bin 1457 -> 1444 bytes
.../assets/titlebutton-max-backdrop-darker.png | Bin 647 -> 655 bytes
.../assets/titlebutton-max-backdrop-darker@2.png | Bin 1250 -> 1272 bytes
.../gtk-3.0/3.16/assets/titlebutton-max-darker.png | Bin 648 -> 661 bytes
.../3.16/assets/titlebutton-max-darker@2.png | Bin 1242 -> 1249 bytes
.../3.16/assets/titlebutton-max-hover-darker.png | Bin 688 -> 689 bytes
.../3.16/assets/titlebutton-max-hover-darker@2.png | Bin 1347 -> 1340 bytes
.../assets/titlebutton-min-backdrop-darker.png | Bin 547 -> 556 bytes
.../assets/titlebutton-min-backdrop-darker@2.png | Bin 1088 -> 1121 bytes
.../gtk-3.0/3.16/assets/titlebutton-min-darker.png | Bin 554 -> 567 bytes
.../3.16/assets/titlebutton-min-darker@2.png | Bin 1077 -> 1078 bytes
.../3.16/assets/titlebutton-min-hover-darker.png | Bin 569 -> 560 bytes
.../3.16/assets/titlebutton-min-hover-darker@2.png | Bin 1195 -> 1189 bytes
common/gtk-3.0/3.16/gtk-contained-dark.css | 6 +--
common/gtk-3.0/3.16/gtk-contained-darker.css | 6 +--
common/gtk-3.0/3.16/gtk-contained-solid-dark.css | 6 +--
19 files changed, 33 insertions(+), 33 deletions(-)
diff --git a/common/gtk-3.0/3.16/_common.scss b/common/gtk-3.0/3.16/_common.scss
index 8ed25e1..d2b0d66 100644
--- a/common/gtk-3.0/3.16/_common.scss
+++ b/common/gtk-3.0/3.16/_common.scss
@@ -1135,7 +1135,7 @@ GtkComboBox {
.titlebar {
padding-left: 7px;
padding-right: 7px;
- border-radius: 4px 4px 0 0;
+ border-radius: if($darker=='false' and $variant=='light', 4px 4px 0 0, 3px 3px 0 0);
color: $header_fg;
background-color: opacify($header_bg, 1);
box-shadow: inset 0 1px lighten($header_bg, 3%);
@@ -2675,7 +2675,7 @@ GtkVolumeButton.button { padding: 8px; }
*********************/
.window-frame {
- border-radius: 4px 4px 0 0;
+ border-radius: if($darker=='false' and $variant=='light', 4px 4px 0 0, 3px 3px 0 0);
// lamefun trick to get rounded borders regardless of CSD use
border-width: 0px;
@@ -2696,7 +2696,7 @@ GtkVolumeButton.button { padding: 8px; }
}
// server-side decorations as used by mutter
&.ssd {
- border-radius: 4px 4px 0 0;
+ border-radius: if($darker=='false' and $variant=='light', 4px 4px 0 0, 3px 3px 0 0);
box-shadow: 0 0 0 1px if($darker=='true', darken($header_bg, 7%), $_wm_border);
&.maximized { border-radius: 0; }
diff --git a/common/gtk-3.0/3.16/assets.svg b/common/gtk-3.0/3.16/assets.svg
index 260da43..a7f1cde 100644
--- a/common/gtk-3.0/3.16/assets.svg
+++ b/common/gtk-3.0/3.16/assets.svg
@@ -24,9 +24,9 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
- inkscape:zoom="2.8284271"
- inkscape:cx="95.047904"
- inkscape:cy="225.08118"
+ inkscape:zoom="8"
+ inkscape:cx="142.91558"
+ inkscape:cy="42.649419"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
@@ -5633,7 +5633,7 @@
y="-168.63782" />
@@ -5898,7 +5898,7 @@
inkscape:connector-curvature="0"
d="m 1373,254 0,2 6,0 0,-2 z"
id="rect9057-4-3-8-5"
- style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:Sans;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;display:inline;overflow:visible;visibility:visible;opacity:1;fill:#afb8c5;fill-opacity:1;stroke:none;stroke-width:2;marker:none;enable-background:accumulate"
+ style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:Sans;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;display:inline;overflow:visible;visibility:visible;opacity:0.8;fill:#afb8c5;fill-opacity:1;stroke:none;stroke-width:2;marker:none;enable-background:accumulate"
sodipodi:nodetypes="ccccc" />
@@ -6005,12 +6005,12 @@
@@ -6029,7 +6029,7 @@
@@ -6137,7 +6137,7 @@
@@ -6224,7 +6224,7 @@
@@ -6576,12 +6576,12 @@
@@ -6617,7 +6617,7 @@
inkscape:connector-curvature="0"
d="m 45,764 1,0 c 0.01037,-1.2e-4 0.02079,-4.6e-4 0.03125,0 0.254951,0.0112 0.50987,0.12858 0.6875,0.3125 L 49,766.59375 51.3125,764.3125 C 51.578125,764.082 51.759172,764.007 52,764 l 1,0 0,1 c 0,0.28647 -0.03434,0.55065 -0.25,0.75 l -2.28125,2.28125 2.25,2.25 C 52.906938,770.46942 52.999992,770.7347 53,771 l 0,1 -1,0 c -0.265301,-10e-6 -0.530586,-0.0931 -0.71875,-0.28125 L 49,769.4375 46.71875,771.71875 C 46.530586,771.90694 46.26529,772 46,772 l -1,0 0,-1 c -3e-6,-0.26529 0.09306,-0.53058 0.28125,-0.71875 l 2.28125,-2.25 L 45.28125,765.75 C 45.070508,765.55537 44.97809,765.28075 45,765 l 0,-1 z"
id="path10839-9-2-8-6"
- style="color:#bebebe;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:'Andale Mono';-inkscape-font-specification:'Andale Mono';text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;display:inline;overflow:visible;visibility:visible;opacity:0.7;fill:#afb8c5;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.78124988;marker:none;enable-background:new" />
+ style="color:#bebebe;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:'Andale Mono';-inkscape-font-specification:'Andale Mono';text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;display:inline;overflow:visible;visibility:visible;opacity:0.65;fill:#afb8c5;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.78124988;marker:none;enable-background:new" />
@@ -6651,12 +6651,12 @@
@@ -6675,7 +6675,7 @@
@@ -6696,12 +6696,12 @@
@@ -6722,7 +6722,7 @@
inkscape:connector-curvature="0"
d="m 1373,254 0,2 6,0 0,-2 z"
id="rect9057-4-09-2"
- style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:Sans;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;display:inline;overflow:visible;visibility:visible;opacity:0.7;fill:#afb8c5;fill-opacity:1;stroke:none;stroke-width:2;marker:none;enable-background:accumulate"
+ style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:Sans;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;display:inline;overflow:visible;visibility:visible;opacity:0.65;fill:#afb8c5;fill-opacity:1;stroke:none;stroke-width:2;marker:none;enable-background:accumulate"
sodipodi:nodetypes="ccccc" />