From 4d12b027587c575893aad19d5207e86f52bda796 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 2 Sep 2007 23:14:07 +0200 Subject: [PATCH] update with current trunk work --- EarlyBlue/global/browser.css | 2 - EarlyBlue/global/console/console.css | 34 ++-- EarlyBlue/global/dirListing/dirListing.css | 146 ++++++++++++++++++ EarlyBlue/global/dirListing/local.png | Bin 0 -> 168 bytes EarlyBlue/global/dirListing/remote.png | Bin 0 -> 191 bytes EarlyBlue/global/dirListing/up.png | Bin 0 -> 180 bytes EarlyBlue/global/menu.css | 7 + EarlyBlue/global/richlistbox.css | 1 + EarlyBlue/global/toolbar.css | 5 + EarlyBlue/messenger/messageBody.css | 4 +- EarlyBlue/messenger/messageHeader.css | 19 +++ EarlyBlue/mozapps/downloads/buttons.png | Bin 0 -> 437 bytes EarlyBlue/mozapps/downloads/downloadIcon.png | Bin 0 -> 234 bytes EarlyBlue/mozapps/downloads/downloads.css | 95 ++++++++++++ .../mozapps/downloads/unknownContentType.css | 12 +- EarlyBlue/mozapps/extensions/extensions.css | 13 +- EarlyBlue/navigator/pageInfo.css | 91 ++++++++++- 17 files changed, 392 insertions(+), 37 deletions(-) create mode 100644 EarlyBlue/global/dirListing/dirListing.css create mode 100644 EarlyBlue/global/dirListing/local.png create mode 100644 EarlyBlue/global/dirListing/remote.png create mode 100644 EarlyBlue/global/dirListing/up.png create mode 100644 EarlyBlue/mozapps/downloads/buttons.png create mode 100644 EarlyBlue/mozapps/downloads/downloadIcon.png create mode 100644 EarlyBlue/mozapps/downloads/downloads.css diff --git a/EarlyBlue/global/browser.css b/EarlyBlue/global/browser.css index fcea3717..82a93781 100644 --- a/EarlyBlue/global/browser.css +++ b/EarlyBlue/global/browser.css @@ -178,8 +178,6 @@ tabpanels { */ .alltabs-item > .menu-iconic-left > .menu-iconic-icon { - width: 16px; - height: 16px; /* XXX: Firefox rules - look into those when we support FF list-style-image: url("chrome://global/skin/icons/folder-item.png"); -moz-image-region: rect(0px, 16px, 16px, 0px); diff --git a/EarlyBlue/global/console/console.css b/EarlyBlue/global/console/console.css index 05b46de9..fa73ca9b 100644 --- a/EarlyBlue/global/console/console.css +++ b/EarlyBlue/global/console/console.css @@ -175,52 +175,48 @@ toolbar#ToolbarMode toolbarbutton { padding: 4px !important; } -toolbarbutton[observes="Console:modeAll"] { +#Console\:modeAll { -moz-image-region: rect(0px 24px 24px 0px); } -toolbarbutton[observes="Console:modeAll"] { - -moz-image-region: rect(0px 24px 24px 0px); -} - -toolbarbutton[observes="Console:modeAll"]:hover, -toolbarbutton[observes="Console:modeAll"][checked="true"] { +#Console\:modeAll:hover, +#Console\:modeAll[checked="true"] { -moz-image-region: rect(24px 24px 48px 0px); } -toolbarbutton[observes="Console:modeErrors"] { +#Console\:modeErrors { -moz-image-region: rect(0px 96px 24px 72px); } -toolbarbutton[observes="Console:modeErrors"]:hover, -toolbarbutton[observes="Console:modeErrors"][checked="true"] { +#Console\:modeErrors:hover, +#Console\:modeErrors[checked="true"] { -moz-image-region: rect(24px 96px 48px 72px); } -toolbarbutton[observes="Console:modeWarnings"] { +#Console\:modeWarnings { -moz-image-region: rect(0px 72px 24px 48px); } -toolbarbutton[observes="Console:modeWarnings"]:hover, -toolbarbutton[observes="Console:modeWarnings"][checked="true"] { +#Console\:modeWarnings:hover, +#Console\:modeWarnings[checked="true"] { -moz-image-region: rect(24px 72px 48px 48px); } -toolbarbutton[observes="Console:modeMessages"] { +#Console\:modeMessages { -moz-image-region: rect(0px 48px 24px 24px); } -toolbarbutton[observes="Console:modeMessages"]:hover, -toolbarbutton[observes="Console:modeMessages"][checked="true"] { +#Console\:modeMessages:hover, +#Console\:modeMessages[checked="true"] { -moz-image-region: rect(24px 48px 48px 24px); } -toolbarbutton[observes="Console:clear"] { +#Console\:clear { -moz-image-region: rect(0px 120px 24px 96px); } -toolbarbutton[observes="Console:clear"]:hover, -toolbarbutton[observes="Console:clear"][checked="true"] { +#Console\:clear:hover, +#Console\:clear[checked="true"] { -moz-image-region: rect(24px 120px 48px 96px); } diff --git a/EarlyBlue/global/dirListing/dirListing.css b/EarlyBlue/global/dirListing/dirListing.css new file mode 100644 index 00000000..6ff4be84 --- /dev/null +++ b/EarlyBlue/global/dirListing/dirListing.css @@ -0,0 +1,146 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Dão Gottwald . + * Portions created by the Initial Developer are Copyright (C) 2007 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +:root { + background-color: #CCD0DD; + color: #000000; + font: 12px helvetica,arial,tahoma,sans-serif; +} + +body { + border: 1px solid #666699; + -moz-border-radius: 10px; + padding: 3em; + min-width: 13em; + max-width: 52em; + margin: 4em auto; + background-color: #9999CC; + color: #000000; +} + +h1 { + margin: 0 0 .6em 0; + border-bottom: 1px solid #666699; + font-size: 160%; + font-weight: normal; +} + +a { + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +p { + font-size: 110%; +} + +#UI_goUp { + margin-top: 0; + float: left; +} + +#UI_showHidden { + margin-top: 0; + float: right; +} + +#UI_showHidden:not(:hover) { + color: #808080; +} + +table { + clear: both; + width: 90%; + margin: 0 auto; +} + +thead { + font-size: 130%; +} + +th { + font-weight: normal; +} + +th:first-child , +th:first-child + th { + padding-right: 2em; +} + +table[order] th:hover { + text-decoration: underline; +} + +tbody > tr:not(:hover) > td:not(:first-child) { + color: #808080; +} + +/* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */ +td:first-child + td , +td:first-child + td + td , +td:last-child { + width: 0; +} + +.up , +.dir , +.symlink , +.file { + padding: 0 .5em; + margin-left: 20px; +} + +.up::before , +.dir::before , +.file > img { + margin-right: 4px; + margin-left: -20px; + opacity: .6; + vertical-align: middle; +} + +.up::before { + content: url("chrome://global/skin/dirListing/up.png"); +} + +.up:hover::before , +tr:hover > td > a::before , +tr:hover > td > .file > img { + opacity: 1; +} diff --git a/EarlyBlue/global/dirListing/local.png b/EarlyBlue/global/dirListing/local.png new file mode 100644 index 0000000000000000000000000000000000000000..e7bf3dc95f69377bfe3da4e349f3e291c4417949 GIT binary patch literal 168 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!D3?x-;bCrM;TYyi9t4={;TG|<>yq_Qm#*!ev zUYh7ML)4Eal|aXmSqq1lR!O}*{^e+j7>8x$5;0M)NQz~MR1kv9yejKR~@&t;ucLK6V` Cd?rc& literal 0 HcmV?d00001 diff --git a/EarlyBlue/global/dirListing/remote.png b/EarlyBlue/global/dirListing/remote.png new file mode 100644 index 0000000000000000000000000000000000000000..3f69e6430d9698dbff0b3307352c07d0da47862a GIT binary patch literal 191 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!93?!50ihlx9oB=)|uDdt{($dbPrOkX%;r$;d z$XF8O7tG-B>_!@hljQC0!qCAg>j6?;;1OBOz`!jG!i)^F=12eq*-JcqUD>a5GKom2 z>7Tbc3KY`!ba4#fxSpKQz;IDOLGi#L1t}@1Lkb5D9B7)&pv}mOV literal 0 HcmV?d00001 diff --git a/EarlyBlue/global/dirListing/up.png b/EarlyBlue/global/dirListing/up.png new file mode 100644 index 0000000000000000000000000000000000000000..71e07e173aabe4d72ce75e7688bbd94f6a6915c3 GIT binary patch literal 180 zcmeAS@N?(olHy`uVBq!ia0vp^0zk~e$P6R{HP;^kQfvV}A+DMQ7t_+t@LyEZ0*Ww} z1o;IsI6S+N2I3@nySp%Su*!M>Ih+L^k;M!Q+`=Ht$S`Y;1W=H@#M9T6{W>R;h?Kn3 zp9}s#A$3m|#}JO|$qy0|Cag@}V14Ak!6P4j2|Bk6a8wo;{+OQ>kie|?v!0=8AA3`n S2!kL{3xlVtpUXO@geCw#d@p+d literal 0 HcmV?d00001 diff --git a/EarlyBlue/global/menu.css b/EarlyBlue/global/menu.css index 93ded8e8..5f56b26a 100644 --- a/EarlyBlue/global/menu.css +++ b/EarlyBlue/global/menu.css @@ -145,6 +145,13 @@ menulist > menupopup > menu { color: inherit; } +.menu-iconic-icon { +/* + width: 16px; + height: 16px; +*/ +} + .menu-iconic-left { width: 16px; } diff --git a/EarlyBlue/global/richlistbox.css b/EarlyBlue/global/richlistbox.css index c6870eba..05264d37 100644 --- a/EarlyBlue/global/richlistbox.css +++ b/EarlyBlue/global/richlistbox.css @@ -40,6 +40,7 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); richlistbox { + -moz-appearance: none; margin: 2px 4px; background-color: #FFFFFF; color: #000000; diff --git a/EarlyBlue/global/toolbar.css b/EarlyBlue/global/toolbar.css index e6e2f00a..79c89c5e 100644 --- a/EarlyBlue/global/toolbar.css +++ b/EarlyBlue/global/toolbar.css @@ -123,6 +123,11 @@ toolbarpaletteitem[place="toolbar"] > toolbarspacer { height: 50px; } +.toolbarpaletteitem-box[type="splitter"][place="palette"] { + width: 8px; + height: 50px; +} + .toolbarpaletteitem-box[type="spacer"][place="palette"], .toolbarpaletteitem-box[type="spring"][place="palette"] { margin-bottom: 2px; diff --git a/EarlyBlue/messenger/messageBody.css b/EarlyBlue/messenger/messageBody.css index 87af1950..5d1696b7 100644 --- a/EarlyBlue/messenger/messageBody.css +++ b/EarlyBlue/messenger/messageBody.css @@ -126,11 +126,11 @@ span.moz-txt-formfeed { /* ::::: attached images ::::: */ -.moz-attached-image-unscaled { +moz-attached-image[overflowing="true"] { cursor: -moz-zoom-out; } -.moz-attached-image-scaled { +.moz-attached-image[isshrunk="true"] { cursor: -moz-zoom-in; max-width: 100%; } diff --git a/EarlyBlue/messenger/messageHeader.css b/EarlyBlue/messenger/messageHeader.css index eac9553a..855511eb 100644 --- a/EarlyBlue/messenger/messageHeader.css +++ b/EarlyBlue/messenger/messageHeader.css @@ -125,6 +125,25 @@ margin-left: 0; } +/* ::::: msg header message ids ::::: */ + +.messageIdDisplayButton { + color: #336699; + cursor: pointer; + margin: 0px; + padding: 0px 1px; +} + +.messageIdDisplayButton:hover { + color: black; + background-color: #336699; +} + +.messageIdDisplayImage { + padding-left: 2px; + -moz-box-pack: end; +} + /* ::::: msg header email addresses ::::: */ .emailDisplayButton { diff --git a/EarlyBlue/mozapps/downloads/buttons.png b/EarlyBlue/mozapps/downloads/buttons.png new file mode 100644 index 0000000000000000000000000000000000000000..0527d4c9e9e2a6f8e6a205d5d92c5bfc80081f5e GIT binary patch literal 437 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDB3?!H8JlO)I_yc@GTum7m($dbHxp4Qvg9mA8 zGZkm7ngNtzED7=pW^j0RBMrn!@^*J&=wOxg0CG4BJR*x37`TN&n2}-D90{Nxdx@v7 zEBkd$CQ%miMW=LQfqLXUT^vI!PA{EwJNK9ZPwU1hj0Uj_wnZ#>#Uz;Ye`c2S|09hn zULEBZeDwH7(VQv!I9+}+M5XLy*q?rkL%}kwQ^s+l$jX9TA0|6hHigMP9~ys{F|0mf z(fGdMSL;EAXfP=sJ7)~CK?BZ|We|u`roOx_4-&41zocWue^yJHY2XE0} z_4hj7#Z#P(%X(XR0y6HKIel_Dc$(9)Pu=5Z)eFBF3?G=Xvc3oVr84^ZxAsU{k$AL+Mv0LxKqb9XOOpmM|TxJS-bf6(kE9%ci3jx`y4BzjW Vl button .button-text { + -moz-box-flex: 1; + text-align: left; + -moz-padding-start: 2px; +} + +.mini-button { + -moz-appearance: none; + list-style-image: url("chrome://mozapps/skin/downloads/buttons.png"); + background-color: transparent; + border: none; + padding: 0; + margin: 0; + min-width: 0; + min-height: 0; +} + +.mini-button > .button-box { + padding: 0 !important; +} + +.cancel { + -moz-image-region: rect(0px, 32px, 16px, 16px); +} +.info { + -moz-image-region: rect(0px, 16px, 16px, 0px); +} +.open { + -moz-image-region: rect(16px, 32px, 32px, 16px); +} +.pause { + -moz-image-region: rect(32px, 32px, 48px, 16px); +} +.resume { + -moz-image-region: rect(16px, 48px, 32px, 32px); +} +.retry { + -moz-image-region: rect(0px, 48px, 16px, 32px); +} + +#information-uri { + -moz-image-region: rect(16px, 16px, 32px, 0px); +} +#information-location { + -moz-image-region: rect(32px, 16px, 48px, 0px); +} + +.blockedIcon { + list-style-image: url("chrome://global/skin/icons/alert-error.gif"); +} + +/* prevent flickering when changing states */ +.downloadTypeIcon { + min-height: 32px; + min-width: 32px; +} + +.title-line { + height: 1px; + background-color: #9999CC; + -moz-margin-end: 15px; + -moz-margin-start: 5px; +} + +#searchbox[empty] { + color: #808080; +} diff --git a/EarlyBlue/mozapps/downloads/unknownContentType.css b/EarlyBlue/mozapps/downloads/unknownContentType.css index 8411b1cc..04e0563a 100644 --- a/EarlyBlue/mozapps/downloads/unknownContentType.css +++ b/EarlyBlue/mozapps/downloads/unknownContentType.css @@ -8,11 +8,17 @@ } #contentTypeImage { - margin: 0px 5px 0px 0px; + margin-top: 0px; + margin-bottom: 0px; + -moz-margin-start: 0px; + -moz-margin-end: 5px; } .small-indent { - margin-left: 15px; - margin-right: 15px; + -moz-margin-start: 15px; + -moz-margin-end: 15px; } +.small-indent label { + -moz-margin-start: 0px; +} diff --git a/EarlyBlue/mozapps/extensions/extensions.css b/EarlyBlue/mozapps/extensions/extensions.css index e689a705..358abd9b 100644 --- a/EarlyBlue/mozapps/extensions/extensions.css +++ b/EarlyBlue/mozapps/extensions/extensions.css @@ -32,7 +32,7 @@ margin-top: -12px; /* Command Bar */ #commandBarBottom { - margin: 10px 10px 5px 10px; + margin: 5px 5px 10px 10px; min-width: 1px; } @@ -226,11 +226,15 @@ richlistitem[satisfiesDependencies="false"] .notifyBadge { .enableHide, .uninstallShow, +.installShow, +.upgradeShow, richlistitem[isDisabled="true"] .disableHide { display: none; } richlistitem[opType="needs-uninstall"] .uninstallShow, +richlistitem[opType="needs-install"] .installShow, +richlistitem[opType="needs-upgrade"] .upgradeShow, richlistitem[opType="needs-enable"] .enableShow, richlistitem[opType="needs-disable"] .disableShow, richlistitem[isDisabled="true"] .disableShow { @@ -238,17 +242,20 @@ richlistitem[isDisabled="true"] .disableShow { } richlistitem[opType="needs-uninstall"] .uninstallHide, +richlistitem[opType="needs-install"] .uninstallHide, +richlistitem[opType="needs-upgrade"] .uninstallHide, richlistitem[opType="needs-enable"] .enableHide, richlistitem[opType="needs-disable"] .disableHide { display: none; } +richlistitem[plugin] .themeButton, +richlistitem[plugin] .optionsButton, +richlistitem[plugin] .uninstallButton, richlistitem[type="2"] .themeButton, richlistitem[type="8"] .themeButton, -richlistitem[type="16"] .themeButton, richlistitem[type="4"] .optionsButton, richlistitem[type="8"] .optionsButton, -richlistitem[type="16"] .optionsButton, richlistitem[type="4"] .disableShow, richlistitem[type="4"] .disableHide { display: none; diff --git a/EarlyBlue/navigator/pageInfo.css b/EarlyBlue/navigator/pageInfo.css index f8cdb637..c3f181e7 100644 --- a/EarlyBlue/navigator/pageInfo.css +++ b/EarlyBlue/navigator/pageInfo.css @@ -36,20 +36,23 @@ @import "chrome://global/skin/"; +/* Misc */ tree { margin: .5em; } -textbox, -textbox > .textbox-internal-box, -textbox > .textarea-internal-box { +.gridSeparator { + width: .5em; +} + +textbox { background: transparent !important; border: none; padding: 0px; } textbox.header { - margin-left: 0; + -moz-margin-start: 0; } .iframe { @@ -58,10 +61,6 @@ textbox.header { overflow: auto; } -#thepreviewimage { - margin: 1em; -} - .fixedsize { height: 8.5em; } @@ -69,3 +68,79 @@ textbox.header { textbox[disabled] { font-style: italic; } + +/* General Tab */ +groupbox tree { + margin: 0; + border: none; +} + +groupbox.treebox .groupbox-body { + padding-top: 0; +} + +#general-security-identity { + white-space: -moz-pre-wrap; + line-height: 2em; +} + +/* Media Tab */ +#imagetree { + min-height: 10em; +} + +#thepreviewimage { + margin: 1em; +} + +treechildren::-moz-tree-cell-text(broken) { + font-style: italic; + color: #808080; +} + +/* Feeds Tab */ +#feedListbox richlistitem { + padding-top: 6px; + padding-bottom: 6px; + -moz-padding-start: 7px; + -moz-padding-end: 7px; + min-height: 25px; + border-bottom: 1px dotted #9999CC; +} + +.feedTitle { + font-weight: bold; +} + +/* Permissions Tab */ +#permList { + margin-top: .5em; + overflow: auto; +} + +#permList > vbox { + padding-top: 6px; + padding-bottom: 6px; + -moz-padding-start: 7px; + -moz-padding-end: 7px; + min-height: 25px; + border-bottom: 1px dotted #9999CC; +} + +#permList > vbox > label { + font-weight: bold; +} + +/* Security Tab */ +#securityPanel > .header { + font-size: 120%; +} + +#securityPanel > .fieldLabel { + margin: 2px 10px 3px 10px; +} + +#securityPanel > .fieldValue { + font-weight: bold; + margin: 2px 10px 0px 10px; +} \ No newline at end of file -- 2.35.3