Blame view

node_modules/element-ui/packages/theme-chalk/src/date-picker/picker-panel.scss 2.25 KB
2a09d1a4   liuqimichale   添加宜春 天水 宣化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
  @import "../common/var";
  
  @include b(picker-panel) {
    color: $--color-text-regular;
    border: 1px solid $--datepicker-border-color;
    box-shadow: $--box-shadow-light;
    background: $--color-white;
    border-radius: $--border-radius-base;
    line-height: 30px;
    margin: 5px 0;
  
    @include e((body, body-wrapper)) {
      &::after {
        content: "";
        display: table;
        clear: both;
      }
    }
  
    @include e(content) {
      position: relative;
      margin: 15px;
    }
  
    @include e(footer) {
      border-top: 1px solid $--datepicker-inner-border-color;
      padding: 4px;
      text-align: right;
      background-color: $--color-white;
      position: relative;
      font-size: 0;
    }
  
    @include e(shortcut) {
      display: block;
      width: 100%;
      border: 0;
      background-color: transparent;
      line-height: 28px;
      font-size: 14px;
      color: $--datepicker-color;
      padding-left: 12px;
      text-align: left;
      outline: none;
      cursor: pointer;
  
      &:hover {
        color: $--datepicker-text-hover-color;
      }
  
      &.active {
        background-color: #e6f1fe;
        color: $--datepicker-active-color;
      }
    }
  
    @include e(btn) {
      border: 1px solid #dcdcdc;
      color: #333;
      line-height: 24px;
      border-radius: 2px;
      padding: 0 20px;
      cursor: pointer;
      background-color: transparent;
      outline: none;
      font-size: 12px;
  
      &[disabled] {
        color: #cccccc;
        cursor: not-allowed;
      }
    }
  
    @include e(icon-btn) {
      font-size: 12px;
      color: $--datepicker-icon-color;
      border: 0;
      background: transparent;
      cursor: pointer;
      outline: none;
      margin-top: 8px;
  
      &:hover {
        color: $--datepicker-text-hover-color;
      }
  
      @include when(disabled) {
        color: $--font-color-disabled-base;
  
        &:hover {
          cursor: not-allowed;
        }
      }
    }
  
    @include e(link-btn) {
      vertical-align: middle;
    }
  }
  
  .el-picker-panel *[slot=sidebar],
  .el-picker-panel__sidebar {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 110px;
    border-right: 1px solid $--datepicker-inner-border-color;
    box-sizing: border-box;
    padding-top: 6px;
    background-color: $--color-white;
    overflow: auto;
  }
  
  .el-picker-panel *[slot=sidebar] + .el-picker-panel__body,
  .el-picker-panel__sidebar + .el-picker-panel__body {
    margin-left: 110px;
  }