liuxiaolong
2019-05-06 8700cf1dc46c350371d865532c2914595187788e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@import "~@/vendor/styles/_appwork/functions";
 
@mixin vuejs-datepicker-theme($background, $color) {
  $color: if($color, $color, yiq($background));
  $higlighted-bg: rgba-to-hex(rgba($background, .15), #fff);
  $higlighted-color: yiq($higlighted-bg);
 
  .vdp-datepicker__calendar .selected {
    background: $background !important;
    color: $color !important;
  }
 
  .vdp-datepicker__calendar .cell.day.highlighted {
    background: $higlighted-bg;
    color: $higlighted-color;
  }
}