[gnome-weather/wip/backgrounds] Add weather backgrounds



commit 69a1b09f337129f65547d67b9643ce9d16e8cbb2
Author: William Jon McCann <william jon mccann gmail com>
Date:   Wed Mar 6 11:20:45 2013 -0500

    Add weather backgrounds
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695243

 data/CREDITS                      |   63 +++++++++++++++++++++++++++++++++++++
 data/application.css              |   41 ++++++++++++++++++++++++
 data/gnome-weather.gresource.xml  |    9 +++++
 data/weather-clear-night.jpg      |  Bin 0 -> 1310871 bytes
 data/weather-clear.jpg            |  Bin 0 -> 933320 bytes
 data/weather-few-clouds-night.jpg |  Bin 0 -> 560955 bytes
 data/weather-few-clouds.jpg       |  Bin 0 -> 2278336 bytes
 data/weather-fog.jpg              |  Bin 0 -> 484093 bytes
 data/weather-overcast.jpg         |  Bin 0 -> 946956 bytes
 data/weather-showers.jpg          |  Bin 0 -> 1542204 bytes
 data/weather-snow.jpg             |  Bin 0 -> 903012 bytes
 data/weather-storm.jpg            |  Bin 0 -> 1182941 bytes
 12 files changed, 113 insertions(+), 0 deletions(-)
---
diff --git a/data/CREDITS b/data/CREDITS
new file mode 100644
index 0000000..ba24d8f
--- /dev/null
+++ b/data/CREDITS
@@ -0,0 +1,63 @@
+weather-clear
+
+    By: Elliott Brown
+    URL: http://www.flickr.com/photos/ell-r-brown/4550812850/sizes/o/in/photostream/
+    License: CC BY 2.0
+
+
+weather-clear-night
+
+    By: Analogick
+    URL: http://www.flickr.com/photos/11127719 N04/8475255517/sizes/o/in/photostream/
+    License: CC BY 2.0
+
+
+weather-few-clouds
+
+    By: Pink Sherbet Photography (D. Sharon Pruitt)
+    URL: http://www.flickr.com/photos/pinksherbet/5596435888/in/set-72157610551917961
+    License: CC BY 2.0
+
+
+weather-few-clouds-night
+
+    By: DBduo Photography (Daniel R. Blume)
+    URL: http://www.flickr.com/photos/drb62/3104224796/sizes/l/in/photostream/
+    License: CC BY-SA 2.0
+
+
+weather-fog
+
+    By: davharuk
+    URL: http://www.flickr.com/photos/davharuk/6831241138/sizes/l/in/photostream/
+    License: CC BY 2.0
+
+
+weather-overcast
+
+    By: Tech Haven Ministries
+    URL: http://www.flickr.com/photos/techhavenministries/6830547822/sizes/o/in/photostream/
+    License: CC BY 2.0
+
+
+weather-showers
+weather-showers-scattered
+
+    By: Pink Sherbet Photography (D. Sharon Pruitt)
+    URL: http://www.flickr.com/photos/pinksherbet/2387754376/in/set-72157610551917961
+    License: CC BY 2.0
+
+
+weather-snow
+
+    By: Pink Sherbet Photography (D. Sharon Pruitt)
+    URL: http://www.flickr.com/photos/pinksherbet/3061623692/in/set-72157610551917961
+    License: CC BY 2.0
+
+
+weather-storm
+
+    By: Jim Pennucci
+    URL: http://www.flickr.com/photos/pennuja/2570881245/sizes/l/in/photostream/
+    License: CC BY 2.0
+
diff --git a/data/application.css b/data/application.css
index e4d7cad..ec2fd8e 100644
--- a/data/application.css
+++ b/data/application.css
@@ -5,6 +5,47 @@
 
 #weather-page-content-view {
     background-color: black;
+    background-size: cover;
+    background-position: center;
+}
+
+#weather-page-content-view.weather-clear {
+    background-image: url("weather-clear.jpg");
+}
+
+#weather-page-content-view.weather-clear-night {
+    background-image: url("weather-clear-night.jpg");
+}
+
+#weather-page-content-view.weather-few-clouds {
+    background-image: url("weather-few-clouds.jpg");
+}
+
+#weather-page-content-view.weather-few-clouds-night {
+    background-image: url("weather-few-clouds-night.jpg");
+}
+
+#weather-page-content-view.weather-fog {
+    background-image: url("weather-fog.jpg");
+    background-position: center 20%;
+}
+
+#weather-page-content-view.weather-overcast {
+    background-image: url("weather-overcast.jpg");
+}
+
+#weather-page-content-view.weather-showers,
+#weather-page-content-view.weather-showers-scattered {
+    background-image: url("weather-showers.jpg");
+}
+
+#weather-page-content-view.weather-snow {
+    background-image: url("weather-snow.jpg");
+}
+
+#weather-page-content-view.weather-storm {
+    background-image: url("weather-storm.jpg");
+    background-position: center 80%;
 }
 
 #loading-label {
diff --git a/data/gnome-weather.gresource.xml b/data/gnome-weather.gresource.xml
index 627cd69..fc4ce31 100644
--- a/data/gnome-weather.gresource.xml
+++ b/data/gnome-weather.gresource.xml
@@ -3,5 +3,14 @@
   <gresource prefix="/org/gnome/weather">
     <file preprocess="xml-stripblanks">app-menu.ui</file>
     <file>application.css</file>
+    <file>weather-clear.jpg</file>
+    <file>weather-clear-night.jpg</file>
+    <file>weather-few-clouds.jpg</file>
+    <file>weather-few-clouds-night.jpg</file>
+    <file>weather-fog.jpg</file>
+    <file>weather-overcast.jpg</file>
+    <file>weather-showers.jpg</file>
+    <file>weather-snow.jpg</file>
+    <file>weather-storm.jpg</file>
   </gresource>
 </gresources>
diff --git a/data/weather-clear-night.jpg b/data/weather-clear-night.jpg
new file mode 100644
index 0000000..2588068
Binary files /dev/null and b/data/weather-clear-night.jpg differ
diff --git a/data/weather-clear.jpg b/data/weather-clear.jpg
new file mode 100644
index 0000000..4c54fa0
Binary files /dev/null and b/data/weather-clear.jpg differ
diff --git a/data/weather-few-clouds-night.jpg b/data/weather-few-clouds-night.jpg
new file mode 100644
index 0000000..7ba873c
Binary files /dev/null and b/data/weather-few-clouds-night.jpg differ
diff --git a/data/weather-few-clouds.jpg b/data/weather-few-clouds.jpg
new file mode 100644
index 0000000..0260855
Binary files /dev/null and b/data/weather-few-clouds.jpg differ
diff --git a/data/weather-fog.jpg b/data/weather-fog.jpg
new file mode 100644
index 0000000..45bf162
Binary files /dev/null and b/data/weather-fog.jpg differ
diff --git a/data/weather-overcast.jpg b/data/weather-overcast.jpg
new file mode 100644
index 0000000..f193425
Binary files /dev/null and b/data/weather-overcast.jpg differ
diff --git a/data/weather-showers.jpg b/data/weather-showers.jpg
new file mode 100644
index 0000000..4059e66
Binary files /dev/null and b/data/weather-showers.jpg differ
diff --git a/data/weather-snow.jpg b/data/weather-snow.jpg
new file mode 100644
index 0000000..fc24922
Binary files /dev/null and b/data/weather-snow.jpg differ
diff --git a/data/weather-storm.jpg b/data/weather-storm.jpg
new file mode 100644
index 0000000..851b93f
Binary files /dev/null and b/data/weather-storm.jpg differ


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]