prvi
This commit is contained in:
36
EveryThing/wwwroot/vendor/libs/bootstrap-datepicker/_mixins.scss
vendored
Normal file
36
EveryThing/wwwroot/vendor/libs/bootstrap-datepicker/_mixins.scss
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
@import "../../css/_appwork/functions";
|
||||
|
||||
@mixin bs-datepicker-theme($background, $color: null) {
|
||||
$color: if($color, $color, yiq($background));
|
||||
$range-bg: rgba-to-hex(rgba($background, .15), #fff);
|
||||
$range-color: yiq($range-bg);
|
||||
|
||||
.datepicker table tr td {
|
||||
&.active,
|
||||
&.active.highlighted,
|
||||
&.active.today,
|
||||
span.active,
|
||||
span.active.disabled,
|
||||
&.range-start,
|
||||
&.range-end {
|
||||
background: $background !important;
|
||||
color: $color !important;
|
||||
}
|
||||
|
||||
&.range,
|
||||
&.range.highlighted,
|
||||
&.range.today {
|
||||
background: $range-bg !important;
|
||||
color: $range-color !important;
|
||||
|
||||
&.focused {
|
||||
background: darken($range-bg, 6%) !important;
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
background: transparentize($range-bg, .5) !important;
|
||||
color: transparentize($range-color, .5) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user