/* * inputs */ /* resets */ /* makes you want to click on */ label, button, input[type="submit"], input[type="button"], input[type="reset"] { cursor: pointer; } button[disabled], input[type="submit"][disabled], input[type="button"][disabled], input[type="reset"][disabled] { cursor: default; pointer-events: none; } /* for field texts */ .label { display: inline-block; } /* avoid dummy resize */ textarea { resize: vertical; cursor: auto; // fixes an issue on Chrome using CSS custom scroll } /* remove a Firefox difference on button tag */ button::-moz-focus-inner { border: 0; padding: 0; } label, button, input, select { color: currentColor; vertical-align: middle; } @if $use-reset-button == false { /** fix typo inputs **/ input, select, textarea, optgroup, button { font: inherit; } } /* * avoids dimensioning for radio, checkboxes and images * and a different display on IE */ input[type="radio"], input[type="checkbox"], input[type="image"] { background-color: transparent; border: 0; width: auto; } // for components that rely on checkboxes input[type="radio"], input[type="checkbox"] { opacity: 0; // this is a crazy fix for Firefox - for having ::after stuff working on it for mail conversations // to have increased area around checkbox for clicking /* autoprefixer: ignore next */ -moz-appearance: initial; } /* to cancel input sizing or other if needed */ .auto { width: auto; min-width: 0; }