Commit 35650eb7 authored by iamkun's avatar iamkun Committed by hetech

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

parent 208a7878
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
@select="onSelectChange" @select="onSelectChange"
></action-panel> ></action-panel>
<main-panel <main-panel
ref='configuratorMain'
v-if="defaultConfig" v-if="defaultConfig"
:currentConfig="currentConfig" :currentConfig="currentConfig"
:defaultConfig="defaultConfig" :defaultConfig="defaultConfig"
...@@ -180,7 +179,6 @@ export default { ...@@ -180,7 +179,6 @@ export default {
bus.$emit(ACTION_COMPONECT_SELECT, val); bus.$emit(ACTION_COMPONECT_SELECT, val);
this.selectedComponent = val; this.selectedComponent = val;
this.filterCurrentConfig(); this.filterCurrentConfig();
this.$refs.configuratorMain.focus();
} }
}, },
watch: { watch: {
......
@import "./var.scss";
@import "../mixins/mixins"; @import "../mixins/mixins";
.v-modal-enter { .v-modal-enter {
...@@ -30,8 +31,8 @@ ...@@ -30,8 +31,8 @@
top: 0; top: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
opacity: 0.5; opacity: $--popup-modal-opacity;
background: #000; background: $--popup-modal-background-color;
} }
@include b(popup-parent) { @include b(popup-parent) {
......
...@@ -667,6 +667,13 @@ $--pagination-button-disabled-background-color: $--color-white !default; ...@@ -667,6 +667,13 @@ $--pagination-button-disabled-background-color: $--color-white !default;
/// color||Color|0 /// color||Color|0
$--pagination-hover-color: $--color-primary !default; $--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 /* Popover
-------------------------- */ -------------------------- */
/// color||Color|0 /// color||Color|0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment