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 7198481058617fcbf9f5e53cf4df34831342b617..29b22316e692d6680ec214c653905e277587843f 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; 
     -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 {
             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 {
 }
 
 #titletext, #main_text {
-    font-size: 3.3em;
+    font-size: 3.0em;
     text-shadow: 2px 2px 4px black;
     color: #adbed3;
     text-align: center;
     text-shadow: 2px 2px 4px black;
     color: #adbed3;
     text-align: center;
@@ -166,3 +157,6 @@ a.fullscreenvideolink {
        margin-right:auto;
 }
 
        margin-right:auto;
 }
 
+.disabled {
+    opacity: 0.3;
+}
index b5574ad80abc08d8c522e494d4ee3afed2002e6a..a71ee618a8a3f71d956f3b44be8c4e2f05308d36 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_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');
     } 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.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");
     }
 
     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_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');
     } 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.style['cursor'] = 'hand';
         img_last.style['cursor'] = 'pointer';
         img_last.style['cursor'] = 'hand';
+        img_next.setAttribute("class", "enabled");
+        img_last.setAttribute("class", "enabled");
     }
 }
 
     }
 }
 
index 1a6345033d9e0a71e165292781b8ce42dff22a66..bfbea4e29e76bed187c8dc468bfba8838dceff4e 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 ba74c5a89fa17c103215931d114d1e3cd3cbb806..401ddd99985b149273f221d42f117f2cb21a3f7b 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 2cf7896671cd31df02a2181552efaa6b2346a096..624e476c0b02dd85d0ec6e948894463a856e5ca3 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 73e95e2f1d3af80eb65aa59568a2d88d2db3f026..31e33f6b4ddb57c5409ae4fa89db219520a7ffd6 100644 (file)
Binary files a/data/booh/themes/gradient/root/go-previous.png and b/data/booh/themes/gradient/root/go-previous.png differ