diff --git a/public/assets/icons/close-button-white.svg b/public/assets/icons/close-button-white.svg
new file mode 100644
index 0000000..619713c
--- /dev/null
+++ b/public/assets/icons/close-button-white.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 0a218d2..a9a287a 100644
--- a/src/components/screens/Characters.vue
+++ b/src/components/screens/Characters.vue
@@ -19,17 +19,21 @@
-
-
+
+ Create your character
+
+
+
+
+
@@ -108,8 +112,7 @@ function create() {
width: 100%;
height: 40px;
background-color: rgba($purple, 0.6);
- border-top-left-radius: 20px;
- border-top-right-radius: 20px;
+ border-radius: 20px 20px 0 0;
}
// hide the radio buttons
@@ -137,10 +140,17 @@ function create() {
display: flex;
gap: 30px;
button {
- padding: 5px 12px;
+ padding: 10px 16px;
+ &:hover {
+ cursor: pointer;
+ }
}
}
}
+
+ .modal-title {
+ margin: 0;
+ }
}
diff --git a/src/components/utilities/Modal.vue b/src/components/utilities/Modal.vue
index 9151984..2aa21f9 100644
--- a/src/components/utilities/Modal.vue
+++ b/src/components/utilities/Modal.vue
@@ -2,11 +2,11 @@
@@ -79,21 +79,76 @@ onUnmounted(() => {
left: 0;
width: 30%;
height: 40%;
- border-radius: 30px;
- background-color: #cfcfcf;
+ border-radius: 20px;
+ background-color: rgba($white, 0.8);
z-index: 999;
// make draggable
.modal-header {
cursor: move;
- background-color: #333;
- color: white;
- padding: 3px 15px;
- border-radius: 5px 5px 0 0;
+ background-color: rgba($purple, 0.6);
+ color: $white;
+ padding: 0 20px;
+ border-radius: 20px 20px 0 0;
+ height: 3.75rem;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+
+ .modal-title {
+ margin: 0;
+ }
+
+ button {
+ width: 40px;
+ height: 40px;
+ margin: auto 0;
+ padding: 0;
+ background-color: transparent;
+ border: none;
+ position: relative;
+
+ img {
+ width: inherit;
+ height: inherit;
+ }
+
+ &:hover {
+ cursor: pointer;
+
+ &::after {
+ content: '';
+ position: absolute;
+ width: 38px;
+ height: 38px;
+ left: 1px;
+ top: 1px;
+ border-radius: 100%;
+ background-color: $lilac;
+ z-index: -1;
+ }
+ }
+ }
}
.modal-body {
padding: 15px;
+ button {
+ padding: 10px 16px;
+ background-color: rgba($purple, 0.75);
+ border: 2px solid rgba($white, 0.5);
+ border-radius: 5px;
+ color: $white;
+ }
+ .modal-form {
+ .form-fields {
+ display: flex;
+ flex-direction: column;
+ input {
+ max-width: 250px;
+ }
+ }
+ }
}
}
\ No newline at end of file