[gnome-software/wip/exalm/style-cleanups: 6/21] style: Use .heading instead of .index-title-alignment-software




commit 78d86baefb717e68bc1a52080d73fda00e75c12a
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Nov 9 18:14:32 2021 +0500

    style: Use .heading instead of .index-title-alignment-software

 src/gs-category-page.ui | 6 +++---
 src/gs-overview-page.ui | 6 +++---
 src/gtk-style.css       | 5 -----
 3 files changed, 6 insertions(+), 11 deletions(-)
---
diff --git a/src/gs-category-page.ui b/src/gs-category-page.ui
index bea810ceb..4cca308b2 100644
--- a/src/gs-category-page.ui
+++ b/src/gs-category-page.ui
@@ -41,7 +41,7 @@
                         <property name="margin_top">24</property>
                         <property name="label" translatable="yes" comments="Heading for featured apps on a 
category page">Editor’s Choice</property>
                         <style>
-                          <class name="index-title-alignment-software"/>
+                          <class name="heading"/>
                         </style>
                       </object>
                     </child>
@@ -69,7 +69,7 @@
                         <property name="margin_top">24</property>
                         <property name="label" translatable="yes" comments="Heading for recently updated 
apps on a category page">New &amp; Updated</property>
                         <style>
-                          <class name="index-title-alignment-software"/>
+                          <class name="heading"/>
                         </style>
                       </object>
                     </child>
@@ -97,7 +97,7 @@
                         <property name="margin_top">24</property>
                         <property name="label" translatable="yes" comments="Heading for the rest of the apps 
on a category page">Other Software</property>
                         <style>
-                          <class name="index-title-alignment-software"/>
+                          <class name="heading"/>
                         </style>
                       </object>
                     </child>
diff --git a/src/gs-overview-page.ui b/src/gs-overview-page.ui
index faa9a12ce..59e44ac46 100644
--- a/src/gs-overview-page.ui
+++ b/src/gs-overview-page.ui
@@ -111,7 +111,7 @@
                                     <property name="margin-top">21</property>
                                     <property name="margin-bottom">6</property>
                                     <style>
-                                      <class name="index-title-alignment-software"/>
+                                      <class name="heading"/>
                                     </style>
                                   </object>
                                 </child>
@@ -134,7 +134,7 @@
                                     <property name="margin-top">21</property>
                                     <property name="margin-bottom">6</property>
                                     <style>
-                                      <class name="index-title-alignment-software"/>
+                                      <class name="heading"/>
                                     </style>
                                   </object>
                                 </child>
@@ -158,7 +158,7 @@
                                     <property name="margin-top">21</property>
                                     <property name="margin-bottom">6</property>
                                     <style>
-                                      <class name="index-title-alignment-software"/>
+                                      <class name="heading"/>
                                     </style>
                                   </object>
                                 </child>
diff --git a/src/gtk-style.css b/src/gtk-style.css
index 74c5957b2..9712935a7 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -10,11 +10,6 @@
        text-shadow: 0 1px 0 rgba(0,0,0,0.5);
 }
 
-.index-title-alignment-software {
-       font-weight: bold;
-       font-size: 125%;
-}
-
 .app-row-installed-label {
        font-size: smaller;
 }


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