home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / xulrunner-1.9.0.14 / chrome / classic.jar / skin / classic / global / tabbox.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2007-12-21  |  3.9 KB  |  132 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Mozilla Public License Version
  5.  * 1.1 (the "License"); you may not use this file except in compliance with
  6.  * the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/MPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is Mozilla Communicator client code, released
  15.  * March 31, 1998.
  16.  *
  17.  * The Initial Developer of the Original Code is
  18.  * Netscape Communications Corporation.
  19.  * Portions created by the Initial Developer are Copyright (C) 1998-2001
  20.  * the Initial Developer. All Rights Reserved.
  21.  *
  22.  * Contributor(s):
  23.  *   Joe Hewitt (hewitt@netscape.com)
  24.  *
  25.  * Alternatively, the contents of this file may be used under the terms of
  26.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  27.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.  * in which case the provisions of the GPL or the LGPL are applicable instead
  29.  * of those above. If you wish to allow use of your version of this file only
  30.  * under the terms of either the GPL or the LGPL, and not to allow others to
  31.  * use your version of this file under the terms of the MPL, indicate your
  32.  * decision by deleting the provisions above and replace them with the notice
  33.  * and other provisions required by the GPL or the LGPL. If you do not delete
  34.  * the provisions above, a recipient may use your version of this file under
  35.  * the terms of any one of the MPL, the GPL or the LGPL.
  36.  *
  37.  * ***** END LICENSE BLOCK ***** */
  38.  
  39. /* ===== tabbox.css =================================================
  40.   == Styles used by XUL tab-related elements.
  41.   ======================================================================= */
  42.  
  43. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  44.  
  45.  
  46. /* ::::: tabs ::::: */
  47.  
  48. tabs {
  49.   position: relative;
  50.   z-index: 0;
  51. }
  52.  
  53. /* ::::: tabpanels ::::: */
  54.  
  55. tabpanels {
  56.   -moz-appearance: tabpanels;
  57.   border: 2px solid;
  58.   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
  59.   -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
  60.   -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
  61.   -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
  62.   padding: 8px;
  63.   background-color: -moz-Dialog;
  64.   color: -moz-DialogText;
  65. }
  66.  
  67. /* ::::: tab ::::: */
  68.  
  69. tab {
  70.   position: relative;
  71.   -moz-appearance: tab;
  72.   margin-top: 2px;
  73.   border: 2px solid;
  74.   border-bottom: none;
  75.   -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
  76.   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
  77.   -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
  78.   -moz-border-radius-topleft: 2px;
  79.   -moz-border-radius-topright: 2px;
  80.   padding: 3px 4px;
  81.   background-color: -moz-Dialog;
  82.   color: -moz-DialogText;
  83. }
  84.  
  85. tab[selected="true"] {
  86.   z-index: 1;
  87.   margin-top: 0;
  88.   margin-bottom: -2px;
  89.   -moz-border-radius-bottomleft: 3px;
  90.   -moz-border-radius-bottomright: 3px;
  91.   padding-top: 4px;
  92.   padding-bottom: 6px;
  93.   -moz-user-focus: normal;
  94. }
  95.  
  96. tab + tab {
  97.   -moz-margin-start: -2px;
  98. }
  99.  
  100. .tab-text {
  101.   margin: 0 !important;
  102. }
  103.  
  104. tab:focus > .tab-middle {
  105.   /* Don't specify the outline-color, we should always use initial value. */
  106.   outline: 1px dotted;
  107. }
  108.  
  109. /* ::::: tab-bottom ::::::::::
  110.    :: Tabs that are attached to the bottom of a panel, but not necessarily
  111.    :: a tabpanels.
  112.    ::::: */
  113.  
  114. .tab-bottom {
  115.   margin-top: 0;
  116.   margin-bottom: 2px;
  117.   border-top: none;
  118.   border-bottom: 2px solid;
  119.   -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
  120.   -moz-border-radius-topleft: 0;
  121.   -moz-border-radius-topright: 0;
  122.   -moz-border-radius-bottomright: 2px;
  123.   -moz-border-radius-bottomleft: 2px;
  124. }
  125.  
  126. .tab-bottom[selected="true"] {
  127.   margin-bottom: 0;
  128.   margin-top: -2px;
  129.   padding-top: 6px;
  130.   padding-bottom: 4px;
  131. }
  132.