diff mbox

[Branch,~linaro-validation/lava-server/trunk] Rev 309: Tweak visuals from the top panel again

Message ID 20111129093717.13982.64468.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Zygmunt Krynicki Nov. 29, 2011, 9:37 a.m. UTC
------------------------------------------------------------
revno: 309
committer: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
branch nick: lava-server
timestamp: Tue 2011-11-22 18:11:35 +0100
message:
  Tweak visuals from the top panel again
  
  The menu is now always visible, it has a consistent dark gray color. A subtle gradient allows to break
  the menu from the page. The active focus color is intense blue to easily spot active content.
modified:
  lava_server/htdocs/css/default.css
  lava_server/templates/layouts/content.html


--
lp:lava-server
https://code.launchpad.net/~linaro-validation/lava-server/trunk

You are subscribed to branch lp:lava-server.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_server/htdocs/css/default.css'
--- lava_server/htdocs/css/default.css	2011-11-22 16:58:50 +0000
+++ lava_server/htdocs/css/default.css	2011-11-22 17:11:35 +0000
@@ -76,11 +76,23 @@ 
   width: 100%;
   position: relative;
   z-index: 1000;
+  
+
+  background-image: linear-gradient(bottom, #444 50%, #333 90%);
+  background-image: -o-linear-gradient(bottom, #444 50%, #333 90%);
+  background-image: -moz-linear-gradient(bottom, #444 50%, #333 90%);
+  background-image: -webkit-linear-gradient(bottom, #444 50%, #333 90%);
+  background-image: -ms-linear-gradient(bottom, #444 50%, #333 90%);
+  background-image: -webkit-gradient(
+    linear,
+    left bottom,
+    left top,
+    color-stop(0.5, #444),
+    color-stop(0.9, #333)
+  );
 }
 
 #lava-panel.active {
-  background-color: white;
-  color: black;
 }
 
 #lava-panel .lava-panel-element {

=== modified file 'lava_server/templates/layouts/content.html'
--- lava_server/templates/layouts/content.html	2011-11-22 16:58:50 +0000
+++ lava_server/templates/layouts/content.html	2011-11-22 17:11:35 +0000
@@ -157,7 +157,6 @@ 
           // The top absolute position of the menu.
           // Defaults to the bottom border of the panel
           var _top = $("#lava-panel").outerHeight(true);
-          _top += 1;
 
           // The left absolute position of the menu.
           // defaults to the offset of the indicator span