fix(PublicPage): modal close btn improvement and schedule description style

This commit is contained in:
Matthieu Bessat 2020-08-11 22:33:03 +02:00
parent de2f8019ea
commit 9ca7b0cbf7
3 changed files with 11 additions and 3 deletions

View file

@ -258,6 +258,7 @@
} }
.media-close { .media-close {
filter: drop-shadow(2px 4px 6px black);
position: absolute; position: absolute;
width: 1.5em; width: 1.5em;
height: 1.5em; height: 1.5em;
@ -265,7 +266,7 @@
top: -.75em; top: -.75em;
color: white; color: white;
cursor: pointer; cursor: pointer;
opacity: 0.7; opacity: 0.9;
transition: all 0.2s; transition: all 0.2s;
} }
@ -398,6 +399,10 @@ section {
cursor: pointer; cursor: pointer;
} }
.schedule-category-header .subtitle, .schedule-category-header .separator {
opacity: 0.75;
}
.schedule-category-collapse-icon { .schedule-category-collapse-icon {
transform: rotate(180deg); transform: rotate(180deg);
color: #B12008; color: #B12008;

File diff suppressed because one or more lines are too long

View file

@ -111,7 +111,10 @@
<div class="schedule-category"> <div class="schedule-category">
<div class="schedule-category-header" title="Déroulez"> <div class="schedule-category-header" title="Déroulez">
<div class="schedule-category-name"> <div class="schedule-category-name">
{{ item.name|e }} {% if item.description is not empty %}<span class="separator">-</span> {{ item.description|e }}{% endif %} {{ item.name|e }}
{% if item.description is not empty %}
<span class="separator">-</span><span class="subtitle"> {{ item.description|e }}</span>
{% endif %}
</div> </div>
<svg class="schedule-category-collapse-icon" <svg class="schedule-category-collapse-icon"
aria-hidden="true" focusable="false" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> aria-hidden="true" focusable="false" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">