license headers and namespaces, site icons, messenger cleanup
[themes.git] / LCARStrek / skin / LCARStrek / global / splitter.css
index 496bd604846a1ef2c38d9d367ca2272b21c90d6b..ef5f04a7fa5dc343ce44b34c666b56757230e5b4 100644 (file)
@@ -1,3 +1,42 @@
+/* ***** 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 ***** */
+
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
 /******* Splitters *******/
 
 /** 
       cursor              : n-resize;
     }
     
-  window[orient="vertical"] > splitter,
-  box[orient="vertical"] > splitter,
-  vbox > splitter
+  splitter[orient="vertical"]
     {
       cursor              : n-resize;
       border              : none;
 /* Grippy alignment */
 
 /* Vertical splitter (between two boxes, horizontally stacked), collapse to left */
-  window > splitter > grippy,
-  box > splitter > grippy,
-  hbox > splitter > grippy
+  splitter > grippy
     {
       list-style-image    : url("chrome://global/skin/grippy-vertical-before.gif");
     }  
     
-  window > splitter > grippy > .grippy-box,
-  box > splitter > grippy > .grippy-box,
-  hbox > splitter > grippy > .grippy-box 
+  splitter > grippy > .grippy-box
     {
       border-left         : none;
       border-right        : none;
     }  
 
-  window > splitter[state="collapsed"] > grippy,
-  box > splitter[state="collapsed"] > grippy,
-  hbox > splitter[state="collapsed"] > grippy
+  splitter[state="collapsed"] > grippy
     {
       list-style-image    : url("chrome://global/skin/grippy-vertical-after.gif");
     }
 
 /* Vertical splitter (between two boxes, horizontally stacked), collapse to right */
-  window > splitter[collapse="after"] > grippy,
-  box > splitter[collapse="after"] > grippy,
-  hbox > splitter[collapse="after"] > grippy
+  splitter[collapse="after"] > grippy
     {
       list-style-image    : url("chrome://global/skin/grippy-vertical-after.gif");
     }  
     
-  window > splitter[collapse="after"][state="collapsed"] > grippy,
-  box > splitter[collapse="after"][state="collapsed"] > grippy,
-  hbox > splitter[collapse="after"][state="collapsed"]> grippy
+  splitter[collapse="after"][state="collapsed"] > grippy
     {
       list-style-image    : url("chrome://global/skin/grippy-vertical-before.gif");
     }
 
 /* Horizontal splitter (between two boxes, vertically stacked), collapse to left */
-  window[orient="vertical"] > splitter > grippy,
-  box[orient="vertical"] > splitter > grippy,
-  vbox > splitter > grippy
+  splitter[orient="vertical"] > grippy
     {
       list-style-image    : url("chrome://global/skin/grippy-horizontal-before.gif");
       -moz-box-align      : center;
       border-right        : 3px solid black;
     }  
     
-  window[orient="vertical"] > splitter > grippy > .grippy-box,
-  box[orient="vertical"] > splitter > grippy > .grippy-box,
-  vbox > splitter > grippy > .grippy-box
+  splitter[orient="vertical"] > grippy > .grippy-box
     {
     }  
 
-  window[orient="vertical"] > splitter[state="collapsed"] > grippy,
-  box[orient="vertical"] > splitter[state="collapsed"] > grippy,
-  vbox > splitter[state="collapsed"] > grippy
+  splitter[state="collapsed"][orient="vertical"] > grippy
     {
       list-style-image    : url("chrome://global/skin/grippy-horizontal-after.gif");
     }
     
 /* Horizontal splitter (between two boxes, vertically stacked), collapse to right */
-  window[orient="vertical"] > splitter[collapse="after"] > grippy,
-  box[orient="vertical"] > splitter[collapse="after"] > grippy,
-  vbox > splitter[collapse="after"] > grippy
+  splitter[collapse="after"][orient="vertical"] > grippy
     {
       list-style-image    : url("chrome://global/skin/grippy-horizontal-after.gif");
     }  
     
-  window[orient="vertical"] > splitter[collapse="after"][state="collapsed"] > grippy,
-  box[orient="vertical"] > splitter[collapse="after"][state="collapsed"] > grippy,
-  vbox > splitter[collapse="after"][state="collapsed"] > grippy
+  splitter[collapse="after"][state="collapsed"][orient="vertical"] > grippy
     {
       list-style-image    : url("chrome://global/skin/grippy-horizontal-before.gif");
     }
-