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