amélioration rendus
This commit is contained in:
parent
91f452a8fa
commit
036f07073d
@ -1,11 +1,13 @@
|
||||
/* Custom Pink version */
|
||||
|
||||
// Override default variables
|
||||
$primary-500: #00aaaa;
|
||||
/*$primary-500: #00aaaa;
|
||||
$primary-600: #009696;
|
||||
$primary-700: #008080;
|
||||
$primary-700: #008080;*/
|
||||
|
||||
|
||||
$primary-500: #008989;
|
||||
$primary-600: #008080;
|
||||
$primary-700: #006c6c;
|
||||
|
||||
// Import Pico
|
||||
@import "./pico/pico";
|
||||
@ -114,7 +116,8 @@ svg {
|
||||
padding: 0.8em 0;
|
||||
margin: 0 1em 0 0;
|
||||
text-align: center;
|
||||
width: 7em;
|
||||
width: 25%;
|
||||
min-width: 7em;
|
||||
|
||||
.large {
|
||||
font-size: 140%;
|
||||
@ -133,7 +136,8 @@ svg {
|
||||
.ephemeris-hour {
|
||||
@extend .ephemeris;
|
||||
padding: 1.5em 0.1em;
|
||||
width: 5em;
|
||||
width: 15%;
|
||||
min-width: 5em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@ -208,8 +212,9 @@ article.day>ul {
|
||||
}
|
||||
|
||||
|
||||
.day.today>header {
|
||||
background: rgba(255, 0, 140, 0.15);
|
||||
.day.today>header,
|
||||
.day.today {
|
||||
background: rgba(255, 0, 76, 0.1);
|
||||
}
|
||||
|
||||
.day.past {
|
||||
|
@ -17,8 +17,10 @@
|
||||
{% if display == "in list" %}
|
||||
{% include "agenda_culturel/ephemeris-inc.html" with event=event %}
|
||||
{% endif %}
|
||||
{{ event.category | small_cat }}
|
||||
{% if event.location %}<hgroup>{% endif %}
|
||||
{% if display == "in list" %}<h2>{% else %}<h3>{% endif %}
|
||||
|
||||
<a href="{{ event.get_absolute_url }}">{{ event.title }}</a>
|
||||
{% if display == "in list" %}</h2>{% else %}</h3>{% endif %}
|
||||
{% if event.location %}
|
||||
@ -66,6 +68,7 @@
|
||||
{% else %}
|
||||
<header>
|
||||
{% include "agenda_culturel/ephemeris-inc.html" with event=event %}
|
||||
{{ event.category | small_cat }}
|
||||
<h1>{{ event.title }}</h1>
|
||||
<p><svg width="1em" height="1em" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||
<use href="{% static 'images/feather-sprite.svg' %}#calendar" />
|
||||
@ -114,18 +117,6 @@
|
||||
|
||||
<footer class="infos-and-buttons">
|
||||
<div class="infos">
|
||||
<p>
|
||||
{% if mode %}
|
||||
{% if category %}
|
||||
{{ event.category | small_cat }}
|
||||
{% else %}
|
||||
{% url 'view_mode_cat' selected_mode.name event.category.pk as url_cat %}
|
||||
{{ event.category | small_cat:url_cat }}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{{ event.category | small_cat }}
|
||||
{% endif %}
|
||||
</p>
|
||||
<p>
|
||||
{% for tag in event.tags %}
|
||||
<a href="{% url 'view_tag' tag %}" role="button" class="small-cat">{{ tag }}</a>
|
||||
|
@ -53,7 +53,7 @@
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<article>
|
||||
Il n'y a pas d'événement prévu à cette date.
|
||||
<em>Il n'y a pas d'événement prévu à cette date.</em>
|
||||
</article>
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user