styles in scss with webpack

This commit is contained in:
2022-03-01 14:00:14 +01:00
parent d6bad9e030
commit 67948f7f3a
5 changed files with 24 additions and 123 deletions

View File

@@ -6,60 +6,6 @@
{% set title = 'Budget for household %household%'|trans({ '%household%' : household.id } ) %}
{% block title title %}
{% block css %}
<style>
.subtitle {
margin-top: 1rem;
margin-bottom: 1rem;
padding: 1rem;
}
.family-title {
margin-bottom: 1rem !important;
}
.budget-table th {
color: white;
}
.budget-table th.charge {
background-color: #e03851;
}
.budget-table th.resource {
background-color: #6d9e63;
}
.budget-table th, td {
padding: 10px;
text-align: left;
}
.budget-table td.column-wide {
width: 25%;
}
.budget-table td.column-small {
width: 15%;
}
.bold {
font-weight: 600;
}
.total {
margin-top: 1rem;
border-top: 1px dashed black;
}
.accordion-item {
margin-bottom: 1rem;
}
button[aria-expanded="true"] > span.folded,
button[aria-expanded="false"] > span.unfolded { display: none; }
button[aria-expanded="false"] > span.folded,
button[aria-expanded="true"] > span.unfolded { display: inline; }
</style>
{% endblock %}
{% block content %}
<h1>{{ title }}</h1>