summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2014-11-04 21:41:23 +0100
committerraveit65 <[email protected]>2014-11-04 21:41:23 +0100
commitf8ecbb5017a7e990c05132c0ff3ac6516eaefc7c (patch)
tree0c626c356232a5eed80d2a11e9f0e2d7805fd14e
parent1a8e935e0102ca50c032c1045af9910040108263 (diff)
downloadmate-themes-f8ecbb5017a7e990c05132c0ff3ac6516eaefc7c.tar.bz2
mate-themes-f8ecbb5017a7e990c05132c0ff3ac6516eaefc7c.tar.xz
Menta themes GTK3: increase windows outerline for CSD apps, for better resizing
-rw-r--r--desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css9
-rw-r--r--desktop-themes/BlueMenta/metacity-1/metacity-theme-1.xml37
-rw-r--r--desktop-themes/Menta/gtk-3.0/gtk-widgets.css9
-rw-r--r--desktop-themes/Menta/metacity-1/metacity-theme-1.xml8
4 files changed, 42 insertions, 21 deletions
diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css
index f814c2fa..9ab2fe5b 100644
--- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css
@@ -2282,7 +2282,7 @@ GtkCheckButton:selected:focus {
* Header bars *
***************/
.header-bar {
- border-width: 0 0 1px;
+ border-width: 0px 0px 0px 0px;
border-style: solid;
border-color: shade(@borders, 0.90);
@@ -3603,9 +3603,7 @@ GtkModelButton.button:selected {
*******/
.titlebar {
text-shadow: 0 1px @wm_title_shadow;
- background-image: linear-gradient(to bottom,
- @wm_bg_a,
- @wm_bg_b);
+ background-image: none;
border-radius: 0;
box-shadow: inset 0 -1px alpha(@theme_base_color, 0.4);
border-color: @borders;
@@ -3683,8 +3681,7 @@ GtkModelButton.button:selected {
}
.window-frame {
- border-radius: 6px 6px 0 0;
- /* lamefun trick to get rounded borders regardless of CSD use */
+ border-radius: 0;
border-width: 0px;
box-shadow: 0 0 0 1px @wm_border, 0 2px 8px 3px @wm_shadow;
diff --git a/desktop-themes/BlueMenta/metacity-1/metacity-theme-1.xml b/desktop-themes/BlueMenta/metacity-1/metacity-theme-1.xml
index b04c1f14..ef7abb5f 100644
--- a/desktop-themes/BlueMenta/metacity-1/metacity-theme-1.xml
+++ b/desktop-themes/BlueMenta/metacity-1/metacity-theme-1.xml
@@ -50,14 +50,14 @@
</frame_geometry>
<frame_geometry name="border" has_title="false">
- <distance name="left_width" value="1"/>
- <distance name="right_width" value="1"/>
- <distance name="bottom_height" value="1"/>
+ <distance name="left_width" value="2"/>
+ <distance name="right_width" value="2"/>
+ <distance name="bottom_height" value="2"/>
<distance name="left_titlebar_edge" value="0"/>
<distance name="right_titlebar_edge" value="0"/>
<distance name="button_width" value="0"/>
<distance name="button_height" value="0"/>
- <distance name="title_vertical_pad" value="1"/>
+ <distance name="title_vertical_pad" value="2"/>
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
</frame_geometry>
@@ -101,6 +101,33 @@
<line color="shade/#3c3c3c/0.9" x1="1" y1="top_height - 0" x2="width - 2" y2="top_height - 0"/>
</draw_ops>
+<draw_ops name="draw_title-borders">
+ <!-- Background gradient -->
+ <gradient type="vertical" x="0" y="0" width="width" height="top_height">
+ <color value="#e8e8e8" />
+ <color value="#d2d2d2" />
+ </gradient>
+
+ <!-- Titlebar outline -->
+ <rectangle color="shade/#3c3c3c/1.2" filled="false" x="0" y="0" width="width - 1" height="top_height - 1"/>
+
+ <!-- Topmost lines -->
+ <line color="shade/#3c3c3c/1.2" x1="0" x2="width" y1="0" y2="0"/>
+
+ <!-- Darkening of the left arch -->
+ <line color="shade/#3c3c3c/1.2" x1="0" x2="4" y1="1" y2="1"/>
+ <line color="shade/#3c3c3c/1.2" x1="0" x2="2" y1="2" y2="2"/>
+ <line color="shade/#3c3c3c/1.2" x1="0" x2="1" y1="3" y2="3"/>
+ <line color="shade/#3c3c3c/1.2" x1="0" x2="1" y1="4" y2="4"/>
+
+ <line color="shade/#3c3c3c/1.2" x1="width-5" x2="width" y1="1" y2="1"/>
+ <line color="shade/#3c3c3c/1.2" x1="width-3" x2="width" y1="2" y2="2"/>
+ <line color="shade/#3c3c3c/1.2" x1="width-2" x2="width" y1="3" y2="3"/>
+ <line color="shade/#3c3c3c/1.2" x1="width-2" x2="width" y1="4" y2="4"/>
+
+ <line color="shade/#3c3c3c/0.9" x1="1" y1="top_height - 0" x2="width - 2" y2="top_height - 0"/>
+</draw_ops>
+
<draw_ops name="draw_title_unfocused">
<!-- Background gradient -->
<gradient type="vertical" x="0" y="0" width="width+9" height="height">
@@ -465,7 +492,7 @@
</frame_style>
<frame_style name="border" geometry="border" parent="normal_focused">
- <piece position="title" draw_ops="draw_title"/>
+ <piece position="title" draw_ops="draw_title-borders"/>
<piece position="titlebar" draw_ops="draw_title_inactive"/>
</frame_style>
diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
index 033c9165..a94821c5 100644
--- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
@@ -2282,7 +2282,7 @@ GtkCheckButton:selected:focus {
* Header bars *
***************/
.header-bar {
- border-width: 0 0 1px;
+ border-width: 0px 0px 0px 0px;
border-style: solid;
border-color: shade(@borders, 0.90);
@@ -3606,9 +3606,7 @@ GtkModelButton.button:selected {
*******/
.titlebar {
text-shadow: 0 1px @wm_title_shadow;
- background-image: linear-gradient(to bottom,
- @wm_bg_a,
- @wm_bg_b);
+ background-image: none;
border-radius: 0;
box-shadow: inset 0 -1px alpha(@theme_base_color, 0.4);
border-color: @borders;
@@ -3686,8 +3684,7 @@ GtkModelButton.button:selected {
}
.window-frame {
- border-radius: 6px 6px 0 0;
- /* lamefun trick to get rounded borders regardless of CSD use */
+ border-radius: 0;
border-width: 0px;
box-shadow: 0 0 0 1px @wm_border, 0 2px 8px 3px @wm_shadow;
diff --git a/desktop-themes/Menta/metacity-1/metacity-theme-1.xml b/desktop-themes/Menta/metacity-1/metacity-theme-1.xml
index 79ef22c4..606eb0a7 100644
--- a/desktop-themes/Menta/metacity-1/metacity-theme-1.xml
+++ b/desktop-themes/Menta/metacity-1/metacity-theme-1.xml
@@ -50,14 +50,14 @@
</frame_geometry>
<frame_geometry name="border" has_title="false">
- <distance name="left_width" value="1"/>
- <distance name="right_width" value="1"/>
- <distance name="bottom_height" value="1"/>
+ <distance name="left_width" value="2"/>
+ <distance name="right_width" value="2"/>
+ <distance name="bottom_height" value="2"/>
<distance name="left_titlebar_edge" value="0"/>
<distance name="right_titlebar_edge" value="0"/>
<distance name="button_width" value="0"/>
<distance name="button_height" value="0"/>
- <distance name="title_vertical_pad" value="1"/>
+ <distance name="title_vertical_pad" value="2"/>
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
</frame_geometry>