зеркало из https://github.com/mozilla/pjs.git
fix up margins and min sizes so small buttons don't look so bad (bug 228499, notpart of seamonkey build)
This commit is contained in:
Родитель
ed5dbd4ad4
Коммит
7e206939ee
|
@ -42,14 +42,15 @@ textarea {
|
||||||
padding: 0 2px 0 1px;
|
padding: 0 2px 0 1px;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
margin: 2px 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
select {
|
select {
|
||||||
-moz-appearance: menulist;
|
-moz-appearance: menulist;
|
||||||
margin: 1px;
|
margin: 2px;
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
color: -moz-FieldText !important;
|
color: -moz-FieldText !important;
|
||||||
font-size: 11px;
|
font-size: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Need the "select[size][multiple]" selector to override the settings on
|
/* Need the "select[size][multiple]" selector to override the settings on
|
||||||
|
@ -59,7 +60,7 @@ select[size],
|
||||||
select[multiple],
|
select[multiple],
|
||||||
select[size][multiple] {
|
select[size][multiple] {
|
||||||
-moz-appearance: listbox;
|
-moz-appearance: listbox;
|
||||||
margin: 0px;
|
margin: 2px;
|
||||||
background-color: -moz-Field !important;
|
background-color: -moz-Field !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -90,14 +91,14 @@ select[disabled] {
|
||||||
|
|
||||||
input[type="checkbox"] {
|
input[type="checkbox"] {
|
||||||
-moz-appearance: checkbox-small;
|
-moz-appearance: checkbox-small;
|
||||||
width: 14px;
|
width: 15px;
|
||||||
height: 15px;
|
height: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="radio"] {
|
input[type="radio"] {
|
||||||
-moz-appearance: radio-small;
|
-moz-appearance: radio-small;
|
||||||
width: 14px;
|
width: 15px;
|
||||||
height: 14px;
|
height: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="reset"],
|
input[type="reset"],
|
||||||
|
@ -105,25 +106,29 @@ input[type="button"],
|
||||||
input[type="submit"] {
|
input[type="submit"] {
|
||||||
-moz-appearance: button-small;
|
-moz-appearance: button-small;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
margin: 0px 3px;
|
margin: 2px 2px;
|
||||||
padding: 0;
|
padding: 0px;
|
||||||
border-width: 2px 8px 2px 8px;
|
border-width: 2px 8px 2px 8px;
|
||||||
color: -moz-FieldText ! important;
|
color: -moz-FieldText ! important;
|
||||||
|
min-width: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
button,
|
button,
|
||||||
button[disabled],
|
button[disabled],
|
||||||
button[disabled]:active {
|
button[disabled]:active {
|
||||||
-moz-appearance: button-bevel;
|
-moz-appearance: button-bevel;
|
||||||
padding: 0;
|
padding: 0px;
|
||||||
|
margin: 2px 2px;
|
||||||
border-width: 4px;
|
border-width: 4px;
|
||||||
|
min-width: 24px;
|
||||||
|
min-height: 17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:active:hover,
|
button:active:hover,
|
||||||
input[type="reset"]:active:hover,
|
input[type="reset"]:active:hover,
|
||||||
input[type="button"]:active:hover,
|
input[type="button"]:active:hover,
|
||||||
input[type="submit"]:active:hover {
|
input[type="submit"]:active:hover {
|
||||||
padding: 0;
|
padding: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
button::-moz-focus-inner,
|
button::-moz-focus-inner,
|
||||||
|
@ -141,7 +146,6 @@ input[type="button"][disabled]:active,
|
||||||
input[type="button"][disabled],
|
input[type="button"][disabled],
|
||||||
input[type="submit"][disabled]:active,
|
input[type="submit"][disabled]:active,
|
||||||
input[type="submit"][disabled] {
|
input[type="submit"][disabled] {
|
||||||
padding: 0;
|
|
||||||
border-width: 2px 8px 2px 8px;
|
border-width: 2px 8px 2px 8px;
|
||||||
color: GrayText !important;
|
color: GrayText !important;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче