update appearance of dialog cards

This commit is contained in:
Niko Lockenvitz 2020-05-31 16:56:07 +02:00
parent 8b351083a9
commit de9952ca3e
3 changed files with 10 additions and 7 deletions

View file

@ -1,8 +1,9 @@
<template> <template>
<v-dialog <v-dialog
v-model="showInfo" v-model="showInfo"
max-width="400"
> >
<v-card> <v-card color="#2e2e2e">
<v-card-title class="headline">{{deck ? deck.deckname : ""}}</v-card-title> <v-card-title class="headline">{{deck ? deck.deckname : ""}}</v-card-title>
<v-card-text class="text-left">foo bar ...</v-card-text> <v-card-text class="text-left">foo bar ...</v-card-text>
@ -10,7 +11,7 @@
<v-card-actions> <v-card-actions>
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn <v-btn
color="grey darken-1" color="grey"
text text
@click="showInfo = false" @click="showInfo = false"
> >

View file

@ -1,9 +1,10 @@
<template> <template>
<v-dialog <v-dialog
v-model="showDeleteDialog" v-model="showDeleteDialog"
max-width="400"
> >
<v-card> <v-card color="#2e2e2e">
<v-card-title class="headline">Delete Decks?</v-card-title> <v-card-title class="headline">Delete Deck{{numberOfSelectedDecks > 1 ? "s" : ""}}?</v-card-title>
<v-card-text class="text-left"> <v-card-text class="text-left">
Do you really want to delete the {{numberOfSelectedDecks > 1 ? numberOfSelectedDecks + " " : ""}}selected Do you really want to delete the {{numberOfSelectedDecks > 1 ? numberOfSelectedDecks + " " : ""}}selected
@ -13,7 +14,7 @@
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn <v-btn
color="grey darken-1" color="grey"
text text
@click="showDeleteDialog = false" @click="showDeleteDialog = false"
> >

View file

@ -1,8 +1,9 @@
<template> <template>
<v-dialog <v-dialog
v-model="showQuitDialog" v-model="showQuitDialog"
max-width="400"
> >
<v-card> <v-card color="#2e2e2e">
<v-card-title class="headline">Quit Learning?</v-card-title> <v-card-title class="headline">Quit Learning?</v-card-title>
<v-card-text class="text-left"> <v-card-text class="text-left">
@ -13,7 +14,7 @@
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn <v-btn
color="grey darken-1" color="grey"
text text
@click="showQuitDialog = false" @click="showQuitDialog = false"
> >