UNPKG

stem-core

Version:

Frontend and core-library framework

35 lines (30 loc) 830 B
import {StyleSheet, styleRule} from "../Style"; class InputStyle extends StyleSheet { @styleRule inputElement = { transition: "border-color ease-in-out .15s, box-shadow ease-in-out .15s", padding: "0.4em 0.54em", border: "1px solid #ccc", borderRadius: "4px", fontSize: "90%", ":focus": { outline: "0", borderColor: "#66afe9", boxShadow: "inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6)", }, }; @styleRule checkboxInput = { marginLeft: "0.2em", display: "inline-block", width: "initial !important", marginRight:"0.5em", marginBottom: "-.1em", height: "1em", }; @styleRule select = { height: "2.12em", }; } export {InputStyle};