[gnome-software] theme: license banners backdrop



commit 3a5eb31b21c8745fe530540b0ffe4793e4e18747
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Jul 12 16:08:24 2016 +0200

    theme: license banners backdrop
    
    Set the decoration of the tags for backdrop state

 src/gtk-style.css |   42 ++++++++++++++++++++++--------------------
 1 files changed, 22 insertions(+), 20 deletions(-)
---
diff --git a/src/gtk-style.css b/src/gtk-style.css
index b5614b9..5b94a4f 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -44,40 +44,42 @@
        border-radius: 16px;
 }
 
-.details-license-free {
+.details-license-free,
+.details-license-nonfree,
+.details-license-unknown,
+.details-license-free:backdrop,
+.details-license-nonfree:backdrop,
+.details-license-unknown:backdrop {
        -GtkWidget-focus-padding: 0;
-       background-color: #4e9a06;
        background-image: none;
        border-image: none;
        border-radius: 4px;
        border-width: 0px;
        padding: 1px 9px;
        box-shadow: none;
+       text-shadow: none;
        color: #ffffff;
 }
 
-.details-license-nonfree {
-       -GtkWidget-focus-padding: 0;
-       background-color: #ee2222;
-       background-image: none;
-       border-image: none;
-       border-radius: 4px;
-       border-width: 0px;
-       padding: 1px 9px;
-       box-shadow: none;
+.details-license-free, 
+.details-license-free label,
+.details-license-free:backdrop label {
+       color: #ffffff;
+       background-color: #4e9a06;
+}
+
+.details-license-nonfree,
+.details-license-nonfree label,
+.details-license-nonfree:backdrop label {
        color: #ffffff;
+       background-color: #ee2222;
 }
 
-.details-license-unknown {
-       -GtkWidget-focus-padding: 0;
+.details-license-unknown, 
+.details-license-unknown label,
+.details-license-unknown:backdrop label {
+  color: #000000;
        background-color: #dbdbdb;
-       background-image: none;
-       border-image: none;
-       border-radius: 4px;
-       border-width: 0px;
-       padding: 1px 9px;
-       box-shadow: none;
-       color: #000000;
 }
 
 .kudo-pill {


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