agenda: noon hours slightly isolated from other day times
This commit is contained in:
parent
ca1f2836e2
commit
30ba60e179
|
@ -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 %}
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
<ul>
|
||||
<li class="initials"> </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 %}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Reference in New Issue