X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fchatzilla%2Fchatzilla.css;h=a38f3f114c442565388daaa9ce1949a34618460b;hp=9d3a9800871f0085eb8aa5149623613f43f56ae1;hb=2fef2a5d743af941add212d2a33507971431484b;hpb=2eca4504888aff6e1590f12ae5758ec283e805ab diff --git a/LCARStrek/chatzilla/chatzilla.css b/LCARStrek/chatzilla/chatzilla.css index 9d3a9800..a38f3f11 100644 --- a/LCARStrek/chatzilla/chatzilla.css +++ b/LCARStrek/chatzilla/chatzilla.css @@ -1,39 +1,6 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla 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/MPL/ - * - * 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 JSIRC Library. - * - * The Initial Developer of the Original Code is - * New Dimensions Consulting, Inc. - * Portions created by the Initial Developer are Copyright (C) 1999 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Robert Ginda, rginda@ndcico.com, original author - * - * 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 MPL, 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 MPL, 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/. */ @import url("chrome://communicator/skin/"); @@ -46,10 +13,6 @@ window { display: none; } -#tabpanels-contents-box { - margin: 3px 0; -} - #header-url:hover { text-decoration: underline; } @@ -64,7 +27,7 @@ window { #input-widget, #input-widget-multiline { - -moz-border-radius: 5px; + border-radius: 5px; border: 1px solid #9C9CFF; } @@ -85,6 +48,10 @@ window { background: #008484 !important; } +#user-list { + margin: 0; +} + #view-tabs { overflow: hidden; } @@ -109,35 +76,70 @@ window { } .view-button { - /* do NOT set colour, at least not without background. :) */ + /* Box model is 5px 5px 5px 6px in aggregate. Extra pixel on the left is for the separator. */ + -moz-appearance: none; + margin: 5px 0 0; +/* border: none; + border-left: 1px solid ButtonShadow;*/ + padding: 0 5px; +/* + background: Button; + color: ButtonText; + font: message-box; +*/ + text-shadow: none; text-align: center; max-width: 30ex; -moz-box-flex: 1; + -moz-box-orient: vertical; + -moz-box-align: stretch; } -.view-button[state="current"] { - font-weight: bold; +.view-button:first-child { + border-left-color: transparent; } -.view-button[state="superfluous"] { - color: #E7ADE7; +.view-button::before { + content: " "; + display: -moz-box; + margin: -5px -5px 0 -5px; + height: 4px; } -.view-button[state="activity"] { - color: #FFCF00; +.view-button[state="superfluous"]::before { + background-color: #E7ADE7; } -.view-button[state="attention"] { - color: red; +.view-button[state="activity"]::before { + background-color: #FFCF00; } -.view-button:hover { - color: #000000; +.view-button[state="attention"]::before { + background-color: red; } -.output-container { - -moz-border-radius: 5px; - border: 1px solid #9C9CFF; +.view-button:hover, +.view-button[state="current"] { + margin: 0 0 0; +/* border-left: none; + border-radius: 0 0 6px 6px;*/ + padding: 5px 5px 0; +/* + background: Window; + color: WindowText; +*/ +} + +.view-button[state="current"] + .view-button, +.view-button:hover + .view-button:not([state="current"]) { +/* border-left-color: transparent;*/ +} + +.view-button[state="current"] { + position: relative; /* So it visually appears above the tabs either side. */ +/* border: 2px solid ButtonShadow;*/ + border-top: none; + padding: 5px 5px 3px 5px; } treecol { @@ -248,6 +250,22 @@ progressmeter[mode="undetermined"] { direction: rtl; } +#input-splitter { + margin: 4px 0 0 0; +} + +#input-widgets { + margin: 4px 0; +} + +#server-nick, #button-multiline-expand, #button-input, #button-multiline-contract { + margin: 0; +} + +#input, #multiline-input { + margin: 0 4px; +} + /* Hack; Stop the status-bar from distorting without a security icon */ #status-text { min-height: 17px; @@ -261,7 +279,7 @@ progressmeter[mode="undetermined"] { min-width: 20px; } -#security-button:not([level="high"]):not([level="low"]):not([level="broken"]) { +#security-button:not([level="high"]):not([level="broken"]) { display: none; } @@ -269,10 +287,6 @@ progressmeter[mode="undetermined"] { list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif"); } -#security-button[level="low"] > image { - list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif"); -} - #security-button[level="broken"] > image { list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif"); } @@ -282,6 +296,22 @@ progressmeter[mode="undetermined"] { display: none; } +#alert-status[alertstate="off"] { + list-style-image: url("chrome://chatzilla/skin/images/spbubble-off.png"); +} + +#alert-status[alertstate="on"] { + list-style-image: url("chrome://chatzilla/skin/images/spbubble-on.png"); +} + +#logging-status[loggingstate="off"] { + list-style-image: url("chrome://chatzilla/skin/images/logging-off.png"); +} + +#logging-status[loggingstate="on"] { + list-style-image: url("chrome://chatzilla/skin/images/logging-on.png"); +} + #offline-status[offlinestate="offline"] { list-style-image: url("chrome://communicator/skin/icons/offline.gif"); } @@ -293,24 +323,5 @@ progressmeter[mode="undetermined"] { /* Focus styling for a11y reasons */ #user-list-box[focusobvious="true"], #browser-box[focusobvious="true"], #multiline-hug-box[focusobvious="true"], #singleline-hug-box[focusobvious="true"] { - border-color: highlight !important; -} - -/* Not setting a right border so the scrollbar remains on the window edge. */ -#browser-box:last-child, #user-list-box:last-child { - border-left: 2px solid transparent; - border-top: 2px solid transparent; - border-bottom: 2px solid transparent; -} - -#user-list-box:first-child, #browser-box:first-child { - border-right: 2px solid transparent; - border-top: 2px solid transparent; - border-bottom: 2px solid transparent; -} - -#singleline-hug-box, #multiline-hug-box { - border-right: 2px solid transparent; - border-left: 2px solid transparent; - border-top: 2px solid transparent; + outline: 2px solid #008484; }