I used this image as the style/ltb-logo.png
.
It is licensed under CC0 Public Domain
.
Last active
September 16, 2017 19:25
-
-
Save fin-ger/ddd4cc3fb3095d49d1bcec46b3eaa29b to your computer and use it in GitHub Desktop.
ltb self-service-password Material Design (for v0.8)
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
@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900italic,900); | |
html, body { | |
margin: 0; | |
padding: 0; | |
font-family: Roboto; | |
} | |
#content { | |
margin: 4rem; | |
padding: 1rem; | |
background: #fff; | |
border-radius: 2px; | |
box-shadow: 0 3px 6px rgba(0,0,0,0.16), | |
0 3px 6px rgba(0,0,0,0.23); | |
} | |
#content:before { | |
content: ""; | |
position: absolute; | |
top: 0; | |
left: 0; | |
z-index: -1; | |
width: 100%; | |
height: 8rem; | |
background: #607D8B; | |
} | |
h1 { | |
text-align: center; | |
font-weight: 400; | |
color: rgba(0,0,0,0.87); | |
} | |
a[href="index.php"] { | |
display: block; | |
margin: 0 -1rem; | |
} | |
a[href="index.php"] img { | |
display: block; | |
width: 100%; | |
height: 25vw; | |
object-fit: cover; | |
} | |
.result h2 { | |
font-weight: 400; | |
} | |
form { | |
width: 100%; | |
display: block; | |
margin: 0 auto; | |
margin-top: 3rem; | |
margin-bottom: 1rem; | |
} | |
@media (min-width: 768px) { | |
form { | |
width: 50%; | |
} | |
} | |
form table { | |
width: 100%; | |
border-spacing: 0.5rem; | |
table-layout: fixed; | |
} | |
form table th { | |
font-weight: 400; | |
text-align: right; | |
color: rgba(0,0,0,0.55); | |
width: 7rem; | |
} | |
form table input[type="text"], | |
form table input[type="password"] { | |
width: 100%; | |
outline: none; | |
border: none; | |
border-bottom: 1.5px solid #E0E0E0; | |
padding: 0.33rem 0; | |
font-size: 1em; | |
color: rgba(0,0,0,0.87); | |
transition: border-bottom 0.25s ease-in-out 0s; | |
} | |
form table input[type="text"]:focus, | |
form table input[type="password"]:focus { | |
border-bottom: 1.5px solid #607D8B; | |
} | |
form table input[type="submit"] { | |
background: #607D8B; | |
width: 100%; | |
color: rgba(255,255,255,0.87); | |
box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), | |
0 2px 2px 0 rgba(0,0,0,.14), | |
0 1px 5px 0 rgba(0,0,0,.12); | |
box-sizing: border-box; | |
user-select: none; | |
cursor: pointer; | |
outline: 0; | |
border: none; | |
display: inline-block; | |
white-space: nowrap; | |
text-decoration: none; | |
vertical-align: baseline; | |
text-align: center; | |
margin: 0; | |
min-width: 88px; | |
line-height: 36px; | |
padding: 0 16px; | |
border-radius: 2px; | |
margin-top: 1rem; | |
transition: background 0.25s ease-in-out 0s; | |
} | |
form table input[type="submit"]:hover { | |
background: #78909C; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment