Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-29 20:20:29 +01:00
142 Zeilen
Kein EOL
2 KiB
SCSS
142 Zeilen
Kein EOL
2 KiB
SCSS
.wizard-mapper {
|
|
width: 100%;
|
|
|
|
.select-kit {
|
|
min-width: initial;
|
|
width: initial;
|
|
|
|
.select-kit-header {
|
|
min-height: 30px;
|
|
}
|
|
|
|
.choices .choice {
|
|
height: 24px;
|
|
}
|
|
}
|
|
|
|
div.mapper-block:not(:last-of-type) {
|
|
margin-right: 10px;
|
|
}
|
|
}
|
|
|
|
[class~='mapper-input'] {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
width: min-content;
|
|
position: relative;
|
|
padding-bottom: 30px;
|
|
|
|
&:last-of-type {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.d-icon {
|
|
text-align: center;
|
|
}
|
|
|
|
input {
|
|
margin: 0;
|
|
}
|
|
|
|
input[disabled] {
|
|
background-color: $primary-low;
|
|
border-color: #ddd;
|
|
}
|
|
|
|
a.remove-input {
|
|
position: absolute;
|
|
right: -25px;
|
|
top: 5px;
|
|
}
|
|
}
|
|
|
|
.add-mapper-input {
|
|
display: block;
|
|
}
|
|
|
|
.mapper-input + .add-mapper-input {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.mapper-connector {
|
|
width: auto;
|
|
min-width: 40px;
|
|
|
|
.select-kit .select-kit-header {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
&.single {
|
|
height: 28px;
|
|
background: $secondary;
|
|
border: 1px solid $primary-medium;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.mapper-selector {
|
|
width: 100%;
|
|
max-width: 150px;
|
|
min-width: 150px;
|
|
|
|
input, .select-kit, .ac-wrap, .autocomplete.ac-user {
|
|
width: 150px !important;
|
|
}
|
|
|
|
.type-selector {
|
|
position: absolute;
|
|
top: -22px;
|
|
width: 100%;
|
|
}
|
|
|
|
.type-selector a {
|
|
color: $primary;
|
|
margin-right: 4px;
|
|
|
|
&.active {
|
|
color: $tertiary;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
&:last-of-type {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.mapper-pairs {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
position: relative;
|
|
|
|
.add-pair {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.remove-pair {
|
|
position: absolute;
|
|
top: 5px;
|
|
right: -25px;
|
|
}
|
|
|
|
.join-pair {
|
|
position: absolute;
|
|
bottom: -25px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
}
|
|
|
|
.mapper-pair {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
position: relative;
|
|
|
|
&:not(:first-of-type) {
|
|
margin-top: 30px;
|
|
}
|
|
} |