From 7e206939ee079ff8114fa5351309ffbd1efa84a8 Mon Sep 17 00:00:00 2001 From: "pinkerton%aol.net" Date: Thu, 22 Jan 2004 21:04:34 +0000 Subject: [PATCH] fix up margins and min sizes so small buttons don't look so bad (bug 228499, notpart of seamonkey build) --- .../html/document/src/mac/platform-forms.css | 28 +++++++++++-------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/layout/html/document/src/mac/platform-forms.css b/layout/html/document/src/mac/platform-forms.css index 4ae1d09fc80..251fd44e4b9 100644 --- a/layout/html/document/src/mac/platform-forms.css +++ b/layout/html/document/src/mac/platform-forms.css @@ -42,14 +42,15 @@ textarea { padding: 0 2px 0 1px; font-size: 11px; background-color: transparent; + margin: 2px 1px; } select { -moz-appearance: menulist; - margin: 1px; + margin: 2px; background-color: transparent !important; color: -moz-FieldText !important; - font-size: 11px; + font-size: 10px; } /* Need the "select[size][multiple]" selector to override the settings on @@ -59,7 +60,7 @@ select[size], select[multiple], select[size][multiple] { -moz-appearance: listbox; - margin: 0px; + margin: 2px; background-color: -moz-Field !important; } @@ -90,14 +91,14 @@ select[disabled] { input[type="checkbox"] { -moz-appearance: checkbox-small; - width: 14px; + width: 15px; height: 15px; } input[type="radio"] { -moz-appearance: radio-small; - width: 14px; - height: 14px; + width: 15px; + height: 16px; } input[type="reset"], @@ -105,25 +106,29 @@ input[type="button"], input[type="submit"] { -moz-appearance: button-small; font-size: 11px; - margin: 0px 3px; - padding: 0; + margin: 2px 2px; + padding: 0px; border-width: 2px 8px 2px 8px; - color: -moz-FieldText !important; + color: -moz-FieldText ! important; + min-width: 24px; } button, button[disabled], button[disabled]:active { -moz-appearance: button-bevel; - padding: 0; + padding: 0px; + margin: 2px 2px; border-width: 4px; + min-width: 24px; + min-height: 17px; } button:active:hover, input[type="reset"]:active:hover, input[type="button"]:active:hover, input[type="submit"]:active:hover { - padding: 0; + padding: 0px; } button::-moz-focus-inner, @@ -141,7 +146,6 @@ input[type="button"][disabled]:active, input[type="button"][disabled], input[type="submit"][disabled]:active, input[type="submit"][disabled] { - padding: 0; border-width: 2px 8px 2px 8px; color: GrayText !important; }