king
2021-06-18 bb47f06e3c5eaf568aaecf870736787373ce73aa
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
.check-card-form-box {
  margin-top: 10px;
  margin-bottom: -10px;
  .card-cell {
    position: relative;
    border: 1px solid #bcbcbc;
    border-radius: 4px;
    padding: 6px;
    margin-bottom: 12px;
    line-height: 1.5;
    cursor: pointer;
    span {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    transition: all 0.3s;
  }
  .card-cell.active {
    border-color: #1890ff;
    background: #1890ff;
    span {
      color: #ffffff!important;
    }
  }
  .card-pic-cell {
    position: relative;
    border: 1px solid #bcbcbc;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    margin-bottom: 12px;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.3s;
  }
  .card-pic-cell.active {
    border-color: #1890ff;
    box-shadow: 0px 0px 4px #1890ff;
  }
 
  .card-cell.active::after {
    content: ' ';
    position: absolute;
    display: table;
    border: 2px solid #ffffff;
    border-top: 0;
    border-left: 0;
    bottom: 0;
    right: 12px;
    width: 6px;
    height: 12px;
    transform: rotate(45deg) scale(1) translate(-50%, -50%);
  }
}
.check-card-form-box:not(.readonly) {
  .card-cell:hover {
    border-color: #1890ff;
    background: #1890ff;
    span {
      color: #ffffff!important;
    }
  }
  .card-pic-cell:hover {
    border-color: #1890ff;
    box-shadow: 0px 0px 4px #1890ff;
  }
}
.check-card-form-box.readonly {
  .card-cell, .card-pic-cell {
    cursor: not-allowed;
  }
}