mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
045e5054a0
issue #5652, closes #5641 - removes inline errors for empty fields - separate validation routines for sign-in and forgot password - highlight fields with errors when trying to submit
50 lines
879 B
CSS
50 lines
879 B
CSS
/* Sign in
|
|
/* ---------------------------------------------------------- */
|
|
|
|
.gh-signin {
|
|
position: relative;
|
|
margin: 30px auto;
|
|
padding: 40px;
|
|
max-width: 400px;
|
|
width: 100%;
|
|
border: #dae1e3 1px solid;
|
|
background: #f8fbfd;
|
|
border-radius: 5px;
|
|
text-align: left;
|
|
}
|
|
|
|
.gh-signin .form-group {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.gh-signin .btn {
|
|
margin: 0;
|
|
padding: 12px;
|
|
}
|
|
|
|
.forgotten-wrap {
|
|
position: relative;
|
|
}
|
|
|
|
.forgotten-wrap input {
|
|
padding-right: 7rem;
|
|
}
|
|
|
|
.forgotten-wrap .forgotten-link {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 0;
|
|
bottom: 10px;
|
|
padding: 0 12px;
|
|
border-left: #dae1e3 1px solid;
|
|
border-radius: 0;
|
|
text-transform: none;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.forgotten-link:hover {
|
|
border-left: #dae1e3 1px solid;
|
|
color: color(var(--blue) lightness(-20%));
|
|
text-decoration: none;
|
|
}
|