Merge branch 'master' of github.com:KevinMidboe/vinlottis
This commit is contained in:
@@ -1,35 +1,35 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1 class="title">Loddgenerator</h1>
|
<h1 class="title">Loddgenerator</h1>
|
||||||
<p>Velg hvilke farger du vil ha, fyll inn antall lodd og klikk 'generer'</p>
|
<p class="subtext">Velg hvilke farger du vil ha, fyll inn antall lodd og klikk 'generer'</p>
|
||||||
<div class="input-line">
|
<div class="input-line">
|
||||||
<label for="redCheckbox">
|
<label for="redCheckbox">
|
||||||
<input type="checkbox" id="redCheckbox" v-model="redCheckbox" />
|
<input type="checkbox" id="redCheckbox" v-model="redCheckbox" />
|
||||||
<span class="border">
|
<span class="border">
|
||||||
<span class="checkmark"></span>
|
<span class="checkmark"></span>
|
||||||
</span>
|
</span>
|
||||||
Rød
|
<span class="text">Rød</span>
|
||||||
</label>
|
|
||||||
<label for="yellowCheckbox">
|
|
||||||
<input type="checkbox" id="yellowCheckbox" v-model="yellowCheckbox" />
|
|
||||||
<span class="border">
|
|
||||||
<span class="checkmark"></span>
|
|
||||||
</span>
|
|
||||||
Gul
|
|
||||||
</label>
|
</label>
|
||||||
<label for="blueCheckbox">
|
<label for="blueCheckbox">
|
||||||
<input type="checkbox" id="blueCheckbox" v-model="blueCheckbox" />
|
<input type="checkbox" id="blueCheckbox" v-model="blueCheckbox" />
|
||||||
<span class="border">
|
<span class="border">
|
||||||
<span class="checkmark"></span>
|
<span class="checkmark"></span>
|
||||||
</span>
|
</span>
|
||||||
Blå
|
<span class="text">Blå</span>
|
||||||
|
</label>
|
||||||
|
<label for="yellowCheckbox">
|
||||||
|
<input type="checkbox" id="yellowCheckbox" v-model="yellowCheckbox" />
|
||||||
|
<span class="border">
|
||||||
|
<span class="checkmark"></span>
|
||||||
|
</span>
|
||||||
|
<span class="text">Gul</span>
|
||||||
</label>
|
</label>
|
||||||
<label for="greenCheckbox">
|
<label for="greenCheckbox">
|
||||||
<input type="checkbox" id="greenCheckbox" v-model="greenCheckbox" />
|
<input type="checkbox" id="greenCheckbox" v-model="greenCheckbox" />
|
||||||
<span class="border">
|
<span class="border">
|
||||||
<span class="checkmark"></span>
|
<span class="checkmark"></span>
|
||||||
</span>
|
</span>
|
||||||
Grønn
|
<span class="text">Grønn</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-line">
|
<div class="input-line">
|
||||||
@@ -181,29 +181,37 @@ h1 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
margin-top: 2rem;
|
margin-top: 3.8rem;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subtext {
|
||||||
|
margin-top: 0.50rem;
|
||||||
|
font-size: 1.22rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 15px;
|
margin: 0;
|
||||||
margin-top: 0px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-line {
|
.input-line {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: space-around;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 25px;
|
margin-top: 2.4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-line label {
|
.input-line label {
|
||||||
padding: 0 8px;
|
padding: 0 6px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
font-size: 1.22rem;
|
||||||
|
margin: 0 0.6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.top-banner {
|
.top-banner {
|
||||||
@@ -229,7 +237,9 @@ input {
|
|||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
height: 3rem;
|
||||||
max-height: 3rem;
|
max-height: 3rem;
|
||||||
|
border: 1px solid rgba(#333333, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="checkbox"] {
|
input[type="checkbox"] {
|
||||||
@@ -237,23 +247,28 @@ input[type="checkbox"] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
label .border {
|
label .border {
|
||||||
border: 1px solid #333333;
|
border: 1px solid rgba(#333333, 0.3);
|
||||||
border-spacing: 2px;
|
border-spacing: 2px;
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 2px;
|
padding: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
label .checkmark {
|
label .checkmark {
|
||||||
background: none;
|
background: none;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 12px;
|
width: 16px;
|
||||||
height: 12px;
|
height: 16px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
label .text {
|
||||||
|
margin-left: 0.15rem;
|
||||||
|
margin-top: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
font-family: Knowit;
|
font-family: Knowit;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
@@ -287,7 +302,7 @@ button {
|
|||||||
width: fit-content;
|
width: fit-content;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 1.3rem;
|
font-size: 1.3rem;
|
||||||
height: calc(3rem + 1.8px);
|
height: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.colors-text {
|
.colors-text {
|
||||||
@@ -353,11 +368,13 @@ button {
|
|||||||
@media only screen and (max-width: 768px) {
|
@media only screen and (max-width: 768px) {
|
||||||
input,
|
input,
|
||||||
button {
|
button {
|
||||||
font-size: 1.3rem;
|
font-size: 1.4rem;
|
||||||
|
line-height: 1.4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
width: 45vw;
|
width: 45vw;
|
||||||
|
height: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
|
|||||||
@@ -11,8 +11,10 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
padding: 20px 0;
|
padding: 33px 0;
|
||||||
background-color: #dbeede;
|
background-color: #dbeede;
|
||||||
box-shadow: 0 0 10px 0px #0000003a;
|
-webkit-box-shadow: 0px 0px 22px -8px rgba(0,0,0,0.65);
|
||||||
|
-moz-box-shadow: 0px 0px 22px -8px rgba(0,0,0,0.65);
|
||||||
|
box-shadow: 0px 0px 22px -8px rgba(0,0,0,0.65);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user