Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 18:50:27 +01:00
162 Zeilen
2,3 KiB
SCSS
162 Zeilen
2,3 KiB
SCSS
.custom-wizard {
|
|
background-color: initial;
|
|
|
|
.wizard-step-description {
|
|
line-height: 1.7;
|
|
|
|
ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
i {
|
|
margin-right: 7px;
|
|
}
|
|
}
|
|
|
|
.wizard-column .wizard-step-banner {
|
|
width: initial;
|
|
max-width: 660px;
|
|
}
|
|
|
|
.control-group {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
margin-right: 20px;
|
|
|
|
.controls {
|
|
margin: 5px 0;
|
|
}
|
|
|
|
input {
|
|
width: 200px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
ul {
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.wizard-step-form .wizard-btn {
|
|
display: block;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.wizard-column .wizard-field .input-area {
|
|
margin: 0.5em 0;
|
|
}
|
|
}
|
|
|
|
.step-message {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 0;
|
|
line-height: 0;
|
|
text-align: center;
|
|
transition: all .2s;
|
|
|
|
&.success {
|
|
height: 60px;
|
|
line-height: 60px;
|
|
background-color: #009900;
|
|
color: #ffffff;
|
|
}
|
|
|
|
&.error {
|
|
height: 60px;
|
|
line-height: 60px;
|
|
background-color: #e45735;
|
|
color: #ffffff;
|
|
}
|
|
}
|
|
|
|
.p-list-box {
|
|
max-width: 550px;
|
|
position: relative;
|
|
margin: 10px 0;
|
|
|
|
.spinner {
|
|
position: absolute;
|
|
right: 50%;
|
|
top: 50%;
|
|
}
|
|
|
|
.p-text {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
ul {
|
|
border: 1px solid #e9e9e9;
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style: none;
|
|
height: 95px;
|
|
overflow: scroll;
|
|
}
|
|
|
|
li {
|
|
padding: 6px 12px;
|
|
cursor: pointer;
|
|
background-color: #fff;
|
|
display: flex;
|
|
|
|
&:hover, &.selected {
|
|
background-color: #eee;
|
|
}
|
|
|
|
label {
|
|
flex: 1 1 auto;
|
|
cursor: pointer;
|
|
}
|
|
|
|
i {
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
|
|
.no-results {
|
|
padding: 15px;
|
|
}
|
|
|
|
.default {
|
|
margin: 0 auto;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
position: absolute;
|
|
width: 100%;
|
|
text-align: center;
|
|
color: #919191;
|
|
}
|
|
}
|
|
|
|
.spinner {
|
|
margin: 20px auto 20px auto;
|
|
position: relative;
|
|
-webkit-animation: rotate-forever 1s infinite linear;
|
|
animation: rotate-forever 1s infinite linear;
|
|
height: 30px;
|
|
width: 30px;
|
|
border: 4px solid #ccc;
|
|
border-right-color: transparent;
|
|
border-radius: 50%;
|
|
|
|
&.small {
|
|
width: 10px;
|
|
height: 10px;
|
|
margin: 0;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
@keyframes rotate-forever {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|