From c9b2b3ef52cf12effa0b33e5a20735ccb5e637a7 Mon Sep 17 00:00:00 2001 From: robert Date: Wed, 13 Mar 2002 22:29:33 +0000 Subject: [PATCH] keep up with current classic developement, make full screen mode work with EarlyBlue --- .../bookmarks/bookmarksWindow.css | 44 +++++++++-------- EarlyBlue/communicator/button.css | 29 +++++------- EarlyBlue/communicator/formatting.css | 29 +++++------- .../communicator/sidebar/sidebarListView.css | 13 ----- EarlyBlue/communicator/tasksOverlay.css | 1 - EarlyBlue/forms/button.css | 47 +++++++++++++------ EarlyBlue/forms/checkbox.css | 4 +- EarlyBlue/forms/select-dropdown.css | 4 +- EarlyBlue/forms/select.css | 1 - EarlyBlue/global/autocomplete.css | 9 ++-- EarlyBlue/global/menu.css | 24 +++++----- EarlyBlue/messenger/accountWizard.css | 8 ++++ .../addressbook/selectAddressesDialog.css | 42 ++++++++--------- EarlyBlue/messenger/threadPane.css | 2 +- EarlyBlue/navigator/navigator.css | 30 ++++++++---- 15 files changed, 154 insertions(+), 133 deletions(-) diff --git a/EarlyBlue/communicator/bookmarks/bookmarksWindow.css b/EarlyBlue/communicator/bookmarks/bookmarksWindow.css index 6336f3b5..6bea4848 100644 --- a/EarlyBlue/communicator/bookmarks/bookmarksWindow.css +++ b/EarlyBlue/communicator/bookmarks/bookmarksWindow.css @@ -45,22 +45,28 @@ /** * XXX - disable print plus. This needs to go into ns/!!! */ - #navprintplus - { - display : none !important; - } - - #status-bar - { - height : 1em; - } - - #notification-icon - { - list-style-image : url("chrome://communicator/skin/bookmarks/notification.gif"); - } - - #schedule-icon - { - list-style-image : url("chrome://communicator/skin/bookmarks/schedule.gif"); - } +#navprintplus { + display: none !important; +} + +#status-bar { + height: 1em; +} + +#notification-icon { + list-style-image: url("chrome://communicator/skin/bookmarks/notification.gif"); +} + +#schedule-icon { + list-style-image: url("chrome://communicator/skin/bookmarks/schedule.gif"); +} + +#panel-bar { + border-top: 1px outset #CCD0DD; + border-bottom: 1px outset #CCD0DD; +} + +bookmarks-outliner.inset { + margin: 0px; + border: 1px inset #CCD0DD; +} diff --git a/EarlyBlue/communicator/button.css b/EarlyBlue/communicator/button.css index 5c2cd15f..f19fb431 100644 --- a/EarlyBlue/communicator/button.css +++ b/EarlyBlue/communicator/button.css @@ -44,30 +44,27 @@ /* ::::: large toolbar buttons ::::: */ .toolbarbutton-1, -.toolbarbutton-1 > .toolbarbutton-menubutton-button -{ - min-width : 36px; - min-height : 36px; - -moz-box-orient : vertical; +.toolbarbutton-1 > .toolbarbutton-menubutton-button { + min-width: 36px; + min-height: 36px; + -moz-box-orient: vertical; } .toolbarbutton-1[type="menu-button"] { - -moz-box-orient : horizontal; + -moz-box-orient: horizontal; } .toolbarbutton-1, .toolbarbutton-1 > .toolbarbutton-menubutton-button, .toolbarbutton-1[disabled="true"]:hover:active, -.toolbarbutton-1[disabled="true"][buttondown="true"] -{ - padding : 1px; +.toolbarbutton-1[disabled="true"][buttondown="true"] { + padding: 1px; } .toolbarbutton-1:hover:active, .toolbarbutton-1[open="true"], -.toolbarbutton-1[buttondown="true"] > .toolbarbutton-menubutton-button -{ - padding : 2px 0px 0px 2px; +.toolbarbutton-1[buttondown="true"] > .toolbarbutton-menubutton-button { + padding: 2px 0px 0px 2px; } .toolbarbutton-1[type="menu"] > .toolbarbutton-menu-dropmarker { @@ -77,8 +74,8 @@ /* ::::: standard toolbar buttons ::::: */ .button-toolbar { - -moz-user-focus : ignore; - min-width : 0px; - max-width : 10em; - background-color : transparent; + -moz-user-focus: ignore; + min-width: 0px; + max-width: 10em; + background-color: transparent; } diff --git a/EarlyBlue/communicator/formatting.css b/EarlyBlue/communicator/formatting.css index 037d1b11..41187e27 100644 --- a/EarlyBlue/communicator/formatting.css +++ b/EarlyBlue/communicator/formatting.css @@ -38,19 +38,16 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* class for text with a 'link' appearance */ -.text-link - { - color : #666699; - text-decoration : underline; - cursor : pointer; - } - -.text-link:hover - { - color : #333366; - } - -.text-link:hover:active - { - color : #990000; - } +.text-link { + color: #666699; + text-decoration: underline; + cursor: pointer; +} + +.text-link:hover { + color : #333366; +} + +.text-link:hover:active { + color: #990000; +} diff --git a/EarlyBlue/communicator/sidebar/sidebarListView.css b/EarlyBlue/communicator/sidebar/sidebarListView.css index 1f023d73..6f39e5c4 100644 --- a/EarlyBlue/communicator/sidebar/sidebarListView.css +++ b/EarlyBlue/communicator/sidebar/sidebarListView.css @@ -41,16 +41,3 @@ outlinerchildren { cursor: pointer; } - -outlinerchildren:-moz-outliner-row(selected), -outlinerchildren:-moz-outliner-row(selected, focus) { - background-color: #FFFFFF !important; - border: 1px solid transparent !important; -} - -outlinerchildren:-moz-outliner-cell-text, -outlinerchildren:-moz-outliner-cell-text(selected), -outlinerchildren:-moz-outliner-cell-text(selected, focus) { - color: #336699 !important; - text-decoration: underline; -} diff --git a/EarlyBlue/communicator/tasksOverlay.css b/EarlyBlue/communicator/tasksOverlay.css index 9afcf1e2..8ab8fce5 100644 --- a/EarlyBlue/communicator/tasksOverlay.css +++ b/EarlyBlue/communicator/tasksOverlay.css @@ -83,4 +83,3 @@ #component-bar { -moz-box-align: stretch; } - diff --git a/EarlyBlue/forms/button.css b/EarlyBlue/forms/button.css index 6ffe0d5f..91b7f33a 100644 --- a/EarlyBlue/forms/button.css +++ b/EarlyBlue/forms/button.css @@ -26,6 +26,7 @@ ======================================================================= */ @namespace url(http://www.w3.org/1999/xhtml); +@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* :::::::::: button :::::::::: */ @@ -33,9 +34,8 @@ button, input[type="button"], input[type="submit"], input[type="reset"] { - -moz-appearance: button; + /* -moz-appearance: button; */ margin: 1px 5px 2px 5px; - min-width: 6.3em; border: 3px solid; -moz-border-top-colors: transparent ThreeDHighlight ThreeDLightShadow; -moz-border-right-colors: transparent ThreeDDarkShadow ThreeDShadow; @@ -45,16 +45,35 @@ input[type="reset"] { color: ButtonText; } -.button-box { +xul|*.button-box { border: 1px solid transparent; - padding: 1px 4px 2px 3px; + padding: 0px 4px 1px 3px; } -.button-box-text { +xul|*.button-box-text { margin: 0 !important; text-align: center; } +/* .......... active/open/checked state .......... */ + +button:hover:active, +input[type="button"]:hover:active, +input[type="submit"]:hover:active, +input[type="reset"]:hover:active { + -moz-border-top-colors: ThreeDDarkShadow ThreeDShadow transparent; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow transparent; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow transparent; + -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow transparent; +} + +button:hover:active > xul|*.button-box, +input[type="button"]:hover:active > xul|*.button-box, +input[type="submit"]:hover:active > xul|*.button-box, +input[type="reset"]:hover:active > xul|*.button-box { + padding: 1px 3px 0px 4px; +} + /* .......... focused state .......... */ button:focus, @@ -67,10 +86,10 @@ input[type="reset"]:focus { -moz-border-left-colors: ThreeDDarkShadow ThreeDHighlight transparent; } -button:focus > .button-box, -input[type="button"]:focus > .button-box, -input[type="submit"]:focus > .button-box, -input[type="reset"]:focus > .button-box { +button:focus > xul|*.button-box, +input[type="button"]:focus > xul|*.button-box, +input[type="submit"]:focus > xul|*.button-box, +input[type="reset"]:focus > xul|*.button-box { border: 1px dotted ThreeDDarkShadow; } @@ -87,10 +106,10 @@ input[type="reset"][disabled="true"] { color: GrayText; } -button[disabled="true"] > .button-box, -input[type="button"][disabled="true"] > .button-box, -input[type="submit"][disabled="true"] > .button-box, -input[type="reset"][diasbled="true"] > .button-box { - padding: 1px 4px 2px 3px !important; +button[disabled="true"] > xul|*.button-box, +input[type="button"][disabled="true"] > xul|*.button-box, +input[type="submit"][disabled="true"] > xul|*.button-box, +input[type="reset"][diasbled="true"] > xul|*.button-box { + padding: 0px 4px 1px 3px !important; } diff --git a/EarlyBlue/forms/checkbox.css b/EarlyBlue/forms/checkbox.css index 4732b653..85c7fea3 100644 --- a/EarlyBlue/forms/checkbox.css +++ b/EarlyBlue/forms/checkbox.css @@ -56,11 +56,11 @@ input[type="checkbox"][disabled="true"] { /* ..... checked state ..... */ -input[type="checkbox"][_moz-input-checked] { +input[type="checkbox"]:checked { list-style-image: url("chrome://global/skin/checkbox/cbox-check.gif"); } -input[type="checkbox"][_moz-input-checked][disabled="true"] { +input[type="checkbox"][disabled="true"]:checked { list-style-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif") !important } diff --git a/EarlyBlue/forms/select-dropdown.css b/EarlyBlue/forms/select-dropdown.css index f63a8f2b..7bbd75fc 100644 --- a/EarlyBlue/forms/select-dropdown.css +++ b/EarlyBlue/forms/select-dropdown.css @@ -43,7 +43,7 @@ **/ select, select[size="1"] { - -moz-appearance: menulist; + /*-moz-appearance: menulist;*/ margin: 2px 4px; border: 2px solid; -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow; @@ -62,7 +62,7 @@ xul|*.select-label-box { } xul|*.select-dropmarker { - -moz-appearance: menulist-button; + /*-moz-appearance: menulist-button;*/ min-width: 17px; -moz-box-align: center; -moz-box-pack: center; diff --git a/EarlyBlue/forms/select.css b/EarlyBlue/forms/select.css index c8842c18..2e7b2063 100644 --- a/EarlyBlue/forms/select.css +++ b/EarlyBlue/forms/select.css @@ -47,7 +47,6 @@ select[size] { margin: 0; min-height: none; color: inherit; - font: inherit; -moz-appearance: treeview; } diff --git a/EarlyBlue/global/autocomplete.css b/EarlyBlue/global/autocomplete.css index 68b18766..10f12190 100644 --- a/EarlyBlue/global/autocomplete.css +++ b/EarlyBlue/global/autocomplete.css @@ -44,11 +44,10 @@ /* ::::: autocomplete ::::: */ -textbox - { - cursor: default; - padding: 0px; - } +textbox { + cursor: default; + padding: 0px; +} .textbox-input-box { margin: 0 3px; diff --git a/EarlyBlue/global/menu.css b/EarlyBlue/global/menu.css index c510ad73..68d83410 100644 --- a/EarlyBlue/global/menu.css +++ b/EarlyBlue/global/menu.css @@ -56,8 +56,8 @@ menuitem[default="true"] { menu[disabled="true"], menuitem[disabled="true"], -menu[menuactive="true"][disabled="true"], -menuitem[menuactive="true"][disabled="true"] { +menu[disabled="true"]:-moz-menuactive, +menuitem[disabled="true"]:-moz-menuactive { color: #999999; } @@ -106,7 +106,7 @@ menuitem[menuactive="true"][disabled="true"] { list-style-image: url("chrome://global/skin/menu/menu-arrow.gif"); } -.menu-right[menuactive="true"] { +menu:-moz-menuactive > .menu-right { list-style-image: url("chrome://global/skin/menu/menu-arrow-hover.gif"); } @@ -122,11 +122,11 @@ menubar > menu { border: 1px solid #CCD0DD; } -menubar > menu[menuactive="true"] { +menubar > menu:-moz-menuactive { border: 1px outset #CCD0DD; } -menubar > menu[menuactive="true"][open="true"] { +menubar > menu[open="true"]:-moz-menuactive { border: 1px inset #CCD0DD; } @@ -152,10 +152,10 @@ popup > menuitem { max-width: 42em; } -menupopup > menu[menuactive="true"], -menupopup > menuitem[menuactive="true"], -popup > menu[menuactive="true"], -popup > menuitem[menuactive="true"] { +menupopup > menu:-moz-menuactive, +menupopup > menuitem:-moz-menuactive, +popup > menu:-moz-menuactive, +popup > menuitem:-moz-menuactive { background-color: #336699; color: #FFFFFF; } @@ -180,7 +180,7 @@ menulist > menupopup > menu > .menu-iconic-left { display: none; } -menulist > menupopup > menuitem[menuactive="true"] { +menulist > menupopup > menuitem:-moz-menuactive { border: 1px dotted #666699; } @@ -194,7 +194,7 @@ menuitem[checked="true"][disabled="true"] { list-style-image: url("chrome://global/skin/menu/menu-check-disabled.gif"); } -menuitem[checked="true"][menuactive="true"] { +menuitem[checked="true"]:-moz-menuactive { list-style-image: url("chrome://global/skin/menu/menu-check-hover.gif"); } @@ -208,7 +208,7 @@ menuitem[checked="true"][type="radio"][disabled="true"] { list-style-image: url("chrome://global/skin/menu/menu-radio-disabled.gif"); } -menuitem[checked="true"][type="radio"][menuactive="true"] { +menuitem[checked="true"][type="radio"]:-moz-menuactive { list-style-image: url("chrome://global/skin/menu/menu-radio-hover.gif"); } diff --git a/EarlyBlue/messenger/accountWizard.css b/EarlyBlue/messenger/accountWizard.css index 8d3dea97..b9e30bd3 100644 --- a/EarlyBlue/messenger/accountWizard.css +++ b/EarlyBlue/messenger/accountWizard.css @@ -54,3 +54,11 @@ #fullName { margin-right: 15px; } + +.serverLabel { + width: 8em; +} + +.serverDataBox { + margin-left: 15px; +} diff --git a/EarlyBlue/messenger/addressbook/selectAddressesDialog.css b/EarlyBlue/messenger/addressbook/selectAddressesDialog.css index 1304a9ee..67d199bd 100644 --- a/EarlyBlue/messenger/addressbook/selectAddressesDialog.css +++ b/EarlyBlue/messenger/addressbook/selectAddressesDialog.css @@ -46,46 +46,44 @@ /* ::::: Select Addresses dialog ::::: */ -#dirTreeBox { - width: 180px; +#topBox { + padding: 0.5em 0 1.0em 0; +} + +#resultsTree, #dirTree +#resultsTree > .tree-container-treerows, +#dirTree > .tree-container-treerows { + border: none; } #resultsTree { -/* border-left: 1px solid ThreeDShadow; */ + min-width: 10px; } - -#vertical-splitter { - min-width: 4px; + +#resultsBox { + border: 1px solid #000000; } #addToBucketButtonBox { - padding: 0.3em; min-width: 10px; -} - -#bucketBox { - height: 170px; + padding: 0.3em; } #addressBucket { - height: 100px; min-width: 10px; } -#rightColumnButtonBox { /* Column with "New", "Edit" and "Remove" buttons */ - padding: .5em; +#newEditButtonBox { + padding-top: 0.5em; padding-right: 0px; + margin-left: 0px; } -.third-column-spacer { /* Vertical Spacers between 3rd column buttons */ - height: 10px; -} - -.middle-button-spacer { /* Spacers between To, CC, and BCC buttons */ +.middle-button-spacer { width: 10px; } -#bucket-splitter { - border: none; - min-height: 4px; +.above-remove-spacer { + width: 10px; + height: 15px; } diff --git a/EarlyBlue/messenger/threadPane.css b/EarlyBlue/messenger/threadPane.css index 3ea92144..07c00450 100644 --- a/EarlyBlue/messenger/threadPane.css +++ b/EarlyBlue/messenger/threadPane.css @@ -245,7 +245,7 @@ outlinerchildren:-moz-outliner-image(subjectCol, news, new, offline) { list-style-image: url("chrome://messenger/skin/icons/message-news-new-offline.gif"); } -outlinerchildren:-moz-outliner-image(subjectCol, news, offl) { +outlinerchildren:-moz-outliner-image(subjectCol, news, offline) { padding-right: 2px; list-style-image: url("chrome://messenger/skin/icons/message-news-offline.gif"); } diff --git a/EarlyBlue/navigator/navigator.css b/EarlyBlue/navigator/navigator.css index 1beb1684..0b3cf5ab 100644 --- a/EarlyBlue/navigator/navigator.css +++ b/EarlyBlue/navigator/navigator.css @@ -103,25 +103,36 @@ /* ::::: small primary toolbar buttons ::::: */ -.toolbarbutton-1[toolbarmode="small"] { - min-width: 0; +.toolbarbutton-1[toolbarmode="small"], +.toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button { + min-width: 0px; + min-height: 0px; } -.toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button > .toolbarbutton-text, -.toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-text { - display: none; +.toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker { + padding: 0px 1px 13px 1px; +} + +.toolbarbutton-1[toolbarmode="small"][type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, +.toolbarbutton-1[toolbarmode="small"][type="menu-button"][buttondown="true"] > .toolbarbutton-menubutton-dropmarker, +.toolbarbutton-1[toolbarmode="small"][type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { + padding: 1px 0px 12px 2px; } -#search-button[toolbarmode="small"] > .button-box > .button-text { +.toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] { + padding: 0px 1px 13px 1px !important; +} + +.toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button > .toolbarbutton-text, +.toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-text { display: none; } #nav-bar[toolbarmode="small"] > #nav-bar-inner { - margin: 0; - border: none; + margin: 2px 0px; } -#nav-bar[toolbarmode="small"] > .toolbar-primary-grippy { +toolbar[toolbarmode="small"] > toolbargrippy { display: none; } @@ -294,3 +305,4 @@ border-top: none; } */ + -- 2.43.0