Blame view

node_modules/element-ui/packages/theme-chalk/src/option.scss 780 Bytes
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
  @import "mixins/mixins";
  @import "common/var";
  
  @include b(select-dropdown) {
    @include e(item) {
      font-size: $--select-font-size;
      padding: 0 20px;
      position: relative;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: $--select-option-color;
      height: $--select-option-height;
      line-height: $--select-option-height;
      box-sizing: border-box;
      cursor: pointer;
  
      @include when(disabled) {
        color: $--select-option-disabled-color;
        cursor: not-allowed;
  
        &:hover {
          background-color: $--color-white;
        }
      }
  
      &.hover, &:hover {
        background-color: $--select-option-hover-background;
      }
  
      &.selected {
        color: $--select-option-selected;
        font-weight: bold;
      }
    }
  }