Vinlottispage UI redesign #56
@@ -19,39 +19,19 @@
|
||||
|
||||
</section>
|
||||
|
||||
<div class="container">
|
||||
<!-- <span> Scroll for å annen gøy statistikk</span> -->
|
||||
|
||||
<section class="container">
|
||||
<p class="scroll-info"> | Scroll for å se annen gøy statistikk</p>
|
||||
|
||||
|
||||
<section class="header-and-notification">
|
||||
<h1 @click="startCountdown">Vinlotteri</h1>
|
||||
<img
|
||||
src="/public/assets/images/notification.svg"
|
||||
alt="Notification-bell"
|
||||
@click="requestNotificationAccess"
|
||||
class="notification-request-button"
|
||||
role="button"
|
||||
v-if="notificationAllowed"
|
||||
/>
|
||||
</section>
|
||||
|
||||
|
||||
<div class="to-lottery-container">
|
||||
<a href="#/lottery" class="to-lottery">Vil du til lotteriet?<span class="vin-link">Trykk her</span></a>
|
||||
</div>
|
||||
<Highscore class="highscore"/>
|
||||
<TotalBought class="total-bought" />
|
||||
|
||||
<section class="chart-container">
|
||||
<PurchaseGraph class="purchase" />
|
||||
<WinGraph class="win" />
|
||||
</section>
|
||||
|
||||
|
||||
<TotalBought class="total-bought" />
|
||||
<Vipps class="vipps-icon" />
|
||||
<Highscore class="highscore"/>
|
||||
<Wines class="wines-container" />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<Countdown :hardEnable="hardStart" @countdown="changeEnabled" />
|
||||
</div>
|
||||
@@ -199,126 +179,46 @@ h1 {
|
||||
.container{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.header-and-notification{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.vipps-icon{
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
@include tablet {
|
||||
margin: .5em;
|
||||
.chart-container {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
grid-template-rows: auto-flow min-content;
|
||||
grid-template-areas: "top-top top-top top-top"
|
||||
"top-bot top-bot top-bot"
|
||||
"middle-top middle-top middle-top"
|
||||
"middle-bot-left middle-bot-left middle-bot-right"
|
||||
"bot-left bot-right bot-right";
|
||||
grid-template-columns: repeat(12, 1fr);
|
||||
|
||||
.header-and-notification {
|
||||
grid-area: top-top;
|
||||
}
|
||||
|
||||
.to-lottery-container{
|
||||
grid-area: top-bot;
|
||||
.scroll-info {
|
||||
grid-column: 3 / -3;
|
||||
}
|
||||
|
||||
.chart-container {
|
||||
grid-area: middle-top;
|
||||
grid-column: 3 / -3;
|
||||
}
|
||||
|
||||
.total-bought {
|
||||
grid-area: middle-bot-left;
|
||||
grid-column: 3 / -3;
|
||||
}
|
||||
|
||||
.highscore {
|
||||
border-top: 1px solid rgb(237, 237, 237);
|
||||
grid-area: bot-left;
|
||||
grid-column: 3 / -3;
|
||||
align-self: baseline;
|
||||
}
|
||||
|
||||
.wines-container {
|
||||
border-top: 1px solid rgb(237, 237, 237);
|
||||
padding-left: 1em;
|
||||
border-left: 1px solid rgb(237, 237, 237);
|
||||
grid-area: bot-right;
|
||||
}
|
||||
|
||||
.vipps-icon {
|
||||
padding-left: 1em;
|
||||
align-self: center;
|
||||
grid-area: middle-bot-right;
|
||||
border-left: 1px solid rgb(237, 237, 237);
|
||||
grid-column: 3 / -3;
|
||||
}
|
||||
}
|
||||
|
||||
@include desktop {
|
||||
// @include desktop {
|
||||
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
grid-template-rows: auto-flow min-content;
|
||||
grid-template-areas: "top-top top-top top-top top-top"
|
||||
"top-bot top-bot top-bot top-bot"
|
||||
"middle-top middle-top middle-top middle-top"
|
||||
"middle-bot middle-bot middle-bot aside"
|
||||
"bot-left bot-right bot-right aside";
|
||||
grid-gap: 1em;
|
||||
align-items: center;
|
||||
|
||||
.header-and-notification {
|
||||
grid-area: top-top;
|
||||
}
|
||||
|
||||
.to-lottery-container {
|
||||
grid-area: top-bot;
|
||||
}
|
||||
|
||||
.chart-container {
|
||||
grid-area: middle-top;
|
||||
}
|
||||
|
||||
.total-bought {
|
||||
grid-area: middle-bot;
|
||||
border-bottom: 1px solid rgb(237, 237, 237);
|
||||
}
|
||||
|
||||
.highscore {
|
||||
border: none;
|
||||
grid-area: bot-left;
|
||||
}
|
||||
|
||||
.wines-container {
|
||||
border: none;
|
||||
grid-area: bot-right;
|
||||
}
|
||||
|
||||
.vipps-icon {
|
||||
grid-area: aside;
|
||||
padding-left: 3em;
|
||||
border-left: 1px solid rgb(237, 237, 237);
|
||||
}
|
||||
}
|
||||
|
||||
@include widescreen {
|
||||
width: 70%;
|
||||
max-width: 1800px;
|
||||
margin: auto;
|
||||
|
||||
.vipps-icon {
|
||||
padding-left: 6em;
|
||||
}
|
||||
}
|
||||
// }
|
||||
|
||||
// @include widescreen {
|
||||
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,13 +1,19 @@
|
||||
|
|
||||
<template>
|
||||
<div class="highscores" v-if="highscore.length > 0">
|
||||
<h3>
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
<router-link to="highscore">
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
Topp 10 vinnere <span class="vin-link">Se alle ></span>
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
<section class="heading">
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
<h3>
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
Topp 5 vinnere
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
</h3>
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
<router-link to="highscore" class="">
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
<span class="vin-link">Se alle vinnere</span>
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
</router-link>
|
||||
</h3>
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
<ol>
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
<li v-for="person in highscore" :key="person">
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
{{ person.name }} - {{ person.wins.length }}
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
</section>
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
<ol class="winner-list-container">
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
<li v-for="(person, index) in highscore" :key="person" class="single-winner">
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
<span class="placement">{{index + 1}}</span>
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
<span class="winner-icon"> ic </span>
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
<p class="winner-name">{{ person.name }}</p>
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@@ -29,60 +35,69 @@ export default {
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
Fixed Fixed
|
||||
response = response.filter(
|
||||
person => person.name != null && person.name != ""
|
||||
);
|
||||
this.highscore = response.slice(0, 10);
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
this.highscore = response.slice(0, 5);
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "../styles/media-queries.scss";
|
||||
div {
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
margin: 0;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
font-family: Arial;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
display: inline-flex;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
flex-direction: column;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
@import "../styles/variables.scss";
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
.heading {
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
display: flex;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
justify-content: space-between;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
align-items: center;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
}
|
||||
|
||||
h3 {
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
text-align: left;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
a {
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
text-decoration: none;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
color: #333333;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
|
||||
& a {
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
&:focus,
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
&:active,
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
&:visited {
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
text-decoration: none;
|
||||
color: #333333;
|
||||
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
&:focus,
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
&:active,
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
&:visited {
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
text-decoration: none;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
color: #333333;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
}
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
}
|
||||
|
Could also update api to take a Could also update api to take a `size` 😬
|
||||
}
|
||||
|
||||
ol {
|
||||
padding-left: 1.375rem !important;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
list-style-type: none;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
margin-left: 0;
|
||||
margin: 0 0 1.5em;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
padding: 0;
|
||||
counter-reset: item;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
& > li {
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
padding: 2.5px 0;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
width: max-content;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
margin: 0 0 0 -1.25rem;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
padding: 0;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
list-style-type: none;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
counter-increment: item;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
&:before {
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
display: inline-block;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
width: 1em;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
padding-right: 0.5rem;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
font-weight: bold;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
text-align: right;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
content: counter(item) ".";
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
}
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
.winner-list-container {
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
width: 100%;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
display: grid;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
grid-template: 1fr / repeat(5, 1fr);
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
column-gap: 2em;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
margin: 0;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
.single-winner {
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
width: 10em;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
background: $primary;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
padding: 1em;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
display: grid;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
grid-template: 1fr .3fr / 1fr 1fr 1fr;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
justify-content: center;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
align-items: center;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
justify-items: center;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
.placement {
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
grid-row: 1;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
grid-column: 1 / 3;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
font-size: 3em;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
}
|
||||
|
||||
@include mobile {
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
padding: 5px 0;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
.winner-name {
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
grid-row: 2;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
grid-column: 1 / -1;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
}
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
.winner-icon {
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
grid-row: 1;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
grid-column: 3;
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Same as above. Try not to use entire objects as keys. Same as above. Try not to use entire objects as keys.
Fixed Fixed
Fixed Fixed
|
||||
@@ -1,6 +1,15 @@
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
Fixed Fixed
|
||||
<template>
|
||||
<div class="outer-bought">
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<section class="outer-bought">
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<h3>Loddstatistikk</h3>
|
||||
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<div class="inner-bought-container total-ballots">
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
Totalt
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<span class="total">{{ total }}</span>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
kjøpte og
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<span>{{ totalWin }} vinn</span>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
</div>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<div class="bought-container">
|
||||
<div
|
||||
v-for="color in colors"
|
||||
@@ -8,34 +17,23 @@
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
Fixed Fixed
|
||||
color.name +
|
||||
'-container ' +
|
||||
color.name +
|
||||
'-ballot inner-bought-container ballot-element'
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
'-ballot ballot-element-local'
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
"
|
||||
:key="color.name"
|
||||
>
|
||||
<div class="number-container">
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<span class="color-total bought-number-span">
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<p class="number-container">
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
{{translate(color.name)}} vinnersjanse
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<!-- <span class="color-total bought-number-span">
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
{{ color.total }}
|
||||
</span>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<span>kjøpte</span>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
</div>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
</span> -->
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
</p>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<h3>{{ color.totalPercentage }}% vinn</h3>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<div class="inner-text-container">
|
||||
<div>{{ color.win }} vinn</div>
|
||||
<div>{{ color.totalPercentage }}% vinn</div>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
</div>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
</div>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<div class="inner-bought-container total-ballots">
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<div class="total-container">
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
Totalt
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<div>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<span class="total">{{ total }}</span> kjøpte
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
</div>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<div>{{ totalWin }} vinn</div>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
<div>{{ stolen }} stjålet</div>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
</section>
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
</template>
|
||||
<script>
|
||||
import { colorStatistics } from "@/api";
|
||||
@@ -114,6 +112,23 @@ export default {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
Fixed Fixed
|
||||
this.colors = this.colors.sort((a, b) => (a.win > b.win ? -1 : 1));
|
||||
},
|
||||
methods: {
|
||||
translate(color){
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
switch(color) {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
case "blue":
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
return "Blå"
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
break;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
case "red":
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
return "Rød"
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
break;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
case "green":
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
return "Grønn"
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
break;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
case "yellow":
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
return "Gul"
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
break;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
break;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
},
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
getPercentage: function(win, total) {
|
||||
return this.round(win == 0 ? 0 : (win / total) * 100);
|
||||
},
|
||||
@@ -125,108 +140,138 @@ export default {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
Fixed Fixed
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "../styles/global.scss";
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// @import "../styles/global.scss";
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
@import "../styles/variables.scss";
|
||||
@import "../styles/media-queries.scss";
|
||||
|
||||
.inner-bought-container {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
.total-ballots {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
justify-content: center;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
align-items: center;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
||||
.ballot-element {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
width: 140px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
height: 150px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
margin: 20px 0;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
.bought-container {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
margin-top: 2em;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
display: grid;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
column-gap: 2em;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
|
||||
.number-container {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
display: flex;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
align-items: flex-end;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
.ballot-element-local {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
margin: 0;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
width: 100%;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
height: 100%;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
padding: .5em;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
|
||||
& span:last-child {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
padding-bottom: 5px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
padding-left: 5px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
&.green-ballot {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
background-color: $light-green;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
&.blue-ballot {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
background-color: $light-blue;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
&.yellow-ballot {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
background-color: $light-yellow;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
&.red-ballot {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
background-color: $light-red;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
}
|
||||
|
||||
.inner-bought-container {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
.ballot-element {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// width: 140px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// height: 150px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// margin: 20px 0;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
.number-container {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// display: flex;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// align-items: flex-end;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// & span:last-child {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// padding-bottom: 5px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// padding-left: 5px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// }
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
.inner-text-container {
|
||||
display: flex;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
flex-direction: column;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
justify-content: center;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
align-items: center;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// display: flex;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// flex-direction: column;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// justify-content: center;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// align-items: center;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
|
||||
// TODO fix styling for displaying in columns
|
||||
@include mobile {
|
||||
& div {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
padding: 0 5px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// & div {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// padding: 0 5px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// }
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
}
|
||||
|
||||
.total-ballots {
|
||||
width: 150px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
height: 150px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
margin: 20px 0;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// width: 150px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// height: 150px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// margin: 20px 0;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
||||
.total-container {
|
||||
align-items: flex-start;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// align-items: flex-start;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
||||
@include mobile {
|
||||
.total-container {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
> div:nth-of-type(2) {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
margin-top: auto;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
padding-bottom: 4px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
padding-left: 5px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// .total-container {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// > div:nth-of-type(2) {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// margin-top: auto;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// padding-bottom: 4px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// padding-left: 5px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// }
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// }
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
||||
.bought-number-span {
|
||||
display: inline-flex;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// display: inline-flex;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
||||
.outer-bought {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
@include mobile {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
padding: 0 20px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// .outer-bought {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// @include mobile {
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// padding: 0 20px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// }
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// }
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
|
||||
.bought-container {
|
||||
display: flex;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
flex-direction: row;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
flex-wrap: wrap;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
width: 100%;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
padding-bottom: 3rem;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
max-width: 1400px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
margin: auto;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
justify-content: space-between;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
font-family: Arial;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// display: flex;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// flex-direction: row;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// flex-wrap: wrap;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// width: 100%;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// padding-bottom: 3rem;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// max-width: 1400px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// margin: auto;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// justify-content: space-between;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// font-family: Arial;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
|
||||
@include mobile {
|
||||
padding-bottom: 0px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// padding-bottom: 0px;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
}
|
||||
|
||||
.color-total,
|
||||
.total {
|
||||
font-size: 2rem;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
font-weight: bold;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// font-size: 2rem;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// font-weight: bold;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
||||
.small {
|
||||
font-weight: bold;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
font-size: 1.25rem;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
display: inline-block;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// font-weight: bold;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// font-size: 1.25rem;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// display: inline-block;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
|
||||
@include mobile {
|
||||
.bought-container {
|
||||
flex-wrap: wrap;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
// flex-wrap: wrap;
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Ehhm isn't Ehhm isn't `ballot` renamed to `raffle`?
Goes for all instances of Goes for all instances of `ballot`.
Goes for all instances of Goes for all instances of `ballot`.
Fixed Fixed
Fixed Fixed
|
||||
Same as above. Try not to use entire objects as keys.
Same as above. Try not to use entire objects as keys.
Fixed
Fixed