[gnome-boxes/port-assistant-widgets-to-hdy: 10/10] style: Drop unused custom CSS styles




commit 8c68ca18e97ede2b087c3ca7e7e9f23d03e6f50e
Author: Felipe Borges <felipeborges gnome org>
Date:   Thu Dec 9 14:45:00 2021 +0100

    style: Drop unused custom CSS styles

 data/gtk-style.css      | 78 -------------------------------------------------
 data/ui/app-window.ui   |  3 --
 data/ui/display-page.ui |  3 --
 3 files changed, 84 deletions(-)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index a9f24ae4..d61c9be3 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -2,10 +2,6 @@
 @define-color boxes_bg2_color mix (@theme_bg_color, @boxes_bg_color, 0.5);
 @define-color boxes_selected_color #3465a4;
 
-.boxes-snapshot-list-row {
-    border-bottom: 1px solid @borders;
-}
-
 .boxes-snapshot-list-row.indicator {
     background-color: @insensitive_fg_color;
     border: none;
@@ -15,25 +11,11 @@
     background-color: @theme_fg_color;
 }
 
-.boxes-resource-graph {
-    background-color: @boxes_bg_color;
-    border-color: @theme_fg_color;
-    color: @theme_bg_color;
-}
-
 .transparent-bg {
     background-color: transparent;
     background-image: none;
 }
 
-.content-bg {
-    background-color: @content_view_bg;
-}
-
-.boxes-toplevel {
-    background-color: @theme_bg_color;
-}
-
 .slow-spinner {
     animation-duration: 2s;
 }
@@ -43,70 +25,10 @@
     border: 1px solid @theme_bg_color;
 }
 
-.bold-label {
-    font-weight: bold;
-}
-
-/******************
- * New Box Wizard *
- ******************/
-
-/* This is the subtitle in the ISOs/media list */
-.boxes-step-label {
-    font-size: smaller;
-    font-weight: normal;
-}
-
-.boxes-wizard-media-os-label {
-    color: #d8d8d8;
-    font-weight: bold;
-}
-
-.boxes-logo-notice-label {
-    font-size: smaller;
-    font-style: italic;
-}
-
-.boxes-spice-tools-notice-label {
-    font-size: smaller;
-    font-style: italic;
-}
-
 .boxes-product-key-entry {
     font-family: monospace;
 }
 
-/* Ensure the viewport is transparent so the background don't
-   show through the rounded corners */
-.boxes-menu GtkViewport {
-    background-image: none;
-    background-color: transparent;
-    border-style: none;
-}
-
-.boxes-menu-row {
-    background: @theme_unfocused_base_color;
-}
-
-.boxes-menu-row:hover {
-    background-color: @theme_bg_color;
-}
-
-.sources-list {
-    border-radius: 5px;
-}
-
-separator {
-    background-color: @borders;
-}
-
-.list-expand-button {
-    border-top: 1px solid @borders;
-}
-
-/* Adds a border to the ISOs lists top undershoot */
-.boxes-menu-scrolled.undershoot.top { border-top: 1px solid @borders; }
-
 /* This is to be removed once we port to AdwToast */
 .boxes-toast {
      border-radius: 2em;
diff --git a/data/ui/app-window.ui b/data/ui/app-window.ui
index 187e2848..99dc0157 100644
--- a/data/ui/app-window.ui
+++ b/data/ui/app-window.ui
@@ -132,9 +132,6 @@
                     <property name="vexpand">True</property>
                     <property name="halign">fill</property>
                     <property name="valign">fill</property>
-                    <style>
-                      <class name="content-bg"/>
-                    </style>
 
                     <child>
                       <object class="GtkSpinner" id="spinner">
diff --git a/data/ui/display-page.ui b/data/ui/display-page.ui
index 37237766..50ead289 100644
--- a/data/ui/display-page.ui
+++ b/data/ui/display-page.ui
@@ -142,9 +142,6 @@
                 <property name="hexpand">True</property>
                 <property name="vexpand">True</property>
                 <signal name="event" handler="on_event_box_event"/>
-                <style>
-                  <class name="boxes-toplevel"/>
-                </style>
               </object>
             </child>
           </object>


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