UNPKG

react-signature

Version:
122 lines (107 loc) 1.97 kB
/* // Examples Stylesheet // ------------------- */ body { font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 14px; color: #333; margin: 0; padding: 0; } a { color: #08c; text-decoration: none; } a:hover { text-decoration: underline; } .container { margin-left: auto; margin-right: auto; max-width: 720px; padding: 1em; } .footer { margin-top: 30px; border-top: 1px solid #eee; padding: 20px 0; font-size: 12px; color: #999; } h1, h2, h3, h4, h5, h6 { color: #222; font-weight: 100; margin: 0.5em 0; } label { color: #999; display: inline-block; font-size: 0.85em; font-weight: bold; margin: 1em 0; text-transform: uppercase; } .hint { margin: 15px 0; font-style: italic; color: #999; } .signature-pad{ margin-top: 1px; background-color: #fff; border: 1px solid #e8e8e8; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,0.27),0 0 40px rgba(0,0,0,0.08) inset; font-size: 10px; height: 250px; position: relative; width: 500px; } .signature-pad-body{ border: 1px solid #dfdfdf; bottom: 60px; left: 20px; position: absolute; right: 20px; top: 20px; } .grey-button{ background-image: none; border: 1px solid transparent; background-color: #ccc; cursor: pointer; margin: 10px; border-radius: 4px; cursor: pointer; display: inline-block; font-size: 14px; font-weight: 400; line-height: 1.42857; margin-bottom: 0; padding: 6px 12px; text-align: center; vertical-align: middle; white-space: nowrap; } .green-button{ background-image: none; border: 1px solid transparent; background-color: #81c784; box-shadow: 0.2px 0.2px 2px #ccc; color: #fff; cursor: pointer; margin: 10px; border-radius: 4px; cursor: pointer; display: inline-block; font-size: 14px; font-weight: 400; line-height: 1.42857; margin-bottom: 0; padding: 6px 12px; text-align: center; vertical-align: middle; white-space: nowrap; float: right; }