2017-11-03 19:22:40 +00:00
|
|
|
.wrapper {
|
|
|
|
position: relative;
|
|
|
|
width: 400px;
|
|
|
|
height: 200px;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.signature-pad {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 400px;
|
|
|
|
height: 200px;
|
|
|
|
background-color: white;
|
|
|
|
}
|
2017-02-12 01:39:49 +00:00
|
|
|
.m-signature-pad {
|
2017-02-13 14:37:28 +00:00
|
|
|
position: inherit;
|
|
|
|
right: 0;
|
2017-02-12 01:39:49 +00:00
|
|
|
font-size: 10px;
|
2017-02-13 14:37:28 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 300px;
|
2017-02-12 01:39:49 +00:00
|
|
|
top: 50%;
|
2017-02-13 14:37:28 +00:00
|
|
|
/*margin-left: -500px;*/
|
|
|
|
/*margin-top: -200px;*/
|
2017-02-12 01:39:49 +00:00
|
|
|
border: 1px solid #e8e8e8;
|
|
|
|
background-color: #fff;
|
|
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.m-signature-pad--body {
|
|
|
|
position: absolute;
|
|
|
|
left: 20px;
|
|
|
|
right: 20px;
|
|
|
|
top: 20px;
|
|
|
|
bottom: 80px;
|
|
|
|
border: 1px solid #f4f4f4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.m-signature-pad--body
|
|
|
|
canvas {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.m-signature-pad--footer {
|
|
|
|
position: absolute;
|
|
|
|
left: 20px;
|
|
|
|
right: 20px;
|
|
|
|
bottom: 20px;
|
|
|
|
height: 60px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.m-signature-pad--footer
|
|
|
|
.description {
|
|
|
|
color: #C3C3C3;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 1.2em;
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.m-signature-pad--footer
|
|
|
|
.left, .right {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.m-signature-pad--footer
|
|
|
|
.left {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.m-signature-pad--footer
|
|
|
|
.right {
|
|
|
|
right: 0;
|
|
|
|
}
|