[gnome-themes-standard] removed rounded corners on header-bar on maximized windows
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] removed rounded corners on header-bar on maximized windows
- Date: Mon, 9 Jun 2014 13:12:24 +0000 (UTC)
commit bab50c2bc3f2681fd6b0cdbc6ae7b66c9bc7217e
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Fri May 23 17:41:58 2014 +0200
removed rounded corners on header-bar on maximized windows
themes/Adwaita/gtk-3.0/_common.scss | 8 +++-----
themes/Adwaita/gtk-3.0/gtk-contained-dark.css | 8 +++-----
themes/Adwaita/gtk-3.0/gtk-contained.css | 8 +++-----
3 files changed, 9 insertions(+), 15 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 4d63d7e..650395f 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -490,10 +490,9 @@ GtkComboBox {
lighten($selected_bg_color,5%),
lighten($selected_bg_color,2%));
}
-}
-
-.tiled .header-bar {
- border-radius: 0;
+ .tiled &, .maximized & {
+ border-radius: 0; // squared corners when the window is max'd or tiled
+ }
}
/***************
@@ -678,7 +677,6 @@ GtkScrolledWindow.frame {
}
&.tiled {
border-radius: 0;
- background-color: red;;
}
}
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 7595207..79b9451 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -510,9 +510,8 @@ GtkComboBox {
color: #1c5187;
text-shadow: 0 1px rgba(0, 0, 0, 0.5);
background-image: linear-gradient(to bottom, #3583d5, #2b7bcf); }
-
-.tiled .header-bar {
- border-radius: 0; }
+ .tiled .header-bar, .maximized .header-bar {
+ border-radius: 0; }
/***************
* Popovers *
@@ -667,8 +666,7 @@ GtkScrolledWindow.frame {
.window-frame:backdrop {
box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.3); }
.window-frame.tiled {
- border-radius: 0;
- background-color: red; }
+ border-radius: 0; }
.button.titlebutton {
padding: 8px;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index 3888e2e..25c126b 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -510,9 +510,8 @@ GtkComboBox {
color: #3e78b6;
text-shadow: 0 1px rgba(0, 0, 0, 0.5);
background-image: linear-gradient(to bottom, #85acd5, #7aa4d2); }
-
-.tiled .header-bar {
- border-radius: 0; }
+ .tiled .header-bar, .maximized .header-bar {
+ border-radius: 0; }
/***************
* Popovers *
@@ -667,8 +666,7 @@ GtkScrolledWindow.frame {
.window-frame:backdrop {
box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.3); }
.window-frame.tiled {
- border-radius: 0;
- background-color: red; }
+ border-radius: 0; }
.button.titlebutton {
padding: 8px;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]