Ghost/ghost/admin/app/styles/layouts/auth.css

150 lines
2.9 KiB
CSS
Raw Normal View History

2015-05-14 16:45:37 +03:00
/* Sign in
/* ---------------------------------------------------------- */
.gh-signin, .gh-auth-email {
2015-05-14 16:45:37 +03:00
position: relative;
width: 100%;
2015-05-14 16:45:37 +03:00
}
.gh-flow-content header,
2021-03-03 15:36:40 +03:00
.gh-signin header {
display: flex;
flex-direction: column;
align-items: center;
}
.gh-flow-content .gh-site-icon,
2021-03-03 15:36:40 +03:00
.gh-signin .gh-site-icon {
margin-bottom: 20px;
width: 70px;
height: 70px;
background-color: transparent;
background-size: 70px;
border-radius: 3px;
}
.gh-signin h1 {
font-size: 4.1rem;
font-weight: 600;
letter-spacing: -.025em;
line-height: 1.15em;
font-weight: 700;
color: var(--black);
max-width: 620px;
width: 100%;
text-align: center;
margin-bottom: 40px;
}
2015-05-17 15:31:54 +03:00
.gh-signin .form-group {
margin-bottom: 1.5rem;
2015-05-14 16:45:37 +03:00
}
.gh-signin .gh-btn {
2015-05-17 15:31:54 +03:00
margin: 0;
2015-05-14 16:45:37 +03:00
}
2021-03-03 19:16:44 +03:00
.gh-signin .gh-btn-login,
.gh-signin .gh-btn-reset,
.gh-setup .gh-btn-signup,
.gh-signup .gh-btn-signup {
2021-03-02 20:22:25 +03:00
height: 54px;
border-radius: 8px;
2021-03-02 20:22:25 +03:00
line-height: 54px;
margin-top: 40px;
max-width: unset;
font-weight: 300;
2021-03-03 14:29:36 +03:00
transition: all 0.4s ease;
-webkit-font-smoothing: subpixel-antialiased;
}
2021-03-03 19:16:44 +03:00
.gh-signin .gh-btn-login span,
.gh-signin .gh-btn-reset span,
.gh-setup .gh-btn-signup span,
.gh-signup .gh-btn-signup span {
2021-03-03 19:16:44 +03:00
font-size: 1.8rem;
color: #fff;
}
.gh-signin .gh-btn-reset {
background: var(--black) !important;
margin-top: 20px;
}
2021-03-03 14:29:36 +03:00
.gh-signin .gh-btn-login svg.gh-icon-spinner rect {
fill: #fff !important;
}
.gh-signin .gh-btn-login:hover,
.gh-signup .gh-btn-signup:hover {
2021-03-03 14:29:36 +03:00
opacity: 0.9;
}
.gh-signin label {
2021-03-02 20:22:25 +03:00
font-size: 1.3rem;
font-weight: 600 !important;
}
2015-05-17 15:31:54 +03:00
.forgotten-wrap {
position: relative;
2015-05-14 16:45:37 +03:00
}
.forgotten-wrap input {
padding-right: 7rem;
}
2015-05-17 15:31:54 +03:00
.forgotten-wrap .forgotten-link {
position: absolute;
top: 12px;
right: 1px;
bottom: 12px;
border-left: color-mod(var(--lightgrey) l(-5%) s(-10%)) 1px solid;
2015-05-17 15:31:54 +03:00
border-radius: 0;
}
.forgotten-link span {
height: 19px;
font-size: 1.4rem;
line-height: 19px;
padding: 0 15px 0 16px;
margin-top: -1px;
color: var(--midlightgrey);
2015-05-14 16:45:37 +03:00
}
2015-05-17 15:31:54 +03:00
.forgotten-link:hover {
border-left: color-mod(var(--lightgrey) l(-15%) s(-10%)) 1px solid;
2015-05-14 16:45:37 +03:00
text-decoration: none;
}
.forgotten-link:hover span {
color: var(--black);
}
.forgotten-link:active {
box-shadow: none;
text-decoration: underline;
}
2021-03-02 20:22:25 +03:00
.gh-signin input,
.gh-signin input:-webkit-autofill::first-line {
padding: 12px 16px;
2021-03-02 20:22:25 +03:00
height: 54px;
border-radius: 8px;
2021-03-02 20:22:25 +03:00
font-size: 1.8rem;
}
.gh-signin .gh-input:focus:not(.gh-signin .gh-input.reset-password:focus),
.gh-signup .gh-input:focus {
border-color: var(--midgrey) !important;
box-shadow: none !important;
}
/* Email notification */
/* ---------------------------------------------------------- */
.gh-auth-email header {
text-align: center;
}
.gh-auth-email p {
color: var(--midgrey);
}