-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
- Loading branch information
1 parent
5b2aa85
commit a379bd0
Showing
9 changed files
with
64 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,58 @@ | ||
/* Login Page */ | ||
body.login-page{ | ||
.container > .content { | ||
padding-top: 20px; | ||
.login-page { | ||
h1 { | ||
font-size: 3em; | ||
font-weight: 200; | ||
} | ||
} | ||
|
||
.login-box{ | ||
width: 304px; | ||
position: relative; | ||
@include border-radius(5px); | ||
margin: auto; | ||
padding: 20px; | ||
background: white; | ||
} | ||
|
||
.login-box .login-logo{ | ||
margin: 10px 0 30px 0; | ||
display: block; | ||
} | ||
|
||
.login-box input.text{background-color: #f1f1f1; font-size: 16px; @include border-radius(0); padding: 14px 10px; width: 280px} | ||
|
||
.login-box input.text.top{ | ||
@include border-radius(5px 5px 0 0); | ||
margin-bottom: 0px; | ||
} | ||
|
||
.login-box input.text.bottom{ | ||
@include border-radius(0 0 5px 5px); | ||
border-top: 0; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.login-box input.text.middle{ | ||
border-top: 0; | ||
margin-bottom:0px; | ||
} | ||
.login-box{ | ||
width: 304px; | ||
position: relative; | ||
@include border-radius(5px); | ||
margin: auto; | ||
padding: 20px; | ||
background: white; | ||
} | ||
|
||
.login-box a.forgot{float: right; padding-top: 6px} | ||
.login-logo{ | ||
margin: 10px 0 30px 0; | ||
display: block; | ||
} | ||
|
||
.remember_me { | ||
text-align: left; | ||
.form-control { | ||
background-color: #f1f1f1; | ||
font-size: 16px; | ||
padding: 14px 10px; | ||
width: 280px; | ||
height: auto; | ||
|
||
&.top { | ||
@include border-radius(5px 5px 0 0); | ||
margin-bottom: 0px; | ||
} | ||
|
||
&.bottom { | ||
@include border-radius(0 0 5px 5px); | ||
border-top: 0; | ||
margin-bottom: 20px; | ||
} | ||
|
||
&.middle { | ||
border-top: 0; | ||
margin-bottom:0px; | ||
@include border-radius(0); | ||
} | ||
} | ||
|
||
input { | ||
margin: 2px; | ||
.login-box a.forgot { | ||
float: right; | ||
padding-top: 6px | ||
} | ||
} | ||
|
||
.devise-errors { | ||
h2 { | ||
font-size: 14px; | ||
color: #a00; | ||
.devise-errors { | ||
h2 { | ||
font-size: 14px; | ||
color: #a00; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
= form_tag(user_omniauth_callback_path(:ldap), id: 'new_ldap_user' ) do | ||
= text_field_tag :username, nil, {class: "text top", placeholder: "LDAP Login", autofocus: "autofocus"} | ||
= password_field_tag :password, nil, {class: "text bottom", placeholder: "Password"} | ||
= text_field_tag :username, nil, {class: "form-control top", placeholder: "LDAP Login", autofocus: "autofocus"} | ||
= password_field_tag :password, nil, {class: "form-control bottom", placeholder: "Password"} | ||
%br/ | ||
= submit_tag "LDAP Sign in", class: "btn-create btn" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters