diff --git a/public/assets/icons/arrow.svg b/public/assets/icons/arrow.svg new file mode 100644 index 0000000..7a7ff9a --- /dev/null +++ b/public/assets/icons/arrow.svg @@ -0,0 +1,4 @@ + + \ No newline at end of file diff --git a/public/assets/shapes/character-select-header-shape.svg b/public/assets/shapes/character-select-header-shape.svg new file mode 100644 index 0000000..d466e56 --- /dev/null +++ b/public/assets/shapes/character-select-header-shape.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/assets/shapes/character-select-shape-unselected.svg b/public/assets/shapes/character-select-shape-unselected.svg new file mode 100644 index 0000000..f288adc --- /dev/null +++ b/public/assets/shapes/character-select-shape-unselected.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/assets/shapes/character-select-shape.svg b/public/assets/shapes/character-select-shape.svg new file mode 100644 index 0000000..df67d53 --- /dev/null +++ b/public/assets/shapes/character-select-shape.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/screens/Characters.vue b/src/components/screens/Characters.vue index ec922be..f647ae9 100644 --- a/src/components/screens/Characters.vue +++ b/src/components/screens/Characters.vue @@ -24,8 +24,11 @@ -
@@ -117,21 +120,24 @@ function create() { width: 100%; .character { - width: 150px; - height: 250px; + width: 170px; + height: 275px; display: flex; flex-direction: column; - background-color: rgba($white, 0.8); - outline: 1px solid $white; + background-image: url('/assets/shapes/character-select-shape-unselected.svg'); + background-repeat: no-repeat; + border-radius: 20px; position: relative; &.active { - background: rgba($light-gray, 0.8); + background-image: url('/assets/shapes/character-select-shape.svg'); } &.new-character { background-color: rgba($light-gray, 0.5); + background-image: none; + button { background-color: transparent; border: none; @@ -168,7 +174,8 @@ function create() { top: 0; width: 100%; height: 40px; - background-color: rgba($purple, 0.6); + background-image: url('/assets/shapes/character-select-header-shape.svg'); + background-repeat: no-repeat; border-radius: 20px 20px 0 0; } @@ -188,6 +195,7 @@ function create() { height: 100%; width: 100%; position: absolute; + margin: 0; } label { @@ -209,7 +217,7 @@ function create() { border-radius: 100%; z-index: 1; right: -10px; - top: 0; + top: 5px; transform: translateY(-50%); position: absolute; @@ -238,11 +246,11 @@ function create() { } } - .buttons-wrapper { + .button-wrapper { display: flex; gap: 30px; button { - padding: 10px 16px; + padding: 8px 10px 8px 20px; min-width: 6.25rem; text-align: center; position: relative; @@ -251,12 +259,20 @@ function create() { border-radius: 5px; color: $white; font-size: 18px; + display: flex; + gap: 10px; + align-items: center; span { color: $white; margin: auto; } + img { + height: 35px; + opacity: 0.3; + } + &:hover { background-color: rgba($lilac, 0.75); } diff --git a/src/components/utilities/Modal.vue b/src/components/utilities/Modal.vue index 8c9d985..5d84efb 100644 --- a/src/components/utilities/Modal.vue +++ b/src/components/utilities/Modal.vue @@ -90,8 +90,9 @@ onUnmounted(() => { position: fixed; top: 0; left: 0; - width: 30%; - height: 40%; + max-width: 500px; + min-width: 350px; + min-height: 300px; border-radius: 20px; background-color: rgba($white, 0.8); z-index: 999;