update: add styling

This commit is contained in:
CuriousMagpie
2022-08-04 17:26:04 -04:00
parent edcb3f4289
commit cff6c5674f
3 changed files with 51 additions and 23 deletions

View File

@@ -11,17 +11,18 @@
v-if="activePage === PAGES.CREATE_GROUP" v-if="activePage === PAGES.CREATE_GROUP"
class="col-12" class="col-12"
> >
<!-- HEADER -->
<div <div
class="modal-close" class="modal-close"
> >
<div <span
class="cancel-text" class="cancel-text"
@click="close()" @click="close()"
> >
{{ $t('cancel') }} {{ $t('cancel') }}
</div> </span>
<button <button
class="btn btn-primary" class="btn btn-primary next-button"
:value="$t('next')" :value="$t('next')"
@click="close()" @click="close()"
> >
@@ -29,31 +30,35 @@
</button> </button>
</div> </div>
<h2>{{ $t('createGroup') }}</h2> <h2>{{ $t('createGroup') }}</h2>
<!-- FORM -->
<div class="form-group"> <div class="form-group">
<label <lockable-label
class="control-label" :text="$t('nameStar')"
for="new-group-name" />
>Name</label>
<input <input
id="new-group-name" id="new-group-name"
v-model="newGroup.name" v-model="newGroup.name"
class="form-control input-medium option-content" class="form-control input-medium option-content"
required="required" required="required"
type="text" type="text"
placeholder="Name" :placeholder="$t('nameStarText')"
> >
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="new-group-description">{{ $t('description') }}</label> <lockable-label
for="new-group-description"
:text="$t('descriptionOptional')"
/>
<textarea <textarea
id="new-group-description" id="new-group-description"
v-model="newGroup.description" v-model="newGroup.description"
class="form-control option-content" class="form-control option-content"
cols="3" cols="3"
:placeholder="$t('description')" :placeholder="$t('descriptionOptionalText')"
></textarea> ></textarea>
</div> </div>
<div <!-- <div
v-if="type === 'guild'" v-if="type === 'guild'"
class="form-group" class="form-group"
> >
@@ -67,7 +72,7 @@
> >
<label class="custom-control-label">{{ $t('inviteOnly') }}</label> <label class="custom-control-label">{{ $t('inviteOnly') }}</label>
</div> </div>
</div> </div> -->
<div class="form-group"> <div class="form-group">
<div class="custom-control custom-checkbox"> <div class="custom-control custom-checkbox">
<input <input
@@ -137,6 +142,31 @@
<style lang="scss" scoped> <style lang="scss" scoped>
@import '~@/assets/scss/colors.scss'; @import '~@/assets/scss/colors.scss';
h2 {
color: $purple-300;
font-size: 1.25rem;
height: 28px;
width: 120px;
margin-top: 24px;
align-self: center;
}
.cancel-text {
color: $blue-10;
font-size: 0.875rem;
margin-right: 16px;
text-align: center;
cursor: pointer;
}
.next-button {
align-self: center;
}
.form-control::placeholder {
color: $gray-50;
height: 32px;
}
.payment-options { .payment-options {
margin-bottom: 4em; margin-bottom: 4em;
@@ -170,6 +200,7 @@
vertical-align: bottom; vertical-align: bottom;
} }
} }
</style> </style>
<style lang="scss"> <style lang="scss">
@import '~@/assets/scss/mixins.scss'; @import '~@/assets/scss/mixins.scss';
@@ -184,21 +215,14 @@
} }
.modal-body{ .modal-body{
padding: 0px; padding: 0px;
margin-left: 12px;
margin-right: 12px;
} }
.modal-close { .modal-close {
position: absolute; position: absolute;
right: 16px; right: 16px;
top: 16px;
cursor: pointer; cursor: pointer;
top: 0px;
.cancel-text {
color: #2995cd;
font-size: 0.875rem;
min-height: 24px;
margin: 16px 0 0;
text-align: center;
cursor: pointer;
}
} }
} }
</style> </style>

View File

@@ -353,6 +353,10 @@
"gettingStarted": "Getting Started", "gettingStarted": "Getting Started",
"next": "Next", "next": "Next",
"cancel": "Cancel", "cancel": "Cancel",
"nameStar": "Name*",
"nameStarText": "Add a title",
"descriptionOptional": "Description",
"descriptionOptionalText": "Add a description",
"congratsOnGroupPlan": "Congratulations on creating your new Group! Here are a few answers to some of the more commonly asked questions.", "congratsOnGroupPlan": "Congratulations on creating your new Group! Here are a few answers to some of the more commonly asked questions.",
"whatsIncludedGroup": "What's included in the subscription", "whatsIncludedGroup": "What's included in the subscription",
"whatsIncludedGroupDesc": "All members of the Group receive full subscription benefits, including the monthly subscriber items, the ability to buy Gems with Gold, and the Royal Purple Jackalope mount, which is exclusive to users with a Group Plan membership.", "whatsIncludedGroupDesc": "All members of the Group receive full subscription benefits, including the monthly subscriber items, the ability to buy Gems with Gold, and the Royal Purple Jackalope mount, which is exclusive to users with a Group Plan membership.",