mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
416 lines
7.8 KiB
CSS
416 lines
7.8 KiB
CSS
/* Full screen workflow
|
|
/* ---------------------------------------------------------- */
|
|
|
|
.gh-flow {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
min-height: 100%;
|
|
background: linear-gradient(315deg,#efefef,#fff);
|
|
}
|
|
|
|
.gh-setup {
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
min-height: unset;
|
|
overflow-y: unset;
|
|
padding: 0 2.4rem;
|
|
}
|
|
|
|
.gh-flow-content-wrap {
|
|
flex-grow: 1;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin: 0 5%;
|
|
padding-bottom: 8vh;
|
|
}
|
|
|
|
.gh-flow-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 520px;
|
|
width: 100%;
|
|
margin: 4.8rem 0 8rem;
|
|
color: var(--darkgrey);
|
|
font-size: 1.9rem;
|
|
line-height: 1.5em;
|
|
font-weight: 300;
|
|
}
|
|
|
|
@media (max-width: 400px) {
|
|
.gh-flow-content {
|
|
margin: 4rem 0 6rem;
|
|
font-size: 4vw;
|
|
}
|
|
}
|
|
|
|
.gh-setup .gh-flow-content header {
|
|
margin: 0 0 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.gh-setup .gh-flow-content header svg {
|
|
width: 7.2rem;
|
|
margin: 0 0 1rem;
|
|
}
|
|
|
|
.gh-setup .gh-flow-content h1 {
|
|
margin-bottom: .3em;
|
|
}
|
|
|
|
.gh-setup .gh-flow-content p {
|
|
color: var(--midgrey);
|
|
font-size: 1.9rem;
|
|
font-weight: 400;
|
|
line-height: 1.4em;
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.gh-setup .gh-flow-content p {
|
|
font-size: 1.7rem;
|
|
}
|
|
}
|
|
|
|
.gh-flow-content h1 {
|
|
margin-bottom: 40px;
|
|
font-size: 4.1rem;
|
|
font-weight: 700;
|
|
line-height: 1.15em;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.gh-flow-content h1 {
|
|
font-size: 7vw;
|
|
}
|
|
}
|
|
|
|
.gh-flow-content strong {
|
|
font-weight: 400;
|
|
}
|
|
|
|
.gh-flow-content em {
|
|
color: var(--black);
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
}
|
|
|
|
.gh-flow-content .gh-btn {
|
|
display: block;
|
|
margin: 40px auto 0;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.gh-setup .gh-flow-content .gh-btn {
|
|
height: 52px;
|
|
max-width: unset;
|
|
margin: 40px 0 0
|
|
}
|
|
|
|
.gh-setup .gh-flow-content .gh-btn span {
|
|
font-size: 1.7rem;
|
|
}
|
|
|
|
.gh-flow-content .login span {
|
|
height: 37px !important;
|
|
line-height: 37px !important;
|
|
}
|
|
|
|
.gh-flow-content .gh-center {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.gh-separator {
|
|
display: flex;
|
|
align-items: center;
|
|
text-align: center;
|
|
margin-top: 25px;
|
|
margin-bottom: 25px;
|
|
font-size: 1.4rem;
|
|
font-weight: 400;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.gh-separator::before,
|
|
.gh-separator::after {
|
|
content: '';
|
|
flex: 1;
|
|
border-bottom: 1px solid var(--lightgrey);
|
|
}
|
|
|
|
.gh-separator:not(:empty)::before {
|
|
margin-right: 6px;
|
|
}
|
|
|
|
.gh-separator:not(:empty)::after {
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.gh-flow-content .gh-flow-skip {
|
|
display: inline-block;
|
|
margin-top: 5px;
|
|
color: #7d878a;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.gh-flow-content .gh-flow-create {
|
|
position: relative;
|
|
margin: 70px auto 30px;
|
|
padding: 50px 40px 40px;
|
|
max-width: 400px;
|
|
width: 100%;
|
|
border: #dae1e3 1px solid;
|
|
background: #fff;
|
|
border-radius: 5px;
|
|
text-align: left;
|
|
box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.gh-flow-content .account-image {
|
|
position: absolute;
|
|
top: -50px;
|
|
left: 50%;
|
|
overflow: hidden;
|
|
margin: 0;
|
|
margin-left: -50px;
|
|
padding: 4px;
|
|
width: 100px;
|
|
height: 100px;
|
|
border: #d1d9db 1px solid;
|
|
background: #fff;
|
|
border-radius: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.gh-flow-content .account-image:hover .edit-account-image {
|
|
opacity: 1;
|
|
}
|
|
|
|
.gh-flow-content .edit-account-image {
|
|
position: absolute;
|
|
top: 4px;
|
|
right: 4px;
|
|
bottom: 4px;
|
|
left: 4px;
|
|
width: calc(100% - 8px);
|
|
background: rgba(87, 163, 232, 0.7);
|
|
border-radius: 100%;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
font-size: 3rem;
|
|
line-height: 90px;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.gh-flow-content .edit-account-image svg {
|
|
fill: #fff;
|
|
height: 3rem;
|
|
width: auto;
|
|
flex: 1 1 3rem;
|
|
}
|
|
|
|
.gh-flow-content .placeholder-img {
|
|
display: block;
|
|
width: 90px;
|
|
height: 90px;
|
|
background-color: #f8fbfd;
|
|
background-position: center center;
|
|
background-size: cover;
|
|
border-radius: 100%;
|
|
animation: fade-in 1s;
|
|
}
|
|
|
|
.gh-flow-content .gravatar-img {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
display: block;
|
|
box-sizing: content-box;
|
|
width: calc(100% - 8px);
|
|
width: 90px;
|
|
height: 90px;
|
|
border: #fff 4px solid;
|
|
background-position: center center;
|
|
background-size: cover;
|
|
border-radius: 100%;
|
|
animation: fade-in 1s;
|
|
}
|
|
|
|
.gh-flow-content .file-uploader {
|
|
position: absolute;
|
|
right: 0;
|
|
margin: 0;
|
|
font-size: 23px;
|
|
opacity: 0;
|
|
cursor: pointer;
|
|
transform: scale(14);
|
|
transform-origin: right;
|
|
direction: ltr;
|
|
}
|
|
|
|
.gh-flow-content .form-group {
|
|
margin-bottom: 20px !important;
|
|
}
|
|
|
|
.gh-flow-content .form-group label {
|
|
margin: 0 0 .3em;
|
|
font-size: 1.4rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.gh-flow-content .form-group a {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.gh-flow-content input {
|
|
height: 48px;
|
|
padding: 12px 16px;
|
|
font-size: 1.7rem;
|
|
font-weight: 400;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.gh-flow-content .gh-input:focus {
|
|
border-color: var(--green);
|
|
box-shadow: 0 0 0 3px rgba(26,170,96,.15);
|
|
outline: none;
|
|
}
|
|
|
|
.gh-flow-content .pw-strength {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 1px;
|
|
margin-top: -11px;
|
|
padding: 0 10px;
|
|
height: 24px;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.gh-flow-content .pw-strength-dot {
|
|
display: block;
|
|
margin-top: 2px;
|
|
width: 3px;
|
|
height: 3px;
|
|
background-color: #d9e0e3;
|
|
border-radius: 100%;
|
|
}
|
|
|
|
.gh-flow-content .pw-strength-dot:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.gh-flow-content .pw-strength-activedot {
|
|
background-color: var(--red);
|
|
}
|
|
|
|
.gh-flow-content .gh-flow-invite {
|
|
position: relative;
|
|
margin: 0 auto;
|
|
max-width: 400px;
|
|
width: 100%;
|
|
text-align: left;
|
|
}
|
|
|
|
.gh-flow-invite label {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.gh-flow-invite label svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
line-height: 1.4em;
|
|
}
|
|
|
|
.gh-flow-invite textarea {
|
|
background: var(--input-bg-color) url(img/invite-placeholder.png) 10px 8px no-repeat;
|
|
background-size: 203px 35px;
|
|
border: var(--input-border);
|
|
box-shadow: none; /* Remove some default styling for Firefox (required attribute) */
|
|
font-size: 1.5rem;
|
|
line-height: 1.8rem;
|
|
}
|
|
|
|
.gh-flow-invite textarea:valid {
|
|
background: none;
|
|
}
|
|
|
|
@media (max-width: 460px) {
|
|
.gh-flow-content .gh-flow-invite label svg {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.gh-flow-content .gh-flow-faces {
|
|
margin-bottom: 2vw;
|
|
width: 100%;
|
|
}
|
|
|
|
.gh-flow-content textarea {
|
|
width: 100%;
|
|
height: 160px;
|
|
font-size: 1.4rem;
|
|
font-weight: 400;
|
|
line-height: 1.8rem;
|
|
}
|
|
|
|
.gh-flow-content .response,
|
|
.gh-setup .gh-flow-content .response {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: -24px;
|
|
margin: 0;
|
|
color: #a6b0b3;
|
|
font-size: 1.35rem;
|
|
}
|
|
|
|
.gh-flow-content form:not(.gh-signin) .success .gh-input-icon svg {
|
|
fill: var(--green);
|
|
}
|
|
|
|
.error,
|
|
.error-content,
|
|
.main-error {
|
|
user-select: text;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.gh-flow-content .error input,
|
|
.gh-flow-content .error input:focus {
|
|
border-color: var(--red);
|
|
box-shadow: 0 0 0 3px rgba(239,24,24,.15);
|
|
}
|
|
|
|
.gh-flow-content .error .gh-input-icon svg {
|
|
fill: var(--red);
|
|
}
|
|
|
|
.gh-flow-content .error .response,
|
|
.gh-setup .gh-flow-content .error .response {
|
|
color: var(--red);
|
|
}
|
|
|
|
.gh-flow-content .main-error,
|
|
.gh-setup .gh-flow-content .main-error {
|
|
margin-top: 8px;
|
|
color: var(--midgrey);
|
|
font-size: 1.35rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.gh-setup .gh-flow-form .gh-btn-red,
|
|
.gh-setup .gh-flow-form .gh-btn-red:active {
|
|
background: var(--black) !important;
|
|
}
|