2021-12-23 03:42:22 +01:00
|
|
|
@use 'sass:map';
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.xdsoft_datetimepicker {
|
2022-07-09 08:32:51 +02:00
|
|
|
box-shadow: 0 5px 10px -5px theme('colors.black-35');
|
2018-01-18 13:43:15 +01:00
|
|
|
background: $color-white;
|
2022-07-25 16:20:19 +02:00
|
|
|
border: 1px solid $color-input-border;
|
2015-09-25 18:14:46 +02:00
|
|
|
padding: 8px;
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 0;
|
2015-09-25 18:14:46 +02:00
|
|
|
padding-top: 2px;
|
|
|
|
position: absolute;
|
2015-11-03 15:36:58 +01:00
|
|
|
z-index: 5;
|
2015-09-25 18:14:46 +02:00
|
|
|
display: none;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2022-07-25 17:32:10 +02:00
|
|
|
.w-dialog & {
|
|
|
|
z-index: calc(theme('zIndex.dialog') + 5);
|
|
|
|
}
|
|
|
|
|
2022-02-04 12:57:55 +01:00
|
|
|
* {
|
2015-09-25 18:14:46 +02:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-09-25 18:14:46 +02:00
|
|
|
|
|
|
|
iframe {
|
|
|
|
position: absolute;
|
2022-03-15 14:21:06 +01:00
|
|
|
inset-inline-start: 0;
|
2022-02-04 12:57:55 +01:00
|
|
|
top: 0;
|
2015-09-25 18:14:46 +02:00
|
|
|
width: 75px;
|
|
|
|
height: 210px;
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2017-08-11 01:13:57 +02:00
|
|
|
.xdsoft_datepicker,
|
2015-11-02 15:39:36 +01:00
|
|
|
.xdsoft_timepicker {
|
2015-09-25 18:14:46 +02:00
|
|
|
display: none;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
display: block;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-09-25 18:14:46 +02:00
|
|
|
|
2017-08-11 01:13:57 +02:00
|
|
|
.xdsoft_datepicker {
|
2015-09-25 18:14:46 +02:00
|
|
|
float: left;
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-start: 8px;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-09-25 18:14:46 +02:00
|
|
|
|
|
|
|
.xdsoft_datepicker.active + .xdsoft_timepicker {
|
|
|
|
margin-top: 8px;
|
2015-11-03 13:15:33 +01:00
|
|
|
margin-bottom: 3px;
|
2015-09-25 18:14:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.xdsoft_mounthpicker {
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.xdsoft_next,
|
2017-08-11 01:13:57 +02:00
|
|
|
.xdsoft_prev,
|
2015-09-25 18:14:46 +02:00
|
|
|
.xdsoft_today_button {
|
|
|
|
background-color: transparent;
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
border: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 5px 0;
|
|
|
|
position: relative;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 2em;
|
|
|
|
color: $color-teal;
|
|
|
|
text-align: center;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
&:before {
|
|
|
|
font-size: 1.5em;
|
2021-12-23 03:42:22 +01:00
|
|
|
font-family: $font-wagtail-icons;
|
2015-09-25 18:14:46 +02:00
|
|
|
width: 1em;
|
|
|
|
line-height: 1.3em;
|
|
|
|
text-align: center;
|
2015-11-03 13:15:33 +01:00
|
|
|
margin: 0;
|
2015-09-25 18:14:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $color-teal-darker;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-09-25 18:14:46 +02:00
|
|
|
|
2017-08-11 01:13:57 +02:00
|
|
|
.xdsoft_prev {
|
2015-09-25 18:14:46 +02:00
|
|
|
float: left;
|
|
|
|
|
|
|
|
&:before {
|
2022-03-07 18:06:19 +01:00
|
|
|
content: map.get($icons, 'arrow-left'); // UI-Redesign: to be removed
|
2015-09-25 18:14:46 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
.xdsoft_today_button {
|
|
|
|
float: left;
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-start: 5px;
|
2015-09-25 18:14:46 +02:00
|
|
|
|
|
|
|
&:before {
|
2022-03-07 18:06:19 +01:00
|
|
|
content: map.get($icons, 'home'); // UI-Redesign: to be removed
|
2015-09-25 18:14:46 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
.xdsoft_next {
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
&:before {
|
2022-03-07 18:06:19 +01:00
|
|
|
content: map.get($icons, 'arrow-right'); // UI-Redesign: to be removed
|
2015-09-25 18:14:46 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-09-25 18:14:46 +02:00
|
|
|
|
|
|
|
.xdsoft_timepicker {
|
2020-05-22 12:18:33 +02:00
|
|
|
min-width: 70px;
|
2015-09-25 18:14:46 +02:00
|
|
|
float: left;
|
|
|
|
text-align: center;
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-start: 8px;
|
2015-09-25 18:14:46 +02:00
|
|
|
margin-top: 0;
|
|
|
|
|
|
|
|
.xdsoft_prev,
|
|
|
|
.xdsoft_next {
|
|
|
|
float: none;
|
|
|
|
height: 1.5em;
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
&:before {
|
2021-12-23 03:42:22 +01:00
|
|
|
width: 100%;
|
2015-09-25 18:14:46 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.xdsoft_prev:before {
|
2022-03-07 18:06:19 +01:00
|
|
|
content: map.get($icons, 'arrow-up'); // UI-Redesign: to be removed
|
2015-09-25 18:14:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.xdsoft_next:before {
|
2022-03-07 18:06:19 +01:00
|
|
|
content: map.get($icons, 'arrow-down'); // UI-Redesign: to be removed
|
2015-09-25 18:14:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.xdsoft_time_box {
|
|
|
|
position: relative;
|
2022-07-09 08:32:51 +02:00
|
|
|
border: 1px solid $color-grey-4;
|
2015-09-25 18:14:46 +02:00
|
|
|
height: 170px;
|
|
|
|
overflow: hidden;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
> div > div {
|
2022-07-09 08:32:51 +02:00
|
|
|
background: $color-grey-5;
|
|
|
|
border-top: 1px solid $color-grey-4;
|
|
|
|
color: $color-grey-1;
|
2015-09-25 18:14:46 +02:00
|
|
|
font-size: 1em;
|
|
|
|
text-align: center;
|
|
|
|
border-collapse: collapse;
|
|
|
|
cursor: pointer;
|
|
|
|
border-bottom-width: 0;
|
|
|
|
height: 2.3em;
|
|
|
|
line-height: 2.3em;
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 0.6em;
|
|
|
|
padding-inline-end: 0.6em;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
// stylelint-disable-next-line max-nesting-depth
|
|
|
|
&:first-child {
|
2015-11-03 13:15:33 +01:00
|
|
|
border-top-width: 0;
|
2015-09-25 18:14:46 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-09-25 18:14:46 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-09-25 18:14:46 +02:00
|
|
|
|
|
|
|
.xdsoft_label {
|
|
|
|
display: inline;
|
|
|
|
position: relative;
|
|
|
|
z-index: 9999;
|
|
|
|
margin: 0;
|
|
|
|
padding: 5px 3px;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 20px;
|
|
|
|
font-weight: bold;
|
2015-11-03 13:15:33 +01:00
|
|
|
background-color: $color-white;
|
2015-09-25 18:14:46 +02:00
|
|
|
float: left;
|
|
|
|
width: 182px;
|
|
|
|
text-align: center;
|
|
|
|
cursor: pointer;
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
> .xdsoft_select {
|
2022-07-09 08:32:51 +02:00
|
|
|
border: 1px solid $color-grey-4;
|
2015-09-25 18:14:46 +02:00
|
|
|
position: absolute;
|
2022-03-15 14:21:06 +01:00
|
|
|
inset-inline-end: 0;
|
2015-09-25 18:14:46 +02:00
|
|
|
top: 30px;
|
|
|
|
z-index: 101;
|
|
|
|
display: none;
|
2015-11-03 13:15:33 +01:00
|
|
|
background: $color-white;
|
2015-09-25 18:14:46 +02:00
|
|
|
max-height: 160px;
|
|
|
|
overflow-y: hidden;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
&.xdsoft_monthselect {
|
2022-03-15 14:21:06 +01:00
|
|
|
inset-inline-end: -7px;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
&.xdsoft_yearselect {
|
2022-03-15 14:21:06 +01:00
|
|
|
inset-inline-end: 2px;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
> div > .xdsoft_option:hover {
|
2022-07-25 16:20:19 +02:00
|
|
|
background: theme('colors.secondary.75');
|
|
|
|
|
|
|
|
// stylelint-disable-next-line max-nesting-depth
|
|
|
|
@media (forced-colors: active) {
|
|
|
|
background: SelectedItem;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-09-25 18:14:46 +02:00
|
|
|
|
|
|
|
> div > .xdsoft_option {
|
|
|
|
padding: 2px 15px 2px 5px;
|
|
|
|
}
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-11-02 15:39:36 +01:00
|
|
|
.xdsoft_month {
|
2015-09-25 18:14:46 +02:00
|
|
|
width: 90px;
|
2022-03-15 14:21:06 +01:00
|
|
|
text-align: end;
|
2015-09-25 18:14:46 +02:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
.xdsoft_year {
|
2015-11-03 13:15:33 +01:00
|
|
|
width: 56px;
|
2015-09-25 18:14:46 +02:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
.xdsoft_calendar {
|
|
|
|
clear: both;
|
|
|
|
|
|
|
|
table {
|
2015-11-03 13:15:33 +01:00
|
|
|
border-collapse: collapse;
|
2015-09-25 18:14:46 +02:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
td > div {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-end: 5px;
|
2015-09-25 18:14:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
width: 14.285%;
|
2022-07-09 08:32:51 +02:00
|
|
|
border: 1px solid $color-grey-4;
|
|
|
|
color: $color-grey-1;
|
2015-09-25 18:14:46 +02:00
|
|
|
font-size: 12px;
|
2022-03-15 14:21:06 +01:00
|
|
|
text-align: end;
|
2015-09-25 18:14:46 +02:00
|
|
|
padding: 5px 7px;
|
|
|
|
border-collapse: collapse;
|
|
|
|
cursor: pointer;
|
|
|
|
height: 25px;
|
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
td {
|
|
|
|
background-color: $color-white;
|
|
|
|
}
|
2016-02-20 15:08:18 +01:00
|
|
|
|
|
|
|
th {
|
2022-07-09 08:32:51 +02:00
|
|
|
background: $color-grey-5;
|
2016-02-20 15:08:18 +01:00
|
|
|
font-weight: 700;
|
2015-09-25 18:14:46 +02:00
|
|
|
font-size: 0.85em;
|
|
|
|
text-align: center;
|
|
|
|
cursor: default;
|
2016-02-20 15:08:18 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
.xdsoft_calendar td.xdsoft_default,
|
|
|
|
.xdsoft_calendar td.xdsoft_current,
|
|
|
|
.xdsoft_timepicker .xdsoft_time_box > div > div.xdsoft_current {
|
2022-07-25 16:20:19 +02:00
|
|
|
background: theme('colors.secondary.75');
|
2015-09-25 18:14:46 +02:00
|
|
|
font-weight: 700;
|
2022-07-25 16:20:19 +02:00
|
|
|
|
|
|
|
@media (forced-colors: active) {
|
|
|
|
background: SelectedItem;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
.xdsoft_calendar td.xdsoft_other_month,
|
|
|
|
.xdsoft_calendar td.xdsoft_disabled,
|
|
|
|
.xdsoft_time_box > div > div.xdsoft_disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
background: $color-grey-3;
|
2022-07-25 16:20:19 +02:00
|
|
|
|
|
|
|
@media (forced-colors: active) {
|
|
|
|
opacity: 1;
|
|
|
|
color: GrayText;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
.xdsoft_calendar td.xdsoft_other_month.xdsoft_disabled {
|
|
|
|
opacity: 0.2;
|
2022-07-25 16:20:19 +02:00
|
|
|
|
|
|
|
@media (forced-colors: active) {
|
|
|
|
opacity: 1;
|
|
|
|
color: GrayText;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
.xdsoft_calendar td:hover,
|
|
|
|
.xdsoft_timepicker .xdsoft_time_box > div > div:hover {
|
2015-11-03 13:15:33 +01:00
|
|
|
color: $color-white;
|
2015-09-25 18:14:46 +02:00
|
|
|
background: $color-teal;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
2016-02-20 15:08:18 +01:00
|
|
|
.xdsoft_calendar td.xdsoft_today {
|
2015-09-25 18:14:46 +02:00
|
|
|
font-weight: 700;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-06-05 18:05:21 +02:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.xdsoft_noselect {
|
2015-09-25 18:14:46 +02:00
|
|
|
user-select: none;
|
2014-06-05 18:05:21 +02:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
.xdsoft_noselect::selection {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2017-08-18 02:28:38 +02:00
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
.xdsoft_noselect::-moz-selection {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2017-08-18 02:28:38 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.xdsoft_datetimepicker.xdsoft_inline {
|
2015-09-25 18:14:46 +02:00
|
|
|
display: inline-block;
|
|
|
|
position: static;
|
|
|
|
box-shadow: none;
|
2014-06-05 18:05:21 +02:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.xdsoft_scroller_box {
|
2015-09-25 18:14:46 +02:00
|
|
|
position: relative;
|
2014-06-05 18:05:21 +02:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.xdsoft_scrollbar {
|
2015-09-25 18:14:46 +02:00
|
|
|
position: absolute;
|
|
|
|
width: 7px;
|
2022-03-15 14:21:06 +01:00
|
|
|
inset-inline-end: 0;
|
2015-09-25 18:14:46 +02:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
cursor: pointer;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2015-09-25 18:14:46 +02:00
|
|
|
> .xdsoft_scroller {
|
2017-08-26 00:04:10 +02:00
|
|
|
// stylelint-disable-next-line declaration-no-important
|
2022-07-09 08:32:51 +02:00
|
|
|
background: $color-grey-3 !important;
|
2015-09-25 18:14:46 +02:00
|
|
|
height: 20px;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
2014-06-05 18:05:21 +02:00
|
|
|
}
|