[gnome-mines] change the color for incorrect flags
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mines] change the color for incorrect flags
- Date: Mon, 28 Apr 2014 19:56:11 +0000 (UTC)
commit ca915c9b1cf6fbc5339cdbf6126b2b93d70ec36b
Author: Allan Day <allanpday gmail com>
Date: Fri Apr 25 16:46:04 2014 +0100
change the color for incorrect flags
Using a different icon doesn't communicate this very well. Try
simply changing the color to red instead.
https://bugzilla.gnome.org/show_bug.cgi?id=728483
data/Makefile.am | 2 +-
data/flag-fallen.svg | 90 -----------------------------------------------
data/gnome-mines.css.in | 9 ++---
3 files changed, 5 insertions(+), 96 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 4e2ffe7..49a7761 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -6,7 +6,7 @@ gsettings_SCHEMAS = org.gnome.mines.gschema.xml
man_MANS = gnome-mines.6
pixmapdir = $(pkgdatadir)
-pixmap_DATA = flag.svg flag-question.svg mine.svg bang.svg warning.svg flag-fallen.svg \
+pixmap_DATA = flag.svg flag-question.svg mine.svg bang.svg warning.svg \
1mine.svg 2mines.svg 3mines.svg 4mines.svg 5mines.svg 6mines.svg 7mines.svg 8mines.svg
gnome-mines.css: gnome-mines.css.in Makefile
diff --git a/data/gnome-mines.css.in b/data/gnome-mines.css.in
index 629e207..a75e97c 100644
--- a/data/gnome-mines.css.in
+++ b/data/gnome-mines.css.in
@@ -57,11 +57,6 @@ Changes are applied instantly and globally, for the whole application.
background-image:url('@pkgdatadir@/flag-question.svg');
}
-.incorrect {
- background-color:#ef2929;
- background-image:url('@pkgdatadir@/flag-fallen.svg');
-}
-
.mine {
background-image:url('@pkgdatadir@/mine.svg');
background-color:#729fcf;
@@ -120,6 +115,10 @@ Changes are applied instantly and globally, for the whole application.
transition-duration:1s;
}
+.explodedField .flag {
+ background-color:#cc0000;
+}
+
.completedField .flag {
transition-duration:1s;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]