[gnome-games/wip/exalm/css: 2/3] ui: Use 'backdround' class, drop 'solid-background'
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/css: 2/3] ui: Use 'backdround' class, drop 'solid-background'
- Date: Wed, 15 Jan 2020 17:00:13 +0000 (UTC)
commit 617d48153ef8723215f269a0cf1de9c1f1091965
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Wed Jan 15 21:57:46 2020 +0500
ui: Use 'backdround' class, drop 'solid-background'
data/gtk-style.css | 8 --------
data/ui/collection-box.ui | 2 +-
data/ui/savestates-list.ui | 2 +-
3 files changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index 9add21dc..1e921be6 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -1,13 +1,5 @@
/* This file is part of GNOME Games. License: GPL-3.0+. */
-.solid-background {
- background-color: @theme_bg_color;
-}
-
-.solid-background:backdrop {
- background-color: @theme_unfocused_bg_color;
-}
-
.savestate-row {
padding: 0;
}
diff --git a/data/ui/collection-box.ui b/data/ui/collection-box.ui
index 65560069..b5f5a054 100644
--- a/data/ui/collection-box.ui
+++ b/data/ui/collection-box.ui
@@ -28,7 +28,7 @@
<property name="transition-type">crossfade</property>
<signal name="notify::visible-child" handler="on_visible_child_changed"/>
<style>
- <class name="solid-background"/>
+ <class name="background"/>
</style>
<child>
<object class="GamesEmptyCollection" id="empty_collection">
diff --git a/data/ui/savestates-list.ui b/data/ui/savestates-list.ui
index 71f93aab..f8593768 100644
--- a/data/ui/savestates-list.ui
+++ b/data/ui/savestates-list.ui
@@ -3,7 +3,7 @@
<requires lib="gtk+" version="3.24"/>
<template class="GamesSavestatesList" parent="GtkBox">
<style>
- <class name="solid-background"/>
+ <class name="background"/>
</style>
<child>
<object class="GtkRevealer" id="revealer">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]