From 02920d2b69ae86d5762a1874ba85d273c38bac75 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sat, 31 Jan 2009 02:17:02 +0100 Subject: [PATCH] update to suite default status of 2009-01-30: bug 474807 - replace 4-piece margin/padding with RTL-savvy variants --- EarlyBlue/browser/aboutDialog.css | 12 ++++-- EarlyBlue/browser/browser.css | 29 ++++++++++---- .../browser/downloads/downloadmanager.css | 2 +- EarlyBlue/browser/pref/pref.css | 3 +- .../communicator/bookmarks/bookmarks.css | 2 +- .../bookmarks/bookmarksToolbar.css | 2 +- EarlyBlue/communicator/brand.css | 7 +++- EarlyBlue/communicator/button.css | 23 +++++++---- EarlyBlue/communicator/certError.css | 2 +- EarlyBlue/communicator/sidebar/sidebar.css | 14 ++++--- EarlyBlue/editor/EdImageMap.css | 14 +++++-- EarlyBlue/editor/EditorDialog.css | 12 ++++-- EarlyBlue/editor/editor.css | 10 ++++- EarlyBlue/editor/editorFormatToolbar.css | 10 ++++- EarlyBlue/global/about.css | 5 ++- EarlyBlue/global/autocomplete.css | 14 +++++-- EarlyBlue/global/button.css | 20 ++++++++-- EarlyBlue/global/config.css | 2 +- EarlyBlue/global/console/console.css | 7 +++- EarlyBlue/global/datetimepicker.css | 2 +- EarlyBlue/global/dialog.css | 2 +- EarlyBlue/global/dirListing/dirListing.css | 2 +- EarlyBlue/global/dropmarker.css | 5 ++- EarlyBlue/global/global.css | 9 +++-- EarlyBlue/global/groupbox.css | 7 +++- EarlyBlue/global/menu.css | 6 ++- EarlyBlue/global/menulist.css | 5 ++- EarlyBlue/global/netError.css | 2 +- EarlyBlue/global/notification.css | 5 ++- EarlyBlue/global/passwordmgr.css | 4 +- EarlyBlue/global/plugins.css | 2 +- EarlyBlue/global/preferences.css | 4 +- EarlyBlue/global/progressmeter.css | 2 +- EarlyBlue/global/scrollbars.css | 5 ++- EarlyBlue/global/tabbox.css | 4 +- EarlyBlue/global/toolbarbutton.css | 4 +- EarlyBlue/global/tree.css | 4 +- EarlyBlue/help/helpFileLayout.css | 4 +- EarlyBlue/inspector/inspectorWindow.css | 2 +- EarlyBlue/inspector/titledSplitter.css | 7 +++- EarlyBlue/messenger/accountCentral.css | 2 +- .../messenger/addressbook/addressbook.css | 2 +- .../addressbook/selectAddressesDialog.css | 2 +- EarlyBlue/messenger/dialogs.css | 5 ++- EarlyBlue/messenger/messageHeader.css | 19 +++++---- .../messengercompose/messengercompose.css | 18 ++++++--- EarlyBlue/messenger/subscribe.css | 2 +- EarlyBlue/mozapps/downloads/downloads.css | 3 +- EarlyBlue/mozapps/extensions/about.css | 2 +- EarlyBlue/mozapps/extensions/eula.css | 2 +- EarlyBlue/mozapps/extensions/extensions.css | 15 ++++--- EarlyBlue/mozapps/pref/pref.css | 12 +++--- EarlyBlue/mozapps/update/updates.css | 12 +++--- .../mozapps/xpinstall/xpinstallConfirm.css | 2 +- EarlyBlue/navigator/pageInfo.css | 4 +- LCARStrek/browser/aboutDialog.css | 12 ++++-- LCARStrek/browser/browser.css | 29 ++++++++++---- .../browser/downloads/downloadmanager.css | 2 +- LCARStrek/browser/pref/pref.css | 3 +- .../communicator/bookmarks/bookmarks.css | 2 +- LCARStrek/communicator/certError.css | 2 +- .../communicator/search/internetresults.css | 7 +++- LCARStrek/communicator/sidebar/sidebar.css | 13 +++--- LCARStrek/editor/EdImageMap.css | 40 +++++++++++-------- LCARStrek/editor/EditorDialog.css | 12 ++++-- LCARStrek/editor/editor.css | 10 ++++- LCARStrek/editor/editorFormatToolbar.css | 10 ++++- LCARStrek/global/about.css | 5 ++- LCARStrek/global/autocomplete.css | 9 +++-- LCARStrek/global/button.css | 15 +++++-- LCARStrek/global/config.css | 2 +- LCARStrek/global/console/console.css | 7 +++- LCARStrek/global/datetimepicker.css | 2 +- LCARStrek/global/dialog.css | 5 ++- LCARStrek/global/dirListing/dirListing.css | 2 +- LCARStrek/global/global.css | 11 +++-- LCARStrek/global/groupbox.css | 7 +++- LCARStrek/global/menulist.css | 5 ++- LCARStrek/global/netError.css | 2 +- LCARStrek/global/passwordmgr.css | 4 +- LCARStrek/global/plugins.css | 2 +- LCARStrek/global/preferences.css | 5 +-- LCARStrek/global/progressmeter.css | 2 +- LCARStrek/global/scrollbars.css | 15 ++++--- LCARStrek/global/splitter.css | 4 +- LCARStrek/global/tabbox.css | 4 +- LCARStrek/global/toolbar.css | 3 +- LCARStrek/global/toolbarbutton.css | 4 +- LCARStrek/help/helpFileLayout.css | 4 +- LCARStrek/inspector/inspectorWindow.css | 2 +- LCARStrek/inspector/titledSplitter.css | 7 +++- LCARStrek/messenger/accountCentral.css | 4 +- .../messenger/addressbook/addressbook.css | 2 +- .../addressbook/selectAddressesDialog.css | 2 +- LCARStrek/messenger/dialogs.css | 5 ++- LCARStrek/messenger/messageHeader.css | 19 +++++---- .../messengercompose/messengercompose.css | 18 ++++++--- LCARStrek/messenger/subscribe.css | 2 +- LCARStrek/mozapps/downloads/downloads.css | 3 +- LCARStrek/mozapps/extensions/about.css | 2 +- LCARStrek/mozapps/extensions/eula.css | 2 +- LCARStrek/mozapps/extensions/extensions.css | 15 ++++--- LCARStrek/mozapps/pref/pref.css | 11 +++-- LCARStrek/mozapps/update/updates.css | 12 +++--- .../mozapps/xpinstall/xpinstallConfirm.css | 2 +- LCARStrek/navigator/pageInfo.css | 4 +- 106 files changed, 496 insertions(+), 256 deletions(-) diff --git a/EarlyBlue/browser/aboutDialog.css b/EarlyBlue/browser/aboutDialog.css index 1c7401b8..47953115 100644 --- a/EarlyBlue/browser/aboutDialog.css +++ b/EarlyBlue/browser/aboutDialog.css @@ -1,5 +1,5 @@ #aboutDialog { - padding: 0px 0px 10px 0px; + padding: 0px 0px 10px; } #clientBox { @@ -12,14 +12,20 @@ } #detailsBox { - padding: 8px 10px 10px 8px; + padding-top: 8px; + padding-bottom: 10px; + -moz-padding-start: 8px; + -moz-padding-end: 10px; } #userAgent { margin: 3px 5px; background-color: #FFFFFF; color: #000000; - padding: 1px 0px 1px 2px; + padding-top: 1px; + padding-bottom: 1px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; -moz-appearance: none; border: none; } diff --git a/EarlyBlue/browser/browser.css b/EarlyBlue/browser/browser.css index 69f26386..c4066a6d 100644 --- a/EarlyBlue/browser/browser.css +++ b/EarlyBlue/browser/browser.css @@ -59,7 +59,10 @@ toolbarbutton.bookmark-item { toolbarbutton.bookmark-item:hover:active, toolbarbutton.bookmark-item[open="true"] { - padding: 2px 0px 0px 2px; + padding-top: 2px; + padding-bottom: 0px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; } .bookmark-item > .toolbarbutton-icon { @@ -107,7 +110,10 @@ menuitem.bookmark-item { max-width: 26em; border-top: 1px solid transparent !important; border-bottom: 1px solid transparent !important; - padding: 1px 3px 1px 2px; + padding-top: 1px; + padding-bottom: 1px; + -moz-padding-start: 2px; + -moz-padding-end: 3px; margin-top: -1px; } @@ -400,7 +406,10 @@ toolbar[iconsize="small"] .toolbarbutton-1 { toolbar[iconsize="small"] .toolbarbutton-1:hover:active, toolbar[iconsize="small"] .toolbarbutton-1[open="true"] { - padding: 3px 1px 1px 3px; + padding-top: 3px; + padding-bottom: 1px; + -moz-padding-start: 3px; + -moz-padding-end: 1px; } toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"], @@ -411,7 +420,10 @@ toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"][open="true"] { } toolbar[iconsize="small"] .toolbarbutton-1[checked="true"] { - padding: 3px 1px 1px 3px !important; + padding-top: 3px !important; + padding-bottom: 1px !important; + -moz-padding-start: 3px !important; + -moz-padding-end: 1px !important; } toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"], @@ -428,7 +440,10 @@ toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]: #window-controls { -moz-box-align: center; - padding: 0 2px 0 4px; + padding-top: 0px; + padding-bottom: 0px; + -moz-padding-start: 4px; + -moz-padding-end: 2px; border-left: 2px groove #CCD0DD; } @@ -574,7 +589,7 @@ statusbarpanel#statusbar-display { #page-report-button[blocked] { display: -moz-box; list-style-image: url("chrome://browser/skin/icons/info.gif"); - padding: 0px 3px 0px 3px; + padding: 0px 3px; } #page-theme-button { @@ -584,7 +599,7 @@ statusbarpanel#statusbar-display { #page-theme-button[themes] { display: -moz-box; list-style-image: url("chrome://browser/skin/icons/page-themes.gif"); - padding: 0px 3px 0px 3px; + padding: 0px 3px; } /* ::::: throbber ::::: */ diff --git a/EarlyBlue/browser/downloads/downloadmanager.css b/EarlyBlue/browser/downloads/downloadmanager.css index 723659f0..8b427279 100644 --- a/EarlyBlue/browser/downloads/downloadmanager.css +++ b/EarlyBlue/browser/downloads/downloadmanager.css @@ -10,7 +10,7 @@ } download { - padding: 3px 0px 3px 3px; + padding: 3px 0px 3px; min-height: 25px; } diff --git a/EarlyBlue/browser/pref/pref.css b/EarlyBlue/browser/pref/pref.css index dc160171..d8f316c2 100644 --- a/EarlyBlue/browser/pref/pref.css +++ b/EarlyBlue/browser/pref/pref.css @@ -38,7 +38,8 @@ */ .buttonBox { - margin: 0px 3px 0px 0px !important; + margin: 0 !important; + -moz-margin-end: 3px !important; } .buttonBoxButton { diff --git a/EarlyBlue/communicator/bookmarks/bookmarks.css b/EarlyBlue/communicator/bookmarks/bookmarks.css index b21a9020..5a8e30e4 100644 --- a/EarlyBlue/communicator/bookmarks/bookmarks.css +++ b/EarlyBlue/communicator/bookmarks/bookmarks.css @@ -105,7 +105,7 @@ treechildren::-moz-tree-image(Name, separator) { treechildren::-moz-tree-cell-text(Name, separator) { color: #808080; - margin: 0px 5px 0px 5px; + margin: 0px 5px; } treechildren::-moz-tree-cell-text(Name, separator, selected, focus) { diff --git a/EarlyBlue/communicator/bookmarks/bookmarksToolbar.css b/EarlyBlue/communicator/bookmarks/bookmarksToolbar.css index 8e97ffd6..0602d4d4 100644 --- a/EarlyBlue/communicator/bookmarks/bookmarksToolbar.css +++ b/EarlyBlue/communicator/bookmarks/bookmarksToolbar.css @@ -112,7 +112,7 @@ menu.bookmark-item, menuitem.bookmark-item { border-top: 1px solid transparent !important; border-bottom: 1px solid transparent !important; - padding: 0px 2px 0px 2px; + padding: 0px 2px; } .menuitem-iconic.bookmark-item[disabled="true"] { diff --git a/EarlyBlue/communicator/brand.css b/EarlyBlue/communicator/brand.css index 2927ce5a..a5e2bac3 100644 --- a/EarlyBlue/communicator/brand.css +++ b/EarlyBlue/communicator/brand.css @@ -42,7 +42,8 @@ -moz-user-focus: ignore; -moz-box-align: center; -moz-box-pack: center; - margin: 1px 3px 1px 1px; + margin: 1px; + -moz-margin-end: 3px; border: 1px solid transparent; padding: 0px; min-width: 0; @@ -65,7 +66,9 @@ window[chromehidden~="toolbar"] #navigator-throbber, toolbar[mode="text"] #navigator-throbber, toolbar[mode="icons"] #navigator-throbber, toolbar[iconsize="small"] #navigator-throbber { - margin: 0 2px 0 1px; + margin: 0; + -moz-margin-start: 1px; + -moz-margin-end: 3px; list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif"); } diff --git a/EarlyBlue/communicator/button.css b/EarlyBlue/communicator/button.css index 14ade4e5..038f04e7 100644 --- a/EarlyBlue/communicator/button.css +++ b/EarlyBlue/communicator/button.css @@ -64,7 +64,10 @@ .toolbarbutton-1:hover:active, .toolbarbutton-1[open="true"], .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button { - padding: 2px 0px 0px 2px; + padding-top: 2px; + padding-bottom: 0px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; } .toolbarbutton-1[type="menu"] { @@ -84,33 +87,39 @@ toolbar[iconsize="small"] .toolbarbutton-menubutton-button { } toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker { - padding: 4px 1px 8px 1px; + padding: 4px 1px 8px; } toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker, toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker { - padding: 0px 1px 13px 1px; + padding: 0px 1px 13px; } toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { - padding: 5px 0px 7px 2px; + padding-top: 5px; + padding-bottom: 7px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; } toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker, toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { - padding: 1px 0px 12px 2px; + padding-top: 1px; + padding-bottom: 12px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; } toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] { - padding: 4px 1px 8px 1px !important; + padding: 4px 1px 8px !important; } toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"], toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker[disabled="true"] { - padding: 0px 1px 13px 1px !important; + padding: 0px 1px 13px !important; } toolbar[mode="icons"] .toolbarbutton-text, diff --git a/EarlyBlue/communicator/certError.css b/EarlyBlue/communicator/certError.css index 42abc6a6..b573e198 100644 --- a/EarlyBlue/communicator/certError.css +++ b/EarlyBlue/communicator/certError.css @@ -51,7 +51,7 @@ body { } h1 { - margin: 0 0 .6em 0; + margin: 0 0 .6em; border-bottom: 1px solid #666699; font-size: 160%; } diff --git a/EarlyBlue/communicator/sidebar/sidebar.css b/EarlyBlue/communicator/sidebar/sidebar.css index cf99e789..d476aac0 100644 --- a/EarlyBlue/communicator/sidebar/sidebar.css +++ b/EarlyBlue/communicator/sidebar/sidebar.css @@ -68,7 +68,8 @@ #sidebar-close-button { -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image"); - padding: 1px 3px 1px 4px; + padding: 1px 3px; + -moz-padding-start: 4px; list-style-image: url("chrome://global/skin/icons/close-button.gif"); } @@ -102,7 +103,7 @@ .box-texttab { -moz-binding: url("chrome://communicator/skin/sidebar/sidebarBindings.xml#sbtab"); - padding: 2px 0px 2px 0px; + padding: 2px 0px; background-color: #CCD0DD; color: #000000; cursor: pointer; @@ -115,7 +116,8 @@ .box-texttab[selected="true"]:hover:active { background-color: #336699; border-top: 1px solid #336699; - padding: 1px 1px 1px 0px; + padding: 1px; + -moz-padding-start: 0px; } .box-texttab[last-panel="true"], @@ -128,11 +130,11 @@ } .sbtab-label { - margin: 0px 0px 0px 0px !important; + margin: 0px !important; } .sbtab-twisty { - margin: 2px 3px 0px 3px; + margin: 2px 3px 0px; list-style-image: url("chrome://global/skin/tree/twisty-closed.gif"); } @@ -172,7 +174,7 @@ .sidebar-nav-button { -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image"); - padding: 5px 0px 5px 0px; + padding: 5px 0px; } .tab-fwd { diff --git a/EarlyBlue/editor/EdImageMap.css b/EarlyBlue/editor/EdImageMap.css index 7ff1f16f..9516a6ce 100644 --- a/EarlyBlue/editor/EdImageMap.css +++ b/EarlyBlue/editor/EdImageMap.css @@ -41,21 +41,27 @@ toolbar#toolbox { margin: 0px; - padding: 4px 0px 0px 0px; + padding: 4px 0px 0px; } toolbar#toolbox button.tool:active { - margin: 2px 0px 0px 2px; + margin-top: 2px; + margin-bottom: 0px; + -moz-margin-start: 2px; + -moz-margin-end: 0px; } toolbar#toolbox button.tool[toggled="1"] { - margin: 2px 0px 0px 2px; + margin-top: 2px; + margin-bottom: 0px; + -moz-margin-start: 2px; + -moz-margin-end: 0px; border: 1px white inset; } toolbar#toolbox button.tool { border: 1px solid transparent; - margin: 1px 1px 1px 1px; + margin: 1px; padding: 2px; text-decoration: none; color: inherit; diff --git a/EarlyBlue/editor/EditorDialog.css b/EarlyBlue/editor/EditorDialog.css index 9b753d0e..9b8dfda3 100644 --- a/EarlyBlue/editor/EditorDialog.css +++ b/EarlyBlue/editor/EditorDialog.css @@ -122,7 +122,8 @@ groupbox { border: 2px outset #CCD0DD; width: 25px; height: 20px; - margin: 0px 3px 0px 0px; + margin: 0; + -moz-margin-end: 3px; } #ColorPickerSwatch[default="true"] { @@ -134,14 +135,17 @@ groupbox { width: 17px; height: 13px; border: 1px inset #CCD0DD; - margin: 1px 2px 2px 4px; + margin-top: 1px; + margin-bottom: 2px; + -moz-margin-start: 4px; + -moz-margin-end: 2px; } /* temporary -- we need a simple box-based list defined in XBL */ tree.list { border: 1px inset #CCD0DD; /* same as in menulist.css */ - margin: 1px 5px 2px 5px; + margin: 1px 5px 2px; /* use rows="#" in XUL to define height */ } @@ -288,7 +292,7 @@ label#alignLabel { height: 52px; max-height: 52px; min-height: 52px; - margin: 6px 5px 6px 5px; + margin: 6px 5px; overflow: -moz-hidden-unscrollable; } diff --git a/EarlyBlue/editor/editor.css b/EarlyBlue/editor/editor.css index e8c86ab3..c40a60c9 100644 --- a/EarlyBlue/editor/editor.css +++ b/EarlyBlue/editor/editor.css @@ -47,11 +47,17 @@ .source-editor, .source-editor:focus { - margin: 0px 5px 5px 0px; + margin-top: 0px; + margin-bottom: 5px; + -moz-margin-start: 0px; + -moz-margin-end: 5px; border: 0px; /* Scroll bars are in content, so we can't use right and bottom padding! */ - padding: 5px 0px 0px 5px; + padding-top: 5px; + padding-bottom: 0px; + -moz-padding-start: 5px; + -moz-padding-end: 0px; } /* Multiline textarea for HTML source editing */ diff --git a/EarlyBlue/editor/editorFormatToolbar.css b/EarlyBlue/editor/editorFormatToolbar.css index 4ab2ca94..51c4de70 100644 --- a/EarlyBlue/editor/editorFormatToolbar.css +++ b/EarlyBlue/editor/editorFormatToolbar.css @@ -308,11 +308,17 @@ } #TextColorButton { - margin: 2px 9px 9px 2px; + margin-top: 2px; + margin-bottom: 9px; + -moz-margin-start: 2px; + -moz-margin-end: 9px; } #BackgroundColorButton { - margin: 9px 2px 2px 9px; + margin-top: 9px; + margin-bottom: 2px; + -moz-margin-start: 9px; + -moz-margin-end: 2px; } #HighlightColorButton { diff --git a/EarlyBlue/global/about.css b/EarlyBlue/global/about.css index ceb9e4d3..c626cdcc 100644 --- a/EarlyBlue/global/about.css +++ b/EarlyBlue/global/about.css @@ -34,7 +34,10 @@ img { #version { font-weight: bold; color: #666699; - margin: -24px 0 9px 17px; + margin-top: -24px; + margin-bottom: 9px; + -moz-margin-start: 17px; + -moz-margin-end: 0; } ul { diff --git a/EarlyBlue/global/autocomplete.css b/EarlyBlue/global/autocomplete.css index 7c908998..c86773d2 100644 --- a/EarlyBlue/global/autocomplete.css +++ b/EarlyBlue/global/autocomplete.css @@ -79,7 +79,10 @@ textbox:not(.padded) .textbox-input-box { .autocomplete-history-dropmarker[open="true"] { border: 1px inset #CCD0DD; - padding: 2px 0px 0px 2px; + padding-top: 2px; + padding-bottom: 0; + -moz-padding-start: 2px; + -moz-padding-end: 0; } /* ::::: autocomplete popups ::::: */ @@ -154,7 +157,10 @@ panel[type="autocomplete-richlistbox"], .ac-site-icon { width: 16px; height: 16px; - margin: 0 5px -3px 3px; + margin-top: 0; + margin-bottom: -3px; + -moz-margin-start: 3px; + -moz-margin-end: 5px; } .ac-type-icon { @@ -171,13 +177,13 @@ panel[type="autocomplete-richlistbox"], } .ac-ellipsis-after { - margin: 2px 0px 0px 0px !important; + margin: 2px 0px 0px !important; padding: 0; min-width: 1em; } .ac-normal-text { - margin: 2px 0px 0px 0px !important; + margin: 2px 0px 0px !important; padding: 0; } diff --git a/EarlyBlue/global/button.css b/EarlyBlue/global/button.css index 4fc32ef2..000a7e7e 100644 --- a/EarlyBlue/global/button.css +++ b/EarlyBlue/global/button.css @@ -53,7 +53,10 @@ button { .button-box { border: 1px solid transparent; - padding: 0px 3px 1px 2px; + padding-top: 0; + padding-bottom: 1px; + -moz-padding-start: 2px; + -moz-padding-end: 3px; } .button-icon { @@ -103,7 +106,10 @@ button[checked="true"] { button:hover:active > .button-box, button[open="true"] > .button-box, button[checked="true"] > .button-box { - padding: 1px 2px 0px 3px; + padding-top: 1px; + padding-bottom: 0px; + -moz-padding-start: 3px; + -moz-padding-end: 2px; } /* .......... disabled state .......... */ @@ -115,7 +121,10 @@ button[disabled="true"]:hover:active { } button[disabled="true"] > .button-box { - padding: 0px 3px 1px 2px !important; + padding-top: 0 !important; + padding-bottom: 1px !important; + -moz-padding-start: 2px !important; + -moz-padding-end: 3px !important; } /* ::::: menu/menu-button buttons ::::: */ @@ -137,7 +146,10 @@ button[type="menu-button"] { } .button-menubutton-dropmarker[open="true"] { - margin: 2px 0px 0px 2px; + margin-top: 2px; + margin-bottom: 0; + -moz-margin-start: 2px; + -moz-margin-end: 0; } diff --git a/EarlyBlue/global/config.css b/EarlyBlue/global/config.css index 3026db55..ae5f17f7 100644 --- a/EarlyBlue/global/config.css +++ b/EarlyBlue/global/config.css @@ -70,7 +70,7 @@ #warningTitle { - margin: 0 0 .6em 0; + margin: 0 0 .6em; font-size: 160%; border-bottom: 1px solid #666699; } diff --git a/EarlyBlue/global/console/console.css b/EarlyBlue/global/console/console.css index 0b2e04fc..6f3642c1 100644 --- a/EarlyBlue/global/console/console.css +++ b/EarlyBlue/global/console/console.css @@ -139,11 +139,14 @@ /* ::::: toolbars ::::: */ #TextboxEval { - margin: 1px 2px 1px 2px ; + margin: 1px 2px; } #ButtonEval { - margin: 1px 2px 1px 0px; + margin-top: 1px; + margin-bottom: 1px; + -moz-margin-start: 0; + -moz-margin-end: 2px; } toolbarseparator { diff --git a/EarlyBlue/global/datetimepicker.css b/EarlyBlue/global/datetimepicker.css index 9427c73c..67cb43b3 100644 --- a/EarlyBlue/global/datetimepicker.css +++ b/EarlyBlue/global/datetimepicker.css @@ -53,7 +53,7 @@ datepicker, timepicker { cursor: text; -moz-margin-end: 2px; border: 1px inset #CCD0DD; - padding: 2px 0 3px 0; + padding: 2px 0 3px; -moz-padding-start: 4px; -moz-padding-end: 2px; background-color: #FFFFFF; diff --git a/EarlyBlue/global/dialog.css b/EarlyBlue/global/dialog.css index 5f31db4b..1e522199 100644 --- a/EarlyBlue/global/dialog.css +++ b/EarlyBlue/global/dialog.css @@ -62,7 +62,7 @@ dialog { /* ::::: dialog header ::::: */ dialogheader { - margin: 0px 5px 5px 5px; + margin: 0px 5px 5px; border: 1px inset #666699; padding: 3px 4px; background-color: #666699; diff --git a/EarlyBlue/global/dirListing/dirListing.css b/EarlyBlue/global/dirListing/dirListing.css index a2794286..c122145e 100644 --- a/EarlyBlue/global/dirListing/dirListing.css +++ b/EarlyBlue/global/dirListing/dirListing.css @@ -54,7 +54,7 @@ body { } h1 { - margin: 0 0 .6em 0; + margin: 0 0 .6em; border-bottom: 1px solid #666699; font-size: 160%; font-weight: normal; diff --git a/EarlyBlue/global/dropmarker.css b/EarlyBlue/global/dropmarker.css index f45b9dd6..1b0749b4 100644 --- a/EarlyBlue/global/dropmarker.css +++ b/EarlyBlue/global/dropmarker.css @@ -11,7 +11,10 @@ dropmarker { dropmarker:hover:active { border: 1px inset #CCD0DD; - padding: 2px 0 0 2px; + padding-top: 2px; + padding-bottom: 0; + -moz-padding-start: 2px; + -moz-padding-end: 0; } dropmarker[disabled="true"] { diff --git a/EarlyBlue/global/global.css b/EarlyBlue/global/global.css index f48c304e..4cedc1fc 100644 --- a/EarlyBlue/global/global.css +++ b/EarlyBlue/global/global.css @@ -82,7 +82,10 @@ prefwindow { } window.dialog { - padding: 8px 10px 10px 8px; + padding-top: 8px; + padding-bottom: 10px; + -moz-padding-start: 8px; + -moz-padding-end: 10px; } /* ::::: alert icons :::::*/ @@ -167,7 +170,7 @@ window:not([active="true"]) menubar > menu { .inset { border: 1px inset #CCD0DD; - /* margin: 0px 5px 5px 5px; */ + /* margin: 0px 5px 5px; */ } .outset { @@ -263,7 +266,7 @@ description { } .wizard-box { - padding: 15px 35px 10px 35px; + padding: 15px 35px 10px; } .text-link { diff --git a/EarlyBlue/global/groupbox.css b/EarlyBlue/global/groupbox.css index bb305cd0..5d4588e3 100644 --- a/EarlyBlue/global/groupbox.css +++ b/EarlyBlue/global/groupbox.css @@ -46,7 +46,10 @@ groupbox { margin: 3px 2px; border: 2px groove #CCD0DD; - padding: 3px 3px 5px 5px; + padding-top: 3px; + padding-bottom: 5px; + -moz-padding-start: 5px; + -moz-padding-end: 3px; } .groupbox-body { @@ -54,7 +57,7 @@ groupbox { } caption { - margin: 0px 6px 2px 6px; + margin: 0px 6px 2px; padding: 0px 3px; background-color: #CCD0DD; } diff --git a/EarlyBlue/global/menu.css b/EarlyBlue/global/menu.css index b92c5a14..a6340cd5 100644 --- a/EarlyBlue/global/menu.css +++ b/EarlyBlue/global/menu.css @@ -69,8 +69,10 @@ menuitem[_moz-menuactive="true"][disabled="true"] { } menubar > menu { - padding: 2px 0px 2px 3px; - margin: 0px 2px 0px 0px; + padding: 2px 0px; + -moz-padding-start: 3px; + margin: 0px 2px; + -moz-margin-start: 0px; border: 1px solid #CCD0DD; } diff --git a/EarlyBlue/global/menulist.css b/EarlyBlue/global/menulist.css index a0d2df3c..6f3d49f4 100644 --- a/EarlyBlue/global/menulist.css +++ b/EarlyBlue/global/menulist.css @@ -92,7 +92,10 @@ menulist[disabled="true"]:hover:active > .menulist-dropmarker { menulist:hover:active > .menulist-dropmarker, menulist[open="true"] > .menulist-dropmarker { border: 1px inset #CCD0DD; - padding: 2px 0px 0px 2px; + padding-top: 2px; + padding-bottom: 0px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; } /* ::::: editable menulists ::::: */ diff --git a/EarlyBlue/global/netError.css b/EarlyBlue/global/netError.css index c681efd4..412e23ee 100644 --- a/EarlyBlue/global/netError.css +++ b/EarlyBlue/global/netError.css @@ -19,7 +19,7 @@ body { } h1 { - margin: 0 0 .6em 0; + margin: 0 0 .6em; border-bottom: 1px solid #666699; font-size: 160%; } diff --git a/EarlyBlue/global/notification.css b/EarlyBlue/global/notification.css index 0e079cb9..8362963a 100644 --- a/EarlyBlue/global/notification.css +++ b/EarlyBlue/global/notification.css @@ -18,7 +18,10 @@ notification[type="critical"] { .messageImage { width: 16px; height: 16px; - margin: 0px 1px 0px 6px; + margin-top: 0px; + margin-bottom: 0px; + -moz-margin-start: 6px; + -moz-margin-end: 1px; } /* Default icons for notifications */ diff --git a/EarlyBlue/global/passwordmgr.css b/EarlyBlue/global/passwordmgr.css index 7fd343b3..b9e4cd04 100644 --- a/EarlyBlue/global/passwordmgr.css +++ b/EarlyBlue/global/passwordmgr.css @@ -38,9 +38,9 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); .contentPane { - margin: 9px 8px 5px 8px; + margin: 9px 8px 5px; } .actionButtons { - margin: 0px 3px 6px 3px !important; + margin: 0px 3px 6px !important; } diff --git a/EarlyBlue/global/plugins.css b/EarlyBlue/global/plugins.css index 666b8aa6..0154be4d 100644 --- a/EarlyBlue/global/plugins.css +++ b/EarlyBlue/global/plugins.css @@ -85,7 +85,7 @@ div.plugname { } dl { - margin: 0px 0px 3px 0px; + margin: 0px 0px 3px; } span.label { diff --git a/EarlyBlue/global/preferences.css b/EarlyBlue/global/preferences.css index 8e6dfa8c..95a6d9cc 100644 --- a/EarlyBlue/global/preferences.css +++ b/EarlyBlue/global/preferences.css @@ -77,8 +77,8 @@ prefwindow[type="child"] .prefWindow-dlgbuttons { } radio[pane] { - margin: 0px 1px 0px 1px; - padding: 1px 3px 1px 3px; + margin: 0px 1px; + padding: 1px 3px; min-width: 4.5em; } diff --git a/EarlyBlue/global/progressmeter.css b/EarlyBlue/global/progressmeter.css index fc67c6e4..f235044a 100644 --- a/EarlyBlue/global/progressmeter.css +++ b/EarlyBlue/global/progressmeter.css @@ -69,7 +69,7 @@ progressmeter[mode="undetermined"] { /* ::::: statusbar progressmeter ::::: */ .progressmeter-statusbar { - margin: 0px 2px 0px 2px; + margin: 0px 2px; border: 1px solid #CCD0DD; background-color: #666699; min-width: 96px; diff --git a/EarlyBlue/global/scrollbars.css b/EarlyBlue/global/scrollbars.css index 706410fb..f6deeb1f 100644 --- a/EarlyBlue/global/scrollbars.css +++ b/EarlyBlue/global/scrollbars.css @@ -101,7 +101,10 @@ scrollbarbutton { scrollbarbutton:hover:active, scrollbarbutton[active="true"] { border-style: inset; - padding: 2px 0px 0px 2px; + padding-top: 2px; + padding-bottom: 0px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; } /* XXX - scrollbar.xml always grabs the OS settings and we don't want that */ diff --git a/EarlyBlue/global/tabbox.css b/EarlyBlue/global/tabbox.css index 566a6cc2..6d00c6ac 100644 --- a/EarlyBlue/global/tabbox.css +++ b/EarlyBlue/global/tabbox.css @@ -68,7 +68,7 @@ tab { margin-top: 2px; border: 1px outset #CCD0DD; border-bottom: none; - padding: 1px 4px 2px 4px; + padding: 1px 4px 2px; background-color: #CCD0DD; color: #000000; } @@ -109,7 +109,7 @@ tab[first-tab="true"][selected="true"] { margin-bottom: 2px; border: 1px outset #CCD0DD; border-top: none; - padding: 2px 4px 1px 4px; + padding: 2px 4px 1px; } /* ::::: tabs-bottom ::::: */ diff --git a/EarlyBlue/global/toolbarbutton.css b/EarlyBlue/global/toolbarbutton.css index f3f13b76..4ec3c75c 100644 --- a/EarlyBlue/global/toolbarbutton.css +++ b/EarlyBlue/global/toolbarbutton.css @@ -188,7 +188,7 @@ toolbarbutton[disabled="true"]:hover:active > toolbarbutton.toolbarbutton-menubu .toolbarbutton-menubutton-dropmarker { -moz-box-align: start; - padding: 3px 1px 1px 1px; + padding: 3px 1px 1px; background-color: transparent; } @@ -201,5 +201,5 @@ toolbarbutton[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropm } .toolbarbutton-menubutton-dropmarker[disabled="true"] { - padding: 3px 1px 1px 1px !important; + padding: 3px 1px 1px !important; } diff --git a/EarlyBlue/global/tree.css b/EarlyBlue/global/tree.css index d73c39be..9afbe603 100644 --- a/EarlyBlue/global/tree.css +++ b/EarlyBlue/global/tree.css @@ -111,12 +111,12 @@ treechildren::-moz-tree-cell-text(selected) { tree[seltype="cell"] > treechildren::-moz-tree-cell { border: 1px solid transparent; - padding: 0px 1px 0px 1px; + padding: 0px 1px; } tree[seltype="text"] > treechildren::-moz-tree-cell-text { border: 1px solid transparent; - padding: 0px 1px 1px 1px; + padding: 0px 1px 1px; } tree[seltype="cell"] > treechildren::-moz-tree-cell(active, selected) { diff --git a/EarlyBlue/help/helpFileLayout.css b/EarlyBlue/help/helpFileLayout.css index 788ece8f..0853c0a1 100644 --- a/EarlyBlue/help/helpFileLayout.css +++ b/EarlyBlue/help/helpFileLayout.css @@ -78,7 +78,7 @@ h5 { font-size: 90%; } h6 { font-size: 90%; border: 0; } h1, h2, h3, h4, h5, h6 { - margin: 1em 0 0.2em 0; + margin: 1em 0 0.2em; border-bottom: 1px solid #ccc; font-family: arial, verdana, sans-serif; } @@ -107,7 +107,7 @@ li { .contentsBox > ul, .contentsBox ul > ul{ - margin: 0 0 0 0; + margin: 0; list-style-type: none; } diff --git a/EarlyBlue/inspector/inspectorWindow.css b/EarlyBlue/inspector/inspectorWindow.css index 96dbf509..8ef27985 100644 --- a/EarlyBlue/inspector/inspectorWindow.css +++ b/EarlyBlue/inspector/inspectorWindow.css @@ -80,7 +80,7 @@ /* HACK: this button has no id !!! */ #bxURLBarContainer + toolbarbutton { border: 1px outset #CCD0DD; - margin: 2px 0px 4px 0px; + margin: 2px 0px 4px; font-weight: bold; background-color: #9999CC; } diff --git a/EarlyBlue/inspector/titledSplitter.css b/EarlyBlue/inspector/titledSplitter.css index 9515c856..29c28593 100644 --- a/EarlyBlue/inspector/titledSplitter.css +++ b/EarlyBlue/inspector/titledSplitter.css @@ -58,7 +58,7 @@ box[orient="vertical"] > .titled-splitter { } .titledsplitter-titlebox { - padding: 0px 5px 0px 5px; + padding: 0px 5px; } .titledsplitter-text { @@ -81,7 +81,10 @@ box[orient="vertical"] > .titled-splitter { .titledsplitter-closebutton:hover:active { border-style: inset; - padding: 3px 1px 1px 3px; + padding-top: 3px; + padding-bottom: 1px; + -moz-padding-start: 3px; + -moz-padding-end: 1px; } diff --git a/EarlyBlue/messenger/accountCentral.css b/EarlyBlue/messenger/accountCentral.css index 118690c5..9993ecad 100644 --- a/EarlyBlue/messenger/accountCentral.css +++ b/EarlyBlue/messenger/accountCentral.css @@ -58,7 +58,7 @@ separator.thin { /* ::::: rows ::::: */ #acctCentralHeaderRow { - margin: 5px 5px 5px 5px; + margin: 5px; background-color: #666699; color: #FFFFFF; font-weight: bold; diff --git a/EarlyBlue/messenger/addressbook/addressbook.css b/EarlyBlue/messenger/addressbook/addressbook.css index acaad7b9..81731665 100644 --- a/EarlyBlue/messenger/addressbook/addressbook.css +++ b/EarlyBlue/messenger/addressbook/addressbook.css @@ -135,7 +135,7 @@ .CardViewHeading { padding: 1px; -moz-padding-start: 5px; - margin: 0px 0px 1px 0px; + margin: 0 0 1px; background-color: #9999CC; color: #FFFFFF; font-weight: bold; diff --git a/EarlyBlue/messenger/addressbook/selectAddressesDialog.css b/EarlyBlue/messenger/addressbook/selectAddressesDialog.css index 5ea6f9b1..352082ae 100644 --- a/EarlyBlue/messenger/addressbook/selectAddressesDialog.css +++ b/EarlyBlue/messenger/addressbook/selectAddressesDialog.css @@ -47,7 +47,7 @@ /* ::::: Select Addresses dialog ::::: */ #topBox { - padding: 0.5em 0 1.0em 0; + padding: 0.5em 0 1.0em; } #resultsTree { diff --git a/EarlyBlue/messenger/dialogs.css b/EarlyBlue/messenger/dialogs.css index 2466928a..0b2c29b8 100644 --- a/EarlyBlue/messenger/dialogs.css +++ b/EarlyBlue/messenger/dialogs.css @@ -56,7 +56,10 @@ menu.push { menu.push:hover:active, menu.push[open] { border-style: inset; - padding: 3px 1px 1px 3px; + padding-top: 3px; + padding-bottom: 1px; + -moz-padding-start: 3px; + -moz-padding-end: 1px; } menu.push[disabled="true"], diff --git a/EarlyBlue/messenger/messageHeader.css b/EarlyBlue/messenger/messageHeader.css index 36e9538b..59a573dc 100644 --- a/EarlyBlue/messenger/messageHeader.css +++ b/EarlyBlue/messenger/messageHeader.css @@ -59,7 +59,8 @@ } #attachmentTree { - margin: 3px 3px 3px 0px; + margin: 3px; + -moz-margin-start: 0; height: 0px; width: 20em; } @@ -86,14 +87,15 @@ } .headerName { - margin: 0em .25em 0em 0em; + margin: 0; + -moz-margin-end: .25em; min-height: 16px; font-weight: bold; text-align: right; } .headerValue { - margin: 0em 0em 3px 0em; + margin: 0 0 3px; min-width: 50px; white-space: normal; color: inherit; @@ -101,11 +103,11 @@ } .headerValueBox { - margin: 0em 0em 3px 0em; + margin: 0 0 3px; } .headerValueBox > .headerValue { - margin: 0 0 0 0; + margin: 0; } .headerValueBox[singleline="true"] { @@ -178,7 +180,7 @@ .expandHeaderViewButton, .collapsedHeaderViewButton { - margin: 2px .5em 0 .5em; + margin: 2px .5em 0; padding: 0px; } @@ -214,7 +216,10 @@ } .collapsedHeaderDisplayName { - margin: 0 .5em 0 .55em; + margin-top: 2px; + margin-bottom: 2px; + -moz-margin-start: .55em; + -moz-margin-end: .5em; min-height: 16px; font-weight: bold; } diff --git a/EarlyBlue/messenger/messengercompose/messengercompose.css b/EarlyBlue/messenger/messengercompose/messengercompose.css index 38062da1..016a8524 100644 --- a/EarlyBlue/messenger/messengercompose/messengercompose.css +++ b/EarlyBlue/messenger/messengercompose/messengercompose.css @@ -114,22 +114,30 @@ /* ::::: autocomplete icons ::::: */ treechildren::-moz-tree-cell-text(default-match) { - margin: 2px -3px 2px 15px; + margin-top: 2px; + margin-bottom: 2px; + -moz-margin-start: 15px; + -moz-margin-end: -3px; border: none; } treechildren::-moz-tree-image(local-abook) { - margin: 2px -1px 2px 4px; + margin-top: 2px; + margin-bottom: 2px; + -moz-margin-start: 4px; + -moz-margin-end: -1px; list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif"); } treechildren::-moz-tree-image(remote-abook) { - margin: 2px -3px 2px 2px; + margin: 2px; + -moz-margin-end: -3px; list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif"); } treechildren::-moz-tree-image(remote-err) { - margin: 2px -3px 2px 2px; + margin: 2px; + -moz-margin-end: -3px; list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif"); } @@ -154,7 +162,7 @@ treechildren::-moz-tree-image(remote-err) { } #attachmentBucket { - margin: 3px 0px 2px 0px; + margin: 3px 0px 2px; } #compose-toolbar-sizer { diff --git a/EarlyBlue/messenger/subscribe.css b/EarlyBlue/messenger/subscribe.css index 9b9187b6..96d5db6f 100644 --- a/EarlyBlue/messenger/subscribe.css +++ b/EarlyBlue/messenger/subscribe.css @@ -46,7 +46,7 @@ /* ::::: margin adjustments :::::: */ #subscribetree { - margin: 0px 0px 0px 0px !important; + margin: 0 !important; border-bottom: 0px; } diff --git a/EarlyBlue/mozapps/downloads/downloads.css b/EarlyBlue/mozapps/downloads/downloads.css index 486736e2..898785dc 100644 --- a/EarlyBlue/mozapps/downloads/downloads.css +++ b/EarlyBlue/mozapps/downloads/downloads.css @@ -11,7 +11,8 @@ /* Download View Items */ richlistitem[type="download"] { - padding: 4px 8px 4px 4px; + padding: 4px; + -moz-padding-end: 8px; min-height: 46px; border-bottom: 1px solid #9999CC; } diff --git a/EarlyBlue/mozapps/extensions/about.css b/EarlyBlue/mozapps/extensions/about.css index 6b35b4a5..92d681e8 100644 --- a/EarlyBlue/mozapps/extensions/about.css +++ b/EarlyBlue/mozapps/extensions/about.css @@ -14,7 +14,7 @@ } #genericAbout { - padding: 0px 0px 10px 0px; + padding: 0px 0px 10px; min-height: 200px; width: 30em; } diff --git a/EarlyBlue/mozapps/extensions/eula.css b/EarlyBlue/mozapps/extensions/eula.css index f8979669..f112eee3 100644 --- a/EarlyBlue/mozapps/extensions/eula.css +++ b/EarlyBlue/mozapps/extensions/eula.css @@ -7,5 +7,5 @@ font-family: monospace; color: #000000; border: 1px solid #9999CC; - margin: 1em 0 1em 0; + margin: 1em 0; } diff --git a/EarlyBlue/mozapps/extensions/extensions.css b/EarlyBlue/mozapps/extensions/extensions.css index 512c6f1b..23f2dac9 100644 --- a/EarlyBlue/mozapps/extensions/extensions.css +++ b/EarlyBlue/mozapps/extensions/extensions.css @@ -1,5 +1,5 @@ #extensionsBox { - margin: 10px 10px 0px 10px; + margin: 10px 10px 0px; min-width: 1px; } @@ -28,7 +28,10 @@ /* Command Bar */ #commandBarBottom { - margin: 5px 5px 10px 10px; + margin-top: 5px; + margin-bottom: 10px; + -moz-margin-start: 10px; + -moz-margin-end: 5px; min-width: 1px; } @@ -339,7 +342,7 @@ vbox[typeName="status"][type="header-recommended"] { } #progressBox { - padding: 5px 5px 5px 5px; + padding: 5px; } #progressBox > hbox { @@ -427,7 +430,7 @@ richlistitem[selected="true"] .includeUpdate { #infoDisplay h3 { text-align: left; font-weight: bold; - margin: 0 0 0.7em 0; + margin: 0 0 0.7em; } #infoDisplay h1 { @@ -444,7 +447,7 @@ richlistitem[selected="true"] .includeUpdate { #infoDisplay ol, #infoDisplay ul { - margin: 0 0 0.7em 0; + margin: 0 0 0.7em; } #infoDisplay li { @@ -453,5 +456,5 @@ richlistitem[selected="true"] .includeUpdate { #infoDisplay p { text-align: justify; - margin: 0 0 0.7em 0; + margin: 0 0 0.7em; } diff --git a/EarlyBlue/mozapps/pref/pref.css b/EarlyBlue/mozapps/pref/pref.css index bebe8aba..8998d071 100644 --- a/EarlyBlue/mozapps/pref/pref.css +++ b/EarlyBlue/mozapps/pref/pref.css @@ -39,7 +39,7 @@ */ .listBox { - margin: 2px 2px; + margin: 2px; border: 1px inset #CCD0DD; background-color: #FFFFFF; } @@ -74,16 +74,19 @@ #typeIcon, .extensionChildren::-moz-tree-image(fileExtension), .pluginTypesChildren::-moz-tree-image(fileExtension) { - margin: 0px 5px 0px 0px; + margin: 0; + -moz-margin-end: 5px; } .pluginTypesChildren::-moz-tree-image(pluginEnabled) { - margin: 0px 5px 0px 0px; + margin: 0; + -moz-margin-end: 5px; list-style-image: url("chrome://mozapps/skin/pref/dot.gif"); } .pluginTypesChildren::-moz-tree-image(pluginEnabled, enabled) { - margin: 0px 5px 0px 0px; + margin: 0; + -moz-margin-end: 5px; list-style-image: url("chrome://mozapps/skin/pref/check.gif"); } @@ -98,4 +101,3 @@ #defaultAppName { -moz-margin-start: 6px !important; } - diff --git a/EarlyBlue/mozapps/update/updates.css b/EarlyBlue/mozapps/update/updates.css index 23b185d0..08d0fa90 100644 --- a/EarlyBlue/mozapps/update/updates.css +++ b/EarlyBlue/mozapps/update/updates.css @@ -47,7 +47,7 @@ remotecontent { * License Page */ .loadingBox { - padding: 3px 5px 3px 5px; + padding: 3px 5px; } .remoteLoadingThrobber { margin-top: 3px; @@ -63,7 +63,10 @@ remotecontent { * Update Found Page */ #moreDetails { - margin: 1px 5px 4px 3px; + margin-top: 1px; + margin-bottom: 4px; + -moz-margin-start: 3px; + -moz-margin-end: 5px; } #updateForMoreInfo { @@ -85,7 +88,7 @@ remotecontent { color: #000000; border: 1px outset #CCD0DD; padding: 3px; - margin: 1px 5px 4px 5px; + margin: 1px 5px 4px; } /** @@ -199,7 +202,7 @@ update { #historyItems { height: 200px; - margin: 1px 5px 4px 5px; + margin: 1px 5px 4px; } #historyItems > scrollbox { @@ -211,4 +214,3 @@ update { -moz-margin-start: 27px; margin-bottom: 10px; } - diff --git a/EarlyBlue/mozapps/xpinstall/xpinstallConfirm.css b/EarlyBlue/mozapps/xpinstall/xpinstallConfirm.css index e892db39..511b465d 100644 --- a/EarlyBlue/mozapps/xpinstall/xpinstallConfirm.css +++ b/EarlyBlue/mozapps/xpinstall/xpinstallConfirm.css @@ -3,7 +3,7 @@ } #itemList { - margin: 3px 4px 10px 4px; + margin: 3px 4px 10px; height: 14em; border: 1px inset #CCD0DD; background-color: #FFFFFF; diff --git a/EarlyBlue/navigator/pageInfo.css b/EarlyBlue/navigator/pageInfo.css index 87a9485b..526d2173 100644 --- a/EarlyBlue/navigator/pageInfo.css +++ b/EarlyBlue/navigator/pageInfo.css @@ -140,10 +140,10 @@ treechildren::-moz-tree-cell-text(broken) { } #securityPanel > .fieldLabel { - margin: 2px 10px 3px 10px; + margin: 2px 10px 3px; } #securityPanel > .fieldValue { font-weight: bold; - margin: 2px 10px 0px 10px; + margin: 2px 10px 0px; } diff --git a/LCARStrek/browser/aboutDialog.css b/LCARStrek/browser/aboutDialog.css index 9707405d..504431b4 100644 --- a/LCARStrek/browser/aboutDialog.css +++ b/LCARStrek/browser/aboutDialog.css @@ -1,5 +1,5 @@ #aboutDialog { - padding: 0px 0px 10px 0px; + padding: 0px 0px 10px; } #clientBox { @@ -12,14 +12,20 @@ } #detailsBox { - padding: 8px 10px 10px 8px; + padding-top: 8px; + padding-bottom: 10px; + -moz-padding-start: 8px; + -moz-padding-end: 10px; } #userAgent { margin: 3px 5px; background-color: #000000; color: #FF9F00; - padding: 1px 0px 1px 2px; + padding-top: 1px; + padding-bottom: 1px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; -moz-appearance: none; border: none; } diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 2b91e5a3..ebcfdb72 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -82,7 +82,10 @@ toolbarbutton.bookmark-item { toolbarbutton.bookmark-item:hover:active, toolbarbutton.bookmark-item[open="true"] { - padding: 2px 0px 0px 2px; + padding-top: 2px; + padding-bottom: 0px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; } .bookmark-item > .toolbarbutton-icon { @@ -130,7 +133,10 @@ menuitem.bookmark-item { max-width: 26em; border-top: 1px solid transparent !important; border-bottom: 1px solid transparent !important; - padding: 1px 3px 1px 2px; + padding-top: 1px; + padding-bottom: 1px; + -moz-padding-start: 2px; + -moz-padding-end: 3px; margin-top: -1px; } @@ -509,7 +515,10 @@ toolbar[iconsize="small"] .toolbarbutton-1 { toolbar[iconsize="small"] .toolbarbutton-1:hover:active, toolbar[iconsize="small"] .toolbarbutton-1[open="true"] { - padding: 3px 1px 1px 3px; + padding-top: 3px; + padding-bottom: 1px; + -moz-padding-start: 3px; + -moz-padding-end: 1px; } toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"], @@ -520,7 +529,10 @@ toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"][open="true"] { } toolbar[iconsize="small"] .toolbarbutton-1[checked="true"] { - padding: 3px 1px 1px 3px !important; + padding-top: 3px !important; + padding-bottom: 1px !important; + -moz-padding-start: 3px !important; + -moz-padding-end: 1px !important; } toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"], @@ -537,7 +549,10 @@ toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]: #window-controls { -moz-box-align: center; - padding: 0 2px 0 0px; + padding-top: 0px; + padding-bottom: 0px; + -moz-padding-start: 0px; + -moz-padding-end: 2px; border-left: 3px solid #000000; min-height: 28px; } @@ -691,7 +706,7 @@ statusbarpanel#statusbar-display { #page-report-button[blocked] { display: -moz-box; list-style-image: url("chrome://browser/skin/icons/info.gif"); - padding: 0px 3px 0px 3px; + padding: 0px 3px; } #page-theme-button { @@ -701,7 +716,7 @@ statusbarpanel#statusbar-display { #page-theme-button[themes] { display: -moz-box; list-style-image: url("chrome://browser/skin/icons/page-themes.gif"); - padding: 0px 3px 0px 3px; + padding: 0px 3px; } /* ::::: throbber ::::: */ diff --git a/LCARStrek/browser/downloads/downloadmanager.css b/LCARStrek/browser/downloads/downloadmanager.css index 723659f0..8b427279 100644 --- a/LCARStrek/browser/downloads/downloadmanager.css +++ b/LCARStrek/browser/downloads/downloadmanager.css @@ -10,7 +10,7 @@ } download { - padding: 3px 0px 3px 3px; + padding: 3px 0px 3px; min-height: 25px; } diff --git a/LCARStrek/browser/pref/pref.css b/LCARStrek/browser/pref/pref.css index df152160..0ba8e184 100644 --- a/LCARStrek/browser/pref/pref.css +++ b/LCARStrek/browser/pref/pref.css @@ -38,7 +38,8 @@ */ .buttonBox { - margin: 0px 3px 0px 0px !important; + margin: 0 !important; + -moz-margin-end: 3px !important; } .buttonBoxButton { diff --git a/LCARStrek/communicator/bookmarks/bookmarks.css b/LCARStrek/communicator/bookmarks/bookmarks.css index ce55dcc7..fc90316c 100644 --- a/LCARStrek/communicator/bookmarks/bookmarks.css +++ b/LCARStrek/communicator/bookmarks/bookmarks.css @@ -105,7 +105,7 @@ treechildren::-moz-tree-image(Name, separator) { treechildren::-moz-tree-cell-text(Name, separator) { color: #E7ADE7; - margin: 0px 5px 0px 5px; + margin: 0px 5px; } treechildren::-moz-tree-cell-text(Name, separator, selected, focus) { diff --git a/LCARStrek/communicator/certError.css b/LCARStrek/communicator/certError.css index a120ecc3..49929b87 100644 --- a/LCARStrek/communicator/certError.css +++ b/LCARStrek/communicator/certError.css @@ -51,7 +51,7 @@ body { } h1 { - margin: 0 0 .6em 0; + margin: 0 0 .6em; border-bottom: 1px solid #008484; font-size: 160%; color: #FF0000; diff --git a/LCARStrek/communicator/search/internetresults.css b/LCARStrek/communicator/search/internetresults.css index 24f76351..b5458303 100644 --- a/LCARStrek/communicator/search/internetresults.css +++ b/LCARStrek/communicator/search/internetresults.css @@ -41,12 +41,15 @@ background-color: #9C9CFF; color: #000000; font-weight: bold; - padding: 3px 0px 2px 6px; + padding-top: 3px; + padding-bottom: 2px; + -moz-padding-start: 6px; + -moz-padding-end: 0px; -moz-border-radius: 8px 0px 0px 0px; } #engineTabs { - padding: 2px 0px 2px 0px; + padding: 2px 0px; /* don't know why its not setting the color */ background-color: #9C9CFF; } diff --git a/LCARStrek/communicator/sidebar/sidebar.css b/LCARStrek/communicator/sidebar/sidebar.css index 965adc22..51f25212 100644 --- a/LCARStrek/communicator/sidebar/sidebar.css +++ b/LCARStrek/communicator/sidebar/sidebar.css @@ -66,7 +66,8 @@ border: none; color: #FF9F00; background-color: #6000CF; - padding: 0px 2px 0px 4px; + padding: 0px 2px; + -moz-padding-start: 4px; } .sidebar-header-text { @@ -89,7 +90,7 @@ /* ..... panel picker button ..... */ #sidebar-panel-picker { - padding: 3px 1px 3px 1px; + padding: 3px 1px; /** bugzilla 89144 - must be able to access tabs dropdown **/ -moz-user-focus:normal !important; } @@ -131,7 +132,7 @@ .box-texttab > hbox { -moz-border-radius: 5px; -moz-box-align: stretch; - padding: 2px 0px 2px 0px; + padding: 2px 0px; background-color: #FF9F00; color: #000000; } @@ -160,11 +161,11 @@ } .sbtab-label { - margin: 0px 0px 0px 0px !important; + margin: 0px !important; } .sbtab-twisty { - margin: 2px 3px 0px 3px; + margin: 2px 3px 0px; list-style-image: url("chrome://global/skin/tree/twisty-closed-selected.gif"); } @@ -186,7 +187,7 @@ .sidebar-nav-button { -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image"); - padding: 5px 0px 5px 0px; + padding: 5px 0px; } .tab-fwd { diff --git a/LCARStrek/editor/EdImageMap.css b/LCARStrek/editor/EdImageMap.css index 9664db00..61548f69 100644 --- a/LCARStrek/editor/EdImageMap.css +++ b/LCARStrek/editor/EdImageMap.css @@ -41,24 +41,30 @@ toolbar#toolbox { margin: 0px; - padding: 4px 0px 0px 0px; + padding: 4px 0px 0px; } toolbar#toolbox button.tool:active { - margin: 2px 0px 0px 2px; + margin-top: 2px; + margin-bottom: 0px; + -moz-margin-start: 2px; + -moz-margin-end: 0px; } toolbar#toolbox button.tool[toggled="1"] { - margin: 2px 0px 0px 2px; + margin-top: 2px; + margin-bottom: 0px; + -moz-margin-start: 2px; + -moz-margin-end: 0px; border: 1px white inset; } toolbar#toolbox button.tool { border: 1px solid transparent; - margin: 1px 1px 1px 1px; - padding: 2px; - text-decoration: none; - color: inherit; + margin: 1px; + padding: 2px; + text-decoration: none; + color: inherit; } toolbar.toolbox > toolbargrippy { @@ -66,41 +72,41 @@ toolbar.toolbox > toolbargrippy { } #pointerButton { - list-style-image:url("chrome://editor/skin/icons/Map_pointerTool.gif"); + list-style-image:url("chrome://editor/skin/icons/Map_pointerTool.gif"); } #rectButton { - list-style-image:url("chrome://editor/skin/icons/Map_rectangleTool.gif"); + list-style-image:url("chrome://editor/skin/icons/Map_rectangleTool.gif"); } #cirButton { - list-style-image:url("chrome://editor/skin/icons/Map_circleTool.gif"); + list-style-image:url("chrome://editor/skin/icons/Map_circleTool.gif"); } #polyButton { - list-style-image:url("chrome://editor/skin/icons/Map_polygonTool.gif"); + list-style-image:url("chrome://editor/skin/icons/Map_polygonTool.gif"); } #cutButton { - list-style-image:url("chrome://editor/skin/icons/Map_Cut.gif"); + list-style-image:url("chrome://editor/skin/icons/Map_Cut.gif"); } #copyButton { - list-style-image:url("chrome://editor/skin/icons/Map_Copy.gif"); + list-style-image:url("chrome://editor/skin/icons/Map_Copy.gif"); } #pasteButton { - list-style-image:url("chrome://editor/skin/icons/Map_Paste.gif"); + list-style-image:url("chrome://editor/skin/icons/Map_Paste.gif"); } #zoomInButton { - list-style-image:url("chrome://editor/skin/icons/Map_zoomIn.gif"); + list-style-image:url("chrome://editor/skin/icons/Map_zoomIn.gif"); } #zoomOutButton { - list-style-image:url("chrome://editor/skin/icons/Map_zoomOut.gif"); + list-style-image:url("chrome://editor/skin/icons/Map_zoomOut.gif"); } #contrastButton { - list-style-image:url("chrome://editor/skin/icons/Map_contrast.gif"); + list-style-image:url("chrome://editor/skin/icons/Map_contrast.gif"); } diff --git a/LCARStrek/editor/EditorDialog.css b/LCARStrek/editor/EditorDialog.css index ec99b9d2..b39ee00e 100644 --- a/LCARStrek/editor/EditorDialog.css +++ b/LCARStrek/editor/EditorDialog.css @@ -127,7 +127,8 @@ groupbox { border: 2px outset #9C9CFF; width: 25px; height: 20px; - margin: 0px 3px 0px 0px; + margin: 0; + -moz-margin-end: 3px; } #ColorPickerSwatch[default="true"] { @@ -139,14 +140,17 @@ groupbox { width: 17px; height: 13px; border: 1px inset #9C9CFF; - margin: 1px 2px 2px 4px; + margin-top: 1px; + margin-bottom: 2px; + -moz-margin-start: 4px; + -moz-margin-end: 2px; } /* temporary -- we need a simple box-based list defined in XBL */ tree.list { border: 1px inset #9C9CFF; /* same as in menulist.css */ - margin: 1px 5px 2px 5px; + margin: 1px 5px 2px; /* use rows="#" in XUL to define height */ } @@ -292,7 +296,7 @@ label#alignLabel { height: 52px; max-height: 52px; min-height: 52px; - margin: 6px 5px 6px 5px; + margin: 6px 5px; overflow: -moz-hidden-unscrollable; } diff --git a/LCARStrek/editor/editor.css b/LCARStrek/editor/editor.css index f35cf2e4..ec3dfc9b 100644 --- a/LCARStrek/editor/editor.css +++ b/LCARStrek/editor/editor.css @@ -47,11 +47,17 @@ .source-editor, .source-editor:focus { - margin: 0px 5px 5px 0px; + margin-top: 0px; + margin-bottom: 5px; + -moz-margin-start: 0px; + -moz-margin-end: 5px; border: 0px; /* Scroll bars are in content, so we can't use right and bottom padding! */ - padding: 5px 0px 0px 5px; + padding-top: 5px; + padding-bottom: 0px; + -moz-padding-start: 5px; + -moz-padding-end: 0px; } /* Multiline textarea for HTML source editing */ diff --git a/LCARStrek/editor/editorFormatToolbar.css b/LCARStrek/editor/editorFormatToolbar.css index fa8b4ab7..d94b504d 100644 --- a/LCARStrek/editor/editorFormatToolbar.css +++ b/LCARStrek/editor/editorFormatToolbar.css @@ -430,11 +430,17 @@ } #TextColorButton { - margin: 2px 9px 9px 2px; + margin-top: 2px; + margin-bottom: 9px; + -moz-margin-start: 2px; + -moz-margin-end: 9px; } #BackgroundColorButton { - margin: 9px 2px 2px 9px; + margin-top: 9px; + margin-bottom: 2px; + -moz-margin-start: 9px; + -moz-margin-end: 2px; } #HighlightColorButton { diff --git a/LCARStrek/global/about.css b/LCARStrek/global/about.css index d5662c9e..18f2a6b6 100644 --- a/LCARStrek/global/about.css +++ b/LCARStrek/global/about.css @@ -34,7 +34,10 @@ img { #version { font-weight: bold; color: #008484; - margin: -24px 0 9px 17px; + margin-top: -24px; + margin-bottom: 9px; + -moz-margin-start: 17px; + -moz-margin-end: 0; } ul { diff --git a/LCARStrek/global/autocomplete.css b/LCARStrek/global/autocomplete.css index 3bdefee6..ccadf73c 100644 --- a/LCARStrek/global/autocomplete.css +++ b/LCARStrek/global/autocomplete.css @@ -157,7 +157,10 @@ panel[type="autocomplete-richlistbox"], .ac-site-icon { width: 16px; height: 16px; - margin: 0 5px -3px 3px; + margin-top: 0; + margin-bottom: -3px; + -moz-margin-start: 3px; + -moz-margin-end: 5px; } .ac-type-icon { @@ -174,13 +177,13 @@ panel[type="autocomplete-richlistbox"], } .ac-ellipsis-after { - margin: 2px 0px 0px 0px !important; + margin: 2px 0px 0px !important; padding: 0; min-width: 1em; } .ac-normal-text { - margin: 2px 0px 0px 0px !important; + margin: 2px 0px 0px !important; padding: 0; } diff --git a/LCARStrek/global/button.css b/LCARStrek/global/button.css index f8858920..6b1d7b87 100644 --- a/LCARStrek/global/button.css +++ b/LCARStrek/global/button.css @@ -55,7 +55,10 @@ button { .button-box { -moz-border-radius: 3px; border: 1px solid transparent; - padding: 1px 4px 2px 3px; + padding-top: 1px; + padding-bottom: 2px; + -moz-padding-start: 3px; + -moz-padding-end: 4px; } .button-icon { @@ -124,7 +127,10 @@ button[checked="true"] { button:hover:active > .button-box, button[open="true"] > .button-box, button[checked="true"] > .button-box { - padding: 2px 3px 1px 4px; + padding-top: 2px; + padding-bottom: 1px; + -moz-padding-start: 4px; + -moz-padding-end: 3px; } /* .......... disabled state .......... */ @@ -137,7 +143,10 @@ button[disabled="true"]:hover:active { } button[disabled="true"] > .button-box { - padding: 1px 4px 2px 3px !important; + padding-top: 1px !important; + padding-bottom: 2px !important; + -moz-padding-start: 3px !important; + -moz-padding-end: 4px !important; } /* ::::: menu/menu-button buttons ::::: */ diff --git a/LCARStrek/global/config.css b/LCARStrek/global/config.css index 3dd7f3dd..5da2f377 100644 --- a/LCARStrek/global/config.css +++ b/LCARStrek/global/config.css @@ -70,7 +70,7 @@ #warningTitle { - margin: 0 0 .6em 0; + margin: 0 0 .6em; font-size: 160%; border-bottom: 1px solid #008484; } diff --git a/LCARStrek/global/console/console.css b/LCARStrek/global/console/console.css index 77bc7842..a854569b 100644 --- a/LCARStrek/global/console/console.css +++ b/LCARStrek/global/console/console.css @@ -139,11 +139,14 @@ /* ::::: toolbars ::::: */ #TextboxEval { - margin: 1px 2px 1px 2px ; + margin: 1px 2px; } #ButtonEval { - margin: 1px 2px 1px 0px; + margin-top: 1px; + margin-bottom: 1px; + -moz-margin-start: 0; + -moz-margin-end: 2px; } toolbarseparator { diff --git a/LCARStrek/global/datetimepicker.css b/LCARStrek/global/datetimepicker.css index 6ad331b8..76bd1dcb 100644 --- a/LCARStrek/global/datetimepicker.css +++ b/LCARStrek/global/datetimepicker.css @@ -54,7 +54,7 @@ datepicker, timepicker { -moz-margin-end: 2px; -moz-border-radius: 3px; border: 1px solid #9C9CFF; - padding: 2px 0 3px 0; + padding: 2px 0 3px; -moz-padding-start: 4px; -moz-padding-end: 2px; background-color: #000000; diff --git a/LCARStrek/global/dialog.css b/LCARStrek/global/dialog.css index 98616f0a..6b867a0a 100644 --- a/LCARStrek/global/dialog.css +++ b/LCARStrek/global/dialog.css @@ -79,7 +79,10 @@ dialogheader { margin: 0; border: none; border-bottom: 1px solid #9C9CFF; - padding: 12px 5px 12px 25px; + padding-top: 12px; + padding-bottom: 12px; + -moz-padding-start: 25px; + -moz-padding-end: 5px; background-color: #000000; color: #FF9F00; } diff --git a/LCARStrek/global/dirListing/dirListing.css b/LCARStrek/global/dirListing/dirListing.css index 00c8ec08..28efb968 100644 --- a/LCARStrek/global/dirListing/dirListing.css +++ b/LCARStrek/global/dirListing/dirListing.css @@ -54,7 +54,7 @@ body { } h1 { - margin: 0 0 .6em 0; + margin: 0 0 .6em; border-bottom: 1px solid #008484; font-size: 160%; font-weight: normal; diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index e3ae60cc..ccb3dec0 100644 --- a/LCARStrek/global/global.css +++ b/LCARStrek/global/global.css @@ -104,7 +104,10 @@ prefwindow { /* deprecated */ window.dialog { background-color: #000000; - padding: 8px 10px 10px 8px; + padding-top: 8px; + padding-bottom: 10px; + -moz-padding-start: 8px; + -moz-padding-end: 10px; } /* ::::: alert icons :::::*/ @@ -176,7 +179,7 @@ statusbar { statusbarpanel { -moz-box-align: center; -moz-box-pack: center; - padding: 0px 1px 0px 1px; + padding: 0px 1px; } .statusbar-resizerpanel { @@ -207,7 +210,7 @@ window:not([active="true"]) menubar > menu { .inset { /* border: 1px inset #FF9F00; - margin: 0px 5px 5px 5px; */ + margin: 0px 5px 5px; */ } .outset { @@ -303,7 +306,7 @@ description { } .wizard-box { - padding: 15px 35px 10px 35px; + padding: 15px 35px 10px; } .text-link { diff --git a/LCARStrek/global/groupbox.css b/LCARStrek/global/groupbox.css index 8277b85b..502493c9 100644 --- a/LCARStrek/global/groupbox.css +++ b/LCARStrek/global/groupbox.css @@ -47,7 +47,10 @@ groupbox { -moz-border-radius: 5px; margin: 3px 2px; border: 2px solid #9C9CFF; - padding: 3px 3px 5px 5px; + padding-top: 3px; + padding-bottom: 5px; + -moz-padding-start: 5px; + -moz-padding-end: 3px; } .groupbox-body { @@ -56,7 +59,7 @@ groupbox { caption { -moz-border-radius: 7px; - margin: 0px 6px 2px 6px; + margin: 0px 6px 2px; padding: 0px 3px; background-color: #9C9CFF; color: #000000; diff --git a/LCARStrek/global/menulist.css b/LCARStrek/global/menulist.css index b049ac6d..1ee9b22a 100644 --- a/LCARStrek/global/menulist.css +++ b/LCARStrek/global/menulist.css @@ -124,7 +124,10 @@ menulist:hover > .menulist-dropmarker { menulist:hover:active > .menulist-dropmarker, menulist[open="true"] > .menulist-dropmarker { - padding: 2px 0px 0px 2px; + padding-top: 2px; + padding-bottom: 0; + -moz-padding-start: 2px; + -moz-padding-end: 0; border: none; border-left: 1px solid #FFCF00; background-color: #FF9F00; diff --git a/LCARStrek/global/netError.css b/LCARStrek/global/netError.css index cbe85015..d60dd3a5 100644 --- a/LCARStrek/global/netError.css +++ b/LCARStrek/global/netError.css @@ -19,7 +19,7 @@ body { } h1 { - margin: 0 0 .6em 0; + margin: 0 0 .6em; border-bottom: 1px solid #008484; font-size: 160%; } diff --git a/LCARStrek/global/passwordmgr.css b/LCARStrek/global/passwordmgr.css index 7fd343b3..b9e4cd04 100644 --- a/LCARStrek/global/passwordmgr.css +++ b/LCARStrek/global/passwordmgr.css @@ -38,9 +38,9 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); .contentPane { - margin: 9px 8px 5px 8px; + margin: 9px 8px 5px; } .actionButtons { - margin: 0px 3px 6px 3px !important; + margin: 0px 3px 6px !important; } diff --git a/LCARStrek/global/plugins.css b/LCARStrek/global/plugins.css index 1003b02c..8b2ec20a 100644 --- a/LCARStrek/global/plugins.css +++ b/LCARStrek/global/plugins.css @@ -102,7 +102,7 @@ div.plugname { } dl { - margin: 0px 0px 3px 0px; + margin: 0px 0px 3px; } span.label { diff --git a/LCARStrek/global/preferences.css b/LCARStrek/global/preferences.css index 9912c274..4feb3f8c 100644 --- a/LCARStrek/global/preferences.css +++ b/LCARStrek/global/preferences.css @@ -75,8 +75,8 @@ prefwindow[type="child"] .prefWindow-dlgbuttons { } radio[pane] { - margin: 0px 1px 0px 1px; - padding: 1px 3px 1px 3px; + margin: 0px 1px; + padding: 1px 3px; min-width: 4.5em; -moz-border-radius: 5px; } @@ -104,4 +104,3 @@ radio[pane][selected="true"] { background-color: #008484; color: #000000; } - diff --git a/LCARStrek/global/progressmeter.css b/LCARStrek/global/progressmeter.css index 038f7e3c..362eb912 100644 --- a/LCARStrek/global/progressmeter.css +++ b/LCARStrek/global/progressmeter.css @@ -69,7 +69,7 @@ progressmeter[mode="undetermined"] { /* ::::: statusbar progressmeter ::::: */ .progressmeter-statusbar { - margin: 0px 2px 0px 2px; + margin: 0px 2px; min-width: 96px; min-height: 16px; } diff --git a/LCARStrek/global/scrollbars.css b/LCARStrek/global/scrollbars.css index 0109fca8..68307942 100644 --- a/LCARStrek/global/scrollbars.css +++ b/LCARStrek/global/scrollbars.css @@ -107,7 +107,10 @@ scrollbarbutton { scrollbarbutton:hover:active, scrollbarbutton[active="true"] { - padding: 2px 0px 0px 2px; + padding-top: 2px; + padding-bottom: 0px; + -moz-padding-start: 2px; + -moz-padding-end: 0px; } /* XXX - scrollbar.xml always grabs the OS settings and we don't want that */ @@ -129,7 +132,8 @@ scrollcorner { scrollbarbutton[type="increment"] { background-image: url("chrome://global/skin/scrollbar/button-right.gif"); - margin: 0px 0px 0px 3px; + margin: 0px; + -moz-margin-start: 3px; } scrollbarbutton[type="increment"]:hover { @@ -142,7 +146,7 @@ scrollbarbutton[type="increment"][disabled="true"] { scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] { background-image: url("chrome://global/skin/scrollbar/button-down.gif"); - margin: 3px 0px 0px 0px; + margin: 3px 0px 0px; } scrollbar[orient="vertical"] > scrollbarbutton[type="increment"]:hover { @@ -157,7 +161,8 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="increment"][disabled="true" scrollbarbutton[type="decrement"] { background-image: url("chrome://global/skin/scrollbar/button-left.gif"); - margin: 0px 3px 0px 0px; + margin: 0px; + -moz-margin-end: 3px; } scrollbarbutton[type="decrement"]:hover { @@ -170,7 +175,7 @@ scrollbarbutton[type="decrement"][disabled="true"] { scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] { background-image: url("chrome://global/skin/scrollbar/button-up.gif"); - margin: 0px 0px 3px 0px; + margin: 0px 0px 3px; } scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"]:hover { diff --git a/LCARStrek/global/splitter.css b/LCARStrek/global/splitter.css index 9ff5a175..acce973b 100644 --- a/LCARStrek/global/splitter.css +++ b/LCARStrek/global/splitter.css @@ -52,7 +52,7 @@ splitter { border-bottom: 3px solid black; min-width: 6px; background-color: #9C9CFF; - margin: 0px 3px 0px 3px; + margin: 0px 3px; } splitter[state="dragging"], @@ -73,7 +73,7 @@ splitter[orient="vertical"] { border-left: 3px solid black; border-right: 3px solid black; min-height: 6px; - margin: 3px 0px 3px 0px; + margin: 3px 0px; } /* ::::: splitter grippy ::::: */ diff --git a/LCARStrek/global/tabbox.css b/LCARStrek/global/tabbox.css index 473ea3d0..936afbf8 100644 --- a/LCARStrek/global/tabbox.css +++ b/LCARStrek/global/tabbox.css @@ -70,7 +70,7 @@ tab { margin-top: 2px; border: 1px solid #9C9CFF; border-bottom: none; - padding: 1px 4px 2px 4px; + padding: 1px 4px 2px; background-color: #000000; color: #FF9F00; } @@ -118,7 +118,7 @@ tab[first-tab="true"][selected="true"] { margin-bottom: 2px; border: 1px solid #9C9CFF; border-top: none; - padding: 2px 4px 1px 4px; + padding: 2px 4px 1px; } /* ::::: tabs-bottom ::::: */ diff --git a/LCARStrek/global/toolbar.css b/LCARStrek/global/toolbar.css index 7f3a2432..a07e5033 100644 --- a/LCARStrek/global/toolbar.css +++ b/LCARStrek/global/toolbar.css @@ -129,7 +129,8 @@ toolbaritem > menubar { /* ::::: toolbar decorations ::::: */ toolbarseparator { - margin: 2px 0px 2px 2px; + margin: 2px; + -moz-margin-end: 0; border-right: 1px solid #000000; width: 1px; } diff --git a/LCARStrek/global/toolbarbutton.css b/LCARStrek/global/toolbarbutton.css index de4b266a..198155ea 100644 --- a/LCARStrek/global/toolbarbutton.css +++ b/LCARStrek/global/toolbarbutton.css @@ -204,7 +204,7 @@ toolbarbutton[disabled="true"]:hover:active > toolbarbutton.toolbarbutton-menubu .toolbarbutton-menubutton-dropmarker { -moz-border-radius: 3px; -moz-box-align: start; - padding: 3px 1px 1px 1px; + padding: 3px 1px 1px; border: none; background-color: transparent; } @@ -229,6 +229,6 @@ toolbarbutton[type="menu"][open="true"]:not([disabled="true"]) .toolbarbutton-me .toolbarbutton-menubutton-dropmarker[disabled="true"] { - padding: 3px 1px 1px 1px !important; + padding: 3px 1px 1px !important; border: none !important; } diff --git a/LCARStrek/help/helpFileLayout.css b/LCARStrek/help/helpFileLayout.css index 788ece8f..0853c0a1 100644 --- a/LCARStrek/help/helpFileLayout.css +++ b/LCARStrek/help/helpFileLayout.css @@ -78,7 +78,7 @@ h5 { font-size: 90%; } h6 { font-size: 90%; border: 0; } h1, h2, h3, h4, h5, h6 { - margin: 1em 0 0.2em 0; + margin: 1em 0 0.2em; border-bottom: 1px solid #ccc; font-family: arial, verdana, sans-serif; } @@ -107,7 +107,7 @@ li { .contentsBox > ul, .contentsBox ul > ul{ - margin: 0 0 0 0; + margin: 0; list-style-type: none; } diff --git a/LCARStrek/inspector/inspectorWindow.css b/LCARStrek/inspector/inspectorWindow.css index cd760f2d..53893797 100644 --- a/LCARStrek/inspector/inspectorWindow.css +++ b/LCARStrek/inspector/inspectorWindow.css @@ -88,6 +88,6 @@ /* HACK: this button has no id !!! */ #bxURLBarContainer + toolbarbutton { - margin: 2px 0px 4px 0px; + margin: 2px 0px 4px; font-weight: bold; } \ No newline at end of file diff --git a/LCARStrek/inspector/titledSplitter.css b/LCARStrek/inspector/titledSplitter.css index 971586e4..cca7ffa5 100644 --- a/LCARStrek/inspector/titledSplitter.css +++ b/LCARStrek/inspector/titledSplitter.css @@ -56,7 +56,7 @@ box[orient="vertical"] > .titled-splitter { } .titledsplitter-titlebox { - padding: 0px 5px 0px 5px; + padding: 0px 5px; } .titledsplitter-text { @@ -78,5 +78,8 @@ box[orient="vertical"] > .titled-splitter { } .titledsplitter-closebutton:hover:active { - padding: 3px 1px 1px 3px; + padding-top: 3px; + padding-bottom: 1px; + -moz-padding-start: 3px; + -moz-padding-end: 1px; } \ No newline at end of file diff --git a/LCARStrek/messenger/accountCentral.css b/LCARStrek/messenger/accountCentral.css index f5c62c3b..5238b93c 100644 --- a/LCARStrek/messenger/accountCentral.css +++ b/LCARStrek/messenger/accountCentral.css @@ -58,7 +58,7 @@ separator.thin { /* ::::: rows ::::: */ #acctCentralHeaderRow { - margin: 5px 5px 5px 5px; + margin: 5px; background-color: #FF9F00; -moz-border-radius: 10px; color: #000000; @@ -94,7 +94,7 @@ separator.thin { .acctCentralLinkText { cursor: pointer; color: #008484; - padding: 0px 5px 0px 5px; + padding: 0px 5px; -moz-border-radius: 3px; text-decoration: none; } diff --git a/LCARStrek/messenger/addressbook/addressbook.css b/LCARStrek/messenger/addressbook/addressbook.css index 7cfee715..799b000f 100644 --- a/LCARStrek/messenger/addressbook/addressbook.css +++ b/LCARStrek/messenger/addressbook/addressbook.css @@ -163,7 +163,7 @@ .CardViewHeading { padding: 1px; -moz-padding-start: 5px; - margin: 0px 0px 1px 0px; + margin: 0 0 1px; background-color: #008484; color: #000000; font-weight: bold; diff --git a/LCARStrek/messenger/addressbook/selectAddressesDialog.css b/LCARStrek/messenger/addressbook/selectAddressesDialog.css index 5ea6f9b1..352082ae 100644 --- a/LCARStrek/messenger/addressbook/selectAddressesDialog.css +++ b/LCARStrek/messenger/addressbook/selectAddressesDialog.css @@ -47,7 +47,7 @@ /* ::::: Select Addresses dialog ::::: */ #topBox { - padding: 0.5em 0 1.0em 0; + padding: 0.5em 0 1.0em; } #resultsTree { diff --git a/LCARStrek/messenger/dialogs.css b/LCARStrek/messenger/dialogs.css index 196881e1..b66df732 100644 --- a/LCARStrek/messenger/dialogs.css +++ b/LCARStrek/messenger/dialogs.css @@ -56,7 +56,10 @@ menu.push { menu.push:hover:active, menu.push[open] { border-color: #FFCF00; - padding: 3px 1px 1px 3px; + padding-top: 3px; + padding-bottom: 1px; + -moz-padding-start: 3px; + -moz-padding-end: 1px; } menu.push[disabled="true"], diff --git a/LCARStrek/messenger/messageHeader.css b/LCARStrek/messenger/messageHeader.css index e196e8eb..5e2585cf 100644 --- a/LCARStrek/messenger/messageHeader.css +++ b/LCARStrek/messenger/messageHeader.css @@ -63,7 +63,8 @@ } #attachmentTree { - margin: 3px 3px 3px 0px; + margin: 3px; + -moz-margin-start: 0; height: 0px; width: 20em; color: #FF9F00; @@ -93,14 +94,15 @@ } .headerName { - margin: 0em .25em 0em 0em; + margin: 0; + -moz-margin-end: .25em; min-height: 16px; font-weight: bold; text-align: right; } .headerValue { - margin: 0em 0em 3px 0em; + margin: 0 0 3px; min-width: 50px; white-space: normal; color: inherit; @@ -108,11 +110,11 @@ } .headerValueBox { - margin: 0em 0em 3px 0em; + margin: 0 0 3px; } .headerValueBox > .headerValue { - margin: 0 0 0 0; + margin: 0; } .headerValueBox[singleline="true"] { @@ -187,7 +189,7 @@ .expandHeaderViewButton, .collapsedHeaderViewButton { - margin: 2px .5em 0 .5em; + margin: 2px .5em 0; padding: 0px; } @@ -228,7 +230,10 @@ } .collapsedHeaderDisplayName { - margin: 2px .5em 2px .55em; + margin-top: 2px; + margin-bottom: 2px; + -moz-margin-start: .55em; + -moz-margin-end: .5em; min-height: 12px; font-weight: bold; } diff --git a/LCARStrek/messenger/messengercompose/messengercompose.css b/LCARStrek/messenger/messengercompose/messengercompose.css index e24c7e34..b99cb5d9 100644 --- a/LCARStrek/messenger/messengercompose/messengercompose.css +++ b/LCARStrek/messenger/messengercompose/messengercompose.css @@ -155,22 +155,30 @@ /* ::::: autocomplete icons ::::: */ treechildren::-moz-tree-cell-text(default-match) { - margin: 2px -3px 2px 15px; + margin-top: 2px; + margin-bottom: 2px; + -moz-margin-start: 15px; + -moz-margin-end: -3px; border: none; } treechildren::-moz-tree-image(local-abook) { - margin: 2px -1px 2px 4px; + margin-top: 2px; + margin-bottom: 2px; + -moz-margin-start: 4px; + -moz-margin-end: -1px; list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.gif"); } treechildren::-moz-tree-image(remote-abook) { - margin: 2px -3px 2px 2px; + margin: 2px; + -moz-margin-end: -3px; list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif"); } treechildren::-moz-tree-image(remote-err) { - margin: 2px -3px 2px 2px; + margin: 2px; + -moz-margin-end: -3px; list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook-error.gif"); } @@ -200,7 +208,7 @@ treechildren::-moz-tree-image(remote-err) { } #attachmentBucket { - margin: 3px 0px 2px 0px; + margin: 3px 0px 2px; color: #FF9F00; } diff --git a/LCARStrek/messenger/subscribe.css b/LCARStrek/messenger/subscribe.css index 2ceff550..27d499b4 100644 --- a/LCARStrek/messenger/subscribe.css +++ b/LCARStrek/messenger/subscribe.css @@ -46,7 +46,7 @@ /* ::::: margin adjustments :::::: */ #subscribetree { - margin: 0px 0px 0px 0px !important; + margin: 0 !important; } /* ::::: subscribed icons :::::: */ diff --git a/LCARStrek/mozapps/downloads/downloads.css b/LCARStrek/mozapps/downloads/downloads.css index ca188aa0..94831c07 100644 --- a/LCARStrek/mozapps/downloads/downloads.css +++ b/LCARStrek/mozapps/downloads/downloads.css @@ -11,7 +11,8 @@ /* Download View Items */ richlistitem[type="download"] { - padding: 4px 8px 4px 4px; + padding: 4px; + -moz-padding-end: 8px; min-height: 46px; border-bottom: 1px solid #9C9CFF; } diff --git a/LCARStrek/mozapps/extensions/about.css b/LCARStrek/mozapps/extensions/about.css index 547417e0..a9498a40 100644 --- a/LCARStrek/mozapps/extensions/about.css +++ b/LCARStrek/mozapps/extensions/about.css @@ -14,7 +14,7 @@ } #genericAbout { - padding: 0px 0px 10px 0px; + padding: 0px 0px 10px; min-height: 200px; width: 30em; } diff --git a/LCARStrek/mozapps/extensions/eula.css b/LCARStrek/mozapps/extensions/eula.css index cce346f0..2250f699 100644 --- a/LCARStrek/mozapps/extensions/eula.css +++ b/LCARStrek/mozapps/extensions/eula.css @@ -8,5 +8,5 @@ background-color: #000000; color: #FF9F00; border: 1px solid #9C9CFF; - margin: 1em 0 1em 0; + margin: 1em 0; } diff --git a/LCARStrek/mozapps/extensions/extensions.css b/LCARStrek/mozapps/extensions/extensions.css index c0b1a090..e0d065e5 100644 --- a/LCARStrek/mozapps/extensions/extensions.css +++ b/LCARStrek/mozapps/extensions/extensions.css @@ -1,5 +1,5 @@ #extensionsBox { - margin: 10px 10px 0px 10px; + margin: 10px 10px 0px; min-width: 1px; } @@ -29,7 +29,10 @@ /* Command Bar */ #commandBarBottom { - margin: 5px 5px 10px 10px; + margin-top: 5px; + margin-bottom: 10px; + -moz-margin-start: 10px; + -moz-margin-end: 5px; min-width: 1px; } @@ -342,7 +345,7 @@ vbox[typeName="status"][type="header-recommended"] { } #progressBox { - padding: 5px 5px 5px 5px; + padding: 5px; } #progressBox > hbox { @@ -433,7 +436,7 @@ richlistitem[selected="true"] .includeUpdate { #infoDisplay h3 { text-align: left; font-weight: bold; - margin: 0 0 0.7em 0; + margin: 0 0 0.7em; } #infoDisplay h1 { @@ -450,7 +453,7 @@ richlistitem[selected="true"] .includeUpdate { #infoDisplay ol, #infoDisplay ul { - margin: 0 0 0.7em 0; + margin: 0 0 0.7em; } #infoDisplay li { @@ -459,5 +462,5 @@ richlistitem[selected="true"] .includeUpdate { #infoDisplay p { text-align: justify; - margin: 0 0 0.7em 0; + margin: 0 0 0.7em; } diff --git a/LCARStrek/mozapps/pref/pref.css b/LCARStrek/mozapps/pref/pref.css index e3f8fac5..d5a15754 100644 --- a/LCARStrek/mozapps/pref/pref.css +++ b/LCARStrek/mozapps/pref/pref.css @@ -40,7 +40,7 @@ .listBox { -moz-border-radius: 3px; - margin: 2px 2px; + margin: 2px; border: 1px solid #9C9CFF; background-color: #000000; } @@ -75,16 +75,19 @@ #typeIcon, .extensionChildren::-moz-tree-image(fileExtension), .pluginTypesChildren::-moz-tree-image(fileExtension) { - margin: 0px 5px 0px 0px; + margin: 0; + -moz-margin-end: 5px; } .pluginTypesChildren::-moz-tree-image(pluginEnabled) { - margin: 0px 5px 0px 0px; + margin: 0; + -moz-margin-end: 5px; list-style-image: url("chrome://mozapps/skin/pref/dot.gif"); } .pluginTypesChildren::-moz-tree-image(pluginEnabled, enabled) { - margin: 0px 5px 0px 0px; + margin: 0; + -moz-margin-end: 5px; list-style-image: url("chrome://mozapps/skin/pref/check.gif"); } diff --git a/LCARStrek/mozapps/update/updates.css b/LCARStrek/mozapps/update/updates.css index 8f45c670..c67c0a0e 100644 --- a/LCARStrek/mozapps/update/updates.css +++ b/LCARStrek/mozapps/update/updates.css @@ -47,7 +47,7 @@ remotecontent { * License Page */ .loadingBox { - padding: 3px 5px 3px 5px; + padding: 3px 5px; } .remoteLoadingThrobber { margin-top: 3px; @@ -63,7 +63,10 @@ remotecontent { * Update Found Page */ #moreDetails { - margin: 1px 5px 4px 3px; + margin-top: 1px; + margin-bottom: 4px; + -moz-margin-start: 3px; + -moz-margin-end: 5px; } #updateForMoreInfo { @@ -86,7 +89,7 @@ remotecontent { -moz-border-radius: 5px; border: 1px solid #9C9CFF; padding: 3px; - margin: 1px 5px 4px 5px; + margin: 1px 5px 4px; } /** @@ -200,7 +203,7 @@ update { #historyItems { height: 200px; - margin: 1px 5px 4px 5px; + margin: 1px 5px 4px; } #historyItems > scrollbox { @@ -212,4 +215,3 @@ update { -moz-margin-start: 27px; margin-bottom: 10px; } - diff --git a/LCARStrek/mozapps/xpinstall/xpinstallConfirm.css b/LCARStrek/mozapps/xpinstall/xpinstallConfirm.css index b6b9e667..6e393840 100644 --- a/LCARStrek/mozapps/xpinstall/xpinstallConfirm.css +++ b/LCARStrek/mozapps/xpinstall/xpinstallConfirm.css @@ -3,7 +3,7 @@ } #itemList { - margin: 3px 4px 10px 4px; + margin: 3px 4px 10px; height: 14em; -moz-border-radius: 3px; border: 1px solid #9C9CFF; diff --git a/LCARStrek/navigator/pageInfo.css b/LCARStrek/navigator/pageInfo.css index a86fc4b0..0ac2071d 100644 --- a/LCARStrek/navigator/pageInfo.css +++ b/LCARStrek/navigator/pageInfo.css @@ -140,10 +140,10 @@ treechildren::-moz-tree-cell-text(broken) { } #securityPanel > .fieldLabel { - margin: 2px 10px 3px 10px; + margin: 2px 10px 3px; } #securityPanel > .fieldValue { font-weight: bold; - margin: 2px 10px 0px 10px; + margin: 2px 10px 0px; } -- 2.43.0