2022-01-13 13:00:31 +00:00
|
|
|
/*!
|
2023-12-19 14:36:33 +00:00
|
|
|
* # Fomantic-UI 2.9.3 - Calendar
|
2023-08-17 09:47:40 +00:00
|
|
|
* https://github.com/fomantic/Fomantic-UI/
|
2022-01-13 13:00:31 +00:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* Released under the MIT license
|
2023-08-17 09:47:40 +00:00
|
|
|
* https://opensource.org/licenses/MIT
|
2022-01-13 13:00:31 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Popup
|
|
|
|
*******************************/
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
.ui.calendar.popup {
|
2022-01-13 13:00:31 +00:00
|
|
|
max-width: none;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
2023-08-17 09:47:40 +00:00
|
|
|
.ui.calendar.popup.inverted::before {
|
|
|
|
background: #2b2b2b;
|
|
|
|
}
|
2022-01-13 13:00:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Calendar
|
|
|
|
*******************************/
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
.ui.calendar .calendar:focus,
|
|
|
|
.ui.calendar.popup:focus {
|
2022-01-13 13:00:31 +00:00
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Grid
|
|
|
|
*******************************/
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
.ui.calendar.popup .ui.grid {
|
2022-01-13 13:00:31 +00:00
|
|
|
display: block;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2023-08-17 09:47:40 +00:00
|
|
|
.ui.calendar.popup .ui.grid > .column {
|
2022-01-13 13:00:31 +00:00
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Table
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
.ui.calendar .ui.table.year,
|
|
|
|
.ui.calendar .ui.table.month,
|
|
|
|
.ui.calendar .ui.table.minute {
|
|
|
|
min-width: 15em;
|
|
|
|
}
|
|
|
|
.ui.calendar .ui.table.day {
|
|
|
|
min-width: 18em;
|
|
|
|
}
|
|
|
|
.ui.calendar .ui.table.day.andweek {
|
|
|
|
min-width: 22em;
|
|
|
|
}
|
|
|
|
.ui.calendar .ui.table.hour {
|
|
|
|
min-width: 20em;
|
|
|
|
}
|
|
|
|
.ui.calendar .ui.table tr th,
|
|
|
|
.ui.calendar .ui.table tr td {
|
|
|
|
padding: 0.5em;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.ui.calendar .ui.table tr th {
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
.ui.calendar .ui.table tr th i.icon {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.ui.calendar .ui.table tr:first-child th {
|
|
|
|
position: relative;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
.ui.calendar .ui.table.day tr:first-child th {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
.ui.calendar .ui.table.day tr:nth-child(2) th {
|
|
|
|
padding-top: 0.2em;
|
|
|
|
padding-bottom: 0.3em;
|
|
|
|
}
|
|
|
|
.ui.calendar .ui.table tr td {
|
|
|
|
padding-left: 0.1em;
|
|
|
|
padding-right: 0.1em;
|
|
|
|
}
|
|
|
|
.ui.calendar .ui.table tr .link {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.ui.calendar .ui.table tr .prev.link {
|
2023-12-19 14:36:33 +00:00
|
|
|
width: 14.28571429%;
|
2022-01-13 13:00:31 +00:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
.ui.calendar .ui.table tr .next.link {
|
2023-12-19 14:36:33 +00:00
|
|
|
width: 14.28571429%;
|
2022-01-13 13:00:31 +00:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
.ui.ui.calendar .ui.table tr .disabled {
|
|
|
|
pointer-events: auto;
|
|
|
|
cursor: default;
|
|
|
|
color: rgba(40, 40, 40, 0.3);
|
|
|
|
}
|
|
|
|
.ui.calendar .ui.table tr .adjacent:not(.disabled):not(.active) {
|
|
|
|
color: rgba(0, 0, 0, 0.6);
|
|
|
|
background: rgba(0, 0, 0, 0.03);
|
|
|
|
}
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
/* --------------
|
2022-01-13 13:00:31 +00:00
|
|
|
States
|
2023-08-17 09:47:40 +00:00
|
|
|
--------------- */
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.calendar .ui.table tr td.today {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.ui.calendar .ui.table tr td.range {
|
|
|
|
background: rgba(0, 0, 0, 0.05);
|
|
|
|
color: rgba(0, 0, 0, 0.95);
|
2023-08-17 09:47:40 +00:00
|
|
|
box-shadow: none;
|
2022-01-13 13:00:31 +00:00
|
|
|
}
|
2023-08-17 09:47:40 +00:00
|
|
|
.ui.calendar:not(.disabled):focus .ui.table tbody tr td.focus,
|
|
|
|
.ui.calendar:not(.disabled).popup.active .ui.table tbody tr td.focus {
|
|
|
|
box-shadow: inset 0 0 0 1px #85b7d9;
|
2022-01-13 13:00:31 +00:00
|
|
|
}
|
|
|
|
.ui.inverted.calendar .ui.table.inverted tr td.range {
|
|
|
|
background: rgba(255, 255, 255, 0.08);
|
|
|
|
color: #ffffff;
|
2023-08-17 09:47:40 +00:00
|
|
|
box-shadow: none;
|
2022-01-13 13:00:31 +00:00
|
|
|
}
|
|
|
|
.ui.inverted.calendar:not(.disabled) .calendar:focus .ui.table.inverted tbody tr td.focus,
|
2023-08-17 09:47:40 +00:00
|
|
|
.ui.inverted.calendar:not(.disabled).popup.active .ui.table.inverted tbody tr td.focus {
|
|
|
|
box-shadow: inset 0 0 0 1px #85b7d9;
|
2022-01-13 13:00:31 +00:00
|
|
|
}
|
2023-08-17 09:47:40 +00:00
|
|
|
.ui.inverted.calendar .ui.ui.ui.inverted.table tr .disabled {
|
2022-01-13 13:00:31 +00:00
|
|
|
color: rgba(225, 225, 225, 0.3);
|
|
|
|
}
|
|
|
|
.ui.inverted.calendar .ui.inverted.table tr .adjacent:not(.disabled):not(.active) {
|
|
|
|
color: rgba(255, 255, 255, 0.8);
|
|
|
|
background: rgba(255, 255, 255, 0.02);
|
|
|
|
}
|
2023-12-19 14:36:33 +00:00
|
|
|
.ui.ui.ui.calendar.popup > .ui.ui.grid {
|
2022-06-08 10:36:39 +00:00
|
|
|
margin: -1rem;
|
|
|
|
}
|
2023-12-19 14:36:33 +00:00
|
|
|
.ui.ui.ui.calendar.popup > .ui.ui.grid > .column:not(:first-child) {
|
2022-06-08 10:36:39 +00:00
|
|
|
padding-left: 0;
|
|
|
|
}
|
2023-12-19 14:36:33 +00:00
|
|
|
.ui.ui.ui.calendar.popup > .ui.ui.grid > .column:not(:first-child) > .ui.table {
|
2022-06-08 10:36:39 +00:00
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
2023-12-19 14:36:33 +00:00
|
|
|
.ui.ui.ui.calendar.popup > .ui.ui.grid > .column:not(:last-child) {
|
2022-06-08 10:36:39 +00:00
|
|
|
padding-right: 0;
|
|
|
|
}
|
2023-12-19 14:36:33 +00:00
|
|
|
.ui.ui.ui.calendar.popup > .ui.ui.grid > .column:not(:last-child) > .ui.table {
|
2022-06-08 10:36:39 +00:00
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
2022-01-13 13:00:31 +00:00
|
|
|
|
2023-12-19 14:36:33 +00:00
|
|
|
/* --------------------
|
|
|
|
Sizes
|
|
|
|
--------------------- */
|
|
|
|
.ui.mini.calendar,
|
|
|
|
.ui.mini.calendar .ui.table tr th,
|
|
|
|
.ui.mini.calendar .ui.table tr td {
|
|
|
|
font-size: 0.78571429rem;
|
|
|
|
}
|
|
|
|
.ui.mini.calendar .ui.table.year,
|
|
|
|
.ui.mini.calendar .ui.table.month,
|
|
|
|
.ui.mini.calendar .ui.table.minute {
|
|
|
|
min-width: 11.78571429em;
|
|
|
|
}
|
|
|
|
.ui.mini.calendar .ui.table.day {
|
|
|
|
min-width: 14.14285714em;
|
|
|
|
}
|
|
|
|
.ui.mini.calendar .ui.table.day.andweek {
|
|
|
|
min-width: 17.28571429em;
|
|
|
|
}
|
|
|
|
.ui.mini.calendar .ui.table.hour {
|
|
|
|
min-width: 15.71428571em;
|
|
|
|
}
|
|
|
|
.ui.tiny.calendar,
|
|
|
|
.ui.tiny.calendar .ui.table tr th,
|
|
|
|
.ui.tiny.calendar .ui.table tr td {
|
|
|
|
font-size: 0.85714286rem;
|
|
|
|
}
|
|
|
|
.ui.tiny.calendar .ui.table.year,
|
|
|
|
.ui.tiny.calendar .ui.table.month,
|
|
|
|
.ui.tiny.calendar .ui.table.minute {
|
|
|
|
min-width: 12.85714286em;
|
|
|
|
}
|
|
|
|
.ui.tiny.calendar .ui.table.day {
|
|
|
|
min-width: 15.42857143em;
|
|
|
|
}
|
|
|
|
.ui.tiny.calendar .ui.table.day.andweek {
|
|
|
|
min-width: 18.85714286em;
|
|
|
|
}
|
|
|
|
.ui.tiny.calendar .ui.table.hour {
|
|
|
|
min-width: 17.14285714em;
|
|
|
|
}
|
|
|
|
.ui.small.calendar,
|
|
|
|
.ui.small.calendar .ui.table tr th,
|
|
|
|
.ui.small.calendar .ui.table tr td {
|
|
|
|
font-size: 0.92857143rem;
|
|
|
|
}
|
|
|
|
.ui.small.calendar .ui.table.year,
|
|
|
|
.ui.small.calendar .ui.table.month,
|
|
|
|
.ui.small.calendar .ui.table.minute {
|
|
|
|
min-width: 13.92857143em;
|
|
|
|
}
|
|
|
|
.ui.small.calendar .ui.table.day {
|
|
|
|
min-width: 16.71428571em;
|
|
|
|
}
|
|
|
|
.ui.small.calendar .ui.table.day.andweek {
|
|
|
|
min-width: 20.42857143em;
|
|
|
|
}
|
|
|
|
.ui.small.calendar .ui.table.hour {
|
|
|
|
min-width: 18.57142857em;
|
|
|
|
}
|
|
|
|
.ui.large.calendar,
|
|
|
|
.ui.large.calendar .ui.table tr th,
|
|
|
|
.ui.large.calendar .ui.table tr td {
|
|
|
|
font-size: 1.14285714rem;
|
|
|
|
}
|
|
|
|
.ui.large.calendar .ui.table.year,
|
|
|
|
.ui.large.calendar .ui.table.month,
|
|
|
|
.ui.large.calendar .ui.table.minute {
|
|
|
|
min-width: 17.14285714em;
|
|
|
|
}
|
|
|
|
.ui.large.calendar .ui.table.day {
|
|
|
|
min-width: 20.57142857em;
|
|
|
|
}
|
|
|
|
.ui.large.calendar .ui.table.day.andweek {
|
|
|
|
min-width: 25.14285714em;
|
|
|
|
}
|
|
|
|
.ui.large.calendar .ui.table.hour {
|
|
|
|
min-width: 22.85714286em;
|
|
|
|
}
|
|
|
|
.ui.big.calendar,
|
|
|
|
.ui.big.calendar .ui.table tr th,
|
|
|
|
.ui.big.calendar .ui.table tr td {
|
|
|
|
font-size: 1.28571429rem;
|
|
|
|
}
|
|
|
|
.ui.big.calendar .ui.table.year,
|
|
|
|
.ui.big.calendar .ui.table.month,
|
|
|
|
.ui.big.calendar .ui.table.minute {
|
|
|
|
min-width: 19.28571429em;
|
|
|
|
}
|
|
|
|
.ui.big.calendar .ui.table.day {
|
|
|
|
min-width: 23.14285714em;
|
|
|
|
}
|
|
|
|
.ui.big.calendar .ui.table.day.andweek {
|
|
|
|
min-width: 28.28571429em;
|
|
|
|
}
|
|
|
|
.ui.big.calendar .ui.table.hour {
|
|
|
|
min-width: 25.71428571em;
|
|
|
|
}
|
|
|
|
.ui.huge.calendar,
|
|
|
|
.ui.huge.calendar .ui.table tr th,
|
|
|
|
.ui.huge.calendar .ui.table tr td {
|
|
|
|
font-size: 1.42857143rem;
|
|
|
|
}
|
|
|
|
.ui.huge.calendar .ui.table.year,
|
|
|
|
.ui.huge.calendar .ui.table.month,
|
|
|
|
.ui.huge.calendar .ui.table.minute {
|
|
|
|
min-width: 21.42857143em;
|
|
|
|
}
|
|
|
|
.ui.huge.calendar .ui.table.day {
|
|
|
|
min-width: 25.71428571em;
|
|
|
|
}
|
|
|
|
.ui.huge.calendar .ui.table.day.andweek {
|
|
|
|
min-width: 31.42857143em;
|
|
|
|
}
|
|
|
|
.ui.huge.calendar .ui.table.hour {
|
|
|
|
min-width: 28.57142857em;
|
|
|
|
}
|
|
|
|
.ui.massive.calendar,
|
|
|
|
.ui.massive.calendar .ui.table tr th,
|
|
|
|
.ui.massive.calendar .ui.table tr td {
|
|
|
|
font-size: 1.71428571rem;
|
|
|
|
}
|
|
|
|
.ui.massive.calendar .ui.table.year,
|
|
|
|
.ui.massive.calendar .ui.table.month,
|
|
|
|
.ui.massive.calendar .ui.table.minute {
|
|
|
|
min-width: 25.71428571em;
|
|
|
|
}
|
|
|
|
.ui.massive.calendar .ui.table.day {
|
|
|
|
min-width: 30.85714286em;
|
|
|
|
}
|
|
|
|
.ui.massive.calendar .ui.table.day.andweek {
|
|
|
|
min-width: 37.71428571em;
|
|
|
|
}
|
|
|
|
.ui.massive.calendar .ui.table.hour {
|
|
|
|
min-width: 34.28571429em;
|
|
|
|
}
|
|
|
|
|
2022-01-13 13:00:31 +00:00
|
|
|
|
|
|
|
/*******************************
|
|
|
|
States
|
|
|
|
*******************************/
|
|
|
|
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
/* --------------------
|
|
|
|
Disabled
|
|
|
|
--------------------- */
|
2022-01-13 13:00:31 +00:00
|
|
|
.ui.disabled.calendar {
|
|
|
|
opacity: 0.45;
|
|
|
|
}
|
|
|
|
.ui.disabled.calendar > .input,
|
|
|
|
.ui.disabled.calendar .ui.table tr .link {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
Theme Overrides
|
|
|
|
*******************************/
|
|
|
|
|
2023-08-17 09:47:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*******************************
|
|
|
|
User Overrides
|
|
|
|
*******************************/
|
|
|
|
|