From f24507954fc5a0fc540b913450f45d44f20e97b5 Mon Sep 17 00:00:00 2001 From: robert Date: Wed, 24 Apr 2002 20:15:57 +0000 Subject: [PATCH] keeping up with Classic, making textboxes size and look better --- EarlyBlue/communicator/alerts/alert.css | 8 +- EarlyBlue/communicator/formatting.css | 7 +- EarlyBlue/communicator/sidebar/sb-closed.gif | Bin 0 -> 91 bytes EarlyBlue/communicator/sidebar/sb-open.gif | Bin 0 -> 91 bytes EarlyBlue/communicator/sidebar/sidebar.css | 14 ++- .../communicator/sidebar/sidebarBindings.xml | 9 +- EarlyBlue/communicator/tasksOverlay.css | 3 +- EarlyBlue/global/global.css | 2 +- EarlyBlue/global/globalBindings.xml | 16 +-- EarlyBlue/global/scrollbars.css | 93 ++++++++++++++++++ EarlyBlue/global/tabbox.css | 7 +- EarlyBlue/global/textbox.css | 23 +++-- EarlyBlue/global/toolbarbutton.css | 2 + EarlyBlue/global/tree.css | 30 +++++- EarlyBlue/messenger/addressingWidget.css | 4 +- EarlyBlue/messenger/fakeAccount.css | 4 + .../messenger/smime/icons/hdrSignUnknown.gif | Bin 0 -> 154 bytes .../messenger/smime/icons/sbSignUnknown.gif | Bin 0 -> 85 bytes .../smime/msgHdrViewSMIMEOverlay.css | 7 +- .../messenger/smime/msgReadSMIMEOverlay.css | 7 +- EarlyBlue/navigator/navigator.css | 14 ++- 21 files changed, 214 insertions(+), 36 deletions(-) create mode 100644 EarlyBlue/communicator/sidebar/sb-closed.gif create mode 100644 EarlyBlue/communicator/sidebar/sb-open.gif create mode 100644 EarlyBlue/messenger/fakeAccount.css create mode 100644 EarlyBlue/messenger/smime/icons/hdrSignUnknown.gif create mode 100644 EarlyBlue/messenger/smime/icons/sbSignUnknown.gif diff --git a/EarlyBlue/communicator/alerts/alert.css b/EarlyBlue/communicator/alerts/alert.css index 07d4b5c1..839ba270 100644 --- a/EarlyBlue/communicator/alerts/alert.css +++ b/EarlyBlue/communicator/alerts/alert.css @@ -40,6 +40,8 @@ == Styles specific to the alerts dialog. ======================================================================= */ +@import url("chrome://global/skin/"); + @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); .alertBox { @@ -61,6 +63,10 @@ font-weight: bold; } +.alertText { + margin-right: 6px; +} + .alertText[clickable="true"] { cursor: pointer; color: #1455D6; @@ -69,4 +75,4 @@ .alertText[clickable="true"]:hover:active { color: #424F63; -} +} \ No newline at end of file diff --git a/EarlyBlue/communicator/formatting.css b/EarlyBlue/communicator/formatting.css index 2c5fc165..38138ea3 100644 --- a/EarlyBlue/communicator/formatting.css +++ b/EarlyBlue/communicator/formatting.css @@ -43,6 +43,11 @@ text-decoration: underline; } +.text-link:focus { + color: red; + -moz-outline: 1px dotted invert; +} + .text-link:hover { cursor: pointer; } @@ -53,4 +58,4 @@ .text-link[visited="true"] { color: purple; -} +} \ No newline at end of file diff --git a/EarlyBlue/communicator/sidebar/sb-closed.gif b/EarlyBlue/communicator/sidebar/sb-closed.gif new file mode 100644 index 0000000000000000000000000000000000000000..446bb55929bfa7d14efde784d7686bab53f9afd9 GIT binary patch literal 91 zcmZ?wbhEHb6krfwSjfQe9|#zD($Z!EX~mx`j0_CS3_1)z0Fq~5(wWnrdFbuFDMEot qR`c=%qu)eEs`sUF&f}cgb>`qYAAv2Lz1L@M<1Tr@w2P0G!5RREm>@g= literal 0 HcmV?d00001 diff --git a/EarlyBlue/communicator/sidebar/sb-open.gif b/EarlyBlue/communicator/sidebar/sb-open.gif new file mode 100644 index 0000000000000000000000000000000000000000..39ed6e4256773c2ebb4a8f7d18107abdbd2f1a9b GIT binary patch literal 91 zcmZ?wbhEHb6krfwSjfQe|NsBAw3(iN8G#JNpDc_F49pBV3_t*qXJFEq)1P_p?Y=2o sfl5~M@=T+9DupUqIB(9KE4eT!vuz{8$)yd?XKuSNXKMmuJS&4W0H>lM!vFvP literal 0 HcmV?d00001 diff --git a/EarlyBlue/communicator/sidebar/sidebar.css b/EarlyBlue/communicator/sidebar/sidebar.css index f8168bb0..b272d539 100644 --- a/EarlyBlue/communicator/sidebar/sidebar.css +++ b/EarlyBlue/communicator/sidebar/sidebar.css @@ -37,6 +37,18 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +/* ::::: sidebar toggle button (on personal toolbar) ::::: */ + +#sidebar-button[sbopen="true"] { + list-style-image: url("chrome://communicator/skin/sidebar/sb-open.gif"); +} + +#sidebar-button[sbopen="false"] { + list-style-image: url("chrome://communicator/skin/sidebar/sb-closed.gif"); +} + +/* ::::: sidebar container ::::: */ + #sidebar-box { margin-top: 0px; border: none; @@ -177,4 +189,4 @@ .tab-back { list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); -} +} \ No newline at end of file diff --git a/EarlyBlue/communicator/sidebar/sidebarBindings.xml b/EarlyBlue/communicator/sidebar/sidebarBindings.xml index b0029552..04500f01 100644 --- a/EarlyBlue/communicator/sidebar/sidebarBindings.xml +++ b/EarlyBlue/communicator/sidebar/sidebarBindings.xml @@ -2,15 +2,16 @@ + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:xbl="http://www.mozilla.org/xbl"> - - + + - + \ No newline at end of file diff --git a/EarlyBlue/communicator/tasksOverlay.css b/EarlyBlue/communicator/tasksOverlay.css index c5172e80..39d77040 100644 --- a/EarlyBlue/communicator/tasksOverlay.css +++ b/EarlyBlue/communicator/tasksOverlay.css @@ -45,6 +45,7 @@ /* ::::: communicator product icons ::::: */ .taskbutton, +.taskbutton:hover, .taskbutton:hover:active { padding: 1px 3px; border: none; @@ -98,4 +99,4 @@ #component-bar { -moz-box-align: stretch; -} +} \ No newline at end of file diff --git a/EarlyBlue/global/global.css b/EarlyBlue/global/global.css index 160e163e..3d1d0a03 100644 --- a/EarlyBlue/global/global.css +++ b/EarlyBlue/global/global.css @@ -150,4 +150,4 @@ statusbarpanel { .toolbar-focustarget { -moz-user-focus: ignore !important; -} +} \ No newline at end of file diff --git a/EarlyBlue/global/globalBindings.xml b/EarlyBlue/global/globalBindings.xml index 98cae530..deccdb6e 100644 --- a/EarlyBlue/global/globalBindings.xml +++ b/EarlyBlue/global/globalBindings.xml @@ -2,21 +2,21 @@ + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:xbl="http://www.mozilla.org/xbl"> - + - + - + - - + + - + \ No newline at end of file diff --git a/EarlyBlue/global/scrollbars.css b/EarlyBlue/global/scrollbars.css index cc59ec08..209578d0 100644 --- a/EarlyBlue/global/scrollbars.css +++ b/EarlyBlue/global/scrollbars.css @@ -36,6 +36,7 @@ * ***** END LICENSE BLOCK ***** */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */ /* ===== scrollbars.css ================================================= == Styles used by XUL scrollbar-related elements. @@ -138,3 +139,95 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] { scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"] { background-image: url("chrome://global/skin/scrollbar/button-up-disabled.gif") } + +/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ +/* ::::::::::::::::::::: MEDIA PRINT :::::::::::::::::::::: */ +/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::: */ +@media print { + /* ::::: scrollbar ::::: */ + + html|div scrollbar { + -moz-appearance: scrollbartrack-horizontal; + -moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar"); + cursor: default; + background: url("chrome://global/skin/scrollbar/slider.gif") scrollbar; + } + + html|div scrollbar[orient="vertical"] + { + -moz-appearance: scrollbartrack-vertical; + } + + /* ::::: borders for thumb and buttons ::::: */ + + html|div thumb, + html|div scrollbarbutton { + border: 2px solid; + -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight; + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; + -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight; + background-color: -moz-Dialog; + } + + /* ::::: thumb (horizontal) ::::: */ + + html|div thumb { + -moz-appearance: scrollbarthumb-vertical; + min-height: 8px; + } + + html|div thumb[orient="horizontal"] { + -moz-appearance: scrollbarthumb-horizontal; + min-width: 8px; + } + + html|div thumb > gripper { + -moz-appearance: scrollbargripper-vertical; + } + + html|div thumb[orient="horizontal"] > gripper { + -moz-appearance: scrollbargripper-horizontal; + } + + /* ::::: scrollbar button ::::: */ + + html|div scrollbarbutton { + background: -moz-Dialog no-repeat 0px 1px; + min-width: 16px; + min-height: 16px; + } + + html|div scrollbarbutton:hover:active { + -moz-border-top-colors: ThreeDShadow -moz-Dialog; + -moz-border-right-colors: ThreeDShadow -moz-Dialog; + -moz-border-bottom-colors: ThreeDShadow -moz-Dialog; + -moz-border-left-colors: ThreeDShadow -moz-Dialog; + background-position: 1px 2px; + } + + /* ..... increment .... */ + + html|div scrollbarbutton[type="increment"] { + -moz-appearance: scrollbarbutton-right; + background-image: url("chrome://global/skin/arrow/arrow-rit.gif") + } + + html|div scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] { + -moz-appearance: scrollbarbutton-down; + background-image: url("chrome://global/skin/arrow/arrow-dn.gif") + } + + /* ..... decrement .... */ + + html|div scrollbarbutton[type="decrement"] { + -moz-appearance: scrollbarbutton-left; + background-image: url("chrome://global/skin/arrow/arrow-lft.gif") + } + + html|div scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] { + -moz-appearance: scrollbarbutton-up; + background-image: url("chrome://global/skin/arrow/arrow-up.gif") + } + +} \ No newline at end of file diff --git a/EarlyBlue/global/tabbox.css b/EarlyBlue/global/tabbox.css index c84a7200..ee41d8fc 100644 --- a/EarlyBlue/global/tabbox.css +++ b/EarlyBlue/global/tabbox.css @@ -80,6 +80,11 @@ tab { tab[selected="true"] { font-weight: bold; + background-color: #EDF1FF; +} + +tab:hover { + color: #336699; } /* @@ -108,4 +113,4 @@ tab[first-tab="true"][selected="true"] { .tabs-bottom > .tabs-right { border-top: 1px solid #666699; border-bottom: none; -} +} \ No newline at end of file diff --git a/EarlyBlue/global/textbox.css b/EarlyBlue/global/textbox.css index e5791898..3d81480b 100644 --- a/EarlyBlue/global/textbox.css +++ b/EarlyBlue/global/textbox.css @@ -48,11 +48,16 @@ textbox { cursor: text; - margin: 2px 4px; - border: 1px inset #CCD0DD; + margin: 1px 3px; + border: 2px solid; + -moz-border-top-colors: transparent #71737A; + -moz-border-right-colors: transparent #EFF0F4; + -moz-border-bottom-colors: transparent #EFF0F4; + -moz-border-left-colors: transparent #71737A; padding: 1px 0px 1px 2px; background-color: #FFFFFF; color: #000000; + min-height: 19px; } html|*.textbox-input, @@ -81,13 +86,18 @@ textbox[disabled="true"] { } textbox[focused="true"] { - border: 2px solid #6699cc; + -moz-border-top-colors: #6699CC #6699CC; + -moz-border-right-colors: #6699CC #6699CC; + -moz-border-bottom-colors: #6699CC #6699CC; + -moz-border-left-colors: #6699CC #6699CC; margin: 1px 3px; } textbox[focused="true"][readonly="true"] { - border: 1px inset #CCCCCC; - margin: 2px 4px; + -moz-border-top-colors: transparent #717171; + -moz-border-right-colors: transparent #EFEFEF; + -moz-border-bottom-colors: transparent #EFEFEF; + -moz-border-left-colors: transparent #717171; } /* ::::: plain textbox ::::: */ @@ -96,4 +106,5 @@ textbox.plain { padding: 0px !important; margin: 0px !important; border: none !important; -} + min-height: 0px; +} \ No newline at end of file diff --git a/EarlyBlue/global/toolbarbutton.css b/EarlyBlue/global/toolbarbutton.css index 8eb3840c..1a9265f2 100644 --- a/EarlyBlue/global/toolbarbutton.css +++ b/EarlyBlue/global/toolbarbutton.css @@ -64,10 +64,12 @@ toolbarbutton { text-align: center; } +/* toolbarbutton:hover, toolbarbutton[buttonover="true"], toolbarbutton.toolbarbutton-menubutton-button[open="true"] { } +*/ toolbarbutton:hover { border: 1px outset #CCD0DD; diff --git a/EarlyBlue/global/tree.css b/EarlyBlue/global/tree.css index 545b125c..45109d70 100644 --- a/EarlyBlue/global/tree.css +++ b/EarlyBlue/global/tree.css @@ -55,7 +55,8 @@ tree { treechildren:-moz-tree-row { border: 1px solid transparent; - height: 18px; + min-height: 18px; + height: 1.3em; } treechildren:-moz-tree-row(selected) { @@ -129,6 +130,24 @@ treechildren:-moz-tree-drop-feedback(selected) { background-color: #FFFFFF; } +/* ::::: tree progress meter ::::: */ + +treechildren:-moz-tree-progressmeter { + margin: 0px 0px; + border: 1px inset #CCD0DD; + background-color: #999999; + color: #6699CC; +} + +treechildren:-moz-tree-progressmeter(progressUndetermined) { + list-style-image: url("chrome://global/skin/progressmeter/progressmeter-busy.gif"); + background-color: #CCD0DD; +} + +treechildren:-moz-tree-cell-text(progressmeter) { + margin: 2px 4px; +} + /* ::::: tree columns ::::: */ treecol { @@ -225,17 +244,18 @@ treechildren:-moz-tree-column(insertafter) { treechildren:-moz-tree-twisty { padding-right: 2px; - width: 12px; /* The image's width is 12 pixels */ + padding-top: 1px; + width: 11px; /* The image's width is 11 pixels */ list-style-image: url("chrome://global/skin/tree/twisty-closed.gif"); } treechildren:-moz-tree-twisty(open) { - width: 12px; /* The image's width is 12 pixels */ + width: 11px; /* The image's width is 11 pixels */ list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); } treechildren:-moz-tree-indentation { - width: 10px; + width: 11px; } /* ::::: gridline style ::::: */ @@ -247,4 +267,4 @@ treechildren.gridlines:-moz-tree-cell { treechildren.gridlines:-moz-tree-row { border: none; -} +} \ No newline at end of file diff --git a/EarlyBlue/messenger/addressingWidget.css b/EarlyBlue/messenger/addressingWidget.css index d58a6dbd..bc855f3e 100644 --- a/EarlyBlue/messenger/addressingWidget.css +++ b/EarlyBlue/messenger/addressingWidget.css @@ -64,7 +64,7 @@ border-bottom: 1px solid #CCD0DD; padding: 0px; } - + .addressingWidgetCell:first-child { border-top: none; } @@ -77,4 +77,4 @@ .person-icon { margin: 0px 3px; list-style-image: url("chrome://messenger/skin/addressbook/icons/abcard.gif"); -} +} \ No newline at end of file diff --git a/EarlyBlue/messenger/fakeAccount.css b/EarlyBlue/messenger/fakeAccount.css new file mode 100644 index 00000000..3d287c52 --- /dev/null +++ b/EarlyBlue/messenger/fakeAccount.css @@ -0,0 +1,4 @@ +/* distributors / ISPs can override this to add hooks in the folder pane + * to create accounts + * see http://www.mozilla.org/mailnews/arch/fakeaccounts.html + */ diff --git a/EarlyBlue/messenger/smime/icons/hdrSignUnknown.gif b/EarlyBlue/messenger/smime/icons/hdrSignUnknown.gif new file mode 100644 index 0000000000000000000000000000000000000000..0fb47561c2ee07d6c0d366af7593cb81d536f391 GIT binary patch literal 154 zcmV;L0A>G2Nk%w1VITk?0HFW?V`I){W|{v00RR90A^8LW00093EC2ui03ZM$0007O zoR6u??GK|wqFOQ8-PHh)aUwX7kcb+A*>Kc0tPz}WAiKB;0OR?k0Bw9f%g#W{9FagJ z!jyED4mv3`s=PL>RBXl+*m6}oqjX9ZJ4rJ2wJkUPN njlqp~L567g_r .toolbarbutton-menubutton-button > .toolbarbutton-text, .toolbarbutton-1 > .toolbarbutton-text { @@ -165,11 +169,15 @@ toolbar[toolbarmode="small"] > toolbargrippy { #nav-bar-inner { padding-left: 0px; min-width: 0px; - margin: 7px 4px 8px 4px; + margin: 7px 4px 8px 4px; } #urlbar { - border: 1px inset #CCD0DD; + border: 1px solid; + -moz-border-top-colors: #71737A; + -moz-border-right-colors: #EFF0F4; + -moz-border-bottom-colors: #EFF0F4; + -moz-border-left-colors: #71737A; margin: 0px 7px 0px 0px; } @@ -283,4 +291,4 @@ toolbar[toolbarmode="small"] > toolbargrippy { #status-bar { border-top: none; } -*/ +*/ \ No newline at end of file -- 2.43.0