Commit f012f4b2c6e5c8595a64bb4e7eb5f14f64a187ba
1 parent
2cf2e197
perf: upate data board component detail modal style
Showing
2 changed files
with
8 additions
and
3 deletions
... | ... | @@ -20,10 +20,10 @@ |
20 | 20 | |
21 | 21 | <template> |
22 | 22 | <Card |
23 | - :style="{ borderColor: props.controlId === props.checkedId ? '#1a74e8' : '#dcdfe6' }" | |
23 | + :style="{ borderColor: props.controlId === props.checkedId ? '#3079FF' : '#fff' }" | |
24 | 24 | hoverable |
25 | 25 | bordered |
26 | - class="w-60 h-60 widget-select !bg-light-50 cursor-pointer" | |
26 | + class="w-60 h-60 border-2 widget-select !bg-light-50 cursor-pointer" | |
27 | 27 | @click="handleClick" |
28 | 28 | > |
29 | 29 | <div class="widget-container"> |
... | ... | @@ -36,6 +36,10 @@ |
36 | 36 | </template> |
37 | 37 | |
38 | 38 | <style scoped> |
39 | + .widget-select { | |
40 | + box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.1); | |
41 | + border-width: 2px; | |
42 | + } | |
39 | 43 | .widget-select:deep(.ant-card-body) { |
40 | 44 | /* height: 240px; */ |
41 | 45 | width: 240px; |
... | ... | @@ -48,7 +52,7 @@ |
48 | 52 | } |
49 | 53 | |
50 | 54 | .widget-select:deep(.ant-card-meta) { |
51 | - border-top: 1px solid #dcdfe6; | |
55 | + border-top: 1px solid #f0f0f0; | |
52 | 56 | width: 100%; |
53 | 57 | height: 40px; |
54 | 58 | text-align: center; | ... | ... |