X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fglobal.css;h=803e7ab72abeba596188c1f27a8b32b90178b1b9;hp=35c1ebdf7d0a65e70c3b9a39149051f1650317c1;hb=da3c2755e14e83b2d8b5d45315c1574200f740e8;hpb=7862e6ee1141fa74a714e5461320d2fb8299c455 diff --git a/EarlyBlue/global/global.css b/EarlyBlue/global/global.css index 35c1ebdf..803e7ab7 100644 --- a/EarlyBlue/global/global.css +++ b/EarlyBlue/global/global.css @@ -1,39 +1,6 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: NPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Netscape 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/NPL/ - * - * 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): - * 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 NPL, 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 NPL, 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/. */ /* ===== global.css ===================================================== == Styles that apply everywhere. @@ -54,21 +21,10 @@ radio { -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing"); } -menulist > menupopup, -.menulist-menupopup { +menulist > menupopup { -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars"); } -.menulist-compact { - -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact"); -} - -/* -progressmeter[mode="undetermined"] { - -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); -} -*/ - /* ::::: root elements ::::: */ window, @@ -78,11 +34,14 @@ wizard, prefwindow { background-color: #CCD0DD; color: #000000; - font: 11px helvetica,arial,tahoma,sans-serif; + font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; } window.dialog { - padding: 8px 10px 10px 8px; + padding-top: 8px; + padding-bottom: 10px; + -moz-padding-start: 8px; + -moz-padding-end: 10px; } /* ::::: alert icons :::::*/ @@ -100,6 +59,7 @@ window.dialog { list-style-image: url("chrome://global/skin/icons/alert-message.gif"); } +.alert-dialog #info\.icon, .alert-icon { list-style-image: url("chrome://global/skin/icons/alert-exclam.gif"); } @@ -138,6 +98,12 @@ statusbarpanel { padding: 0px 1px; } +statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme { + -moz-appearance: none; + border-top-style: none; + border-bottom-style: none; + -moz-border-start-style: none; +} .statusbar-resizerpanel { -moz-box-align: end; @@ -151,23 +117,40 @@ statusbarpanel { padding: 0px 1px; } -resizer[dir="bottomright"] { - cursor: se-resize; -} - -window:not([active="true"]) menubar > menu { - color: #808080; -} - .toolbar-focustarget { -moz-user-focus: ignore !important; } +toolbar[mode="text"] .toolbarbutton-text { + /* padding: 0 !important; + margin: 3px 5px !important; */ +} + /* ::::: miscellaneous formatting ::::: */ +:root:-moz-lwtheme, +[lwthemefooter="true"] { + -moz-appearance: none; +} + +:root:-moz-lwtheme-darktext { + text-shadow: 0 -0.5px 1.5px #FFFFFF; +} + +:root:-moz-lwtheme-brighttext { + text-shadow: 1px 1px 2px #000000; +} + +statusbar:-moz-lwtheme, +sidebarheader:-moz-lwtheme { + -moz-appearance: none; + background: none; + border-style: none; +} + .inset { border: 1px inset #CCD0DD; - /* margin: 0px 5px 5px 5px; */ + /* margin: 0px 5px 5px; */ } .outset { @@ -200,8 +183,8 @@ separator.groove:not([orient="vertical"]) { separator.groove[orient="vertical"] { border-left: 2px groove #CCD0DD; - margin-left: 0.4em; - margin-right: 0.4em; + -moz-margin-start: 0.4em; + -moz-margin-end: 0.4em; } /* groove separators (0 padding, for dividing effects) */ @@ -219,6 +202,7 @@ separator[orient="vertical"].groove-thin { } .plain { + -moz-appearance: none; margin: 0px !important; border: none; padding: 0px; @@ -246,12 +230,12 @@ description { } .monospace { - font-family: monospace; + font-family: "Liberation Mono", Consolas, "Courier New", monospace; } .indent { -/* margin-left: 23px; */ - margin-left: 15px; +/* -moz-margin-start: 23px; */ + -moz-margin-start: 15px; } .box-padded { @@ -263,32 +247,30 @@ description { } .wizard-box { - padding: 15px 35px 10px 35px; + padding: 15px 35px 10px; } .text-link { color: blue; - text-decoration: underline; cursor: pointer; } -.text-link:focus { - color: red; - /* Don't specify the outline-color, we should always use initial value. */ - outline: 1px dotted; +.text-link:hover { + text-decoration: underline; } -.text-link:hover:active { - color: red; +.text-link:-moz-focusring { + /* Don't specify the outline-color, we should always use initial value. */ + outline: 1px dotted; } -.text-link[visited="true"] { - color: purple; +popupnotificationcontent { + margin-top: .5em; } /* :::::: autoscroll popup ::::: */ -#autoscroller { +.autoscroller { height: 28px; width: 28px; border: 0px; @@ -299,34 +281,34 @@ description { -moz-appearance: none; } -#autoscroller[scrolldir="NS"] { +.autoscroller[scrolldir="NS"] { background-position: left center; } -#autoscroller[scrolldir="EW"] { +.autoscroller[scrolldir="EW"] { background-position: left bottom; } -#autoscroller[transparent="true"] { +.autoscroller[transparent="true"] { background-position: center top; } -#autoscroller[transparent="true"][scrolldir="NS"] { +.autoscroller[transparent="true"][scrolldir="NS"] { background-position: center center; } -#autoscroller[transparent="true"][scrolldir="EW"] { +.autoscroller[transparent="true"][scrolldir="EW"] { background-position: center bottom; } -#autoscroller[translucent="true"] { +.autoscroller[translucent="true"] { background-position: right top; } -#autoscroller[translucent="true"][scrolldir="NS"] { +.autoscroller[translucent="true"][scrolldir="NS"] { background-position: right center; } -#autoscroller[translucent="true"][scrolldir="EW"] { +.autoscroller[translucent="true"][scrolldir="EW"] { background-position: right bottom; }