SignaturePad.wxss
1.68 KB
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
.signature-container.data-v-1a71c3d4 {
background: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
border: 3rpx solid #c8e6c9;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.signature-header.data-v-1a71c3d4 {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
background: linear-gradient(135deg, #e8f5e9 0%, #b2dfdb 100%);
border-bottom: 1px solid #c8e6c9;
}
.signature-title.data-v-1a71c3d4 {
font-size: 16px;
font-weight: 500;
color: #2e7d32;
}
.signature-actions.data-v-1a71c3d4 {
display: flex;
gap: 8px;
}
.btn-clear.data-v-1a71c3d4, .btn-confirm.data-v-1a71c3d4 {
padding: 6px 12px;
border: none;
border-radius: 4px;
font-size: 14px;
cursor: pointer;
transition: all 0.2s;
}
.btn-clear.data-v-1a71c3d4 {
background: #f9fff9;
color: #6a9c6a;
border: 1px solid #c8e6c9;
}
.btn-clear.data-v-1a71c3d4:hover {
background: #e8f5e9;
}
.btn-confirm.data-v-1a71c3d4 {
background: linear-gradient(120deg, #43e97b 0%, #38f9d7 100%);
color: #fff;
}
.btn-confirm.data-v-1a71c3d4:hover {
background: linear-gradient(120deg, #38d96b 0%, #2ee5c7 100%);
}
.signature-pad.data-v-1a71c3d4 {
/* padding: 16px; */
display: flex;
justify-content: center;
flex: 1;
box-sizing: border-box;
width: 100%;
height: 100%;
}
.signature-canvas.data-v-1a71c3d4 {
/* border: 1px solid #c8e6c9; */
border-radius: 4px;
background: #fff;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
.signature-tips.data-v-1a71c3d4 {
padding: 8px 16px;
background: #f9fff9;
text-align: center;
border-top: 1px solid #c8e6c9;
}
.tips-text.data-v-1a71c3d4 {
font-size: 12px;
color: #6a9c6a;
}