king
2022-10-17 e8edfdadb561cd83bf6e1c3e00d55b8cc2aee6d5
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
.check-card-form-box {
  margin-top: 5px;
  .card-cell {
    position: relative;
    border: 1px solid #bcbcbc;
    background: #ffffff;
    border-radius: 4px;
    padding: 6px;
    margin-bottom: 2px;
    line-height: 1.5;
    transition: all 0.3s;
    cursor: pointer;
    
    .bg-mask {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      opacity: 0.6;
      border-radius: 4px;
      background-color: transparent;
      transition: opacity 0.3s;
    }
  }
 
  .content-line {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    line-height: 1.5;
  }
  .card-cell.mk-background.active {
    border-color: var(--mk-sys-color);
    background: var(--mk-sys-color);
    span {
      color: #ffffff!important;
    }
  }
  .card-cell.mk-background.active::after {
    content: ' ';
    position: absolute;
    display: table;
    border: 2px solid #ffffff;
    border-top: 0;
    border-left: 0;
    bottom: 0;
    right: 10px;
    width: 6px;
    height: 12px;
    transform: rotate(45deg) scale(1) translate(-50%, -50%);
  }
  .card-cell.mk-font.active {
    border-color: var(--mk-sys-color);
    span {
      color: var(--mk-sys-color)!important;
    }
  }
  .card-cell.mk-custom {
    border-color: transparent;
  }
  .card-cell.mk-custom.active {
    .bg-mask {
      opacity: 1;
    }
  }
  .card-pic-cell {
    position: relative;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    margin-bottom: 2px;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.3s;
 
    .content-wrap {
      position: absolute;
      top: 6px;
      left: 6px;
      right: 6px;
      bottom: 6px;
      .content-center {
        position: relative;
        top: 50%;
        transform: translate(0px, -50%);
      }
    }
    .anticon-check {
      display: none;
      position: absolute;
      color: #ffffff;
      border-radius: 20px;
      padding: 3px;
      width: 18px;
      height: 18px;
      font-size: 12px;
      right: -2px;
      bottom: -2px;
      background: var(--mk-sys-color);
    }
  }
 
  .card-color-cell {
    position: relative;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 6px;
    margin-bottom: 2px;
    min-height: 35px;
    cursor: pointer;
 
    .anticon-check {
      display: none;
      position: absolute;
      color: #ffffff;
      border-radius: 20px;
      padding: 3px;
      width: 18px;
      height: 18px;
      font-size: 12px;
      right: 0px;
      bottom: 0px;
      background: var(--mk-sys-color);
    }
  }
 
  .card-pic-cell.active, .card-color-cell.active {
    .anticon-check {
      display: inline-block;
    }
  }
 
  .card-cell.disabled {
    cursor: not-allowed;
  }
  .card-color-cell.disabled {
    cursor: not-allowed;
  }
  .card-pic-cell.disabled {
    cursor: not-allowed;
  }
}
 
.check-card-form-box.mutile-line {
  .card-cell {
    margin-bottom: 12px;
  }
  .card-pic-cell {
    margin-bottom: 12px;
  }
  .card-color-cell {
    margin-bottom: 12px;
  }
}
 
.check-card-form-box:not(.readonly) {
  .card-cell.mk-background:not(.disabled):hover {
    border-color: var(--mk-sys-color);
    background: var(--mk-sys-color);
    span {
      color: #ffffff!important;
    }
  }
  .card-cell.mk-font:not(.disabled):hover {
    border-color: var(--mk-sys-color);
    span {
      color: var(--mk-sys-color)!important;
    }
  }
 
  .card-cell.mk-custom:not(.active):not(.disabled):hover {
    .bg-mask {
      opacity: 0.8;
    }
  }
  .card-pic-cell:not(.disabled):hover {
    border-color: var(--mk-sys-color);
    box-shadow: 0px 0px 4px var(--mk-sys-color);
  }
}
.check-card-form-box.readonly {
  .card-cell, .card-pic-cell {
    cursor: not-allowed;
  }
}