UNPKG

svf

Version:

A simple validate form and React-based implementation

53 lines (49 loc) 1.17 kB
.btn { display: inline-block; margin-bottom: 0; font-weight: 500; text-align: center; -ms-touch-action: manipulation; touch-action: manipulation; cursor: pointer; background-image: none; border: 1px solid transparent; white-space: nowrap; line-height: 1.5; padding: 4px 15px; font-size: 12px; border-radius: 4px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-transition: all .3s cubic-bezier(.645,.045,.355,1); transition: all .3s cubic-bezier(.645,.045,.355,1); position: relative; color: rgba(0,0,0,.65); background-color: #fff; border-color: #d9d9d9; } .btn, .btn:active, .btn:focus { outline: 0; } .btn.disabled, .btn[disabled] { cursor: not-allowed; } .btn.disabled, .btn.disabled.active, .btn.disabled:active, .btn.disabled:focus, .btn.disabled:hover, .btn[disabled], .btn[disabled].active, .btn[disabled]:active, .btn[disabled]:focus, .btn[disabled]:hover { color: rgba(0,0,0,.25); background-color: #f7f7f7; border-color: #d9d9d9; }