webseite-grav/plugins/git-sync/scss/plugin/_wizard.scss

187 lines
2.7 KiB
SCSS
Raw Normal View History

2021-04-30 11:23:26 +02:00
[data-remodal-id="wizard"], [data-remodal-id="reset-local"] {
.button[disabled] {
&, &:hover {
background: #ccc;
cursor: default;
}
&:active {
margin: 0;
}
}
form [class^="step-"] a:not(.button):not([target]) {
vertical-align: middle;
color: #5591c7;
&:hover {
color: #366188;
}
}
.step-1 a {
vertical-align: middle;
}
.access-tokens {
h3 {
margin-top: 1rem;
}
a {
vertical-align: inherit !important;
}
}
.access-tokens-details {
> p {
margin-top: 0;
}
> div > ul {
margin-bottom: 0;
}
}
.center {
text-align: center;
}
h1 {
margin-bottom: 0;
padding-top: 0.5rem;
border-top: 3px solid transparent;
}
.wizard-padding {
padding: 0 3rem;
p {
padding: 0;
}
}
input[disabled] {
background: #efefef;
border-color: #ddd;
}
label {
&.disabled {
color: #ccc;
}
img {
max-width: 100px;
display: inline-block;
vertical-align: middle;
margin-left: 0.5rem;
}
a {
margin-left: 0.5rem;
}
}
.columns {
display: flex;
align-items: center;
justify-content: center;
.column {
flex: 1;
&:first-child {
width: 35%;
flex: none;
border-right: 1px solid #ddd;
margin-right: 2rem;
}
}
}
.step-1 {
div.column:nth-child(1) {
flex-grow: 1.5;
width: 15%;
> label:nth-child(4) {
width: 110%;
}
}
div.column:nth-child(2) {
margin-left: 25px;
}
div.column:nth-child(2) > label:nth-child(1) > input:nth-child(1), div.column:nth-child(2) > label:nth-child(2) > input:nth-child(1) {
width: 100%;
}
.no_user {
float: right;
font-size: .8rem;
padding: 0;
input {
margin-right: 0;
}
}
}
.step-2 {
.info {
margin: 0.2rem 0;
padding: 0.5rem 1.5rem;
}
ol, ul {
padding-left: 1rem;
}
}
.step-4 {
.info {
font-size: 100%;
margin: 0.2rem 0;
}
.alert, .warning {
padding: 0.5rem 1.5rem;
}
.fa.fa-warning {
color: #ff7d3b;
font-size: 1.2rem;
}
.wizard-padding label > * {
vertical-align: middle;
}
.info-desc {
color: #0091ff;
float: right;
margin-right: .5rem;
font-size: 1.2rem;
}
hr {
margin: .5rem 0;
}
}
}
#admin-main [data-grav-field="git-wizard"] {
margin: 0 1rem;
.danger.button-bar {
margin: 0;
padding: 0;
background: transparent;
}
.button {
top: 0 !important;
@include transform(translateY(0) !important);
}
}