Blame view

node_modules/element-ui/packages/theme-chalk/src/card.scss 659 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
  @import "mixins/mixins";
  @import "common/var";
  
  @include b(card) {
    border-radius: $--card-border-radius;
    border: 1px solid $--card-border-color;
    background-color: $--color-white;
    overflow: hidden;
    color: $--color-text-primary;
    transition: 0.3s;
  
    @include when(always-shadow) {
      box-shadow: $--box-shadow-light;
    }
  
    @include when(hover-shadow) {
      &:hover,
      &:focus {
        box-shadow: $--box-shadow-light;
      }
    }
  
    @include e(header) {
      padding: #{$--card-padding - 2 $--card-padding};
      border-bottom: 1px solid $--card-border-color;
      box-sizing: border-box;
    }
  
    @include e(body) {
      padding: $--card-padding;
    }
  }