Merge branch 'master' of github.com:KevinMidboe/vinlottis

This commit is contained in:
Kasper Rynning-Tønnesen
2020-01-23 11:18:47 +01:00
4 changed files with 36 additions and 1 deletions

View File

@@ -77,6 +77,11 @@ export default {
.left-bottom { .left-bottom {
width: 75%; width: 75%;
@include mobile {
padding: 0 1.25rem;
width: 100%;
}
} }
.bought-and-highscore-separator { .bought-and-highscore-separator {
@@ -192,7 +197,7 @@ h1 {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
padding-top: 0; padding: 0;
margin-top: 30px; margin-top: 30px;
} }

View File

@@ -24,24 +24,28 @@ export default {
label: "Blå", label: "Blå",
borderColor: "#57d2fb", borderColor: "#57d2fb",
backgroundColor: "#d4f2fe", backgroundColor: "#d4f2fe",
borderWidth: 2,
data: [] data: []
}; };
let yellow = { let yellow = {
label: "Gul", label: "Gul",
borderColor: "#ffde5d", borderColor: "#ffde5d",
backgroundColor: "#fff6d6", backgroundColor: "#fff6d6",
borderWidth: 2,
data: [] data: []
}; };
let red = { let red = {
label: "Rød", label: "Rød",
borderColor: "#ef5878", borderColor: "#ef5878",
backgroundColor: "#fbd7de", backgroundColor: "#fbd7de",
borderWidth: 2,
data: [] data: []
}; };
let green = { let green = {
label: "Grønn", label: "Grønn",
borderColor: "#10e783", borderColor: "#10e783",
backgroundColor: "#c8f9df", backgroundColor: "#c8f9df",
borderWidth: 2,
data: [] data: []
}; };

View File

@@ -106,6 +106,12 @@ export default {
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: flex-start; align-items: flex-start;
@include mobile {
flex-direction: row;
justify-content: unset;
align-items: center;
}
} }
.number-container { .number-container {
@@ -120,6 +126,22 @@ export default {
.inner-text-container { .inner-text-container {
padding-left: 5px; padding-left: 5px;
// TODO fix styling for displaying in columns
@include mobile {
margin-top: auto;
padding-bottom: 5px;
}
}
@include mobile {
.total-container {
> div:nth-of-type(2) {
margin-top: auto;
padding-bottom: 4px;
padding-left: 5px;
}
}
} }
.bought-number-span { .bought-number-span {

View File

@@ -23,24 +23,28 @@ export default {
label: "Blå", label: "Blå",
borderColor: "#57d2fb", borderColor: "#57d2fb",
backgroundColor: "#d4f2fe", backgroundColor: "#d4f2fe",
borderWidth: 2,
data: [] data: []
}; };
let yellow = { let yellow = {
label: "Gul", label: "Gul",
borderColor: "#ffde5d", borderColor: "#ffde5d",
backgroundColor: "#fff6d6", backgroundColor: "#fff6d6",
borderWidth: 2,
data: [] data: []
}; };
let red = { let red = {
label: "Rød", label: "Rød",
borderColor: "#ef5878", borderColor: "#ef5878",
backgroundColor: "#fbd7de", backgroundColor: "#fbd7de",
borderWidth: 2,
data: [] data: []
}; };
let green = { let green = {
label: "Grønn", label: "Grønn",
borderColor: "#10e783", borderColor: "#10e783",
backgroundColor: "#c8f9df", backgroundColor: "#c8f9df",
borderWidth: 2,
data: [] data: []
}; };