[recipes] Keep the dialog white
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Keep the dialog white
- Date: Sat, 15 Jul 2017 20:03:35 +0000 (UTC)
commit ed07a370ac29256c3783bc5de806844a516c2522
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jul 15 15:15:02 2017 -0400
Keep the dialog white
The image we are using has a white background, so make
sure that we keep the entire dialog white, even in dark
theme.
src/recipe-surprise.ui | 4 ++--
src/recipes.css | 5 +++++
2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/src/recipe-surprise.ui b/src/recipe-surprise.ui
index e9c71c9..cf31c40 100644
--- a/src/recipe-surprise.ui
+++ b/src/recipe-surprise.ui
@@ -6,7 +6,7 @@
<property name="type-hint">dialog</property>
<property name="destroy-with-parent">1</property>
<style>
- <class name="view"/>
+ <class name="surprise"/>
</style>
<child type="titlebar">
<object class="GtkHeaderBar">
@@ -20,7 +20,7 @@
<property name="margin">20</property>
<property name="orientation">vertical</property>
<style>
- <class name="view"/>
+ <class name="surprise"/>
</style>
<child>
<object class="GtkLabel">
diff --git a/src/recipes.css b/src/recipes.css
index 8be9b6e..0b4e83a 100644
--- a/src/recipes.css
+++ b/src/recipes.css
@@ -497,3 +497,8 @@ label.surprise {
color: #008bc5;
font: 40px Source Sans Pro Light;
}
+
+.surprise {
+ color: black;
+ background: white;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]