1.1 --- a/htdocs/styles.css Sun Feb 08 22:52:37 2015 +0100
1.2 +++ b/htdocs/styles.css Mon Feb 09 14:37:21 2015 +0100
1.3 @@ -141,24 +141,36 @@
1.4 display: block;
1.5 }
1.6
1.7 -/* Hiding/showing end datetimes. */
1.8 +/* Hiding/showing end datetimes and start/end times. */
1.9
1.10 +input#dttimes-disable,
1.11 +input#dttimes-enable,
1.12 input#dtend-disable,
1.13 input#dtend-enable,
1.14 -input#dtend-enable:not(:checked) ~ .object td.objectvalue.dtend .enabled,
1.15 -input#dtend-enable:checked ~ .object td.objectvalue.dtend .disabled {
1.16 +input#dttimes-disable:checked ~ .object td.objectvalue .time.enabled,
1.17 +input#dttimes-enable:checked ~ .object td.objectvalue .time.disabled,
1.18 +input#dtend-disable:checked ~ .object td.objectvalue.dtend .dt.enabled,
1.19 +input#dtend-enable:checked ~ .object td.objectvalue.dtend .dt.disabled {
1.20 display: none;
1.21 }
1.22
1.23 /* Style the labels. */
1.24
1.25 -div.enabled label.disable {
1.26 +.dt.disabled label,
1.27 +.dt.enabled label,
1.28 +label.hidebusy,
1.29 +label.showdays {
1.30 + color: #009;
1.31 + text-decoration: underline;
1.32 +}
1.33 +
1.34 +.dt.enabled label {
1.35 display: block;
1.36 margin-top: 0.25em;
1.37 }
1.38
1.39 -label.enable,
1.40 -label.disable {
1.41 +label.hidebusy,
1.42 +label.showdays {
1.43 padding-left: 0.25em;
1.44 }
1.45