Theme: Add popup background design token (Message Dialog) (#15412)

pull/15541/head^2
iamkun 2019-05-27 15:22:43 +08:00 committed by hetech
parent 208a78786f
commit 35650eb7fa
3 changed files with 10 additions and 4 deletions

View File

@ -10,7 +10,6 @@
@select="onSelectChange"
></action-panel>
<main-panel
ref='configuratorMain'
v-if="defaultConfig"
:currentConfig="currentConfig"
:defaultConfig="defaultConfig"
@ -180,7 +179,6 @@ export default {
bus.$emit(ACTION_COMPONECT_SELECT, val);
this.selectedComponent = val;
this.filterCurrentConfig();
this.$refs.configuratorMain.focus();
}
},
watch: {

View File

@ -1,3 +1,4 @@
@import "./var.scss";
@import "../mixins/mixins";
.v-modal-enter {
@ -30,8 +31,8 @@
top: 0;
width: 100%;
height: 100%;
opacity: 0.5;
background: #000;
opacity: $--popup-modal-opacity;
background: $--popup-modal-background-color;
}
@include b(popup-parent) {

View File

@ -667,6 +667,13 @@ $--pagination-button-disabled-background-color: $--color-white !default;
/// color||Color|0
$--pagination-hover-color: $--color-primary !default;
/* Popup
-------------------------- */
/// color||Color|0
$--popup-modal-background-color: $--color-black !default;
/// opacity||Other|1
$--popup-modal-opacity: 0.5 !default;
/* Popover
-------------------------- */
/// color||Color|0