fix modal background opacity
This commit is contained in:
parent
d6f06f3ca6
commit
926dc60920
@ -10,7 +10,7 @@ const pwd = ref("");
|
|||||||
const xoauth = ref("");
|
const xoauth = ref("");
|
||||||
const xoauth2 = ref("");
|
const xoauth2 = ref("");
|
||||||
const host = ref("");
|
const host = ref("");
|
||||||
const port = ref("993");
|
const port = ref(993);
|
||||||
|
|
||||||
const error = ref("");
|
const error = ref("");
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@ import { defineEmits, defineProps } from 'vue'
|
|||||||
const emit = defineEmits(['close-modal']);
|
const emit = defineEmits(['close-modal']);
|
||||||
const props = defineProps({ title: String });
|
const props = defineProps({ title: String });
|
||||||
|
|
||||||
|
// todo close on escape
|
||||||
function close() {
|
function close() {
|
||||||
emit('close-modal');
|
emit('close-modal');
|
||||||
}
|
}
|
||||||
@ -42,8 +43,7 @@ function close() {
|
|||||||
top: 0;
|
top: 0;
|
||||||
z-index: 4000;
|
z-index: 4000;
|
||||||
|
|
||||||
background-color: #000;
|
background-color: rgba(0, 0, 0, 0.8);
|
||||||
opacity: .7;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal {
|
.modal {
|
||||||
|
Loading…
Reference in New Issue
Block a user