-/* ***** 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 "Classic" theme of mozilla.org code.
- *
- * The Initial Developer of the Original Code is
- * the Mozilla Organization.
- * Portions created by the Initial Developer are Copyright (C) 1998-2001
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Robert Kaiser <KaiRo@KaiRo.at>
- *
- * 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/. */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-/*
-#sidebar-splitter
- {
- border-top : 1px solid ThreeDHighlight;
- border-bottom : 1px solid ThreeDShadow;
- }
-*/
+/* ::::: sidebar container ::::: */
+
+#sidebar-box {
+ margin-top: 0px;
+ border: none;
+ background-color: #CCD0DD;
+}
+
+/* ::::: sidebar header ::::: */
-#sidebar-box
- {
- margin-top : 0px;
- border : none;
- background-color : #CCD0DD;
- }
-
-.text-panel-loading
- {
- margin : 5px 0px;
- }
-
-.image-panel-loading
- {
- margin : 5px;
- list-style-image : url("chrome://global/skin/loading.gif");
- }
-
-.sidebarheader-main
- {
- border : none;
- color : #CCD0DD;
- background-color : #666699;
- padding-left : 4px;
- }
+.sidebarheader-main {
+ border: none;
+ color: #CCD0DD;
+ background-color: #666699;
+ -moz-padding-start: 4px;
+ height: auto;
+}
#sidebar-panel-picker {
- -moz-box-direction: reverse;
color: inherit;
}
-
-#sidebar-panel-picker > .toolbarbutton-box > .toolbarbutton-dropmarker
- {
- padding-left : 4px;
- list-style-image : url("chrome://global/skin/menu-arrow-hover.gif");
- }
-.sidebar-header-text
- {
- font-weight : bold;
- }
+.sidebar-header-text {
+ font-weight: bold;
+}
-/*
-.sidebar-header-grippy
- {
- list-style-image : url("chrome://global/skin/grippy-short-vert-after.gif");
- background-color : -moz-Dialog;
- max-width : 32px;
- height : 4px;
- }
-
-#sidebar-title-box[state="collapsed"] > .sidebar-header-grippy
- {
- list-style-image : url("chrome://global/skin/grippy-short-vert-before.gif");
- }
-*/
-
-/**
- * texttab folder lookalike e.g. for sidebar panel headers
- */
- .box-texttab
- {
- -moz-binding : url("chrome://communicator/skin/sidebar/sidebarBindings.xml#panelheader");
- padding : 2px 0px 2px 0px;
- background-color : #CCD0DD;
- color : #000000;
- cursor : pointer;
- border-top : 1px outset #CCD0DD;
- border-bottom : 1px outset #CCD0DD;
- }
-
- .box-texttab[selected="true"],
- .box-texttab[selected="true"]:hover,
- .box-texttab[selected="true"]:hover:active
- {
- background-color : #336699;
- border-top : 1px solid #336699;
- }
-
- .panelheader-box-1,
- .box-texttab[selected="true"]:hover > .panelheader-box-1
- {
- padding : 1px 1px 1px 0px;
- }
+/* ..... close button ..... */
+
+#sidebar-close-button {
+ -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image");
+ padding: 1px 3px;
+ -moz-padding-start: 4px;
+ list-style-image: url("chrome://global/skin/icons/close-button.gif");
+}
+
+/* ::::: sidebar panel ::::: */
+
+.sidebar-iframe-no-panels,
+.loadarea {
+ background-color: #FFFFFF;
+ color: #666699;
+}
+
+.iframe-panel, .browser-sidebar {
+}
+
+/* ::::: loading info ::::: */
+
+.text-panel-loading {
+ margin: 5px 0px;
+}
+
+.text-panel-loading[loading="false"] {
+ -moz-margin-start: 11px;
+}
+
+.image-panel-loading {
+ margin: 5px;
+ list-style-image: url("chrome://global/skin/icons/loading.gif");
+}
+
+/* ::::: sidebar tabs ::::: */
+
+.box-texttab {
+ -moz-binding: url("chrome://communicator/skin/sidebar/sidebarBindings.xml#sbtab");
+ padding: 2px 0px;
+ background-color: #CCD0DD;
+ color: #000000;
+ cursor: pointer;
+ border-top: 1px outset #CCD0DD;
+ border-bottom: 1px outset #CCD0DD;
+}
+
+.box-texttab[selected="true"],
+.box-texttab[selected="true"]:hover,
+.box-texttab[selected="true"]:hover:active {
+ background-color: #336699;
+ border-top: 1px solid #336699;
+ padding: 1px;
+ -moz-padding-start: 0px;
+}
- .box-texttab[last-panel="true"],
- .box-texttab[last-panel="true"]:hover,
- .box-texttab[last-panel="true"]:hover:active,
- .box-texttab[last-panel="true"][selected="true"],
- .box-texttab[last-panel="true"][selected="true"]:hover,
- .box-texttab[last-panel="true"][selected="true"]:hover:active
- {
- border-bottom : none;
- }
-
- .panelheader-grippy-icon
- {
- margin : 2px 3px 0px 3px;
- list-style-image : url("chrome://global/skin/twisty-closed.gif");
- }
+.box-texttab[last-panel="true"],
+.box-texttab[last-panel="true"]:hover,
+.box-texttab[last-panel="true"]:hover:active,
+.box-texttab[last-panel="true"][selected="true"],
+.box-texttab[last-panel="true"][selected="true"]:hover,
+.box-texttab[last-panel="true"][selected="true"]:hover:active {
+ border-bottom: none;
+}
+
+.sbtab-label {
+ margin: 0px !important;
+}
+
+.sbtab-twisty {
+ margin: 2px 3px 0px;
+ list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
+}
/*
- .panelheader-texture
- {
- margin : 1px 0px 1px 0px;
- background-image : url("chrome://global/skin/toolbargrippy-texture.gif");
- background-position : 50% 0%;
- background-repeat : repeat-y;
- width : 12px;
- }
+.sbtab-texture {
+ margin: 2px 0px;
+ background: url("chrome://global/skin/toolbar/tbgrip-texture.gif") repeat-y;
+ width: 12px;
+ height: 12px;
+}
*/
- .box-texttab:hover
- {
- background-color : #DDDDDD;
- }
-
- .box-texttab:hover > .panelheader-box-1
- {
- }
-
- .box-texttab:hover:active
- {
- background-color : #6699FF;
- }
+.box-texttab:hover {
+ background-color: #DDDDDD;
+}
- .box-texttab:hover:active > .panelheader-box-1
- {
- }
-
- .box-texttab[selected="true"],
- .box-texttab[selected="true"]:hover
- {
- font-weight : bold;
- cursor : default;
- }
-
- .box-texttab[last-panel="true"],
- .box-texttab[selected="true"]
- {
- margin-bottom : 0px;
- }
-
- .panelheader-grippy-icon[selected="true"]
- {
- margin : 2px 3px 0px 3px;
- list-style-image : url("chrome://global/skin/twisty-open.gif");
- }
-
- .sidebar-iframe-no-panels, .loadarea
- {
- background-color : #FFFFFF;
- }
+.box-texttab:hover:active {
+ background-color: #6699FF;
+}
- .iframe-panel
- {
- }
-
- .panelheader-text
- {
- margin : 0px;
- }
+.box-texttab[selected="true"],
+.box-texttab[selected="true"]:hover {
+ font-weight: bold;
+ cursor: default;
+}
+
+.box-texttab[last-panel="true"],
+.box-texttab[selected="true"] {
+ margin-bottom: 0px;
+}
+
+.sbtab-twisty[selected="true"] {
+ list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
+}
+
+/* ::::: sidebar navigation buttons ::::: */
+
+.sidebar-nav-button {
+ -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image");
+ padding: 5px 0px;
+}
+
+.tab-fwd {
+ list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
+}
+
+.tab-back {
+ list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
+}
\ No newline at end of file