fancy theme

--flatpickr now has rounded corners
This commit is contained in:
milan 2024-09-19 19:27:56 +02:00
parent 1717d6d55b
commit 7526e281ce
2 changed files with 49 additions and 0 deletions

View File

@ -7221,6 +7221,26 @@ img.et2_button_icon[src*="svg"]:hover {
.et2_required:not(.hasValue) {
background-color: initial;
}
div.flatpickr-calendar {
border-radius: var(--sl-border-radius-medium);
}
div.flatpickr-calendar .flatpickr-months {
border-top-left-radius: var(--sl-border-radius-medium);
border-top-right-radius: var(--sl-border-radius-medium);
}
div.flatpickr-calendar .shortcut-buttons-flatpickr-buttons button:first-child {
border-bottom-left-radius: var(--sl-border-radius-medium);
}
div.flatpickr-calendar .shortcut-buttons-flatpickr-buttons button:last-child {
border-bottom-right-radius: var(--sl-border-radius-medium);
}
.flatpickr-calendar > .flatpickr-time:first-child {
border-top-left-radius: var(--sl-border-radius-medium);
border-top-right-radius: var(--sl-border-radius-medium);
}
.flatpickr-calendar > .flatpickr-time:first-child .flatpickr-minute ~ span {
margin-right: 1em;
}
.nextmatch_header .header_count {
border-radius: var(--sl-border-radius-medium);
}

View File

@ -61,6 +61,35 @@
background-color: initial;
}
//rounded flatpickr
div.flatpickr-calendar {
border-radius: var(--sl-border-radius-medium);
}
div.flatpickr-calendar .flatpickr-months {
border-top-left-radius: var(--sl-border-radius-medium);
border-top-right-radius: var(--sl-border-radius-medium);
}
div.flatpickr-calendar .shortcut-buttons-flatpickr-buttons button:first-child {
border-bottom-left-radius: var(--sl-border-radius-medium);
}
div.flatpickr-calendar .shortcut-buttons-flatpickr-buttons button:last-child {
border-bottom-right-radius: var(--sl-border-radius-medium);
}
.flatpickr-calendar > .flatpickr-time:first-child{
border-top-left-radius: var(--sl-border-radius-medium);
border-top-right-radius: var(--sl-border-radius-medium);
}
.flatpickr-calendar > .flatpickr-time:first-child .flatpickr-minute ~ span{
margin-right: 1em;
}
//end rounded flatpickr
// styling of legacy NM parts
.nextmatch_header .header_count {
border-radius: var(--sl-border-radius-medium);