[gnome-software: 3/4] featured-carousel: Style the arrows like the screenshot carousel ones
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 3/4] featured-carousel: Style the arrows like the screenshot carousel ones
- Date: Thu, 14 Oct 2021 11:17:48 +0000 (UTC)
commit 72a223871b270147797b202d02ee4fd5e740a523
Author: Adrien Plazas <kekun plazas laposte net>
Date: Wed Oct 6 14:57:41 2021 +0200
featured-carousel: Style the arrows like the screenshot carousel ones
Fixes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1484
src/gtk-style.css | 40 ++--------------------------------------
1 file changed, 2 insertions(+), 38 deletions(-)
---
diff --git a/src/gtk-style.css b/src/gtk-style.css
index e4400ef22..12b009665 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -110,7 +110,8 @@ screenshot-carousel > box {
padding: 12px 0;
}
-screenshot-carousel button {
+screenshot-carousel button,
+.featured-carousel button {
margin: 12px;
}
@@ -592,43 +593,6 @@ star-image {
border-radius: 8px;
}
-.featured-button-left,
-.featured-button-right {
- padding: 2px 5px;
- border-radius: 50%;
- color: @theme_fg_color;
-}
-
-.featured-carousel button.osd {
- -gtk-icon-shadow: none;
- border: none;
-}
-
-.featured-carousel button.osd:focus {
- /* this is @theme_fg_color at 10% opacity, but we can’t use the variable
- * directly as rgba() requires 4 components */
- background: rgba(46, 52, 54, 0.1);
-}
-
-.featured-carousel button.osd:hover {
- /* this is @theme_fg_color at 20% opacity, but we can’t use the variable
- * directly as rgba() requires 4 components */
- background: rgba(46, 52, 54, 0.2);
-}
-
-.featured-carousel button.osd:active {
- /* this is @theme_fg_color at 35% opacity, but we can’t use the variable
- * directly as rgba() requires 4 components */
- background: rgba(46, 52, 54, 0.35);
-}
-
-.featured-button-left:not(:hover),
-.featured-button-right:not(:hover) {
- background: transparent;
- border:transparent;
- box-shadow: none;
-}
-
/* these typographical classes will be provided in gtk eventually */
.title-1{
font-weight: 800;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]