liuxiaolong
2019-05-06 acc45d2ece02563964d7b8a22ff0c40bd8358889
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;
  }
}