cssOMS/input.css
2015-12-18 17:40:32 +01:00

176 lines
3.5 KiB
CSS

.ok {
color: #5cff56; }
.warning {
color: #ff4b41; }
.green {
background: #c0ffb4; }
.red {
background: #ff7c70; }
.blue {
background: #c1c8ff; }
.orange {
background: #ffbf7c; }
.lightblue {
background: #b5ffff; }
.yellow {
background: #fffe97; }
.purple {
background: #bfa5ff; }
.pink {
background: #ffa6e3; }
.grey {
background: #dcdcdc; }
.darkred {
background: #d16059; }
.darkgreen {
background: #77d17c; }
.darkblue {
background: #7ba9d1; }
input, select, textarea, .textarea {
border: 1px solid #b7b7b7; }
select {
cursor: pointer; }
progress {
height: 20px;
width: 100%;
min-width: 150px; }
.textarea,
textarea,
select,
input[type="password"],
input[type="text"],
input[type="datetime"],
input[type="email"],
input[type="date"],
input[type="number"],
input[type="datetime-local"] {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
-ms-border-radius: 2px;
border-radius: 2px;
background-clip: padding-box;
color: #454545;
background: #fff;
width: 100%;
min-width: 70px;
font-size: 1.0em;
height: 2em;
line-height: 2em;
padding: 0 10px 0 10px;
border: solid 1px #dcdcdc;
transition: background 0.3s, border 0.3s;
box-shadow: inset 1px 1px 4px -2px #c5c5c5; }
input[type="file"] {
border: solid 1px #dcdcdc;
width: 100%;
color: #454545; }
input[placeholder], textarea {
font-family: 'FontAwesome', serif; }
input:invalid {
transition: all 0.5s;
border: 1px solid #b85450; }
select {
height: 2em;
line-height: 2em; }
.textarea {
overflow: auto;
resize: both; }
textarea, .textarea {
min-height: 100px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box; }
span.check input[type="checkbox"], span.radio input[type="radio"] {
position: relative;
vertical-align: middle;
bottom: 1px;
margin-right: 5px;
cursor: pointer; }
input[type="range"] {
border: none;
width: 100%;
min-width: 150px;
cursor: pointer; }
.input {
width: 100%;
min-width: 120px;
display: flex;
flex-direction: row;
flex-wrap: nowrap; }
.input button {
-webkit-border-bottom-left-radius: 2px;
border-bottom-left-radius: 2px;
-webkit-border-top-left-radius: 2px;
border-top-left-radius: 2px;
background-clip: padding-box;
-webkit-border-bottom-right-radius: 0px;
border-bottom-right-radius: 0px;
-webkit-border-top-right-radius: 0px;
border-top-right-radius: 0px;
background-clip: padding-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
background: #fff;
height: 2em;
font-size: 1em;
line-height: 2em;
padding: 0;
min-width: 40px;
border-left: solid 1px #dcdcdc;
border-top: solid 1px #dcdcdc;
border-bottom: solid 1px #dcdcdc;
border-right: none;
position: relative;
vertical-align: middle;
flex-grow: 0;
flex-shrink: 0; }
.input button:hover {
background: #fff; }
.input i {
position: relative;
vertical-align: middle; }
.input input {
-webkit-border-bottom-left-radius: 0px;
border-bottom-left-radius: 0px;
-webkit-border-top-left-radius: 0px;
border-top-left-radius: 0px;
background-clip: padding-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 1em;
position: relative;
vertical-align: middle;
flex-grow: 1;
flex-shrink: 1; }
/*# sourceMappingURL=input.css.map */