Owen Leonard
2d3bf55cdc
This patch modifies the display of unique holidays and holiday exceptions so that dates in the past are hidden by default. A corresponding "Show past entries" checkbox can be checked to show the hidden entries. To test you should have some unique holidays and holiday exceptions in your system from the past and in the future. - Apply the patch and go to Tools -> Calendar - In the tables of existing holidays, check that no dates in the past appear in the "Exceptions" or "Unique holidays" tables. - Checking the checkbox at the top of each of these tables should trigger the display of the hidden rows. Signed-off-by: Pascale Nalon <pascale.nalon@ensmp.fr> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
164 lines
2.6 KiB
CSS
164 lines
2.6 KiB
CSS
.controls {
|
|
display: block;
|
|
padding: 3px 0;
|
|
}
|
|
|
|
.key {
|
|
padding: 3px;
|
|
white-space: nowrap;
|
|
line-height: 230%;
|
|
}
|
|
|
|
.ui-datepicker {
|
|
font-size: 150%;
|
|
}
|
|
|
|
.ui-datepicker th,
|
|
.ui-datepicker .ui-datepicker-title select {
|
|
font-size: 80%;
|
|
}
|
|
|
|
.ui-datepicker td a {
|
|
padding: .5em;
|
|
}
|
|
|
|
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
|
|
font-size: 80%;
|
|
}
|
|
|
|
.key {
|
|
padding: 3px;
|
|
white-space: nowrap;
|
|
line-height: 230%;
|
|
}
|
|
|
|
.normalday {
|
|
background-color: #EDEDED;
|
|
color: #000;
|
|
border: 1px solid #BCBCBC;
|
|
}
|
|
|
|
.exception,
|
|
#holidayexceptions th.exception {
|
|
background-color: #B3D4FF;
|
|
color: #000;
|
|
border: 1px solid #BCBCBC;
|
|
}
|
|
|
|
.holiday,
|
|
#holidaysunique th.holiday {
|
|
background-color: #FFAEAE;
|
|
color: #000;
|
|
border: 1px solid #BCBCBC;
|
|
}
|
|
|
|
.repeatableweekly,
|
|
#holidayweeklyrepeatable th.repeatableweekly {
|
|
background-color: #FFFF99;
|
|
color: #000;
|
|
border: 1px solid #BCBCBC;
|
|
}
|
|
|
|
.repeatableyearly,
|
|
#holidaysyearlyrepeatable th.repeatableyearly {
|
|
background-color: #FFCC66;
|
|
color: #000;
|
|
border: 1px solid #BCBCBC;
|
|
}
|
|
|
|
td.exception a.ui-state-default {
|
|
background: #b3d4ff none;
|
|
color: #000;
|
|
border: 1px solid #BCBCBC;
|
|
}
|
|
|
|
td.holiday a.ui-state-default {
|
|
background: #FFAEAE none;
|
|
color: #000;
|
|
border: 1px solid #BCBCBC;
|
|
}
|
|
|
|
td.repeatableweekly a.ui-state-default {
|
|
background: #FFFF99 none;
|
|
color: #000;
|
|
border: 1px solid #BCBCBC;
|
|
}
|
|
|
|
td.repeatableyearly a.ui-state-default {
|
|
background: #FFCC66 none;
|
|
color: #000;
|
|
border: 1px solid #BCBCBC;
|
|
}
|
|
|
|
.information {
|
|
z-index: 1;
|
|
background-color: #DCD2F1;
|
|
width: 300px;
|
|
display: none;
|
|
border: 1px solid #000000;
|
|
color: #000000;
|
|
font-size: 8pt;
|
|
font-weight: bold;
|
|
background-color: #FFD700;
|
|
cursor: pointer;
|
|
padding: 2px;
|
|
}
|
|
|
|
.panel {
|
|
z-index: 1;
|
|
display: none;
|
|
border: 3px solid #CCC;
|
|
padding: 3px;
|
|
margin-top: .3em;
|
|
background-color: #FEFEFE;
|
|
}
|
|
|
|
fieldset.brief {
|
|
border: 0;
|
|
margin-top: 0;
|
|
}
|
|
|
|
#showHoliday {
|
|
margin: .5em 0;
|
|
}
|
|
|
|
h1 select {
|
|
width: 20em;
|
|
}
|
|
|
|
fieldset.brief ol {
|
|
font-size: 100%;
|
|
}
|
|
|
|
fieldset.brief li,
|
|
fieldset.brief li.radio {
|
|
padding: 0.2em 0;
|
|
}
|
|
|
|
.help {
|
|
margin: .3em 0;
|
|
border: 1px solid #EEE;
|
|
padding: .3em .7em;
|
|
font-size: 90%;
|
|
}
|
|
|
|
#holidayweeklyrepeatable,
|
|
#holidaysyearlyrepeatable,
|
|
#holidaysunique,
|
|
#holidayexceptions {
|
|
font-size: 90%;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.calendar td,
|
|
.calendar th,
|
|
.calendar .button,
|
|
.calendar tbody .day {
|
|
padding: .7em;
|
|
font-size: 110%;
|
|
}
|
|
|
|
.calendar {
|
|
width: auto;
|
|
border: 0;
|
|
}
|