agenda: noon hours slightly isolated from other day times

This commit is contained in:
Serghei Mihai 2014-04-02 16:34:43 +02:00
parent ca1f2836e2
commit 30ba60e179
3 changed files with 10 additions and 2 deletions

View File

@ -4,7 +4,7 @@
{{ initials }}
</li>
{% for start_time, quarters in disponibility.items %}
<li class="hour-mark">
<li class="hour-mark {% if start_time == 13 %}noon-start{% elif start_time == 14%}noon-end{% endif %}">
<ul>
{% for quarter in quarters %}
{% for min, value in quarter %}

View File

@ -74,7 +74,7 @@
<ul>
<li class="initials">&nbsp;</li>
{% for start_time in disponibility_start_times %}
<li class="hour-mark">
<li class="hour-mark {% if start_time == 13 %}noon-start{% elif start_time == 14%}noon-end{% endif %}">
{{ start_time|stringformat:"02d" }}
</li>
{% endfor %}

View File

@ -153,6 +153,14 @@ li.hour-mark {
margin-bottom: 1em;
}
li.noon-start {
margin-top: 1.5em;
}
li.noon-end {
margin-bottom: 1.5em;
}
li.free {
background: green;
}