N°3541 Add loading state design to buttons block

This commit is contained in:
Stephen Abello
2022-02-03 15:30:38 +01:00
parent af5a0d5006
commit 1f95a4ee21
4 changed files with 19 additions and 0 deletions

View File

@@ -479,6 +479,22 @@ $ibo-button-colors: (
&.ibo-action-button {
float: right;
}
.ibo-button--loading-icon {
display: none;
}
&.ibo-is-loading {
.ibo-button--icon{
display: none;
}
.ibo-button--loading-icon {
display: inline-block;
&+ .ibo-button--label{
margin-left: $ibo-button--label--margin-left;
}
}
}
}
.ibo-button--label {