Fix some issues caused by previous loader color changes
This commit is contained in:
parent
d9777061b8
commit
4bb75b8d91
4 changed files with 19 additions and 10 deletions
|
|
@ -123,14 +123,6 @@ export default {
|
|||
default: 'text-center'
|
||||
},
|
||||
selectingInitiatesLoad: Boolean,
|
||||
loaderColor: {
|
||||
type: String,
|
||||
default: 'blue'
|
||||
},
|
||||
loaderPosition: {
|
||||
type: String,
|
||||
default: 'right'
|
||||
},
|
||||
isRequired: Boolean,
|
||||
isOverflowScrollable: Boolean,
|
||||
isWide: Boolean,
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@
|
|||
ref="modalButtonMain"
|
||||
isPrimary
|
||||
class="w-100"
|
||||
loaderColor="white"
|
||||
:buttonText="footerButtonText"
|
||||
:class="[
|
||||
(isButtonDisabled || isFooterButtonDisabled) &&
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@
|
|||
ref="buttonMainOne"
|
||||
isPrimary
|
||||
:buttonText="forwardButtonText"
|
||||
loaderColor="white"
|
||||
class="w-100 mb-5"
|
||||
@clickEvent="forwardButtonAction" />
|
||||
<hr class="mb-0" />
|
||||
|
|
|
|||
|
|
@ -21,6 +21,10 @@ export default {
|
|||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
/* Color options: red, green, blue, white, black */
|
||||
loaderColor: {
|
||||
type: String
|
||||
},
|
||||
/* Position options: center, right, left (OPTIONAL, do NOT use on btn-* classes) */
|
||||
loaderPosition: {
|
||||
type: String
|
||||
|
|
@ -110,5 +114,20 @@ export default {
|
|||
&:after {
|
||||
background-color: var(--iss-loader-color);
|
||||
}
|
||||
&.red:after {
|
||||
background-color: $red;
|
||||
}
|
||||
&.green:after {
|
||||
background-color: $green;
|
||||
}
|
||||
&.blue:after {
|
||||
background-color: $blue;
|
||||
}
|
||||
&.white:after {
|
||||
background-color: $white;
|
||||
}
|
||||
&.black:after {
|
||||
background-color: $black;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in a new issue