Dialog: background-color can be configured (#14939)

pull/14950/head
hetech 2019-04-03 10:38:17 +08:00 committed by GitHub
parent 0cbb2267a6
commit e7fdd3dc50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -601,7 +601,7 @@ $--switch-button-size: 16px !default;
/* Dialog /* Dialog
-------------------------- */ -------------------------- */
$--dialog-background-color: $--color-primary-light-4 !default; $--dialog-background-color: $--color-white !default;
$--dialog-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !default; $--dialog-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !default;
$--dialog-close-hover-color: $--color-primary !default; $--dialog-close-hover-color: $--color-primary !default;
$--dialog-title-font-size: $--font-size-large !default; $--dialog-title-font-size: $--font-size-large !default;

View File

@ -6,7 +6,7 @@
@include b(dialog) { @include b(dialog) {
position: relative; position: relative;
margin: 0 auto 50px; margin: 0 auto 50px;
background: $--color-white; background: $--dialog-background-color;
border-radius: $--border-radius-small; border-radius: $--border-radius-small;
box-shadow: $--dialog-box-shadow; box-shadow: $--dialog-box-shadow;
box-sizing: border-box; box-sizing: border-box;