Compare commits
2 commits
e4056f3825
...
2c48f29851
| Author | SHA1 | Date | |
|---|---|---|---|
| 2c48f29851 | |||
| ef6582bc0a |
2 changed files with 21 additions and 6 deletions
|
|
@ -1,9 +1,18 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="d-flex align-end justify-center mr-1 mr-md-2">
|
<div class="d-flex justify-center mr-1 mr-md-2">
|
||||||
<span class="d-flex text-h4 text-md-h3">{{ day }}</span>
|
<div class="d-flex flex-column align-end">
|
||||||
<span class="d-flex text-h5 text-md-h4 blue-grey--text text--darken-1">
|
<div class="d-flex align-end">
|
||||||
{{ month }}
|
<span class="d-flex text-h4 text-md-h3">{{ day }}</span>
|
||||||
</span>
|
<span class="d-flex text-h5 text-md-h4 blue-grey--text text--darken-1">
|
||||||
|
{{ month }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<span
|
||||||
|
class="d-flex text-h6 text-md-h5 blue-grey--text text--lighten-1 mt-n1"
|
||||||
|
>
|
||||||
|
{{ time }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -23,13 +32,17 @@ export default class EventDate extends Vue {
|
||||||
private get month(): string {
|
private get month(): string {
|
||||||
return this.date.toFormat("MM.");
|
return this.date.toFormat("MM.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private get time(): string {
|
||||||
|
return this.date.toLocaleString(DateTime.TIME_24_SIMPLE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import "~vuetify/src/styles/settings/_variables";
|
@import "~vuetify/src/styles/settings/_variables";
|
||||||
|
|
||||||
div {
|
div.justify-center {
|
||||||
min-width: 95px;
|
min-width: 95px;
|
||||||
|
|
||||||
@media #{map-get($display-breakpoints, "md-and-up")} {
|
@media #{map-get($display-breakpoints, "md-and-up")} {
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,8 @@
|
||||||
</v-list-item-subtitle>
|
</v-list-item-subtitle>
|
||||||
<v-list-item-subtitle
|
<v-list-item-subtitle
|
||||||
class="
|
class="
|
||||||
|
d-inline-block
|
||||||
|
text-truncate
|
||||||
thw-heading-font
|
thw-heading-font
|
||||||
blue-grey--text
|
blue-grey--text
|
||||||
text--darken-1
|
text--darken-1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue