fix for modal button being actually disabled and keep styling
This commit is contained in:
parent
09a3a52554
commit
149cea422b
2 changed files with 3 additions and 3 deletions
|
|
@ -34,7 +34,6 @@
|
|||
loaderColor="white"
|
||||
:buttonText="footerButtonText"
|
||||
:class="(isButtonDisabled || isFooterButtonDisabled) && 'form-test-invalid'"
|
||||
:isDisabled="(isButtonDisabled || isFooterButtonDisabled)"
|
||||
@clickEvent="validateAndEmit" />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,17 +27,18 @@ $limu-button-color: #A9E3E9;
|
|||
}
|
||||
|
||||
.btn {
|
||||
&.btn-override[aria-disabled="false"]{
|
||||
&.btn-override[aria-disabled="false"]:not(.form-test-invalid) {
|
||||
&.btn-primary {
|
||||
background: $limu-button-color !important;
|
||||
color: $limu-button-text-color !important;
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
background: $limu-button-color !important;
|
||||
color: $limu-button-text-color !important;
|
||||
box-shadow: 0 0 0 3px $white, 0 0 0 5.5px $limu-button-color !important;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue