diff --git a/src/assets/app.css b/src/assets/app.css index 1c0edae..5403b23 100644 --- a/src/assets/app.css +++ b/src/assets/app.css @@ -133,6 +133,39 @@ button.action-close { cursor: pointer; } +.options-form { + display: flex; + flex-flow: row nowrap; + justify-content: space-evenly; +} + +.deck-form-fields { + display: flex; + flex-flow: column nowrap; + justify-content: center; + max-width: 25rem; + width: 50%; + margin-right: -15%; + z-index: 1; +} + +.deck-form-fields label { + display: flex; + justify-content: space-between; + align-items: center; +} + +.deck-form-fields label, +.deck-form-fields select, +.deck-form-fields input, +.deck-form-fields button { + margin: .5em 0; +} +.deck-form-fields input[type=color] { + margin-left: .5em; + padding: 0; + vertical-align: middle; +} .codex-editor--narrow .codex-editor__redactor { margin-right: 0; } diff --git a/src/components/deck-form.vue b/src/components/deck-form.vue index 939dde4..3bd9d8a 100644 --- a/src/components/deck-form.vue +++ b/src/components/deck-form.vue @@ -1,5 +1,5 @@ @@ -52,10 +63,11 @@ import { Component, Vue } from 'vue-property-decorator' import DeckCover from '@/components/deck-cover.vue' import DeckCard from '@/components/deck-card.vue' import EditDeckForm from '@/components/edit-deck-form.vue' +import PrintDeckForm from '@/components/print-deck-form.vue' import { iconPath, defaultCard } from '@/lib' @Component({ - components: { DeckCover, DeckCard, EditDeckForm } + components: { DeckCover, DeckCard, EditDeckForm, PrintDeckForm } }) export default class DeckView extends Vue { private popup = false @@ -137,11 +149,13 @@ export default class DeckView extends Vue {