Add basic deck builder #12

Merged
hamcha merged 42 commits from feature/deckbuilder into master 2019-09-12 09:11:32 +00:00
Showing only changes of commit e415da87c3 - Show all commits

View file

@ -57,6 +57,11 @@
<section class="decklist"> <section class="decklist">
<header> <header>
<h1>{{ deckname }}</h1> <h1>{{ deckname }}</h1>
<nav class="buttons">
<b-button @click="exportToPonyhead" size="is-small deck-btn"
>Ponyhead</b-button
>
</nav>
</header> </header>
<DeckList :cards="decklist" @removed="cardRemoved" /> <DeckList :cards="decklist" @removed="cardRemoved" />
</section> </section>
@ -111,6 +116,7 @@
h1 { h1 {
font-size: 20pt; font-size: 20pt;
font-weight: 700; font-weight: 700;
margin-bottom: 5px;
} }
} }
} }
@ -167,6 +173,11 @@
width: 10px; width: 10px;
height: 10px; height: 10px;
} }
.deck-btn {
padding: 0 10px;
padding-bottom: 2px;
}
</style> </style>
<script lang="ts"> <script lang="ts">