Changeset - 7e22d42320cd
[Not reviewed]
default
0 2 0
domruf - 8 years ago 2017-09-11 21:45:33
dominikruf@gmail.com
style: be consistent and don't use col-*-* classes

In order to not show overlap the lock icon also change its positioning style.
2 files changed with 5 insertions and 6 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/style.css
Show inline comments
 
@@ -574,13 +574,12 @@ a.metatag[data-tag="license"]:hover {
 
    padding-bottom: 8px;
 
}
 

	
 
#login .panel-body .icon-lock {
 
    font-size: 100px;
 
    color: #DDD;
 
    position: absolute;
 
    margin-left: -15px;
 
    z-index: 1;
 
}
 

	
 
.user-menu {
 
    padding: 0 !important;
kallithea/templates/login.html
Show inline comments
 
@@ -17,25 +17,25 @@
 
    <div class="panel-body">
 
        ${h.form(url('login_home', came_from=c.came_from))}
 
        <div class="form">
 
            <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"/>
 
                                ${_('Stay logged in after browser restart')}
 
                            </label>
 
                        </div>
0 comments (0 inline, 0 general)