Feat: cleaning local css and invert columns
This commit is contained in:
parent
8f32f5b1b9
commit
1e2005613b
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="boxed month-presentation">
|
<div class="month-presentation">
|
||||||
<div class="date">
|
<div class="date">
|
||||||
<div class="month">
|
<div class="month">
|
||||||
{{ theMonth }}
|
{{ theMonth }}
|
||||||
|
@ -60,27 +60,4 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.hightlights {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(3, 1fr);
|
|
||||||
grid-gap: 20px;
|
|
||||||
}
|
|
||||||
.hightlight > ul{
|
|
||||||
list-style-type: none;
|
|
||||||
display: flex;
|
|
||||||
flex-flow: column wrap;
|
|
||||||
padding-inline-start: 0;
|
|
||||||
}
|
|
||||||
.hightlight > ul > li {
|
|
||||||
margin: 5px;
|
|
||||||
flex-direction: column-reverse;
|
|
||||||
}
|
|
||||||
.hightlight > ul :first-child{
|
|
||||||
font-size: 3rem;
|
|
||||||
font-weight: bold;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.hightlight > ul :last-child{
|
|
||||||
text-align: end;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -8,14 +8,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="hightlight boxed">
|
<div class="hightlight boxed">
|
||||||
<ul>
|
<ul>
|
||||||
<li>{{ notInvoiced }} €</li>
|
<li>{{ retrocession }} €</li>
|
||||||
<li>Non facturé</li>
|
<li>Rétrocession</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="hightlight boxed">
|
<div class="hightlight boxed">
|
||||||
<ul>
|
<ul>
|
||||||
<li>{{ retrocession }} €</li>
|
<li>{{ notInvoiced }} €</li>
|
||||||
<li>Rétrocession</li>
|
<li>Non facturé</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -77,7 +77,7 @@ button:hover {
|
|||||||
flex-direction: column-reverse;
|
flex-direction: column-reverse;
|
||||||
}
|
}
|
||||||
.hightlight > ul :first-child{
|
.hightlight > ul :first-child{
|
||||||
font-size: 3rem;
|
font-size: 2rem;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
<template>
|
<template>
|
||||||
<section id="selector">
|
|
||||||
<month-selector/>
|
|
||||||
</section>
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<section id="months">
|
<section id="months">
|
||||||
<create-month/>
|
<create-month/>
|
||||||
@ -18,7 +15,6 @@
|
|||||||
import { mapActions } from 'vuex'
|
import { mapActions } from 'vuex'
|
||||||
import MonthsList from '../components/MonthsUl.vue'
|
import MonthsList from '../components/MonthsUl.vue'
|
||||||
import CreateMonth from '../components/CreateMonth.vue'
|
import CreateMonth from '../components/CreateMonth.vue'
|
||||||
import MonthSelector from '../components/monthSelector.vue'
|
|
||||||
import caOnPeriod from '../components/caOnPeriod.vue'
|
import caOnPeriod from '../components/caOnPeriod.vue'
|
||||||
import caRepartition from '../components/caRepartition.vue'
|
import caRepartition from '../components/caRepartition.vue'
|
||||||
export default {
|
export default {
|
||||||
@ -26,7 +22,6 @@ export default {
|
|||||||
components: {
|
components: {
|
||||||
MonthsList: MonthsList,
|
MonthsList: MonthsList,
|
||||||
CreateMonth: CreateMonth,
|
CreateMonth: CreateMonth,
|
||||||
MonthSelector: MonthSelector,
|
|
||||||
caOnPeriod: caOnPeriod,
|
caOnPeriod: caOnPeriod,
|
||||||
caRepartition: caRepartition,
|
caRepartition: caRepartition,
|
||||||
},
|
},
|
||||||
@ -47,19 +42,17 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
#selector {
|
|
||||||
display: none;
|
|
||||||
background-color: gray;
|
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
#content {
|
#content {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 3fr;
|
grid-template-columns: minmax(580px, 2fr) minmax(450px, 1fr);
|
||||||
margin: 0;
|
grid-template-areas:
|
||||||
}
|
"stats months";
|
||||||
#content > * {
|
gap: 1em;
|
||||||
margin: 20px;
|
|
||||||
}
|
}
|
||||||
#stats {
|
#stats {
|
||||||
|
grid-area: stats;
|
||||||
|
}
|
||||||
|
#months {
|
||||||
|
grid-area: months;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user