mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 07:51:55 +03:00
e85a6a1cac
* Update mobile modal animations * Member popup input error and placeholder refinements * Adding close animation to members auth popups * Improve members auth dialog * Refine members reset password design
130 lines
2.2 KiB
CSS
130 lines
2.2 KiB
CSS
/* Global styles */
|
|
/* ------------------------------------------------------------ */
|
|
html {
|
|
font-size: 62.5%;
|
|
}
|
|
|
|
html, body {
|
|
font-family: var(--default-font);
|
|
color: var(--black);
|
|
}
|
|
|
|
body {
|
|
font-size: var(--text-base);
|
|
letter-spacing: 0.2px;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
padding: 0;
|
|
color: var(--grey-d3);
|
|
font-size: var(--text-2xl);
|
|
font-weight: 700;
|
|
}
|
|
|
|
h4 {
|
|
margin: 0;
|
|
padding: 0;
|
|
color: var(--grey-d3);
|
|
font-size: var(--text-base);
|
|
}
|
|
|
|
a {
|
|
color: var(--blue);
|
|
transition: color var(--animation-speed-f1) ease-in-out;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--blue-d3);
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
|
h1 {
|
|
font-size: var(--text-xl);
|
|
}
|
|
}
|
|
|
|
|
|
/* Auth Modal */
|
|
/* --------------------------------------------- */
|
|
.gm-logo {
|
|
width: 52px;
|
|
height: 52px;
|
|
border-radius: 4px;
|
|
margin: 0 auto;
|
|
background: #343F44 url('../assets/images/ghost-logo.svg') center center no-repeat;
|
|
}
|
|
|
|
.gm-auth-header,
|
|
.gm-auth-footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin: 24px 0 0;
|
|
}
|
|
|
|
.gm-auth-header h1 {
|
|
font-size: var(--text-xl);
|
|
}
|
|
|
|
.gm-auth-header h4,
|
|
.gm-auth-footer h4 {
|
|
font-weight: normal;
|
|
font-size: var(--text-s);
|
|
letter-spacing: 0.4px;
|
|
/* color: var(--grey-d1); */
|
|
}
|
|
|
|
.gm-auth-header a,
|
|
.gm-auth-footer a {
|
|
display: block;
|
|
font-size: var(--text-s);
|
|
letter-spacing: 0.4px;
|
|
padding: 8px;
|
|
margin: -8px -8px -8px -2px;
|
|
cursor: pointer;
|
|
color: var(--blue);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.gm-auth-header a:hover,
|
|
.gm-auth-footer a:hover {
|
|
color: var(--blue-d3);
|
|
}
|
|
|
|
.gm-forgot-link {
|
|
position: absolute;
|
|
top: 14px;
|
|
right: 14px;
|
|
z-index: 9999;
|
|
font-size: var(--text-s);
|
|
letter-spacing: 0.4px;
|
|
}
|
|
|
|
.gm-reset-sent {
|
|
margin: 24px 0 0;
|
|
background: color-mod(var(--green) a(0.2));
|
|
border-radius: 4px;
|
|
color: color-mod(var(--green) l(-30%) s(+8%));
|
|
padding: 12px 14px 14px;
|
|
}
|
|
|
|
/* Custom forms */
|
|
|
|
.gm-floating-input .gm-forgot-input {
|
|
padding-right: 60px;
|
|
}
|
|
|
|
@media (max-width: 440px) {
|
|
h4 {
|
|
display: none;
|
|
}
|
|
} |