Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
203 lines (171 sloc) 3.07 KB
/* Forms */
/*
* Remove inner padding and border in FF3/4
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
*/
input[type="submit"]::-moz-focus-inner {
border: 0;
padding: 0;
}
form ol {
list-style: none;
margin: 0 0 .75em 0;
margin: 0 0 .75rem 0;
}
form ol ol {
margin-left: 0;
}
form ol li {
list-style-position: outside;
margin: 0 0 .75em 0;
margin: 0 0 .75rem 0;
}
/*list-style-position fixes IE label margin bug*/
form ol ol li {
list-style-position: outside;
margin: 0 0 .25em 0;
margin: 0 0 .25rem 0;
}
form ol li.error input {
background: #FBE3E4;
}
p.inline-errors {
color: #D12F19;
}
form ol li.file {
background: #e1e1e1;
border: 1px solid #c8c8c8;
padding: .75em;
padding: .75rem;
}
form abbr {
border-bottom: 0;
}
label {
display: block;
}
.required label {
font-weight: bold;
}
.checkbox_field label,
.radio_field label {
font-weight: normal;
}
a.cancel {
color: #7d0d0d;
}
.inline-hints {
color: #666;
font-size: .75em;
font-size: .75rem;
margin-bottom: .25em;
margin-bottom: .25rem;
}
/* Fieldsets */
fieldset {
background: #f1f1f1;
border: 1px solid #e3e3e3;
margin: 0 0 1em 0;
margin: 0 0 1rem 0;
padding: 1rem 1rem .75em 1em;
padding: 1rem 1rem .75rem 1rem;
}
fieldset fieldset, fieldset fieldset fieldset {
border: 0;
padding: 0;
}
legend {
font-weight: bold;
}
.ie6 legend, .ie7 legend {
margin-left: .5em;
margin-left: .5rem;
}
fieldset.buttons {
background: inherit;
border: 0;
padding: 0;
}
fieldset.buttons li {
display: inline;
}
.radio fieldset {
margin: 0;
padding: 0;
}
/* Text fields */
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="range"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
font-size: inherit;
padding: .25em;
padding: .25rem;
}
.ie6 input {
vertical-align: text-bottom;
}
input[disabled='disabled'] {
background-color: #fcfcfc;
cursor:default;
}
input[type="checkbox"] {
margin: 0 .25em 0 0;
margin: 0 .25rem 0 0;
position: relative;
vertical-align: middle;
}
.ie7 input[type="checkbox"] {
vertical-align: baseline;
}
input[type="radio"] {
margin: 0 .25em 0 0;
margin: 0 .25rem 0 0;
position: relative;
vertical-align: middle;
}
.check_boxes label {
display: inline;
padding: 0;
vertical-align: middle;
}
.radio label {
padding: 0;
}
/* Textareas */
textarea {
font-size: inherit;
margin: 0 .5em .5em 0;
margin: 0 .5rem .5rem 0;
padding: .5em;
padding: .5rem;
overflow: auto;
}
/* Select fields */
fieldset .select select {
font-size: .75em;
font-size: .75rem;
}
optgroup {
margin: 0 0 .5em 0;
margin: 0 0 .5rem 0;
}
/* Date & Time */
form ol li.date select, form ol li.time select, form ol li.datetime select {
display: inline;
width: auto;
}
form ol li.date ol li, form ol li.time ol li, form ol li.datetime ol li {
display: inline-block;
}
Something went wrong with that request. Please try again.