File "_mixins.scss"
Full path: /home2/santhos2/public_html/bharath-coe.firstmatrix.in.net/libs/bs-stepper/_mixins.scss
File size: 1.8 KiB (1848 bytes)
MIME-type: text/plain
Charset: utf-8
// Stepper Mixin
// *******************************************************************************
@mixin bs-stepper-theme($color) {
.bs-stepper {
&:not(.wizard-icons) {
.bs-stepper-header {
.line {
border-color: rgba-to-hex(rgba($color, 0.16), $rgba-to-hex-bg);
&:before {
background-color: rgba-to-hex(rgba($color, 0.16), $rgba-to-hex-bg);
}
}
.step {
&:not(.active) {
.bs-stepper-circle {
border: 3px solid rgba-to-hex(rgba($color, 0.16), $rgba-to-hex-bg);
}
}
}
}
}
&.wizard-icons {
.step {
&.crossed,
&.active {
.bs-stepper-label {
color: $color;
}
}
}
}
.step {
&.active {
.bs-stepper-circle {
background-color: transparent;
border: 5px solid $color;
color: $color;
}
.bs-stepper-icon {
i {
color: $color !important;
}
svg {
fill: $color !important;
}
}
}
&.crossed {
.step-trigger {
.bs-stepper-circle {
background-color: $color !important;
color: $white !important;
border-color: $color !important;
i {
visibility: visible;
}
}
.bs-stepper-icon svg {
fill: $color !important;
}
.bs-stepper-icon i {
color: $color !important;
}
}
+ .line {
border-color: $color;
svg {
fill: $color;
}
i {
color: $color;
}
&:before {
background-color: $color;
}
}
}
}
}
}