forked from noxious/client
Cleanup styling, added global styling
This commit is contained in:
parent
398be02486
commit
3257a3511a
@ -48,9 +48,8 @@
|
|||||||
border-top-left-radius: 3px;
|
border-top-left-radius: 3px;
|
||||||
border-top-right-radius: 3px;
|
border-top-right-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
background-color: transparent;
|
|
||||||
border: none;
|
|
||||||
padding: 0.3rem 0.25rem;
|
padding: 0.3rem 0.25rem;
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
|
|
||||||
@ -70,21 +69,13 @@
|
|||||||
.button {
|
.button {
|
||||||
padding: 0.6rem 0;
|
padding: 0.6rem 0;
|
||||||
min-width: 6.25rem;
|
min-width: 6.25rem;
|
||||||
text-align: center;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
font-size: 0.65rem;
|
font-size: 0.65rem;
|
||||||
background-color: rgba($purple, 0.75);
|
|
||||||
border: rgba($white, 0.35) 1px solid;
|
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: $white;
|
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: rgba($lilac, 0.75);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -94,7 +85,6 @@
|
|||||||
margin-top: 7rem;
|
margin-top: 7rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
color: $white;
|
|
||||||
text-shadow:
|
text-shadow:
|
||||||
-1px -1px 0 $gray,
|
-1px -1px 0 $gray,
|
||||||
1px -1px 0 $gray,
|
1px -1px 0 $gray,
|
||||||
@ -102,18 +92,6 @@
|
|||||||
1px 1px 0 $gray;
|
1px 1px 0 $gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
p,
|
|
||||||
a,
|
|
||||||
li,
|
|
||||||
label {
|
|
||||||
color: $white;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
background-color: transparent;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
@ -25,6 +25,7 @@ h4,
|
|||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
font-family: GentiumPlus, serif;
|
font-family: GentiumPlus, serif;
|
||||||
|
color: $white;
|
||||||
}
|
}
|
||||||
|
|
||||||
p,
|
p,
|
||||||
@ -34,6 +35,24 @@ a,
|
|||||||
button,
|
button,
|
||||||
label {
|
label {
|
||||||
font-family: Arial, sans-serif;
|
font-family: Arial, sans-serif;
|
||||||
|
color: $white;
|
||||||
|
}
|
||||||
|
|
||||||
|
button, input {
|
||||||
|
border: none;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
text-align: center;
|
||||||
|
&.btn-purple {
|
||||||
|
background-color: rgba($purple, 0.75);
|
||||||
|
border: rgba($white, 0.35) 1px solid;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: rgba($lilac, 0.75);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button:hover {
|
button:hover {
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="button-wrapper">
|
<div class="button-wrapper">
|
||||||
<button :disabled="!selected_character" @click="select_character()">
|
<button class="btn-purple" :disabled="!selected_character" @click="select_character()">
|
||||||
Play
|
Play
|
||||||
<img src="/assets/icons/arrow.svg">
|
<img src="/assets/icons/arrow.svg">
|
||||||
</button>
|
</button>
|
||||||
@ -45,10 +45,10 @@
|
|||||||
<input v-model="name" name="name" id="name" />
|
<input v-model="name" name="name" id="name" />
|
||||||
</div>
|
</div>
|
||||||
<div class="submit">
|
<div class="submit">
|
||||||
<button type="submit">Create</button>
|
<button class="btn-purple" type="submit">Create</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<button @click="isModalOpen = false">Cancel</button>
|
<button class="btn-purple" @click="isModalOpen = false">Cancel</button>
|
||||||
</template>
|
</template>
|
||||||
</Modal>
|
</Modal>
|
||||||
</template>
|
</template>
|
||||||
@ -138,15 +138,12 @@ function create() {
|
|||||||
background-image: none;
|
background-image: none;
|
||||||
|
|
||||||
button {
|
button {
|
||||||
background-color: transparent;
|
|
||||||
border: none;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 40px 0;
|
padding: 40px 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
text-align: center;
|
|
||||||
&::before {
|
&::before {
|
||||||
content: '';
|
content: '';
|
||||||
}
|
}
|
||||||
@ -157,7 +154,6 @@ function create() {
|
|||||||
}
|
}
|
||||||
span {
|
span {
|
||||||
align-self: center;
|
align-self: center;
|
||||||
color: $white;
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -198,7 +194,6 @@ function create() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
color: $white;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 20px;
|
top: 20px;
|
||||||
@ -209,7 +204,6 @@ function create() {
|
|||||||
|
|
||||||
button.delete {
|
button.delete {
|
||||||
background-color: $red;
|
background-color: $red;
|
||||||
border: none;
|
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
@ -231,7 +225,6 @@ function create() {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
transform: translateY(50%);
|
transform: translateY(50%);
|
||||||
color: $white;
|
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -251,19 +244,14 @@ function create() {
|
|||||||
button {
|
button {
|
||||||
padding: 8px 10px 8px 20px;
|
padding: 8px 10px 8px 20px;
|
||||||
min-width: 6.25rem;
|
min-width: 6.25rem;
|
||||||
text-align: center;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: rgba($purple, 0.75);
|
|
||||||
border: rgba($white, 0.35) 1px solid;
|
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
color: $white;
|
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: $white;
|
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,9 +15,9 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="row-buttons">
|
<div class="row-buttons">
|
||||||
<button class="button" @click="loginFunc"><span>LOGIN</span></button>
|
<button class="button btn-purple" @click="loginFunc"><span>LOGIN</span></button>
|
||||||
<button class="button" @click="registerFunc"><span>REGISTER</span></button>
|
<button class="button btn-purple" @click="registerFunc"><span>REGISTER</span></button>
|
||||||
<button class="button"><span>CREDITS</span></button>
|
<button class="button btn-purple"><span>CREDITS</span></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -100,7 +100,6 @@ onUnmounted(() => {
|
|||||||
.modal-header {
|
.modal-header {
|
||||||
cursor: move;
|
cursor: move;
|
||||||
background-color: rgba($purple, 0.6);
|
background-color: rgba($purple, 0.6);
|
||||||
color: $white;
|
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
border-radius: 20px 20px 0 0;
|
border-radius: 20px 20px 0 0;
|
||||||
height: 3.75rem;
|
height: 3.75rem;
|
||||||
@ -117,8 +116,6 @@ onUnmounted(() => {
|
|||||||
height: 40px;
|
height: 40px;
|
||||||
margin: auto 0;
|
margin: auto 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background-color: transparent;
|
|
||||||
border: none;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
@ -154,16 +151,8 @@ onUnmounted(() => {
|
|||||||
button {
|
button {
|
||||||
padding: 10px 16px;
|
padding: 10px 16px;
|
||||||
min-width: 6.25rem;
|
min-width: 6.25rem;
|
||||||
text-align: center;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: rgba($purple, 0.75);
|
|
||||||
border: rgba($white, 0.35) 1px solid;
|
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
color: $white;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background-color: rgba($lilac, 0.75);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.modal-form {
|
.modal-form {
|
||||||
display: inline;
|
display: inline;
|
||||||
@ -173,6 +162,7 @@ onUnmounted(() => {
|
|||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
label {
|
label {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
color: $black;
|
||||||
}
|
}
|
||||||
input {
|
input {
|
||||||
max-width: 250px;
|
max-width: 250px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user