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
| input, textarea, button { display: inline-block; padding: 0 5px; min-height: 40px; line-height: 40px; font-size: 14px; color: rgba(0, 0, 0, .65); border-radius: 4px; transition: all .3s; vertical-align: middle; border: 1px solid #d9d9d9; outline:medium; } input[type="file"] {border: none;line-height: 40px;padding: 0; &:focus{border: 0;} } input:focus, textarea:focus {border: 1px solid #40b3ff;box-shadow: 0 0 8px rgba(skyblue, 10)} fieldset {border: 1px solid $c_eee;border-radius: 5px;margin-bottom: 1em;} textarea {min-width: 30em;} label[role="radio"] {margin: 0 10px 0 0;vertical-align: middle; input {vertical-align: middle;min-height: auto;} } input[type="checkbox"] {padding: 0;min-height: auto;margin: 0 5px 0 0;} label[role="checkbox"] {margin: 0 10px 0 0;} input[type="submit"], input[type="reset"], button { padding: 0 1em;cursor: pointer;}
.formBox { * { box-sizing: border-box; } .formRow { padding: 5px 0; display: flex; justify-content: space-between; .formRow_label { width: 120px; line-height: 40px; } .formRow_content { width: calc(100% - 120px) } } }
|