[gnome-themes-standard] sidebar: allow resizing without indicator



commit c582bac9abd83951872f6f6f5353d1d7a4bf7cae
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Jun 6 13:08:56 2014 +0200

    sidebar: allow resizing without indicator
    
    - works the same way as window border
    
    https://bugzilla.gnome.org/show_bug.cgi?id=730059

 themes/Adwaita/gtk-3.0/_common.scss           |    4 ++--
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |    1 -
 themes/Adwaita/gtk-3.0/gtk-contained.css      |    1 -
 3 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index 9a2ed6d..a0ee73f 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -1435,14 +1435,14 @@ GtkInfoBar {
 
 .window-frame {
   border-radius: 7px 7px 0 0;
-  /* lamefun trick to get rounded borders regardless of CSD use */
+  // lamefun trick to get rounded borders regardless of CSD use
   border-width: 0px;
 
   // this needs to be transparent
   // see bug #722563
   $_wm_border: if($variant=='light', transparentize(black, 0.8), transparentize(black, 0.4));
   box-shadow: 0 2px 10px 4px transparentize(black, 0.9),
-              0 0 0 1px $_wm_border;
+              0 0 0 1px $_wm_border; //doing borders with box-shadow
 
   /* this is used for the resize cursor area */
   margin: 10px;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 1f1e3a0..1290a0d 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -1667,7 +1667,6 @@ GtkInfoBar {
  *********************/
 .window-frame {
   border-radius: 7px 7px 0 0;
-  /* lamefun trick to get rounded borders regardless of CSD use */
   border-width: 0px;
   box-shadow: 0 2px 10px 4px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.6);
   /* this is used for the resize cursor area */
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index c50f0ed..225cc45 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -1667,7 +1667,6 @@ GtkInfoBar {
  *********************/
 .window-frame {
   border-radius: 7px 7px 0 0;
-  /* lamefun trick to get rounded borders regardless of CSD use */
   border-width: 0px;
   box-shadow: 0 2px 10px 4px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.2);
   /* this is used for the resize cursor area */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]