X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fglobal.css;h=53cf677c015947126be959e1f1f62b6186128384;hp=bf18578947c8fd7d1f3c053178639c3e27e7ef38;hb=710194f17c12f1767ef0ad8ffe1c46860bc70b78;hpb=2184a049844fc605a0cedb214ab06693fad8d55e diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index bf185789..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"); } -/* -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 { + --panel-arrowcontent-padding: 6px; + --panel-arrowcontent-background: #000000; + --panel-arrowcontent-color: #FF9F00; + --panel-arrowcontent-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,23 +130,23 @@ 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 { @@ -191,7 +164,7 @@ 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 { @@ -203,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 { @@ -227,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 { @@ -276,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) */ @@ -303,7 +276,7 @@ separator[orient="vertical"].groove-thin { description, label { cursor: default; - margin: 1px 3px; + margin: 1px 2px; } label[disabled="true"] { @@ -323,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 { @@ -344,16 +317,23 @@ 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; +} + /* :::::: autoscroll popup ::::: */ .autoscroller { @@ -398,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; +}