Webform module and config export

This commit is contained in:
Rob Davies 2017-03-16 15:29:07 +00:00
parent 3e6a5cbed2
commit 0e15467384
1040 changed files with 117682 additions and 0 deletions

View file

@ -0,0 +1,45 @@
/**
* @file
* Signature element styles.
*
* @see /webform/example_elements
* @see https://css-tricks.com/snippets/sass/maintain-aspect-ratio-mixin/
*/
.webform-signature-pad {
position: relative;
background-color: #f0f0f0;
}
.webform-signature-pad:before {
display: block;
content: "";
width: 100%;
padding-top: 33%;
}
.webform-signature-pad canvas {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: block;
cursor: crosshair;
}
/* Position 'Reset' button in right hand corner of the canvas */
.webform-signature-pad .button {
z-index: 100;
position: absolute;
top: 2px;
right: 2px;
}
/* Add border around signature image */
.webform-signature-pad-image {
display: block;
width: 100%;
max-width: 600px; /* Max width is used to prevent signature pad from getting too wide and tall */
border: 1px solid #ccc;
}