[gtk+] Adwaita: added back progressbar.osd style



commit 5cb06a30a08b6491ba8cb956fa7a7aeed7e5d1fc
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Fri Dec 4 19:04:17 2015 +0100

    Adwaita: added back progressbar.osd style

 gtk/theme/Adwaita/_common.scss           |   15 +++++++++++++++
 gtk/theme/Adwaita/gtk-contained-dark.css |   10 ++++++++++
 gtk/theme/Adwaita/gtk-contained.css      |   10 ++++++++++
 3 files changed, 35 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 8763324..e2d7166 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2390,6 +2390,21 @@ progressbar {
   }
 
   &:backdrop progress { @extend %scale_highlight:backdrop; } // states not passed here as well
+
+  &.osd {
+    -GtkProgressBar-min-horizontal-bar-height: 3;
+    trough {
+      border-style: none;
+      border-raduys: 0;
+      background-color: transparent;
+      box-shadow: none;
+    }
+
+    progress {
+      border-style: none;
+      border-radius: 0;
+    }
+  }
 }
 
 /*************
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 5d28e4b..3987654 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -3311,6 +3311,16 @@ progressbar {
     progressbar progress.bottom {
       border-bottom-right-radius: 3px;
       border-bottom-left-radius: 3px; }
+  progressbar.osd {
+    -GtkProgressBar-min-horizontal-bar-height: 3; }
+    progressbar.osd trough {
+      border-style: none;
+      border-raduys: 0;
+      background-color: transparent;
+      box-shadow: none; }
+    progressbar.osd progress {
+      border-style: none;
+      border-radius: 0; }
 
 /*************
  * Level Bar *
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 68c86a6..a606aa5 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -3473,6 +3473,16 @@ progressbar {
     progressbar progress.bottom {
       border-bottom-right-radius: 3px;
       border-bottom-left-radius: 3px; }
+  progressbar.osd {
+    -GtkProgressBar-min-horizontal-bar-height: 3; }
+    progressbar.osd trough {
+      border-style: none;
+      border-raduys: 0;
+      background-color: transparent;
+      box-shadow: none; }
+    progressbar.osd progress {
+      border-style: none;
+      border-radius: 0; }
 
 /*************
  * Level Bar *


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