Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
www.reboot.css.src.forms.styl Maven / Gradle / Ivy
/*! form
-----------------------------*/
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="week"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="color"],
input:not([type]),
select,
textarea {
margin: 7px;
vertical-align: top;
padding: 0.5em 0.6em;
display: inline-block;
border: 1px solid #D9D9D9;
border-radius: 4px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
color: #6A6A6A;
font: inherit;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
input:not([type]):focus,
select:focus,
textarea:focus,
input.is-focused,
select.is-focused,
textarea.is-focused {
outline: 0;
border-color: #129FEA;
}
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
outline: 1px auto #129FEA;
}
input[type="checkbox"],
input[type="radio"] {
margin: 0.5em 0;
padding: 0;
display: inline-block;
box-sizing: border-box;
}
input[type="text"][disabled],
input[type="password"][disabled],
input[type="email"][disabled],
input[type="url"][disabled],
input[type="date"][disabled],
input[type="month"][disabled],
input[type="time"][disabled],
input[type="datetime"][disabled],
input[type="datetime-local"][disabled],
input[type="week"][disabled],
input[type="number"][disabled],
input[type="search"][disabled],
input[type="tel"][disabled],
input[type="color"][disabled],
select[disabled],
input:not([type])[disabled],
textarea[disabled] {
cursor: default;
background-color: #eaeded;
color: #cad2d3;
}
input[readonly],
select[readonly],
textarea[readonly] {
background: #eee;
color: #777;
border-color: #D9D9D9;
}
input:focus:invalid,
textarea:focus:invalid,
select:focus:invalid,
input[type="text"].is-invalid,
input[type="password"].is-invalid,
input[type="email"].is-invalid,
input[type="url"].is-invalid,
input[type="date"].is-invalid,
input[type="month"].is-invalid,
input[type="time"].is-invalid,
input[type="datetime"].is-invalid,
input[type="datetime-local"].is-invalid,
input[type="week"].is-invalid,
input[type="number"].is-invalid,
input[type="search"].is-invalid,
input[type="tel"].is-invalid,
input[type="color"].is-invalid,
select.is-invalid,
input:not([type]).is-invalid,
textarea.is-invalid {
color: #b94a48;
border-color: #e9322d;
}
input[type="file"]:focus:invalid:focus,
input[type="radio"]:focus:invalid:focus,
input[type="checkbox"]:focus:invalid:focus,
input[type="file"].is-invalid,
input[type="radio"].is-invalid,
input[type="checkbox"].is-invalid {
outline-color: #e9322d;
}
/*! placeholder text
-----------------------------*/
input::-webkit-input-placeholder {
color: #C4C4C4;
font-weight: 300;
}
input::-moz-placeholder {
color: #C4C4C4;
font-weight: 300;
}
input:-ms-input-placeholder {
color: #C4C4C4;
font-weight: 300;
}
input::placeholder {
color: #C4C4C4;
font-weight: 300;
}
textarea::-webkit-input-placeholder {
color: #C4C4C4;
font-weight: 300;
}
textarea::-moz-placeholder {
color: #C4C4C4;
font-weight: 300;
}
textarea:-ms-input-placeholder {
color: #C4C4C4;
font-weight: 300;
}
textarea::placeholder {
color: #C4C4C4;
font-weight: 300;
}
/*! normalizing default styles
-----------------------------*/
input {
line-height: normal;
}
input::-moz-focus-inner {
border: 0;
padding: 0;
}
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
input[type="search"] {
-webkit-appearance: textfield;
box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
select {
text-transform: none;
border: 1px solid #D9D9D9;
background-color: white;
}
textarea {
overflow: auto;
}
select[multiple] {
height: auto;
}
label {
margin: 0.5em;
padding-top: 2px;
}
fieldset {
margin: 0;
padding: 0.35em 0 0.75em;
border: 0;
}
legend {
display: block;
width: 100%;
padding: 0.3em 0;
margin-bottom: 0.3em;
color: #333;
border-bottom: 1px solid #e5e5e5;
}
optgroup {
font-weight: bold;
}