diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2011-06-14 19:01:59 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2011-06-14 19:01:59 +0200 |
commit | 5370cafa9e6f3c535a4b11af2668cb0568023617 (patch) | |
tree | 22f817971c7356631a9821e28016c3528e94465d | |
parent | 57dd88dbb3841943aefd06d1bdfc3c2f21d74296 (diff) | |
download | sonarqube-5370cafa9e6f3c535a4b11af2668cb0568023617.tar.gz sonarqube-5370cafa9e6f3c535a4b11af2668cb0568023617.zip |
SONAR-2410 Footer extension is hidden by sidebar
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb | 6 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/stylesheets/style.css | 64 |
2 files changed, 29 insertions, 41 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb index cce189d566f..5a09ff6a1f3 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb @@ -20,7 +20,7 @@ </ol> </div> - <div id="body" class="with_sidebar"> + <div id="body"> <div id="sb"> <div id="sidebar"> <ul> @@ -92,7 +92,7 @@ <% if @sidebar %><div id="sidebarconf"><%= render :partial => @sidebar %></div><% else %><div id="sidebarconf" class="hidden"> </div><% end %> </div> - <div id="content"> + <div id="content" class="with_sidebar"> <% if @project %><div class="print"><h2><%= @project.name(true) %></h2></div><% end %> <div class="error" id="error" style="display:none"><span id="errormsg"></span> [<a href="#" onclick="javascript:$('error').hide();return false;">hide</a>]</div> <div class="notice" id="info" style="display:none"><span id="infomsg"></span> [<a href="#" onclick="javascript:$('info').hide();return false;">hide</a>]</div> @@ -103,7 +103,7 @@ </div> <% unless params[:hd]=='false' %> -<div id="ft"> +<div id="footer"> <% controller.java_facade.getWebFooters().each do |footer| %> <% if footer.getHtml() %><div><%= footer.getHtml().to_s %></div><% end %> <% end %> diff --git a/sonar-server/src/main/webapp/stylesheets/style.css b/sonar-server/src/main/webapp/stylesheets/style.css index f43efd4d03f..4d42adbf1c0 100644 --- a/sonar-server/src/main/webapp/stylesheets/style.css +++ b/sonar-server/src/main/webapp/stylesheets/style.css @@ -17,14 +17,14 @@ position: static; left: 0; } - #hd, #sb { + div#hd, div#sb { display: none; } .with_sidebar, .wo_sidebar { padding: 0 !important; margin: 0; } - #content { + div#content { margin-left: 0 !important; } } @@ -46,15 +46,11 @@ a { color: #444; } -/* - - LAYOUT - -*/ -#container { +/* LAYOUT */ +div#container { height: auto !important; } -#hd { +div#hd { background: #262626; padding: 0 5px; height: 30px; @@ -98,33 +94,30 @@ a { text-align: left; margin: 50px 180px 0; } -#ft { - height: 30px; -} -#body { +div#footer { + padding-top: 10px; + margin: 0 10px; clear: both; } +div#body { + height: 100%; +} .with_sidebar { - padding-left: 160px; + margin: 0 10px 0 170px; } .wo_sidebar { - padding-left: 20px; -} -#content { margin: 0 10px 0 10px; +} +div#content { padding-top: 10px; - position: relative; - min-height: 400px; + width: auto; } -#sb { - position: absolute; +div#sb { width: 150px; - left: 10px; - top: 30px; - float: none; - margin: 0; + float: left; + margin: 0 10px; } -#sidebar { +div#sidebar { background-color: #CAE3F2; color: #262626; text-align: left; @@ -133,29 +126,28 @@ a { border-top: 0; padding: 10px 0; } -#sidebar li { +div#sidebar li { list-style-type: none; padding: 3px 0 3px 8px; } -#sidebar li.h2 { +div#sidebar li.h2 { color: #003366; padding: 20px 0 3px 8px; text-transform: uppercase; font-size: 100% !important; font-weight: bold; } -#sidebar .selected { +div#sidebar .selected { background-color: #4b9fd5; } -#sidebar a, #sidebarpages a:visited { +div#sidebar a, #sidebarpages a:visited { text-decoration: none; border-bottom: 0; } - -#sidebar a:hover { +div#sidebar a:hover { color: #4b9fd5; } -#sidebar .selected a, #sidebar .selected a:hover, #sidebar.selected a:visited { +div#sidebar .selected a, div#sidebar .selected a:hover, div#sidebar.selected a:visited { font-weight: bold; color: #efefef; } @@ -233,10 +225,9 @@ a { margin-top: 10px; } #ftlinks a { - color: #333; + color: #444; } - /* GENERAL */ @@ -950,7 +941,6 @@ div.autocomplete strong { #gwtpage { width: 100%; - clear: both; } .gwt-SourcePanel { font-size: 12px; @@ -1763,11 +1753,9 @@ table.without-header { padding-left:18px } div.break10 { - clear: both; height: 10px; } div.break30 { - clear: both; height: 30px; } .marginbottom10 { |