Slightly decrease title text size Disabled buttons are transparent Color the navigati...
authorBenoît Dien <benoit.dien@gmail.com>
Mon, 8 Nov 2010 16:17:53 +0000 (17:17 +0100)
committerGuillaume Cottenceau <gcottenc@gmail.com>
Mon, 8 Nov 2010 16:57:48 +0000 (17:57 +0100)
data/booh/themes/gradient/root/booh.css
data/booh/themes/gradient/root/booh.js
data/booh/themes/gradient/root/go-first.png
data/booh/themes/gradient/root/go-last.png
data/booh/themes/gradient/root/go-next.png
data/booh/themes/gradient/root/go-previous.png

index 7198481..29b2231 100644 (file)
@@ -98,28 +98,19 @@ td {
     -webkit-box-shadow: 0px 16px 60px rgba(0,0,0,0.25);
             box-shadow: 0px 16px 60px rgba(0,0,0,0.25);
     -webkit-transition: all 0.25s linear; 
-       -moz-transition: all 0.25s linear; 
             transition: all 0.25s linear; 
 }
 
 .image img:hover, .thumbnail_video img:hover, .thumbnail_image img:hover {
-       -moz-box-shadow: 0px 16px 60px rgba(0,0,0,0.1);
-    -webkit-box-shadow: 0px 16px 60px rgba(0,0,0,0.1);
-            box-shadow: 0px 16px 60px rgba(0,0,0,0.1);
-     -webkit-transform: rotate(-1deg) scale(1.05);
-        -moz-transform: rotate(-1deg) scale(1.05);
-             transform: rotate(-1deg) scale(1.05);
-}
-
-.disabled {
-        font-style: italic;
-}
-.disabled:hover {
-        background-color: #DEDAD6;
+       -moz-box-shadow: 0px 16px 60px rgba(0,0,0,0.2);
+    -webkit-box-shadow: 0px 16px 60px rgba(0,0,0,0.2);
+            box-shadow: 0px 16px 60px rgba(0,0,0,0.2);
+     -webkit-transform: scale(1.02);
+             transform: scale(1.02);
 }
 
 #titletext, #main_text {
-    font-size: 3.3em;
+    font-size: 3.0em;
     text-shadow: 2px 2px 4px black;
     color: #adbed3;
     text-align: center;
@@ -166,3 +157,6 @@ a.fullscreenvideolink {
        margin-right:auto;
 }
 
+.disabled {
+    opacity: 0.3;
+}
index b5574ad..a71ee61 100644 (file)
@@ -181,6 +181,8 @@ function update_sensibilities() {
         img_previous.src = change_basename(img_previous.src, 'go-previous-dark.png');
         img_first.style['cursor'] = 'default';
         img_previous.style['cursor'] = 'default';
+        img_first.setAttribute("class", "disabled");
+        img_previous.setAttribute("class", "disabled");
     } else {
         img_first.src = change_basename(img_first.src, 'go-first.png');
         img_previous.src = change_basename(img_previous.src, 'go-previous.png');
@@ -188,6 +190,8 @@ function update_sensibilities() {
         img_first.style['cursor'] = 'hand';
         img_previous.style['cursor'] = 'pointer';
         img_previous.style['cursor'] = 'hand';
+        img_first.setAttribute("class", "enabled");
+        img_previous.setAttribute("class", "enabled");
     }
 
     var img_next = document.getElementById("img_next");
@@ -197,6 +201,8 @@ function update_sensibilities() {
         img_last.src = change_basename(img_last.src, 'go-last-dark.png');
         img_next.style['cursor'] = 'default';
         img_last.style['cursor'] = 'default';
+        img_next.setAttribute("class", "disabled");
+        img_last.setAttribute("class", "disabled");
     } else {
         img_next.src = change_basename(img_next.src, 'go-next.png');
         img_last.src = change_basename(img_last.src, 'go-last.png');
@@ -204,6 +210,8 @@ function update_sensibilities() {
         img_next.style['cursor'] = 'hand';
         img_last.style['cursor'] = 'pointer';
         img_last.style['cursor'] = 'hand';
+        img_next.setAttribute("class", "enabled");
+        img_last.setAttribute("class", "enabled");
     }
 }
 
index 1a63450..bfbea4e 100644 (file)
Binary files a/data/booh/themes/gradient/root/go-first.png and b/data/booh/themes/gradient/root/go-first.png differ
index ba74c5a..401ddd9 100644 (file)
Binary files a/data/booh/themes/gradient/root/go-last.png and b/data/booh/themes/gradient/root/go-last.png differ
index 2cf7896..624e476 100644 (file)
Binary files a/data/booh/themes/gradient/root/go-next.png and b/data/booh/themes/gradient/root/go-next.png differ
index 73e95e2..31e33f6 100644 (file)
Binary files a/data/booh/themes/gradient/root/go-previous.png and b/data/booh/themes/gradient/root/go-previous.png differ