X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fnavigator%2Fnavigator.css;h=fb643864b2fa5923201fd3db3a8d750db94766f5;hp=a31f51d49e9f957f53b2e89335748e96fd131c7d;hb=58036cb8df01894560483ebc2abd3115258e8a90;hpb=a1580a1eec3438d32c4485a79fa90c59b66dfd4a diff --git a/EarlyBlue/navigator/navigator.css b/EarlyBlue/navigator/navigator.css index a31f51d4..fb643864 100644 --- a/EarlyBlue/navigator/navigator.css +++ b/EarlyBlue/navigator/navigator.css @@ -1,39 +1,6 @@ -/* ***** 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 "Classic" theme of mozilla.org code. - * - * The Initial Developer of the Original Code is - * the Mozilla Organization. - * Portions created by the Initial Developer are Copyright (C) 1998-2001 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Robert Kaiser - * - * 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 ***** */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /** Contains style definitions for the navigator application **/ @@ -82,15 +49,6 @@ -moz-image-region: rect(21px 50px 42px 25px); } -#print-button { - list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); - -moz-image-region: rect(0px 25px 21px 0px); -} - -#print-button[disabled="true"] { - -moz-image-region: rect(0px 50px 21px 25px); -} - #home-button { list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); -moz-image-region: rect(84px 25px 105px 0px); @@ -100,10 +58,20 @@ -moz-image-region: rect(84px 50px 105px 25px); } +#sync-button { + list-style-image: url("chrome://communicator/skin/sync/sync-32.png"); +} + +#sync-button[status=active] { + list-style-image: url("chrome://communicator/skin/sync/sync-32-throbber.png"); +} + #clear-button { list-style-image: url("chrome://global/skin/icons/close-button.gif"); } +/* ::::: small primary toolbar buttons ::::: */ + toolbar[iconsize="small"] > #back-button { list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); -moz-image-region: rect(32px 16px 48px 0); @@ -140,15 +108,6 @@ toolbar[iconsize="small"] > #stop-button[disabled="true"] { -moz-image-region: rect(16px 32px 32px 16px) !important; } -toolbar[iconsize="small"] > #print-button { - list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); - -moz-image-region: rect(0 16px 16px 0); -} - -toolbar[iconsize="small"] > #print-button[disabled="true"] { - -moz-image-region: rect(0 32px 16px 16px) !important; -} - toolbar[iconsize="small"] > #home-button { list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); -moz-image-region: rect(64px 16px 80px 0); @@ -158,6 +117,21 @@ toolbar[iconsize="small"] > #home-button[disabled="true"] { -moz-image-region: rect(64px 32px 80px 16px) !important; } +toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button, +toolbar[iconsize="small"] > #sync-button { + list-style-image: url("chrome://communicator/skin/sync/sync-16.png"); +} + +toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button[status=active], +toolbar[iconsize="small"] > #sync-button[status=active] { + list-style-image: url("chrome://communicator/skin/sync/sync-16-throbber.png"); +} + +#FindToolbar:-moz-lwtheme { +/* -moz-border-top-colors: transparent; + -moz-border-bottom-colors: transparent; */ +} + /* ::::: fullscreen window controls ::::: */ #window-controls { @@ -198,27 +172,16 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { -moz-box-align: center; } -#urlbar:-moz-lwtheme:not([focused="true"]), -.tabbrowser-tab:-moz-lwtheme:not([selected="true"]) { - opacity: .8; -} - -.tabbrowser-tab:-moz-lwtheme { - text-shadow: none; -} - #urlbar { margin: 0; -moz-margin-start: 3px; } -#urlbar > .autocomplete-textbox-container { - -moz-border-radius: 3px 0 0 3px; +.urlbar-security-level { padding: 2px; } -#urlbar[level="high"] > .autocomplete-textbox-container, -#urlbar[level="low"] > .autocomplete-textbox-container { +.urlbar-security-level[level="high"] { background-color: #FFFFCC; } @@ -227,6 +190,193 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { display: none; } +/* ::::: notification popups ::::: */ + +.popup-notification-icon { + width: 64px; + height: 64px; + -moz-margin-end: 10px; +} + +.popup-notification-icon[popupid="geolocation"] { + list-style-image: url("chrome://communicator/skin/icons/geolocation-64.png"); +} + +.popup-notification-icon[popupid="web-notifications"] { + list-style-image: url("chrome://communicator/skin/icons/notification-64.png"); +} + +.popup-notification-icon[popupid="addon-install-disabled"], +.popup-notification-icon[popupid="addon-install-blocked"], +.popup-notification-icon[popupid="addon-install-started"], +.popup-notification-icon[popupid="addon-install-cancelled"], +.popup-notification-icon[popupid="addon-install-failed"], +.popup-notification-icon[popupid="addon-install-complete"], +.popup-notification-icon[popupid="lwtheme-install-request"], +.popup-notification-icon[popupid="lwtheme-install-notification"] { + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); + width: 32px; + height: 32px; +} + +.popup-notification-icon[popupid="indexedDB-permissions-prompt"], +.popup-notification-icon[popupid="indexedDB-quota-prompt"] { + list-style-image: url("chrome://global/skin/icons/question-64.png"); +} + +.popup-notification-icon[popupid="password-change"], +.popup-notification-icon[popupid="password-save"] { + list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); +} + +.popup-notification-icon[popupid="click-to-play-plugins"] { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); + margin: 0px; + width: 32px; + height: 32px; +} + +.addon-progress-description { + width: 350px; + max-width: 350px; +} + +/* Notification icon box */ +#notification-popup-box { + -moz-margin-end: 3px; +} + +.notification-anchor-icon:-moz-focusring { + outline: 1px dotted; +} + +#default-notification-icon { + list-style-image: url("chrome://global/skin/icons/information-16.png"); + width: 16px; + height: 16px; +} + +#geo-notification-icon { + list-style-image: url("chrome://communicator/skin/icons/geolocation-16.png"); + width: 16px; + height: 16px; +} + +#web-notifications-notification-icon { + list-style-image: url("chrome://communicator/skin/icons/notification-16.png"); + width: 16px; + height: 16px; +} + +#addons-notification-icon { + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); + width: 16px; + height: 16px; +} + +#indexedDB-notification-icon { + list-style-image: url("chrome://global/skin/icons/question-16.png"); + width: 16px; + height: 16px; +} + +#password-notification-icon { + list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png"); + width: 16px; + height: 16px; +} + +#plugins-notification-icon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); + width: 16px; + height: 16px; +} + +.click-to-play-plugins-notification-content { + margin: -10px; + border-radius: 4px; +} + +.click-to-play-plugins-notification-icon-box { + background-color: #CCD0DD; + -moz-border-end: 1px solid #666699; + padding: 24px; +} + +.click-to-play-plugins-notification-separator { + -moz-border-start: 1px solid #666699; + border-top: 1px solid #666699; +} + +.click-to-play-plugins-notification-description-box { + padding-top: 12px; + -moz-padding-end: 11px; + padding-bottom: 9px; + -moz-padding-start: 10px; +} + +.click-to-play-plugins-notification-center-box { + background-color: #CCD0DD; +} + +.click-to-play-plugins-notification-button-container { + padding: 12px; +} + +.center-item-box { + padding: 8px 16px 0px 16px; +} + +.center-item-box[padbottom="true"] { + padding-bottom: 8px; +} + +.center-item-icon { + background-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png"); + background-repeat: no-repeat; + height: 16px; + width: 16px; + margin-bottom: 4px; +} + +.center-item-box[warn="true"] { +/* background-image: url("chrome://navigator/skin/click-to-play-warning-stripes.png");*/ + background-repeat: repeat-x; + padding: 8px 16px 6px 16px; +} + +.center-item-box[padbottom="true"][warn="true"] { + padding-bottom: 4px; +} + +.center-item-box[showseparator="true"] { + border-top: 1px solid #666699; +} + +.center-item-box[warn="false"] > .center-item-warning { + display: none; +} + +.center-item-warning > .text-link[href=""] { + display: none; +} + +.center-item-warning-icon { + background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png"); + background-repeat: no-repeat; + width: 16px; + height: 15px; + margin-bottom: 4px; +} + +.center-item-warning-description { + color: #808080; +} + +.center-item-button { + min-width: 0px; +} + /* ::::: page proxy icon ::::: */ #page-proxy-deck, @@ -237,7 +387,7 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { } #page-proxy-deck { - cursor: -moz-grab; + cursor: grab; margin: 0; } @@ -283,6 +433,10 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { -moz-margin-end: 4px; } +.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { + color: #808080; +} + /* ::::: go and searchbuttons ::::: */ #search-button, @@ -300,16 +454,15 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { min-height: 16px; } -#search-button:-moz-lwtheme, -#go-button:-moz-lwtheme { - opacity: .8; -} - #search-button { /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */ font-weight: bold; } +#search-button > .button-box > .button-icon { + display: -moz-box; +} + /* toolbar[mode="text"] #search-button > .button-box > .button-icon, toolbar[mode="icons"] #search-button > .button-box > .button-text { @@ -317,6 +470,18 @@ toolbar[mode="icons"] #search-button > .button-box > .button-text { } */ +/* ::::: search bar ::::: */ + +.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), +.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) { + color: #808080; + font-size: smaller; +} + +.autocomplete-treebody::-moz-tree-cell(suggesthint) { + border-top: 1px solid #808080; +} + /* ::::: security button ::::: */ #security-button { @@ -328,8 +493,7 @@ toolbar[mode="icons"] #search-button > .button-box > .button-text { } /* |high| and |low| styles could be different, to better reflect the secure level... */ -#security-button[level="high"] > .statusbarpanel-contentbox, -#security-button[level="low"] > .statusbarpanel-contentbox { +#security-button[level="high"] > .statusbarpanel-contentbox { list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif"); background-color: #FFFFCC; } @@ -343,14 +507,13 @@ toolbar[mode="icons"] #search-button > .button-box > .button-text { background-color: #33FF33; } -#security-button > .statusbarpanel-text { +#security-button > .statusbarpanel-contentbox > .statusbarpanel-text { margin: 0px; color: #000000; } /* make same background-color translucent on lwthemes */ -#security-button[level="high"] > .statusbarpanel-contentbox:-moz-lwtheme, -#security-button[level="low"] > .statusbarpanel-contentbox:-moz-lwtheme { +#security-button[level="high"] > .statusbarpanel-contentbox:-moz-lwtheme { background-color: rgba(255, 255, 204, .8); } @@ -370,6 +533,15 @@ toolbar[mode="icons"] #search-button > .button-box > .button-text { list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif"); } +#invalid-form-popup { + border : 1px outset #FFFFCC; + padding: 2px 3px 0px 3px; + max-width: 40em; + background-color : #FFFFCC; + color: #000000; + font-weight: bold; +} + /* ::::: personal toolbar ::::: */ #bookmarks-button { @@ -421,49 +593,69 @@ toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { for the drag/drop UI. */ .bookmarks-toolbar-customize { - list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); + list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png"); display: none; max-width: 15em !important; } -toolbarpaletteitem[place] > #personal-bookmarks > .bookmarks-toolbar-customize { - display: -moz-box; +#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box { + width: 16px; + height: 16px; + background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat; +} + +/* ::::: star button ::::: */ + +#star-button { + list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png"); + -moz-image-region: rect(16px 16px 32px 0px); } -toolbarpaletteitem[place="palette"] > #personal-bookmarks > .bookmarks-toolbar-customize { - -moz-box-orient: vertical; +#star-button:hover { + -moz-image-region: rect(16px 32px 32px 16px); } -toolbarpaletteitem[place="toolbar"] > #personal-bookmarks > .bookmarks-toolbar-overflow-items, -toolbarpaletteitem[place="toolbar"] > #personal-bookmarks > .bookmarks-toolbar-items { - visibility: collapse; +#star-button:hover:active { + -moz-image-region: rect(16px 48px 32px 32px); } -toolbarpaletteitem[place="palette"] > #personal-bookmarks > .bookmarks-toolbar-overflow-items, -toolbarpaletteitem[place="palette"] > #personal-bookmarks > .bookmarks-toolbar-items { - display: none; +#star-button[starred="true"] { + -moz-image-region: rect(0px 16px 16px 0px); +} + +#star-button[starred="true"]:hover { + -moz-image-region: rect(0px 32px 16px 16px); +} + +#star-button[starred="true"]:hover:active { + -moz-image-region: rect(0px 48px 16px 32px); +} + +#editBookmarkPanelStarIcon { + list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png"); + -moz-image-region: rect(0px 16px 16px 0px); } /* ::::: feeds ::::: */ -#feedsMenu { - list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png") !important; +.feedsMenu { + list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png"); -moz-image-region: rect(0px 16px 16px 0px); } -#feedsMenu[disabled="true"] { +.feedsMenu[disabled="true"] { -moz-image-region: rect(32px 16px 48px 0px); } -#feedsButton { +.feedsButton { list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png"); -moz-image-region: rect(0px 32px 16px 16px); } -#feedsButton:hover { +.feedsButton:hover { -moz-image-region: rect(16px 32px 32px 16px); } -#feedsButton:hover:active { +.feedsButton:hover:active { -moz-image-region: rect(48px 32px 64px 16px); }