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'
|
default: 'text-center'
|
||||||
},
|
},
|
||||||
selectingInitiatesLoad: Boolean,
|
selectingInitiatesLoad: Boolean,
|
||||||
loaderColor: {
|
|
||||||
type: String,
|
|
||||||
default: 'blue'
|
|
||||||
},
|
|
||||||
loaderPosition: {
|
|
||||||
type: String,
|
|
||||||
default: 'right'
|
|
||||||
},
|
|
||||||
isRequired: Boolean,
|
isRequired: Boolean,
|
||||||
isOverflowScrollable: Boolean,
|
isOverflowScrollable: Boolean,
|
||||||
isWide: Boolean,
|
isWide: Boolean,
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,6 @@
|
||||||
ref="modalButtonMain"
|
ref="modalButtonMain"
|
||||||
isPrimary
|
isPrimary
|
||||||
class="w-100"
|
class="w-100"
|
||||||
loaderColor="white"
|
|
||||||
:buttonText="footerButtonText"
|
:buttonText="footerButtonText"
|
||||||
:class="[
|
:class="[
|
||||||
(isButtonDisabled || isFooterButtonDisabled) &&
|
(isButtonDisabled || isFooterButtonDisabled) &&
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,6 @@
|
||||||
ref="buttonMainOne"
|
ref="buttonMainOne"
|
||||||
isPrimary
|
isPrimary
|
||||||
:buttonText="forwardButtonText"
|
:buttonText="forwardButtonText"
|
||||||
loaderColor="white"
|
|
||||||
class="w-100 mb-5"
|
class="w-100 mb-5"
|
||||||
@clickEvent="forwardButtonAction" />
|
@clickEvent="forwardButtonAction" />
|
||||||
<hr class="mb-0" />
|
<hr class="mb-0" />
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,10 @@ export default {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
|
/* Color options: red, green, blue, white, black */
|
||||||
|
loaderColor: {
|
||||||
|
type: String
|
||||||
|
},
|
||||||
/* Position options: center, right, left (OPTIONAL, do NOT use on btn-* classes) */
|
/* Position options: center, right, left (OPTIONAL, do NOT use on btn-* classes) */
|
||||||
loaderPosition: {
|
loaderPosition: {
|
||||||
type: String
|
type: String
|
||||||
|
|
@ -110,5 +114,20 @@ export default {
|
||||||
&:after {
|
&:after {
|
||||||
background-color: var(--iss-loader-color);
|
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>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue