From: Robert Kaiser Date: Sun, 2 Sep 2007 21:14:07 +0000 (+0200) Subject: update with current trunk work X-Git-Tag: EarlyBlue-2.0a1~16 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=4d12b027587c575893aad19d5207e86f52bda796;p=themes.git update with current trunk work --- 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 00000000..e7bf3dc9 Binary files /dev/null and b/EarlyBlue/global/dirListing/local.png differ diff --git a/EarlyBlue/global/dirListing/remote.png b/EarlyBlue/global/dirListing/remote.png new file mode 100644 index 00000000..3f69e643 Binary files /dev/null and b/EarlyBlue/global/dirListing/remote.png differ diff --git a/EarlyBlue/global/dirListing/up.png b/EarlyBlue/global/dirListing/up.png new file mode 100644 index 00000000..71e07e17 Binary files /dev/null and b/EarlyBlue/global/dirListing/up.png differ 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 00000000..0527d4c9 Binary files /dev/null and b/EarlyBlue/mozapps/downloads/buttons.png differ diff --git a/EarlyBlue/mozapps/downloads/downloadIcon.png b/EarlyBlue/mozapps/downloads/downloadIcon.png new file mode 100644 index 00000000..18f23ea1 Binary files /dev/null and b/EarlyBlue/mozapps/downloads/downloadIcon.png differ diff --git a/EarlyBlue/mozapps/downloads/downloads.css b/EarlyBlue/mozapps/downloads/downloads.css new file mode 100644 index 00000000..dfa00812 --- /dev/null +++ b/EarlyBlue/mozapps/downloads/downloads.css @@ -0,0 +1,95 @@ +#downloadManager { + background-color: #CCD0DD; +} + +/* Download View */ +#downloadView { + -moz-appearance: none !important; + margin: 0; + border-bottom: 1px solid #9999CC; +} + +/* Download View Items */ +richlistitem[type="download"] { + padding: 4px 8px 4px 4px; + min-height: 46px; +} + +richlistitem[type="download"] .name { + font-size: larger; +} + +#information { + -moz-appearance: none; + background-color: white; + width: 300px; + max-width: 300px; +} + +#information > 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