[gnome-builder] css: track css changes from nautilus



commit 261be889323795981797b83ef1cf47487ea78317
Author: Christian Hergert <christian hergert me>
Date:   Thu Dec 18 01:11:50 2014 -0800

    css: track css changes from nautilus

 src/resources/css/builder.Adwaita.css |   72 ++++++++++-----------------------
 1 files changed, 21 insertions(+), 51 deletions(-)
---
diff --git a/src/resources/css/builder.Adwaita.css b/src/resources/css/builder.Adwaita.css
index b679336..a83c24e 100644
--- a/src/resources/css/builder.Adwaita.css
+++ b/src/resources/css/builder.Adwaita.css
@@ -1,67 +1,37 @@
 /*
  * Nautilus floating bar used for cursor status in editor.
  */
- define-color floating_bar_inset_color alpha(white, 0.45);
-.floating-bar {
-    background-image: linear-gradient(to bottom,
-                                      @theme_base_color 20%,
-                                      shade(@theme_base_color, 0.9)
-                                      );
-    background-color: @theme_base_color;
-    border-color: @borders;
-
-    color: @theme_fg_color;
-    text-shadow: 0 1px alpha(white, 0.40);
 
-    border-radius: 3px;
-    border-width: 1px;
-    border-style: solid;
-    box-shadow: inset 1px 1px @floating_bar_inset_color, -1px -1px @floating_bar_inset_color;
-}
-.floating-bar.top {
-    border-top-width: 0;
-    border-top-right-radius: 0;
-    border-top-left-radius: 0;
-}
-.floating-bar.right {
-    border-right-width: 0;
-    border-top-right-radius: 0;
-    border-bottom-right-radius: 0;
-}
-.floating-bar.bottom {
-    border-bottom-width: 0;
-    border-bottom-right-radius: 0;
-    border-bottom-left-radius: 0;
-}
-.floating-bar.left {
-    border-left-width: 0;
-    border-top-left-radius: 0;
-    border-bottom-left-radius: 0;
+/* Floating status bar */
+.floating-bar {
+  padding: 2px;
+  background-color: @theme_base_color;
+  border-width: 1px;
+  border-style: solid solid none;
+  border-color: @borders;
+  border-radius: 3px 3px 0 0;
 }
-.floating-bar.bottom.right {
-    box-shadow: inset 1px 1px @floating_bar_inset_color;
+
+.floating-bar.bottom.left { /* axes left border and border radius */
+  border-left-style: none;
+  border-top-left-radius: 0;
 }
-.floating-bar.bottom.left {
-    box-shadow: inset -1px 1px @floating_bar_inset_color;
+.floating-bar.bottom.right { /* axes right border and border radius */
+  border-right-style: none;
+  border-top-right-radius: 0;
 }
+
 .floating-bar:backdrop {
-    background-color: @theme_unfocused_base_color;
-    border-color: shade(@theme_unfocused_base_color, 0.9);
-    background-image: none;
-    box-shadow: none;
+  background-color: @theme_unfocused_base_color;
+  border-color: @unfocused_borders;
 }
-.floating-bar .button {
-    background-color: transparent;
-    background-image: none;
-
-    border-style: none;
-    border-image: none;
 
-    -GtkButton-image-spacing: 0;
-    -GtkButton-inner-border: 0;
+.floating-bar .button {
+    padding: 4px;
 }
 
 
+
 /*
  * Search entry that slides down from top of editor.
  */


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