#132 | #121: backoffice / dev-1.0-121 #131

Merged
thomas merged 151 commits from dev-1.0-121 into develop-1.0 2024-04-28 20:02:14 +00:00
9 changed files with 18 additions and 9 deletions
Showing only changes of commit e3966ca5cb - Show all commits

View File

@ -338,7 +338,6 @@
} }
.a-carousel .a-carousel-viewport { .a-carousel .a-carousel-viewport {
box-shadow: inset 0em 0em 20rem var(--a-carousel-bg); box-shadow: inset 0em 0em 20rem var(--a-carousel-bg);
margin-bottom: var(--a-carousel-p);
padding: var(--a-carousel-p) 0; padding: var(--a-carousel-p) 0;
margin-top: calc(0rem - var(--a-carousel-p)); margin-top: calc(0rem - var(--a-carousel-p));
} }

View File

@ -6973,6 +6973,7 @@ input.half-field:not(:active):not(:hover) {
--body-bg: #fff; --body-bg: #fff;
--text-color: black; --text-color: black;
--text-color-light: #555; --text-color-light: #555;
--break-color: rgb(245, 245, 245);
--main-color: #EFCA08; --main-color: #EFCA08;
--main-color-light: #F4da51; --main-color-light: #F4da51;
--main-color-dark: #F49F0A; --main-color-dark: #F49F0A;

View File

@ -338,7 +338,6 @@
} }
.a-carousel .a-carousel-viewport { .a-carousel .a-carousel-viewport {
box-shadow: inset 0em 0em 20rem var(--a-carousel-bg); box-shadow: inset 0em 0em 20rem var(--a-carousel-bg);
margin-bottom: var(--a-carousel-p);
padding: var(--a-carousel-p) 0; padding: var(--a-carousel-p) 0;
margin-top: calc(0rem - var(--a-carousel-p)); margin-top: calc(0rem - var(--a-carousel-p));
} }
@ -7329,6 +7328,10 @@ a.tag:hover {
margin-top: 0.6rem; margin-top: 0.6rem;
margin-bottom: 1.2rem; margin-bottom: 1.2rem;
} }
.page section.container:not(:last-child) {
padding-bottom: 0.6rem;
border-bottom: 2px var(--break-color) solid;
}
.page section.container > .title { .page section.container > .title {
font-size: var(--title-2-sz); font-size: var(--title-2-sz);
clear: both; clear: both;

View File

@ -125,11 +125,11 @@ Usefull context:
{% block content-container %} {% block content-container %}
{% if page and page.content %} {% if page and page.content %}
<div class="container content page-content"> <section class="container content page-content">
{% block content %} {% block content %}
{{ page.content|safe }} {{ page.content|safe }}
{% endblock %} {% endblock %}
</div> </section>
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% endblock %} {% endblock %}

View File

@ -25,6 +25,8 @@
{% endwith %} {% endwith %}
</div> </div>
<hr/>
<a-carousel section-class="card-grid"> <a-carousel section-class="card-grid">
{% for obj in next_diffs|slice:"1:" %} {% for obj in next_diffs|slice:"1:" %}
{% if object != diffusion %} {% if object != diffusion %}
@ -55,7 +57,7 @@
{% if podcasts %} {% if podcasts %}
<section class="container"> <section class="container">
<h2 class="title">{% translate "Last podcasts" %}</h2> <h2 class="title is-3 p-2">{% translate "Last podcasts" %}</h2>
{% include "./widgets/carousel.html" with objects=podcasts url_name="podcast-list" url_label=_("All podcasts") %} {% include "./widgets/carousel.html" with objects=podcasts url_name="podcast-list" url_label=_("All podcasts") %}
</section> </section>
{% endif %} {% endif %}

View File

@ -5,7 +5,7 @@
{% block content-container %} {% block content-container %}
{% with schedules=program.schedule_set.all %} {% with schedules=program.schedule_set.all %}
{% if schedules %} {% if schedules %}
<section class="container schedules"> <header class="container schedules">
{% for schedule in schedules %} {% for schedule in schedules %}
<div class="schedule"> <div class="schedule">
<div class="heading"> <div class="heading">
@ -29,7 +29,7 @@
</div> </div>
</div> </div>
{% endfor %} {% endfor %}
</section> </header>
{% endif %} {% endif %}
{% endwith %} {% endwith %}

View File

@ -16,6 +16,7 @@ input.half-field:not(:active):not(:hover) {
--body-bg: #fff; --body-bg: #fff;
--text-color: black; --text-color: black;
--text-color-light: #555; --text-color-light: #555;
--break-color: rgb(245, 245, 245);
--main-color: #EFCA08; --main-color: #EFCA08;
--main-color-light: #F4da51; --main-color-light: #F4da51;

View File

@ -488,7 +488,6 @@
.a-carousel-viewport { .a-carousel-viewport {
box-shadow: inset 0em 0em 20rem var(--a-carousel-bg); box-shadow: inset 0em 0em 20rem var(--a-carousel-bg);
// background-color: var(--a-carousel-bg); // background-color: var(--a-carousel-bg);
margin-bottom: var(--a-carousel-p);
padding: var(--a-carousel-p) 0; padding: var(--a-carousel-p) 0;
margin-top: calc( 0rem - var(--a-carousel-p) ); margin-top: calc( 0rem - var(--a-carousel-p) );
} }

View File

@ -17,11 +17,15 @@
} }
} }
section.container { section.container {
margin-top: v.$mp-3; margin-top: v.$mp-3;
margin-bottom: v.$mp-4; margin-bottom: v.$mp-4;
&:not(:last-child) {
padding-bottom: calc(v.$mp-4 / 2);
border-bottom: 2px var(--break-color) solid;
}
> .title { > .title {
font-size: var(--title-2-sz); font-size: var(--title-2-sz);
clear: both; clear: both;