From 6422a9a0df4cb901b219eca491e2faf639b68e47 Mon Sep 17 00:00:00 2001 From: Alain Takoudjou <talino@tiolive.com> Date: Mon, 14 Jan 2013 17:36:59 +0100 Subject: [PATCH] Fix zoom values on layout --- slapos/runner/static/css/styles.css | 16 ++++++---------- slapos/runner/templates/index.html | 10 +++++----- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/slapos/runner/static/css/styles.css b/slapos/runner/static/css/styles.css index 49e0f60..1291215 100644 --- a/slapos/runner/static/css/styles.css +++ b/slapos/runner/static/css/styles.css @@ -114,15 +114,12 @@ overflow-y: scroll; } .wmenu{ - + margin: 1px 0 1px 20px; } .wmenu ul{ - list-style:none; - margin:0; - margin-top:1px; - padding:0; - margin-left:20px; + height: 34px; + overflow:hidden; } .space{ @@ -163,7 +160,7 @@ overflow-y: scroll; text-shadow:1px 1px 0 #E6EDF2; } -.wmenu ul li.sep{border-right: 1px solid #c2c2c2; min-width:22px; height:34px} +.wmenu ul li.sep{border-right: 1px solid #c2c2c2; min-width:20px; height:34px} .wmenu ul li a{ display:block; height: 20px; @@ -371,14 +368,14 @@ input[type="radio"], input[type="checkbox"]{ .lmenu{ display: block; height: 80px; - margin: 10px 45px 10px 45px; + margin: 10px 0 10px 45px; padding: 10px; padding-bottom:15px; width: 530px; border: 1px solid #678dad; } -.smaller{margin-left:10px; width: 350px; float:right} +.smaller{margin-left:10px; width: 350px; float:left} .smaller p{width: 280px;} .umenu{display: block;margin: 10px 0 10px 45px; width: 147px; float:left;border: 1px solid #678dad; padding: 10px;height: 80px;padding-bottom:15px;} @@ -400,7 +397,6 @@ padding: 10px;height: 80px;padding-bottom:15px;} .sright_menu{ display: block; height: 80px; - margin: 0 45px 0 0; padding: 10px; padding-bottom:15px; border: #678dad; diff --git a/slapos/runner/templates/index.html b/slapos/runner/templates/index.html index ebbfd90..100fdb5 100644 --- a/slapos/runner/templates/index.html +++ b/slapos/runner/templates/index.html @@ -23,6 +23,11 @@ <img src="{{ url_for('static', filename='images/manage_repo.png') }}" /> </div> <div class="clear"></div> +<div class="umenu"> + <h2><a href="{{ url_for('myAccount')}}">Your Account</a></h2> + <p>Update your account informations</p> + <img src="{{ url_for('static', filename='images/user_card.png') }}" /> +</div> <div class="lmenu smaller"> <h2><a href="{{ url_for('openProject', method='new')}}">Create your Software Release</a></h2> <p>To create a new Software Release, choose the project directory in which you want to create your software.<!-- You will then be able to edit and @@ -31,11 +36,6 @@ <img src="{{ url_for('static', filename='images/folder_blue.png') }}" /> <div class="clear"></div> </div> -<div class="umenu"> - <h2><a href="{{ url_for('myAccount')}}">Your Account</a></h2> - <p>Update your account informations</p> - <img src="{{ url_for('static', filename='images/user_card.png') }}" /> -</div> <div class="clear"></div> </div> </div> -- 2.30.9