зеркало из https://github.com/mozilla/pjs.git
Bug 377110: Strip unnecessary rules from Camino-only forms.css. r=josh sr=dbaron
This commit is contained in:
Родитель
7762c8ab05
Коммит
3bf9b682ee
|
@ -589,10 +589,8 @@ input[type="submit"] {
|
|||
/* makes sure enabled and disabled input and text area fields are drawn */
|
||||
input,
|
||||
input[disabled] {
|
||||
padding: 0px 1px 0px 1px;
|
||||
font-size: 11px;
|
||||
margin: 1px 1px 1px 1px;
|
||||
background-color: -moz-field;
|
||||
}
|
||||
|
||||
select {
|
||||
|
@ -633,8 +631,6 @@ select > input[type="button"]:active {
|
|||
border: none !important;
|
||||
}
|
||||
|
||||
option[disabled],
|
||||
optgroup[disabled],
|
||||
select[disabled] {
|
||||
color: GrayText !important;
|
||||
}
|
||||
|
@ -646,15 +642,11 @@ input[type="image"] {
|
|||
/* margins makes sure they are aligned with the text baseline */
|
||||
input[type="checkbox"] {
|
||||
-moz-appearance: checkbox-small;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
margin: 1px 2px 0px 3px;
|
||||
}
|
||||
|
||||
input[type="radio"] {
|
||||
-moz-appearance: radio-small;
|
||||
width: 15px;
|
||||
height: 16px;
|
||||
margin: 1px 2px -3px 3px;
|
||||
}
|
||||
|
||||
|
@ -666,14 +658,4 @@ button[disabled]:active {
|
|||
-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
|
||||
|
|
Загрузка…
Ссылка в новой задаче