[gnome-software/wip/exalm/style-cleanups: 8/27] details-page: .content-box -> .card




commit fae42aaa85208cec3b7643ebb198c4efcd18c1e0
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Nov 9 17:03:37 2021 +0500

    details-page: .content-box -> .card

 src/gs-details-page.ui | 2 +-
 src/style-hc.css       | 4 ----
 src/style.css          | 7 -------
 3 files changed, 1 insertion(+), 12 deletions(-)
---
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index d27a66d5a..e51517fe4 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -641,7 +641,7 @@
                                               <object class="GtkBox">
                                                 <property name="hexpand-set">True</property>
                                                 <style>
-                                                  <class name="content-box"/>
+                                                  <class name="card"/>
                                                 </style>
 
                                                 <child>
diff --git a/src/style-hc.css b/src/style-hc.css
index 6d897145f..bdee4003c 100644
--- a/src/style-hc.css
+++ b/src/style-hc.css
@@ -24,10 +24,6 @@
        border-color: #000000;
 }
 
-.content-box {
-       border-color: alpha(@borders, 0.7);
-}
-
 star-image {
        color: #000000;
 }
diff --git a/src/style.css b/src/style.css
index 58d1e6516..8409bc43e 100644
--- a/src/style.css
+++ b/src/style.css
@@ -2,13 +2,6 @@
   margin: 24px 0px;
 }
 
-/* The equivalent of libhandy’s .content class, but applicable to a plain GtkBox */
-.content-box {
-       border-radius: 8px;
-       border: 1px solid shade(@theme_bg_color, 0.9);
-       background-color: @theme_base_color;
-}
-
 .installed-overlay-box {
        font-size: smaller;
        background-color: @accent_bg_color;


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