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

282 lines
5.1 KiB
CSS
Raw Normal View History

2015-05-17 15:31:54 +03:00
/* 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;
2015-05-17 15:31:54 +03:00
}
.gh-flow-content-wrap {
flex-grow: 1;
flex-shrink: 0;
2015-05-17 15:31:54 +03:00
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;
2019-11-22 13:53:57 +03:00
font-weight: 300;
2015-05-17 15:31:54 +03:00
}
@media (max-width: 400px) {
.gh-flow-content {
margin: 4rem 0 6rem;
font-size: 4vw;
}
2015-05-17 15:31:54 +03:00
}
.gh-setup .gh-flow-content header {
margin: 0 0 1rem;
text-align: center;
2015-05-17 15:31:54 +03:00
}
.gh-setup .gh-flow-content header svg {
width: 7.2rem;
margin: 0 0 1rem;
2015-05-17 15:31:54 +03:00
}
.gh-setup .gh-flow-content h1 {
2022-03-08 23:23:49 +03:00
margin-bottom: .3em;
2015-05-17 15:31:54 +03:00
}
.gh-setup .gh-flow-content p {
2015-05-17 15:31:54 +03:00
color: var(--midgrey);
font-size: 1.9rem;
font-weight: 400;
line-height: 1.4em;
2015-05-17 15:31:54 +03:00
}
@media (max-width: 520px) {
.gh-setup .gh-flow-content p {
font-size: 1.7rem;
2015-05-17 15:31:54 +03:00
}
}
.gh-flow-content h1 {
margin-bottom: 40px;
font-size: 4.1rem;
font-weight: 700;
line-height: 1.15em;
2015-05-17 15:31:54 +03:00
}
@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;
2015-05-17 15:31:54 +03:00
font-style: normal;
}
.gh-flow-content .gh-btn {
display: block;
margin: 40px auto 0;
max-width: 400px;
2015-05-17 15:31:54 +03:00
}
.gh-setup .gh-flow-content .gh-btn {
height: 52px;
max-width: unset;
margin: 40px 0 0
}
2015-05-17 15:31:54 +03:00
.gh-setup .gh-flow-content .gh-btn span {
font-size: 1.7rem;
2015-05-17 15:31:54 +03:00
}
.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;
}
2015-05-17 15:31:54 +03:00
.gh-flow-content .gh-flow-create {
position: relative;
margin: 70px auto 30px;
padding: 50px 40px 40px;
2015-05-17 15:31:54 +03:00
max-width: 400px;
width: 100%;
2015-05-17 15:31:54 +03:00
border: #dae1e3 1px solid;
background: #fff;
2015-05-17 15:31:54 +03:00
border-radius: 5px;
text-align: left;
box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.1);
2015-05-17 15:31:54 +03:00
}
.gh-flow-content .form-group {
margin-bottom: 20px !important;
2015-05-17 15:31:54 +03:00
}
.gh-flow-content .form-group label {
margin: 0 0 .3em;
2015-05-17 15:31:54 +03:00
font-size: 1.4rem;
font-weight: 600;
2015-05-17 15:31:54 +03:00
}
.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;
2022-07-25 12:26:07 +03:00
letter-spacing: -0.013em;
}
.gh-flow-content .gh-input:focus {
border-color: var(--green);
box-shadow: 0 0 0 3px rgba(26,170,96,.15);
outline: none;
2015-05-17 15:31:54 +03:00
}
.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 textarea {
width: 100%;
height: 160px;
font-size: 1.4rem;
font-weight: 400;
line-height: 1.8rem;
2015-05-17 15:31:54 +03:00
}
.gh-flow-content .response,
.gh-setup .gh-flow-content .response {
2015-05-17 15:31:54 +03:00
position: absolute;
right: 0;
bottom: -24px;
2015-05-17 15:31:54 +03:00
margin: 0;
color: #a6b0b3;
font-size: 1.35rem;
2015-05-17 15:31:54 +03:00
}
.gh-flow-content form:not(.gh-signin) .success .gh-input-icon svg {
fill: var(--green);
2015-05-17 15:31:54 +03:00
}
.error,
.error-content,
.main-error {
user-select: text;
font-weight: 400;
2015-05-17 15:31:54 +03:00
}
.gh-flow-content .error input,
.gh-flow-content .error input:focus {
2015-05-17 15:31:54 +03:00
border-color: var(--red);
box-shadow: 0 0 0 3px rgba(239,24,24,.15);
2015-05-17 15:31:54 +03:00
}
.gh-flow-content .error .gh-input-icon svg {
fill: var(--red);
2015-05-17 15:31:54 +03:00
}
.gh-flow-content .error .response,
.gh-setup .gh-flow-content .error .response {
2015-05-17 15:31:54 +03:00
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;
2015-05-17 15:31:54 +03:00
}