forked from BrianGilbert/signaturefield
-
Notifications
You must be signed in to change notification settings - Fork 0
/
signaturefield.css
83 lines (70 loc) · 1.17 KB
/
signaturefield.css
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
/**
* @file
* Signaturefield element template file
*/
@media screen {
.sigPad {
margin: 0;
padding: 0;
}
.sigPad input {
margin: 0;
padding: 0.2em 0;
width: 198px;
border: 1px solid #b0879f;
font-size: 1em;
}
.sigPad input.error {
border-color: #f33;
}
.sig {
display: none;
}
.sigNav {
display: none;
height: 2.25em;
margin: 0;
padding: 0;
position: relative;
list-style-type: none;
list-style: none;
}
.sigNav a,
.sigNav a:link,
.sigNav a:visited {
display: block;
margin: 0;
padding: 0 0.6em;
font-weight: bold;
line-height: 2.25em;
}
.sigNav a.current,
.sigNav a.current:link,
.sigNav a.current:visited {
background-color: #b0879f;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
-moz-border-radius-topleft: 8px;
-moz-border-radius-topright: 8px;
-webkit-border-top-left-radius: 8px;
-webkit-border-top-right-radius: 8px;
color: #fff;
text-decoration: none;
}
.sigNav .clearButton {
bottom: 0.2em;
display: none;
position: absolute;
font-size: 0.75em;
line-height: 1.375;
}
.sigWrapper canvas{
border: 1px solid #737373;
}
.pad {
position: relative;
}
.current .pad {
cursor: url("pen.png") 8 8, crosshair;
}
}