feat(Popup): add less vars of close icon (#4363)

This commit is contained in:
neverland 2019-09-04 19:16:24 +08:00 committed by GitHub
parent e64beee5b0
commit f43be4dd86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -85,10 +85,10 @@
&__close-icon {
position: absolute;
top: 16px;
right: 16px;
color: @gray-dark;
font-size: 18px;
top: @popup-close-icon-margin;
right: @popup-close-icon-margin;
color: @popup-close-icon-color;
font-size: @popup-close-icon-size;
}
}
}

View File

@ -433,6 +433,9 @@
@popup-background-color: @white;
@popup-transition: @animation-duration-base ease-out;
@popup-round-border-radius: 12px;
@popup-close-icon-size: 18px;
@popup-close-icon-color: @gray-dark;
@popup-close-icon-margin: 16px;
// Progress
@progress-height: 4px;