From 4d003513b62e3329d2d7e1095cb825d3e4a579c5 Mon Sep 17 00:00:00 2001 From: rdbende Date: Mon, 4 Dec 2023 16:34:04 +0100 Subject: [PATCH] Remove obsolete CSS style classes --- data/ui/style.css | 87 ++++++++++++++--------------------------------- 1 file changed, 26 insertions(+), 61 deletions(-) diff --git a/data/ui/style.css b/data/ui/style.css index 89fbd3fc..f5635405 100644 --- a/data/ui/style.css +++ b/data/ui/style.css @@ -1,54 +1,27 @@ -.white { - color: white; -} - .box_hover { - color: @theme_selected_fg_color; - background: @theme_selected_bg_color; -} - -.selected { - color: @theme_selected_fg_color; + color: @theme_selected_fg_color; + background: @theme_selected_bg_color; } .no_frame { - border-style: none; -} - -.sort_switcher_element { - font-size: 110%; -} - -.sort_switcher_element > .radio { - min-width: 100px; -} - -.no_padding { - padding: 0px; + border-style: none; } .unavailable_box { - background-color: #C01C28; - border-radius: 25px; - padding: 3px; - padding-right: 10px; -} - -.unavailable_image { - color: white; -} - -.unavailable_label { - color: white; + background-color: @red_4; + border-radius: 25px; + padding: 3px; + padding-right: 10px; + color: white; } .book_card { - padding: 1rem; + padding: 1rem; } .selected { - color: @theme_selected_fg_color; - background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; + background-color: @theme_selected_bg_color; } .book_detail_art { @@ -56,35 +29,35 @@ } .chapter_element { - border-radius: 0.5rem; + border-radius: 0.5rem; } .book_play_button { - background: rgba(50, 50, 50, 1.0); - border: none; - color: white; - box-shadow: none; - transition: none; - -gtk-icon-shadow: none; + background: rgba(50, 50, 50, 1.0); + border: none; + color: white; + box-shadow: none; + transition: none; + -gtk-icon-shadow: none; } .book_play_button:hover, .book_play_button:active, .play_button:hover, .play_button:active { - border: none; - box-shadow: none; - -gtk-icon-shadow: none; + border: none; + box-shadow: none; + -gtk-icon-shadow: none; } .filter-list-box-row { - border-radius: 0.5rem; + border-radius: 0.5rem; } .play_button { - background-color: @theme_fg_color; - color: @theme_bg_color; + background-color: @theme_fg_color; + color: @theme_bg_color; } .player_bar { - background: shade(@theme_bg_color, 0.95) 0%; + background: shade(@theme_bg_color, 0.95) 0%; } .bold { @@ -95,16 +68,8 @@ font-weight: 600; } -.bordered { - border: 1px solid shade(@theme_bg_color, 0.8); -} - -.monospace { - font-family: monospace; -} - .transparent_bg { - background: transparent; + background: transparent; } .failed-import-card {