[gnome-software/wip/exalm/style-cleanups: 4/25] style: Remove unused styles
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/exalm/style-cleanups: 4/25] style: Remove unused styles
- Date: Wed, 10 Nov 2021 11:30:11 +0000 (UTC)
commit 39cb26183af84909fbdc12fe32d31bb125021460
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Tue Nov 9 17:21:48 2021 +0500
style: Remove unused styles
src/style-hc.css | 8 ----
src/style.css | 126 -------------------------------------------------------
2 files changed, 134 deletions(-)
---
diff --git a/src/style-hc.css b/src/style-hc.css
index 1b0cfead0..6d897145f 100644
--- a/src/style-hc.css
+++ b/src/style-hc.css
@@ -6,11 +6,6 @@
color: #999999;
}
-.app-row-tag {
- color: white;
- background-color: #999999;
-}
-
.application-details-infobar.info {
background-color: #d3d7cf;
border-color: darker(#d3d7cf);
@@ -20,9 +15,6 @@
color: @theme_fg_color;
}
-.application-details-description {
-}
-
.app-listbox-header {
background-color: #babdb6;
border-color: #000000;
diff --git a/src/style.css b/src/style.css
index 82bf38417..a6187d2f4 100644
--- a/src/style.css
+++ b/src/style.css
@@ -21,13 +21,6 @@
color: @accent_bg_color;
}
-.popular-installed-overlay-box {
- font-size: smaller;
- background-color: @accent_bg_color;
- border-radius: 0;
- color: @accent_fg_color;
-}
-
.index-title-alignment-software {
font-weight: bold;
font-size: 125%;
@@ -37,56 +30,6 @@
font-size: smaller;
}
-/* Adapted from Adwaita’s .needs-attention class for stacksidebar */
-sidebar row.needs-attention > box > label {
- animation: needs_attention 150ms ease-in;
- background-image: radial-gradient(ellipse at center,
- @accent_bg_color,
- transparent),
- radial-gradient(ellipse at center,
- alpha(@theme_text_color, 0.5),
- transparent);
- background-size: 6px 6px, 0 0;
- background-repeat: no-repeat;
- background-position: right 3px, right 4px;
-}
-
-sidebar row.needs-attention > box > label:dir(rtl) {
- background-position: left 3px, left 4px;
-}
-
-sidebar row.needs-attention:selected > box > label {
- animation: needs_attention 150ms ease-out;
- background-image: none;
-}
-
-.toolbar-primary-buttons-software {
- padding-left: 26px;
- padding-right: 26px;
-}
-
-.round-button {
- border-radius: 16px;
-}
-
-.kudo-pill {
- color: @accent_fg_color;
- background-color: shade(@accent_bg_color, 1.1);
- background-image: none;
- border-radius: 16px;
- padding: 8px;
-}
-
-/* should be :disabled but we need to support older versions of GTK */
-.kudo-pill:disabled {
- color: @theme_bg_color;
- background-color: mix(@insensitive_fg_color, @theme_bg_color, 0.6);
-}
-
-.onlyjustvisible:disabled {
- opacity: 0.25;
-}
-
screenshot-carousel > box {
border-width: 1px 0;
padding: 12px 0;
@@ -108,20 +51,10 @@ screenshot-carousel button,
font-size: 105%;
}
-.app-row-tag {
- color: @accent_fg_color;
- background-color: #999999;
- font-size: smaller;
- border-radius: 4px;
- padding: 2px 10px;
-}
-
.review-textbox {
padding: 6px;
}
-@define-color gs_tile_bg_color mix(@theme_base_color,@theme_bg_color,0.3);
-
summary-tile {
border-radius: 6px;
min-width: 280px;
@@ -269,10 +202,6 @@ clamp.large .category-tile:not(.category-tile-iconless) {
inset 0 4px 2px -2px mix(black, transparent, 0.8);
}
-.app-list {
- background-color: @theme_base_color;
-}
-
/* The rest of the featured-tile CSS is loaded at runtime in gs-feature-tile.c */
.featured-tile {
all: unset;
@@ -319,9 +248,6 @@ clamp.large .category-tile:not(.category-tile-iconless) {
font-weight: bold;
}
-.application-details-description {
-}
-
@keyframes install-progress-unknown-move {
0% { background-position: 0%; }
50% { background-position: 100%; }
@@ -439,37 +365,11 @@ star-image {
color: #e5a50a;
}
-.counter-label {
- color: @accent_fg_color;
- background-color: mix(@accent_bg_color, @accent_fg_color, 0.3);
- font-size: smaller;
- border-radius: 4px;
- padding: 0px 4px;
-}
-
-/* the following two selectors are to color the small gap before the list inside the scrolled window
- setting a background on the scrolled window affects the undershoot and the overshoot so explicitelly
- excluding with :not() */
-.category-sidebar:not(.undershoot):not(.overshoot) { background-color: @theme_base_color; }
-
/* padding removal */
.list-box-app-row {
padding: 0px;
}
-/* Superfluous borders removal */
-.category-sidebar {
- border-style: none;
-}
-
-.category-sidebar:dir(rtl) {
- border-left-style: solid;
-}
-
-.category-sidebar:dir(ltr) {
- border-right-style: solid;
-}
-
.dimmer-label {
opacity: 0.25;
}
@@ -520,32 +420,6 @@ star-image {
color: @accent_fg_color;
}
-.category_page_header_filter_box .radio, .category_page_header_filter_box .radio:hover {
- background-color: transparent; background-image: none;
- box-shadow: none;
- border: none;
- border-radius: 0;
- border-bottom: 4px solid transparent;
-}
-
-.category_page_header_filter_box .radio:hover {
- border-bottom-color: @accent_bg_color;
-}
-
-.category_page_header_filter_box .radio:checked {
- border-bottom-color: @accent_bg_color;
-}
-
-/* uses theme_bg_color and a shade with the ratio of the original color */
-.category_page_header_filter_box {
- background-color: shade(@theme_bg_color, 0.9);
- border-bottom: 1px solid darker(shade(@theme_bg_color, 0.9));
-}
-
-.switcher-label {
- opacity: 0.5;
-}
-
.featured-carousel carousel {
border-radius: 8px;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]