changeset 6903:7e22d42320cd

style: be consistent and don't use col-*-* classes In order to not show overlap the lock icon also change its positioning style.
author domruf <dominikruf@gmail.com>
date Mon, 11 Sep 2017 21:45:33 +0200
parents 44ed1c6497ce
children 1433199fb0f5
files kallithea/public/css/style.css kallithea/templates/login.html
diffstat 2 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Fri Sep 15 03:06:30 2017 +0200
+++ b/kallithea/public/css/style.css	Mon Sep 11 21:45:33 2017 +0200
@@ -577,7 +577,6 @@
 #login .panel-body .icon-lock {
     font-size: 100px;
     color: #DDD;
-    position: absolute;
     margin-left: -15px;
     z-index: 1;
 }
--- a/kallithea/templates/login.html	Fri Sep 15 03:06:30 2017 +0200
+++ b/kallithea/templates/login.html	Mon Sep 11 21:45:33 2017 +0200
@@ -20,19 +20,19 @@
             <i class="icon-lock"></i>
 
                 <div class="form-group">
-                    <label class="control-label col-sm-5" for="username">${_('Username')}:</label>
-                    <div class="col-sm-7">
+                    <label class="control-label" for="username">${_('Username')}:</label>
+                    <div>
                         ${h.text('username',class_='form-control')}
                     </div>
                 </div>
                 <div class="form-group">
-                    <label class="control-label col-sm-5" for="password">${_('Password')}:</label>
-                    <div class="col-sm-7">
+                    <label class="control-label" for="password">${_('Password')}:</label>
+                    <div>
                         ${h.password('password',class_='form-control')}
                     </div>
                 </div>
                 <div class="form-group">
-                    <div class="col-sm-offset-5 col-sm-7">
+                    <div>
                         <div class="checkbox">
                             <label>
                                 <input type="checkbox" id="remember" name="remember"/>