/* ***** 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 * * 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 ***** */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /******** Outliner widget **********/ /** basic outliner **************************************************** * basic outliner widget for use in main windows where no decoration * is required. **/ outliner { border-spacing : 0px; border : none; background-color : #FFFFFF; color : #000000; } outliner.inset { border: 1px inset #CCD0DD; } outlinerbody { -moz-user-select: none; } outlinerbody:-moz-outliner-row { height: 18px; border: 1px solid transparent; } outlinerbody:-moz-outliner-row(selected) { background-color: #808080; } outliner:focus > outlinerbody:-moz-outliner-row(selected, focus) { background-color: #336699; } outlinerbody:-moz-outliner-row(current, focus) { border: 1px dotted #9999CC; } outlinerbody:-moz-outliner-cell { padding: 0px 0px 1px 2px; } outlinerbody:-moz-outliner-cell-text { color: inherit; } /* outlinerbody:-moz-outliner-cell-text(selected) { color: #000000; } outlinerbody:-moz-outliner-cell-text(selected, focus) { color: #000000; } */ outlinerbody:-moz-outliner-line { border: 1px dotted grey; } outlinerbody:-moz-outliner-line(selected) { border: 1px dotted black; } outlinerbody:-moz-outliner-separator { border: 1px outset #CCD0DD; } outlinercol { /* border: 1px solid #666699; */ background-color: #CCD0DD; color: black; } .outlinercol-box, .outlinercol-image-box { border: 1px outset #CCD0DD; } .outlinercol-box { padding: 0px 4px; } .outlinercol-image-box { padding: 0px 1px; } outlinercol:hover:active { border: 1px solid #666699; } outlinercol:hover:active > .outlinercol-box, outlinercol:hover:active > .outlinercol-image-box { border-top: 1px solid transparent; border-right: none; border-bottom: none; border-left: 1px solid transparent; } outlinercol:hover:active > .outlinercol-box { padding: 1px 4px 0px 5px; } outlinercol:hover:active > .outlinercol-image-box { padding: 1px 1px 0px 2px; } /* column drag and drop styles */ outlinercol[dragging="true"] { /* border: 1px solid ThreeDDarkShadow; */ background-color: #336699; color: #000000; } outlinercol[dragging="true"] > .outlinercol-box { border: 1px solid transparent; } outlinercol[insertafter="true"] { /* border-right: 1px solid #000000; */ } outlinercol[insertafter="true"] > .outlinercol-box { border-right: 1px solid #000000; } outlinercol[insertbefore="true"] { /* border-left: 1px solid #000000; */ } outlinercol[insertbefore="true"] > .outlinercol-box { border-left: 1px solid #000000; } outlinerbody:-moz-outliner-column(insertbefore) { border-left: 1px solid #000000; } outlinerbody:-moz-outliner-column(insertafter) { border-right: 1px solid #000000; } /* outliner header with sort direction indicators */ .outlinercol-sortdirection { list-style-image: none; } .sortDirectionIndicator[sortDirection="ascending"] > .outlinercol-box > .outlinercol-sortdirection { list-style-image: url("chrome://global/skin/sortAscending.gif"); } .sortDirectionIndicator[sortDirection="descending"] > .outlinercol-box > .outlinercol-sortdirection { list-style-image: url("chrome://global/skin/sortDescending.gif"); } .outliner-colpicker-icon { list-style-image: url("chrome://global/skin/columnselect.gif"); } /* twisty rules */ outlinerbody:-moz-outliner-twisty { padding-right: 2px; width: 12px; /* The image's width is 12 pixels */ list-style-image: url("chrome://global/skin/twisty-closed.gif"); } outlinerbody:-moz-outliner-twisty(open) { width: 12px; /* The image's width is 12 pixels */ list-style-image: url("chrome://global/skin/twisty-open.gif"); } outlinerbody:-moz-outliner-indentation { width: 16px; } .outlinercol-text { margin: 0px; }