Last active
August 31, 2018 11:55
-
-
Save ajmeyghani/f24435eab68add7b6482bd5cfd7aa46a to your computer and use it in GitHub Desktop.
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
body, html { | |
padding: 0; | |
margin: 0; | |
height: 100%; | |
} | |
body { | |
font-family: 'arial', sans-serif; | |
} | |
p, h1, h2, h3, h4 { | |
margin: 0; | |
padding: 0; | |
} | |
p { | |
font-size: 13px; | |
margin-bottom: 5px; | |
} | |
a { | |
color: #2104ea; | |
text-decoration: none; | |
} | |
a:hover { | |
text-decoration: underline; | |
} | |
.page { | |
height: 100%; | |
display: flex; | |
flex-direction: column; | |
justify-content: center; | |
width: 320px; | |
margin: 0 auto; | |
} | |
.login-form { | |
width: 100%; | |
min-height: 300px; | |
box-sizing: border-box; | |
border-radius: 10px; | |
background: #fff; | |
display: flex; | |
flex-direction: column; | |
padding: 20px; | |
border: 1px solid #e8e8e8; | |
border-top: 6px solid #5059d8; | |
} | |
.login-form > form { | |
display: flex; | |
flex-direction: column; | |
margin-top: auto; | |
margin-bottom: 20px; | |
} | |
.login-form input { | |
margin-bottom: 5px; | |
background: transparent; | |
border: 1px solid; | |
padding: 10px 15px; | |
} | |
.login-form input:last-of-type { | |
margin-bottom: 0; | |
} | |
.login-form footer { | |
margin-top: auto; | |
border-top: 1px solid #ececec; | |
padding-top: 20px; | |
} | |
.form-group { | |
margin-bottom: 20px; | |
display: flex; | |
flex-direction: column; | |
} | |
.form-group label { | |
margin-bottom: 5px; | |
color: #777; | |
font-size: 13px; | |
} | |
.form-group input { | |
border-radius: 3px; | |
color: #797979; | |
font-size: 13px; | |
border: 1px solid #e0e0e0; | |
} | |
.login-form > .form-title { | |
margin-bottom: 20px; | |
text-transform: uppercase; | |
font-size: 12px; | |
font-weight: 700; | |
} | |
.forgot-password { | |
margin-bottom: 15px; | |
} | |
input[type='submit'] { | |
border: none; | |
background-color: #525ad0; | |
color: #fff; | |
border-radius: 20px; | |
font-size: 11px; | |
text-transform: uppercase; | |
} | |
input[type='submit']:hover { | |
cursor: pointer; | |
} | |
input[type='submit']:focus { | |
outline: 0; | |
} | |
.submit { | |
width: 95%; | |
display: flex; | |
flex-direction: column; | |
position: relative; | |
margin: 0 auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment