1.1 --- a/htdocs/styles.css Fri Jan 30 18:24:43 2015 +0100
1.2 +++ b/htdocs/styles.css Fri Jan 30 19:37:27 2015 +0100
1.3 @@ -49,6 +49,8 @@
1.4 color: #009;
1.5 }
1.6
1.7 +/* Selection of slots/periods for new events. */
1.8 +
1.9 input.newevent {
1.10 display: none;
1.11 }
1.12 @@ -76,3 +78,21 @@
1.13 background-color: #af8;
1.14 text-decoration: underline;
1.15 }
1.16 +
1.17 +/* Hiding/showing unused slots/periods. */
1.18 +
1.19 +input#hideslots {
1.20 + display: none;
1.21 +}
1.22 +
1.23 +input#hideslots:checked ~ p label.enable[for=hideslots] {
1.24 + display: none;
1.25 +}
1.26 +
1.27 +input#hideslots:not(:checked) ~ p label.disable[for=hideslots] {
1.28 + display: none;
1.29 +}
1.30 +
1.31 +input#hideslots:checked ~ table tr.slot.daystart.empty {
1.32 + display: none;
1.33 +}