[gnome-software/wip/exalm/style-cleanups: 7/25] style: .installed-icon -> .accent




commit 87960aa857383e51905754753c9956d0d426bbe2
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Nov 9 17:09:33 2021 +0500

    style: .installed-icon -> .accent
    
    Remove another redundant style class. Also make sure we use the correct
    color.

 src/gs-app-row.ui      | 3 +--
 src/gs-summary-tile.ui | 2 +-
 src/style-hc.css       | 2 +-
 src/style.css          | 4 ----
 4 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/src/gs-app-row.ui b/src/gs-app-row.ui
index 942acab65..034606f6e 100644
--- a/src/gs-app-row.ui
+++ b/src/gs-app-row.ui
@@ -147,8 +147,7 @@
                            <property name="pixel-size">16</property>
                            <property name="icon-name">software-installed-symbolic</property>
                            <style>
-                             <class name="installed-icon"/>
-                             <class name="app-row-installed-icon"/>
+                             <class name="accent"/>
                            </style>
                          </object>
                        </child>
diff --git a/src/gs-summary-tile.ui b/src/gs-summary-tile.ui
index 489a0d998..8309227e2 100644
--- a/src/gs-summary-tile.ui
+++ b/src/gs-summary-tile.ui
@@ -50,7 +50,7 @@
                         <property name="margin-end">6</property>
                         <property name="icon-name">software-installed-symbolic</property>
                         <style>
-                          <class name="installed-icon"/>
+                          <class name="accent"/>
                         </style>
                       </object>
                     </child>
diff --git a/src/style-hc.css b/src/style-hc.css
index bdee4003c..059d48fbc 100644
--- a/src/style-hc.css
+++ b/src/style-hc.css
@@ -2,7 +2,7 @@
        text-shadow: none;
 }
 
-.installed-icon, .app-row-installed-label {
+.app-row-installed-label {
        color: #999999;
 }
 
diff --git a/src/style.css b/src/style.css
index 8409bc43e..d4c18455e 100644
--- a/src/style.css
+++ b/src/style.css
@@ -10,10 +10,6 @@
        text-shadow: 0 1px 0 rgba(0,0,0,0.5);
 }
 
-.installed-icon {
-       color: @accent_bg_color;
-}
-
 .index-title-alignment-software {
        font-weight: bold;
        font-size: 125%;


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