Bug 377110: Strip unnecessary rules from Camino-only forms.css. r=josh sr=dbaron

This commit is contained in:
stuart.morgan%alumni.case.edu 2007-04-12 23:02:37 +00:00
Родитель 7762c8ab05
Коммит 3bf9b682ee
1 изменённых файлов: 0 добавлений и 18 удалений

Просмотреть файл

@ -589,10 +589,8 @@ input[type="submit"] {
/* makes sure enabled and disabled input and text area fields are drawn */ /* makes sure enabled and disabled input and text area fields are drawn */
input, input,
input[disabled] { input[disabled] {
padding: 0px 1px 0px 1px;
font-size: 11px; font-size: 11px;
margin: 1px 1px 1px 1px; margin: 1px 1px 1px 1px;
background-color: -moz-field;
} }
select { select {
@ -633,8 +631,6 @@ select > input[type="button"]:active {
border: none !important; border: none !important;
} }
option[disabled],
optgroup[disabled],
select[disabled] { select[disabled] {
color: GrayText !important; color: GrayText !important;
} }
@ -646,15 +642,11 @@ input[type="image"] {
/* margins makes sure they are aligned with the text baseline */ /* margins makes sure they are aligned with the text baseline */
input[type="checkbox"] { input[type="checkbox"] {
-moz-appearance: checkbox-small; -moz-appearance: checkbox-small;
width: 15px;
height: 15px;
margin: 1px 2px 0px 3px; margin: 1px 2px 0px 3px;
} }
input[type="radio"] { input[type="radio"] {
-moz-appearance: radio-small; -moz-appearance: radio-small;
width: 15px;
height: 16px;
margin: 1px 2px -3px 3px; margin: 1px 2px -3px 3px;
} }
@ -666,14 +658,4 @@ button[disabled]:active {
-moz-appearance: none; -moz-appearance: none;
} }
/* make sure disabled images have transparent background */
input[type="image"][disabled] {
background-color: transparent;
}
/* avoid flickering size when file selector buttons with large text are activated */
input[type="file"] > input[type="button"]:active:hover {
font-size: inherit;
}
%endif %endif