fix dark/light mode dialog

This commit is contained in:
les
2021-03-05 14:11:33 +01:00
parent 5222b24f88
commit 589a8ce939
8 changed files with 11 additions and 11 deletions

View File

@@ -7,4 +7,8 @@ html, body {
li { li {
margin-left: 10px; margin-left: 10px;
}
.v-dialog .theme--dark.v-card {
background-color: #434343;
} }

View File

@@ -6,7 +6,7 @@
:max-width='options.width' :max-width='options.width'
:style="{ zIndex: options.zIndex, position: 'absolute' }" :style="{ zIndex: options.zIndex, position: 'absolute' }"
@keydown.esc='cancel') @keydown.esc='cancel')
v-card(color='secondary') v-card
v-card-title {{ title }} v-card-title {{ title }}
v-card-text(v-show='!!message') {{ message }} v-card-text(v-show='!!message') {{ message }}
v-card-actions v-card-actions

View File

@@ -1,5 +1,5 @@
<template lang='pug'> <template lang='pug'>
v-card(:color='isDialog ? "secondary" : null') v-card
v-card-title(v-text="$t('common.follow_me_title')") v-card-title(v-text="$t('common.follow_me_title')")
v-card-text v-card-text
p(v-html="$t('event.follow_me_description', { title: settings.title, account: `@${settings.instance_name}@${domain}`})") p(v-html="$t('event.follow_me_description', { title: settings.title, account: `@${settings.instance_name}@${domain}`})")

View File

@@ -3,7 +3,7 @@
v-card-title {{$t('common.announcements')}} v-card-title {{$t('common.announcements')}}
v-card-subtitle(v-html="$t('admin.announcement_description')") v-card-subtitle(v-html="$t('admin.announcement_description')")
v-dialog(v-model='dialog' width='800px') v-dialog(v-model='dialog' width='800px')
v-card(color='secondary') v-card
v-card-title {{$t('admin.new_announcement')}} v-card-title {{$t('admin.new_announcement')}}
v-card-text v-card-text
v-form(v-model='valid' ref='announcement' @submit.prevent='save') v-form(v-model='valid' ref='announcement' @submit.prevent='save')

View File

@@ -41,7 +41,7 @@
) )
v-dialog(v-model='dialogAddInstance' width="500px") v-dialog(v-model='dialogAddInstance' width="500px")
v-card(color='secondary') v-card
v-card-title {{$t('admin.add_trusted_instance')}} v-card-title {{$t('admin.add_trusted_instance')}}
v-card-text v-card-text
v-form(v-model='valid' ref='form' lazy-validation) v-form(v-model='valid' ref='form' lazy-validation)

View File

@@ -31,10 +31,6 @@ export default {
} }
</script> </script>
<style lang="less"> <style lang="less">
// html, body {
// overflow: hidden;
// max-height: 100%;
// }
.v-dialog { .v-dialog {
width: 600px; width: 600px;
max-width: 800px; max-width: 800px;
@@ -46,6 +42,6 @@ export default {
.v-autocomplete__content.v-menu__content { .v-autocomplete__content.v-menu__content {
scrollbar-width: thin; scrollbar-width: thin;
scrollbar-color: #FF4511; scrollbar-color: #FF4511 #111;
} }
</style> </style>

View File

@@ -1,5 +1,5 @@
<template lang="pug"> <template lang="pug">
v-card(color='secondary') v-card
v-card-title {{$t('common.import')}} v-card-title {{$t('common.import')}}
v-card-text v-card-text
p(v-html="$t('event.import_description')") p(v-html="$t('event.import_description')")

View File

@@ -1,5 +1,5 @@
<template lang='pug'> <template lang='pug'>
v-card(color='secondary') v-card
v-card-title(v-text="$t('common.embed_title')") v-card-title(v-text="$t('common.embed_title')")
v-card-text v-card-text
v-row v-row