Create a mixin of cancel button (#8526)
This commit is contained in:
parent
7e63202f9a
commit
e980c146ff
7 changed files with 16 additions and 35 deletions
|
@ -385,15 +385,22 @@ legend {
|
|||
color: $alert;
|
||||
}
|
||||
|
||||
.mx_Dialog_cancelButton {
|
||||
@define-mixin customisedCancelButton {
|
||||
mask: url('$(res)/img/feather-customised/cancel.svg');
|
||||
mask-repeat: no-repeat;
|
||||
mask-position: center;
|
||||
mask-size: cover;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
background-color: $dialog-close-fg-color;
|
||||
cursor: pointer;
|
||||
position: unset;
|
||||
width: unset;
|
||||
height: unset;
|
||||
}
|
||||
|
||||
.mx_Dialog_cancelButton {
|
||||
@mixin customisedCancelButton;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue