X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fglobal.css;h=5dd43311ee8bb2637ab8a16b02160cc00cf92b35;hp=40ec0616d990bab4282ea5d2a859ca2e275be03c;hb=b2c22e16028356f3685110af18e2e39da48ddb8c;hpb=dd676468138b64245f5026a8923f26307b8f3ebc diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index 40ec0616..5dd43311 100644 --- a/LCARStrek/global/global.css +++ b/LCARStrek/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 - * 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. @@ -41,8 +8,7 @@ /* all localizable skin settings shall live here */ @import url("chrome://global/locale/intl.css"); - -@import url("chrome://global/skin/formatting.css"); +@import url("chrome://global/content/global-platform.css"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); @@ -80,9 +46,8 @@ menubar { } toolbaritem > menubar { - -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); + -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar"); } - /* progressmeter[mode="undetermined"] { -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); @@ -99,18 +64,17 @@ prefwindow { background-color: #000000; color: #FF9F00; /* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */ - font: 11px helvetica,arial,tahoma,sans-serif; + font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; padding: 3px; } /* deprecated */ window.dialog { background-color: #000000; - padding: 8px 10px 10px 8px; -} - -[wait-cursor] { - cursor: wait !important; + padding-top: 8px; + padding-bottom: 10px; + -moz-padding-start: 8px; + -moz-padding-end: 10px; } /* ::::: alert icons :::::*/ @@ -160,29 +124,41 @@ statusbar { .statusbar-center { background-color: #8050B0; - padding-left: 2px; - color: #000000; - -moz-box-align: center; + -moz-padding-start: 2px; + color: #FFCF00; + -moz-box-align: stretch; } .statusbar-left { - -moz-border-radius: 9px 0px 0px 9px; + border-radius: 9px 0px 0px 9px; background-color: #6000CF; width: 13px; - margin-right: 3px; + -moz-margin-end: 3px; } .statusbar-right { - -moz-border-radius: 0px 9px 9px 0px; + border-radius: 0px 9px 9px 0px; background-color: #6000CF; width: 13px; - margin-left: 3px; + -moz-margin-start: 3px; } statusbarpanel { -moz-box-align: center; -moz-box-pack: center; - padding: 0px 1px 0px 1px; + border-left: 3px solid black; + padding: 0px 2px; +} + +statusbarpanel:first-child { + border-left: none; +} + +statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme { + -moz-appearance: none; + border-top-style: none; + border-bottom-style: none; + -moz-border-start-style: none; } .statusbar-resizerpanel { @@ -191,23 +167,163 @@ statusbarpanel { padding: 0px; } -.statusbarpanel-iconic, .statusbarpanel-iconic-text, .statusbarpanel-menu-iconic { - padding: 0px 1px 0px 1px; +.statusbarpanel-iconic, +.statusbarpanel-iconic-text, +.statusbarpanel-menu-iconic { } -resizer[dir="bottomright"] { - cursor: se-resize; +.statusbarpanel-progress { + -moz-box-orient: vertical; + padding: 0px; } -/* ::::: miscellaneous ::::: */ - .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 #FFCF00; +} + +: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 #FF9F00; + margin: 0px 5px 5px; */ +} + +.outset { +/* border: 1px outset #FF9F00; */ +} + +/* separators */ +separator:not([orient="vertical"]) { + height: 1.5em; +} + +separator[orient="vertical"] { + width: 1.5em; +} + +separator.thin:not([orient="vertical"]) { + height: 0.5em; +} + +separator.thin[orient="vertical"] { + width: 0.5em; +} + +separator.groove:not([orient="vertical"]) { + border-top: 2px groove #FF9F00; + height: 0px; + margin-top: 0.4em; + margin-bottom: 0.4em; +} + +separator.groove[orient="vertical"] { + border-left: 2px groove #FF9F00; + -moz-margin-start: 0.4em; + -moz-margin-end: 0.4em; +} + +/* groove separators (0 padding, for dividing effects) */ +separator.groove-thin { + border-top: 2px groove #FF9F00; + height: 0px; +} + +separator[orient="vertical"].groove-thin { + border-left: 2px groove #FF9F00; +} + +.small-margin { + margin: 0px 1px; +} + +.plain { + -moz-appearance: none; + margin: 0px !important; + border: none; + padding: 0px; +} + +description, label { + cursor: default; + margin: 1px 2px; +} + +label[disabled="true"] { + color: #8050B0; +} + +description { +/* margin-bottom: 4px; */ +} + +.tooltip-label { + margin: 0px; +} + +.header { + font-weight: bold; +} + +.monospace { + font-family: "Liberation Mono", Consolas, "Courier New", monospace; +} + +.indent { +/* -moz-margin-start: 23px; */ + -moz-margin-start: 15px; +} + +.box-padded { + padding: 5px; +} + +.spaced { + margin: 1px 3px; +} + +.wizard-box { + padding: 15px 35px 10px; +} + +.text-link { + color: #3333FF; + text-decoration: underline; + cursor: pointer; +} + +.text-link:-moz-focusring { + /* Don't specify the outline-color, we should always use initial value. */ + outline: 1px dotted; +} + /* :::::: autoscroll popup ::::: */ -#autoscroller { +.autoscroller { height: 28px; width: 28px; border: 0px; @@ -218,34 +334,34 @@ resizer[dir="bottomright"] { -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; }