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