X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fglobal.css;h=53cf677c015947126be959e1f1f62b6186128384;hp=a112b91926dc122a5016ab71c670026b81690b4f;hb=710194f17c12f1767ef0ad8ffe1c46860bc70b78;hpb=18f5421a753324176299d1a66883253f6658d863 diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index a112b919..53cf677c 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. @@ -54,15 +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"); -} - /* LCARStrek special bindings */ statusbar { @@ -78,14 +40,24 @@ menubar { } toolbaritem > menubar { - -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); + -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar"); +} + +@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) { + /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */ + toolbar.chromeclass-menubar { + -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar"); + border-bottom: none; + } } -/* -progressmeter[mode="undetermined"] { - -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); +/* ::::: Variables ::::: */ +:root { + --panel-arrowcontent-padding: 6px; + --panel-arrowcontent-background: #000000; + --panel-arrowcontent-color: #FF9F00; + --panel-arrowcontent-border-color: #FF9F00; } -*/ /* ::::: root elements ::::: */ @@ -97,7 +69,7 @@ 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; } @@ -106,8 +78,8 @@ window.dialog { background-color: #000000; padding-top: 8px; padding-bottom: 10px; - -moz-padding-start: 8px; - -moz-padding-end: 10px; + padding-inline-start: 8px; + padding-inline-end: 10px; } /* ::::: alert icons :::::*/ @@ -125,6 +97,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"); } @@ -157,31 +130,43 @@ statusbar { .statusbar-center { background-color: #8050B0; - -moz-padding-start: 2px; + padding-inline-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; - -moz-margin-end: 3px; + margin-inline-end: 3px; } .statusbar-right { - -moz-border-radius: 0px 9px 9px 0px; + border-radius: 0px 9px 9px 0px; background-color: #6000CF; width: 13px; - -moz-margin-start: 3px; + margin-inline-start: 3px; } statusbarpanel { -moz-box-align: center; -moz-box-pack: center; + 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; + border-inline-start-style: none; +} + .statusbar-resizerpanel { -moz-box-align: end; -moz-box-pack: end; @@ -191,15 +176,11 @@ statusbarpanel { .statusbarpanel-iconic, .statusbarpanel-iconic-text, .statusbarpanel-menu-iconic { - padding: 0px 2px; } .statusbarpanel-progress { -moz-box-orient: vertical; -} - -window:not([active="true"]) menubar > menu { - color: #8050B0; + padding: 0px; } .toolbar-focustarget { @@ -213,6 +194,26 @@ toolbar[mode="text"] .toolbarbutton-text { /* ::::: 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; */ @@ -248,8 +249,8 @@ separator.groove:not([orient="vertical"]) { separator.groove[orient="vertical"] { border-left: 2px groove #FF9F00; - -moz-margin-start: 0.4em; - -moz-margin-end: 0.4em; + margin-inline-start: 0.4em; + margin-inline-end: 0.4em; } /* groove separators (0 padding, for dividing effects) */ @@ -275,7 +276,7 @@ separator[orient="vertical"].groove-thin { description, label { cursor: default; - margin: 1px 3px; + margin: 1px 2px; } label[disabled="true"] { @@ -295,12 +296,12 @@ description { } .monospace { - font-family: monospace; + font-family: "Liberation Mono", Consolas, "Courier New", monospace; } .indent { -/* -moz-margin-start: 23px; */ - -moz-margin-start: 15px; +/* margin-inline-start: 23px; */ + margin-inline-start: 15px; } .box-padded { @@ -316,16 +317,23 @@ description { } .text-link { - color: blue; - text-decoration: underline; + color: #3333FF; cursor: pointer; } -.text-link:focus { +.text-link:hover { + text-decoration: underline; +} + +.text-link:-moz-focusring { /* Don't specify the outline-color, we should always use initial value. */ outline: 1px dotted; } +popupnotificationcontent { + margin-top: .5em; +} + /* :::::: autoscroll popup ::::: */ .autoscroller { @@ -370,3 +378,21 @@ description { .autoscroller[translucent="true"][scrolldir="EW"] { background-position: right bottom; } + +/* :::::: Close button icons ::::: */ + +.close-icon { + list-style-image: url("chrome://global/skin/icons/close.png"); + -moz-image-region: rect(0, 16px, 16px, 0); +} + +.close-icon:hover, +.close-icon:hover:active { + -moz-image-region: rect(0, 32px, 16px, 16px); +} + +.close-icon > .button-icon, +.close-icon > .button-box > .button-icon, +.close-icon > .toolbarbutton-icon { + width: 16px; +}