From 4e8d9a543b0f27934fd126df32770b1617b77bd7 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Thu, 12 Sep 2019 10:55:59 +0200 Subject: [PATCH] Add sorting and better styling for decklist --- src/components/DeckBuilder/DeckList.vue | 157 +++++++++++++++++++++--- 1 file changed, 139 insertions(+), 18 deletions(-) diff --git a/src/components/DeckBuilder/DeckList.vue b/src/components/DeckBuilder/DeckList.vue index f69ff4f..6b56b57 100644 --- a/src/components/DeckBuilder/DeckList.vue +++ b/src/components/DeckBuilder/DeckList.vue @@ -1,20 +1,25 @@ @@ -26,6 +31,16 @@ flex-direction: column; } +.card-section { + header { + h1 { + padding: 5px 10px; + font-family: $fantasy; + font-size: 10pt; + } + } +} + .ccgcard { display: flex; align-content: space-between; @@ -59,12 +74,11 @@ } .amt { - margin: 0 10pt; + margin: 0 6pt 0 10pt; font-weight: bold; font-size: 13pt; - padding-bottom: 5px; &:after { - content: " x"; + content: " ×"; font-weight: 300; } } @@ -84,7 +98,102 @@