home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Complet / thunderbird / chrome / qute.jar / skin / classic / global / tabbox.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2003-09-17  |  3.6 KB  |  142 lines

  1. /*
  2.  * The contents of this file are subject to the Netscape Public
  3.  * License Version 1.1 (the "License"); you may not use this file
  4.  * except in compliance with the License. You may obtain a copy of
  5.  * the License at http://www.mozilla.org/NPL/
  6.  *
  7.  * Software distributed under the License is distributed on an "AS
  8.  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9.  * implied. See the License for the specific language governing
  10.  * rights and limitations under the License.
  11.  *
  12.  * The Original Code is Mozilla Communicator client code, released
  13.  * March 31, 1998.
  14.  *
  15.  * The Initial Developer of the Original Code is Netscape
  16.  * Communications Corporation. Portions created by Netscape are
  17.  * Copyright (C) 1998-2001 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  *
  20.  * Contributor(s):
  21.  *   Joe Hewitt (hewitt@netscape.com)
  22.  */
  23.  
  24. /* ===== tabbox.css =================================================
  25.   == Styles used by XUL tab-related elements.
  26.   ======================================================================= */
  27.  
  28. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  29.  
  30. /* ::::: tabs ::::: */
  31.  
  32. .tabs-left,
  33. .tabs-right {
  34.   border-bottom: 2px solid;
  35.   -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
  36. }
  37.  
  38. /* ::::: tabpanels ::::: */
  39.  
  40. tabpanels {
  41.   -moz-appearance: tabpanels; 
  42.   border-right: 2px solid;
  43.   border-bottom: 2px solid;
  44.   border-left: 2px solid;
  45.   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
  46.   -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
  47.   -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
  48.   padding: 8px;
  49.   background-color: -moz-Dialog;
  50.   color: -moz-DialogText;
  51. }
  52.  
  53. /* ::::: tab ::::: */
  54.  
  55. tab 
  56. {
  57.   -moz-appearance: tab;
  58.   margin-top: 2px;
  59.   border-top: 2px solid;
  60.   border-right: 2px solid;
  61.   border-left: 2px solid;
  62.   border-bottom: 1px solid ThreeDHighlight;
  63.   -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
  64.   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
  65.   -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
  66.   -moz-border-radius-topleft: 2px;
  67.   -moz-border-radius-topright: 2px;
  68.   -moz-border-radius-bottomright: 1px;
  69.   padding: 1px 4px 2px 4px;
  70.   background-color: -moz-Dialog;
  71.   color: -moz-DialogText;
  72. }
  73.  
  74. .tab-text {
  75.   margin: 0 !important;
  76. }
  77.  
  78. tab[selected="true"] {
  79.   margin-top: 0;
  80.   border-bottom-color: transparent;
  81.   padding: 1px 6px 4px 6px;
  82. }
  83.  
  84. tab[beforeselected="true"] {
  85.   -moz-appearance: tab-left-edge;
  86.   border-right: none;
  87.   -moz-border-radius-topright: 0;
  88. }
  89.  
  90. tab[afterselected="true"] {
  91.   -moz-appearance: tab-right-edge;
  92.   border-left: none;
  93.   -moz-border-radius-topleft: 0;
  94. }
  95.  
  96. tab[first-tab="true"][selected="true"] {
  97.   padding-right: 5px;
  98.   padding-left: 5px;
  99. }
  100.  
  101. /* ::::: tab-bottom ::::::::::
  102.    :: Tabs that are attached to the bottom of a panel, but not necessarily
  103.    :: a tabpanels.
  104.    ::::: */
  105.  
  106. .tab-bottom {
  107.   margin-top: 0;
  108.   margin-bottom: 2px;
  109.   border-top: 1px solid;
  110.   border-bottom: 2px solid;
  111.   -moz-border-top-colors: ThreeDShadow;
  112.   -moz-border-bottom-colors: ThreeDShadow ThreeDLightShadow;
  113.   -moz-border-radius-topleft: 0;
  114.   -moz-border-radius-topright: 0;
  115.   -moz-border-radius-bottomright: 2px;
  116.   -moz-border-radius-bottomleft: 2px;
  117.   padding: 2px 4px 1px 4px;
  118. }
  119.  
  120. .tab-bottom[selected="true"] {
  121.   margin-bottom: 0;
  122.   -moz-border-top-colors: -moz-Dialog;
  123.   padding: 4px 6px 1px 6px;
  124. }
  125.  
  126. .tab-bottom[beforeselected="true"] {
  127.   -moz-border-radius-bottomright: 0;
  128. }
  129.  
  130. .tab-bottom[afterselected="true"] {
  131.   -moz-border-radius-bottomleft: 0;
  132. }
  133.  
  134. /* ::::: tabs-bottom ::::: */
  135.  
  136. .tabs-bottom > .tabs-left,
  137. .tabs-bottom > .tabs-right {
  138.   border-top: 1px solid ThreeDShadow;
  139.   border-bottom: none;
  140. }
  141.  
  142.