X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fbrowser.css;h=65af4f3c03dc955fb6f5386ce47bea632405ed59;hb=9099c61da39b1346a25b1c01463829a44d72d6e1;hp=4b16de4535fac261081b6369db96e09bffe90f15;hpb=c4338f3983ec158fdfb174ee5522b44afa0c85ce;p=themes.git diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 4b16de45..65af4f3c 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -1,49 +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 mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998-1999 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Joe Hewitt (hewitt@netscape.com) - * Jason Kersey (kerz@netscape.com) - * Pierre Chanial (chanial@noos.fr) - * Dean Tessman (dean_tessman@hotmail.com) - * Blake Ross (blake@cs.stanford.edu) - * Pamela Greene (pamg.bugs@gmail.com) - * Dão Gottwald (dao@mozilla.com) - * Jim Mathies (jmathies@mozilla.com) - * Drew Willcoxon (adw@mozilla.com) - * Paul Rouget (paul@mozilla.com) - * Rob Campbell (rcampbell@mozilla.com) - * - * 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/. */ @import url("chrome://global/skin/"); @@ -117,9 +74,9 @@ menubar { visibility: visible; } -#navigator-toolbox[tabsontop="true"] > #nav-bar, -#navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + toolbar, -#navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + #customToolbars + #PersonalToolbar { +#nav-bar[tabsontop="true"], +#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + toolbar, +#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + #customToolbars + #PersonalToolbar { /* background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */ } @@ -480,11 +437,11 @@ menuitem.bookmark-item { .bookmark-item[container][livemark] .bookmark-item { list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png"); - -moz-image-region: auto; + -moz-image-region: rect(0px, 16px, 16px, 0px); } .bookmark-item[container][livemark] .bookmark-item[visited] { - /* nothing yet */ + -moz-image-region: rect(0px, 32px, 16px, 16px); } .bookmark-item[container][query] { @@ -709,7 +666,9 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { border-bottom-left-radius: 0; } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #back-button { border-radius: 10000px; width: 30px; height: 30px; @@ -721,20 +680,32 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { -moz-image-region: rect(54px, 20px, 74px, 0); } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover, -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #back-button:not([disabled="true"]):hover, +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #back-button[open="true"] { -moz-image-region: rect(54px, 40px, 74px, 20px); } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[disabled="true"] { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #back-button[disabled="true"] { -moz-image-region: rect(54px, 60px, 74px, 40px); } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover { } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover:active, -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #back-button:not([disabled="true"]):hover:active, +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #back-button[open="true"] { } #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"], @@ -748,7 +719,9 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { /* padding-top: 5px; */ } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #forward-button { /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */ mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask"); -moz-margin-start: -6px !important; @@ -758,17 +731,23 @@ toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { margin-bottom: 2px; } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:-moz-locale-dir(ltr) { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #forward-button:-moz-locale-dir(ltr) { border-top-right-radius: 11px; border-bottom-right-radius: 11px; } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:-moz-locale-dir(rtl) { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #forward-button:-moz-locale-dir(rtl) { border-top-left-radius: 11px; border-bottom-left-radius: 11px; } -#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:not([disabled="true"]):not(:active):hover { +window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] > + :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) > + #unified-back-forward-button > #forward-button:not([disabled="true"]):not(:active):hover { /*mask: url(keyhole-forward-mask.svg#mask-hover);*/ mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask-hover"); } @@ -1075,27 +1054,6 @@ window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icon -moz-image-region: rect(0, 306px, 18px, 288px); } -#nav-bar #zoom-out-button { - -moz-margin-end: 0; -} - -#nav-bar #zoom-in-button { - -moz-border-start: none; - -moz-margin-start: 0; -} - -#nav-bar #zoom-out-button:-moz-locale-dir(ltr), -#nav-bar #zoom-in-button:-moz-locale-dir(rtl) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} - -#nav-bar #zoom-out-button:-moz-locale-dir(rtl), -#nav-bar #zoom-in-button:-moz-locale-dir(ltr) { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} - #zoom-out-button:not([disabled="true"]):hover { -moz-image-region: rect(18px, 288px, 36px, 270px); } @@ -2110,7 +2068,8 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { .popup-notification-icon[popupid="addon-install-cancelled"], .popup-notification-icon[popupid="addon-install-blocked"], .popup-notification-icon[popupid="addon-install-failed"], -.popup-notification-icon[popupid="addon-install-complete"] { +.popup-notification-icon[popupid="addon-install-complete"], +.popup-notification-icon[popupid="click-to-play-plugins"] { list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); width: 32px; height: 32px;