Bug 513858: Inverse themes (light text on dark backgrounds) break theme (content patch), r=stuart

This commit is contained in:
Mark Finkle 2009-09-02 01:22:53 -04:00
parent 7b36f3fed3
commit 1ad6098dd0

View File

@ -64,3 +64,59 @@ select:not([size]) scrollbarbutton,
select[size="1"] scrollbarbutton {
display:block !important;
}
/* Override inverse OS themes */
textarea,
select, select[size], select[multiple], select[size][multiple],
input:not([type]),
input[type="text"],
input[type="file"],
input[type="password"] {
color: black;
background-color: white;
border: 1px solid silver;
}
/* Override inverse OS themes */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
color: black;
background-color: silver;
border: 2px outset silver;
}
/* Override inverse OS themes */
input[type="radio"],
input[type="checkbox"] {
color: black !important;
background-color: white !important;
border: 2px inset gray;
}
/* Override inverse OS themes */
input[disabled],
textarea[disabled],
option[disabled],
optgroup[disabled],
select[disabled] {
color: silver;
background-color: white;
}
/* Override inverse OS themes */
button[disabled],
input[type="reset"][disabled],
input[type="button"][disabled],
select[disabled] > input[type="button"],
input[type="submit"][disabled] {
border: 2px outset silver;
color: gray;
}
/* Override inverse OS themes */
input[type="radio"][disabled],
input[type="checkbox"][disabled] {
border: 1px inset silver;
}