[gnomeweb-wp] allows page to use any background since footer will not force using white background only
- From: Vinicius Scopel Depizzol <vdepizzol src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnomeweb-wp] allows page to use any background since footer will not force using white background only
- Date: Sat, 25 Sep 2010 18:59:30 +0000 (UTC)
commit 3f1cc197f71af2feddd70cde7cef93e78665e2d9
Author: Vinicius Depizzol <vdepizzol gmail com>
Date: Sat Sep 25 15:58:00 2010 -0300
allows page to use any background since footer will not force using white background only
wp-content/themes/gnome-grass/footer.php | 5 +++++
wp-content/themes/gnome-grass/footer_art.php | 6 +++++-
wp-content/themes/gnome-grass/home.php | 1 -
wp-content/themes/gnome-grass/images/grass.png | Bin 4400 -> 10178 bytes
wp-content/themes/gnome-grass/style.css | 22 ++++++++++++++++++----
5 files changed, 28 insertions(+), 6 deletions(-)
---
diff --git a/wp-content/themes/gnome-grass/footer.php b/wp-content/themes/gnome-grass/footer.php
index 5c0d23b..ba2632d 100644
--- a/wp-content/themes/gnome-grass/footer.php
+++ b/wp-content/themes/gnome-grass/footer.php
@@ -1,3 +1,8 @@
+ <!-- footer grass -->
+ <div id="footer_grass">
+
+ </div>
+
<!-- footer -->
<div id="footer">
<div class="container_12">
diff --git a/wp-content/themes/gnome-grass/footer_art.php b/wp-content/themes/gnome-grass/footer_art.php
index 2e2e7f8..b3b3c00 100644
--- a/wp-content/themes/gnome-grass/footer_art.php
+++ b/wp-content/themes/gnome-grass/footer_art.php
@@ -11,6 +11,10 @@
}
?>
+ <?php if($footer_art == 'default' || $footer_art == 'none'): ?>
+ <div id="footer_art" class="grid_12 <?php echo $footer_art;?>">
+ <?php else: ?>
<div id="footer_art" class="grid_12" style="background-image: url(<?php bloginfo('stylesheet_directory') ?>/images/footer_arts/<?php echo $footer_art;?>.png);">
- <?php print_r($post_meta[$post->ID]); ?>
+ <?php endif; ?>
+
</div>
diff --git a/wp-content/themes/gnome-grass/home.php b/wp-content/themes/gnome-grass/home.php
index 67fe93c..394b61f 100644
--- a/wp-content/themes/gnome-grass/home.php
+++ b/wp-content/themes/gnome-grass/home.php
@@ -65,7 +65,6 @@ require_once("header.php"); ?>
<div class="clear"></div>
</div>
- <!-- footer artwork -->
<?php require_once("footer_art.php"); ?>
</div>
</div>
diff --git a/wp-content/themes/gnome-grass/images/grass.png b/wp-content/themes/gnome-grass/images/grass.png
index a2bfc4e..ded0bd9 100644
Binary files a/wp-content/themes/gnome-grass/images/grass.png and b/wp-content/themes/gnome-grass/images/grass.png differ
diff --git a/wp-content/themes/gnome-grass/style.css b/wp-content/themes/gnome-grass/style.css
index 0b4cf6a..26852d3 100644
--- a/wp-content/themes/gnome-grass/style.css
+++ b/wp-content/themes/gnome-grass/style.css
@@ -580,6 +580,9 @@ dl.icon_list dt img {
background-position: top;
color: #000;
}
+.action_button:visited {
+ color: inherit;
+}
.action_button:active {
-moz-box-shadow: inset 0 2px 3px rgba(0,0,0,0.4);
-webkit-box-shadow: inset 0 2px 3px rgba(0,0,0,0.4);
@@ -664,14 +667,25 @@ dl.icon_list dt img {
height: 180px;
margin-top: 0;
clear: left;
- margin-bottom: -33px;
}
#footer_art.none {
height: 30px;
margin-top: 0;
}
+#footer_art.default {
+ background-image: url(images/footer_arts/default.png);
+}
+/* Footer Grass */
+/* ========================================================================== */
+
+#footer_grass {
+ background: url(images/grass.png) top center repeat-x;
+ height: 39px;
+ margin-top: -33px;
+}
+
/* Footer */
/* ========================================================================== */
@@ -680,9 +694,10 @@ dl.icon_list dt img {
#footer {
clear: left;
- background: #d3d7cf url(images/grass.png) top center repeat-x;
+ /*background: #d3d7cf url(images/grass.png) top center repeat-x;*/
+ background: #d3d7cf;
color: #555753;
- padding: 60px 0 20px 0;
+ padding: 20px 0;
}
#footer div.links div {
float: left;
@@ -713,7 +728,6 @@ dl.icon_list dt img {
}
#footer a {
color: inherit;
- background: #d3d7cf;
-webkit-transition: background-color 100ms ease-in;
}
#footer .available_languages li.active {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]