X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fglobal.css;h=6a661111a8c8e30ad8f86a2b24dae4081d0257dc;hp=011dafbe7aef5db0e56357ccb184807d56720dd7;hb=a9f6369d5cebd3c329b993d57e73bcf30fffd2cd;hpb=4ed82c79b6ec5b64c3a77c7f89487705df522e8d diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index 011dafbe..6a661111 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"); } -/* -progressmeter[mode="undetermined"] { - -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); +@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; + } +} + +/* ::::: Variables ::::: */ +:root { + --arrowpanel-padding: 6px; + --arrowpanel-background: #000000; + --arrowpanel-color: #FF9F00; + --arrowpanel-border-color: #FF9F00; } -*/ /* ::::: root elements ::::: */ @@ -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,36 +130,41 @@ 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; - -moz-border-start-style: none; + border-inline-start-style: none; } .statusbar-resizerpanel { @@ -198,11 +176,11 @@ statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme { .statusbarpanel-iconic, .statusbarpanel-iconic-text, .statusbarpanel-menu-iconic { - padding: 0px 2px; } .statusbarpanel-progress { -moz-box-orient: vertical; + padding: 0px; } .toolbar-focustarget { @@ -222,7 +200,7 @@ toolbar[mode="text"] .toolbarbutton-text { } :root:-moz-lwtheme-darktext { - text-shadow: 1px 1px 2px #FFCF00; + text-shadow: 0 -0.5px 1.5px #FFCF00; } :root:-moz-lwtheme-brighttext { @@ -271,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) */ @@ -298,7 +276,7 @@ separator[orient="vertical"].groove-thin { description, label { cursor: default; - margin: 1px 3px; + margin: 1px 2px; } label[disabled="true"] { @@ -318,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 { @@ -339,16 +317,39 @@ description { } .text-link { - color: blue; - text-decoration: underline; + color: #3333FF; cursor: pointer; } +.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; +} + +/* === BEGIN notification-popup.inc.css === */ + +.popup-notification-panel > .panel-arrowcontainer > .panel-arrowcontent { + /* In order to display the action buttons near the edge of the arrow panel we + * have to reset its default padding and specify the padding in the individual + * "popupnotification" elements instead. To keep the rounded borders of the + * panel, we also have to ensure the contents are clipped to the border box + * by hiding the overflow, and we have to override the "display" property so + * that the height of the contents is computed correctly in that case. */ + padding: 0; + overflow: hidden; + display: block; +} + +/* === END notification-popup.inc.css === */ + /* :::::: autoscroll popup ::::: */ .autoscroller { @@ -393,3 +394,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; +}