diff --git a/build/scss/parts/_plugins.scss b/build/scss/parts/_plugins.scss index 2cf8fd609..a5f6fe406 100644 --- a/build/scss/parts/_plugins.scss +++ b/build/scss/parts/_plugins.scss @@ -13,4 +13,5 @@ @import "../plugins/toastr"; @import "../plugins/pace"; @import "../plugins/bootstrap-switch"; +@import "../plugins/daterangepicker"; @import "../plugins/miscellaneous"; diff --git a/build/scss/plugins/_daterangepicker.scss b/build/scss/plugins/_daterangepicker.scss new file mode 100644 index 000000000..59b8e4e50 --- /dev/null +++ b/build/scss/plugins/_daterangepicker.scss @@ -0,0 +1,69 @@ +@include dark-mode() { + .daterangepicker { + background-color: lighten($dark, 5%); + border: inherit; + + &::before, + &::after { + border-bottom-color: lighten($dark, 5%); + } + + td.available:hover, + th.available:hover { + background-color: lighten($dark, 5%); + } + td.in-range { + background-color: lighten($dark, 10%); + color: $white; + } + + td.off, + td.off.in-range, + td.off.start-date, + td.off.end-date { + background-color: darken($dark, 5%); + color: $white; + } + + .ranges li:hover { + background-color: $dark; + } + + &.show-ranges.ltr .drp-calendar { + border-color: lighten($dark, 10%); + + &.left, + &.right { + border-color: lighten($dark, 10%); + padding-top: 0; + } + } + + .drp-buttons { + border-color: lighten($dark, 10%); + } + + .calendar-table { + background-color: $dark; + border-color: lighten($dark, 10%); + + th, + td { + color: $white; + } + + .next span, + .prev span { + border-color: $white; + } + } + + select.hourselect, + select.minuteselect, + select.secondselect, + select.ampmselect { + background-color: $dark; + border-color: lighten($dark, 10%); + } + } +}