import { alpha, withStyles } from "@material-ui/core/styles";
import { TimePicker } from "@material-ui/pickers";
const BootstrapTimePicker = withStyles((theme) => ({
	root: {
		"& .MuiFormLabel-root + &": {
			color: "#46494C",
			marginTop: theme.spacing(3),
		},
		"& .MuiInput-underline": {
			"&:before": {
				content: "none",
			},
			"&:after": {
				content: "none",
			},
		},
		"& .MuiInputBase-input": {
			borderRadius: 4,
			position: "relative",
			backgroundColor: theme.palette.common.white,
			border: "1px solid #E8EBF7",
			fontSize: 14,
			lineHeight: "16px",
			width: "100%",
			padding: "11px 12px",
			transition: theme.transitions.create(["border-color", "box-shadow"]),
			color: "#46494C",
			"&:focus": {
				boxShadow: `${alpha(theme.palette.primary.main, 0.25)} 0 0 0 0.2rem`,
				borderColor: theme.palette.primary.main,
			},
		},
	},
}))(TimePicker);
export default BootstrapTimePicker;
