diff mbox

[Branch,~linaro-validation/lava-server/trunk] Rev 317: Fix sidebar rendering.

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

Commit Message

Zygmunt Krynicki Nov. 29, 2011, 9:37 a.m. UTC
------------------------------------------------------------
revno: 317
committer: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
branch nick: next
timestamp: Tue 2011-11-22 19:12:32 +0100
message:
  Fix sidebar rendering.
  
  Sidebar is realized as a table (purely via css). It will need some tweaks for compatibility
modified:
  lava_server/htdocs/css/default.css


--
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 17:58:47 +0000
+++ lava_server/htdocs/css/default.css	2011-11-22 18:12:32 +0000
@@ -279,31 +279,40 @@ 
 
 #lava-content-and-sidebar,
 #lava-content-without-sidebar {
+  color: #444;
   background-color: white;
   border-radius: 8px;
   -moz-border-radius: 8px;
-  border: 10pt dashed yellow, 10pt dashed black;
-  color: #444;
-  margin: 1ex 0 75px 0;
+
+  margin-top: 1ex;
+
+  box-shadow: 0 -3pt 5pt rgba(0,0,0, 0.4);
   overflow-x: auto;
-  box-shadow: 0 -3pt 5pt rgba(0,0,0, 0.4);
+
+  display: table;
+  width: 100%;
 }
 
 
 /* Sidebar */
 
 #lava-sidebar {
-  width: 200px;
+  display: table-cell;
   vertical-align: top;
-  padding: 10px 15px;
-  display: table-cell;
+
+  width: 230px;
+  text-align: justify;
+
+  padding: 1ex;
 }
 
 /* Content */
 
 #lava-content {
-  padding: 10px 15px;
+  display: table-cell;
   vertical-align: top;
+
+  padding: 1ex;
 }
 
 /* Footer */