mirror of https://github.com/ElemeFE/element
Dialog: background-color can be configured (#14939)
parent
0cbb2267a6
commit
e7fdd3dc50
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue