[gnome-software/wip/exalm/style-cleanups: 10/25] style: Use .caption instead of .app-row-installed-label




commit 973c6c2294cc6815634a9eb57ee5939d7a6d5904
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Nov 9 18:20:23 2021 +0500

    style: Use .caption instead of .app-row-installed-label
    
    For some reason it was also reducing contrast in high contrast... Probably
    a lefover.

 src/gs-app-row.ui | 2 +-
 src/style-hc.css  | 4 ----
 src/style.css     | 4 ----
 3 files changed, 1 insertion(+), 9 deletions(-)
---
diff --git a/src/gs-app-row.ui b/src/gs-app-row.ui
index 034606f6e..c33ff54df 100644
--- a/src/gs-app-row.ui
+++ b/src/gs-app-row.ui
@@ -156,7 +156,7 @@
                            <property name="valign">center</property>
                            <property name="label" translatable="yes">Installed</property>
                            <style>
-                             <class name="app-row-installed-label"/>
+                             <class name="caption"/>
                            </style>
                          </object>
                        </child>
diff --git a/src/style-hc.css b/src/style-hc.css
index b9a0a20cb..8fa757796 100644
--- a/src/style-hc.css
+++ b/src/style-hc.css
@@ -2,10 +2,6 @@
        text-shadow: none;
 }
 
-.app-row-installed-label {
-       color: #999999;
-}
-
 .category-tile:not(.category-tile-iconless) {
        box-shadow: inset 0 0 0 1px alpha(@card_fg_color, .5);
 }
diff --git a/src/style.css b/src/style.css
index 1c074a47e..f2d7f09c1 100644
--- a/src/style.css
+++ b/src/style.css
@@ -10,10 +10,6 @@
        text-shadow: 0 1px 0 rgba(0,0,0,0.5);
 }
 
-.app-row-installed-label {
-       font-size: smaller;
-}
-
 screenshot-carousel > box {
        border-width: 1px 0;
        padding: 12px 0;


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