140 lines
3.3 KiB
CSS
140 lines
3.3 KiB
CSS
ul.stepper.horizontal {
|
|
position: relative;
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-pack: justify;
|
|
-webkit-justify-content: space-between;
|
|
-ms-flex-pack: justify;
|
|
justify-content: space-between;
|
|
overflow: hidden
|
|
}
|
|
|
|
ul.stepper.horizontal:before {
|
|
content: '';
|
|
background-color: transparent;
|
|
width: 100%;
|
|
min-height: 5.25rem;
|
|
position: absolute;
|
|
left: -3px;
|
|
-webkit-border-top-left-radius: 2px;
|
|
border-top-left-radius: 2px
|
|
}
|
|
|
|
|
|
ul.stepper.horizontal .step {
|
|
position: relative;
|
|
margin: 0;
|
|
width: 100%;
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-align: center;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
height: 5.25rem !important
|
|
}
|
|
|
|
ul.stepper.horizontal .step:not(:last-of-type):after {
|
|
content: '';
|
|
position: static;
|
|
display: inline-block;
|
|
width: 100%;
|
|
height: .0625rem
|
|
}
|
|
|
|
ul.stepper.horizontal > .step:last-of-type, ul.stepper.horizontal > .step[data-last=true] {
|
|
width: auto !important
|
|
}
|
|
|
|
ul.stepper.horizontal > .step.active:not(:last-of-type):after {
|
|
content: '';
|
|
position: static;
|
|
display: inline-block;
|
|
width: 100%;
|
|
height: .0625rem
|
|
}
|
|
|
|
ul.stepper.horizontal .step.active .step-title:before {
|
|
background-color: #4285f4
|
|
}
|
|
|
|
ul.stepper.horizontal .step.done .step-title:before {
|
|
font-family: 'Font Awesome 5 Free';
|
|
font-weight: 900;
|
|
content: '\f00c';
|
|
font-size: 1rem;
|
|
background: #00c851
|
|
}
|
|
|
|
ul.stepper.horizontal .step.wrong .step-title:before {
|
|
font-family: 'Font Awesome 5 Free';
|
|
font-weight: 900;
|
|
content: '\f071';
|
|
font-size: 1.1rem;
|
|
background-color: #ff3547
|
|
}
|
|
|
|
ul.stepper.horizontal .step-title {
|
|
line-height: 25px;
|
|
margin: 0;
|
|
padding: 0 5px;
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
-o-text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
-ms-flex-negative: 0;
|
|
-webkit-flex-shrink: 0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
ul.stepper.horizontal .step:before {
|
|
content: none
|
|
}
|
|
ul.stepper.horizontal .step-title .fa:before {
|
|
font-size: 25px;
|
|
}
|
|
|
|
ul.stepper.horizontal .step-title:after {
|
|
top: .9375rem
|
|
}
|
|
|
|
ul.stepper.horizontal .step-new-content {
|
|
position: absolute;
|
|
height: calc(100% - 84px);
|
|
top: 6rem;
|
|
left: 0;
|
|
width: 100%;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
margin: 0;
|
|
padding: 1.25rem 1.25rem 4.75rem
|
|
}
|
|
|
|
ul.stepper.horizontal .step-actions {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
padding: 20px;
|
|
-webkit-box-orient: horizontal;
|
|
-webkit-box-direction: reverse;
|
|
-webkit-flex-direction: row-reverse;
|
|
-ms-flex-direction: row-reverse;
|
|
flex-direction: row-reverse
|
|
}
|
|
|
|
ul.stepper.horizontal .step-actions .btn-flat:not(:last-child), ul.stepper.horizontal .step-actions .btn-large:not(:last-child), ul.stepper.horizontal .step-actions .btn:not(:last-child) {
|
|
margin-left: .3125rem;
|
|
margin-right: 0
|
|
}
|
|
|
|
ul.stepper.horizontal .step-actions, ul.stepper.horizontal .step-new-content {
|
|
padding-left: 2.5rem;
|
|
padding-right: 2.5rem
|
|
} |