fix darkmode for dialog and add tooltip translation close #20

This commit is contained in:
Adrian Zürcher
2025-11-12 10:21:42 +01:00
parent f8b79de6a2
commit 66bb7c1942
4 changed files with 8 additions and 4 deletions

View File

@@ -116,3 +116,5 @@ expiration: Ablauf
never: Nie never: Nie
responsibles: Verantwortliche responsibles: Verantwortliche
comment: Bemerkung comment: Bemerkung
dark_mode: Dunkel-Modus
light_mode: Hell-Modus

View File

@@ -116,3 +116,5 @@ expiration: Ablauf
never: Nie never: Nie
responsibles: Verantwortliche responsibles: Verantwortliche
comment: Bemerkung comment: Bemerkung
dark_mode: Dunkel-Modus
light_mode: Hell-Modus

View File

@@ -116,3 +116,5 @@ expiration: Expiration
never: Never never: Never
responsibles: Responsibles responsibles: Responsibles
comment: Comment comment: Comment
dark_mode: Dark-Mode
light_mode: Light-Mode

View File

@@ -7,10 +7,10 @@
:no-refocus="!minMaxState" :no-refocus="!minMaxState"
:seamless="!minMaxState" :seamless="!minMaxState"
> >
<q-card class="layout" :style="cardStyle"> <q-card class="layout bg-surface text-on-surface" :style="cardStyle">
<!-- Draggable Header --> <!-- Draggable Header -->
<div <div
class="dialog-header row items-center justify-between bg-grey-1" class="dialog-header row items-center justify-between bg-transparent"
v-touch-pan.mouse.prevent.stop="handlePan" v-touch-pan.mouse.prevent.stop="handlePan"
> >
<div v-if="headerTitle" class="text-left text-bold text-caption q-mx-sm"> <div v-if="headerTitle" class="text-left text-bold text-caption q-mx-sm">
@@ -139,13 +139,11 @@ const cardStyle = computed(() => {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
border-radius: 10px; border-radius: 10px;
background-color: white;
} }
/* Draggable header */ /* Draggable header */
.dialog-header { .dialog-header {
padding: 8px 0; padding: 8px 0;
background: #f5f5f5;
cursor: move; cursor: move;
user-select: none; user-select: none;
} }