[gnomeweb-wp] added play button to video thumbnail in crafted content



commit 299a5b11a71ec492d55ff8020ff5c7d747d879c6
Author: Vinicius Depizzol <vdepizzol gmail com>
Date:   Wed Apr 6 01:35:12 2011 -0300

    added play button to video thumbnail in crafted content
    
    Signed-off-by: Vinicius Depizzol <vdepizzol gmail com>

 .../themes/gnome-grass/images/video-play.png       |  Bin 0 -> 992 bytes
 wp-content/themes/gnome-grass/style.css            |   10 ++++++++++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/wp-content/themes/gnome-grass/images/video-play.png b/wp-content/themes/gnome-grass/images/video-play.png
new file mode 100644
index 0000000..7d4c4c4
Binary files /dev/null and b/wp-content/themes/gnome-grass/images/video-play.png differ
diff --git a/wp-content/themes/gnome-grass/style.css b/wp-content/themes/gnome-grass/style.css
index 0aae4be..aa037e2 100644
--- a/wp-content/themes/gnome-grass/style.css
+++ b/wp-content/themes/gnome-grass/style.css
@@ -950,6 +950,7 @@ hr.bottom_shadow {
     -moz-border-radius: 3px;
     -webkit-border-radius: 3px;
     border-radius: 3px;
+    position: relative;
 }
 .crafted_content .section .thumbs li .inline a {
     color: inherit;
@@ -964,3 +965,12 @@ hr.bottom_shadow {
     display: block;
     background: #ccc;
 }
+.crafted_content .section .thumbs a .play {
+    position: absolute;
+    width: 120px;
+    height: 80px;
+    top: 0;
+    left: 0;
+    background: url(images/video-play.png) center center no-repeat;
+    margin: 4px;
+}



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