home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / temathun / Apollo.jar / global / tabbox.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-04-02  |  3.9 KB  |  146 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: none;
  35. }
  36.  
  37. /* ::::: tabpanels ::::: */
  38.  
  39. tabpanels {
  40.   -moz-appearance: tabpanels;
  41.   border-right: 2px solid;
  42.   /*border-bottom: 2px solid;*/
  43.   border-left: 2px solid;
  44.   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
  45.   -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
  46.   -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
  47.   /*padding: 8px;*/
  48.   background-color: -moz-Dialog;
  49.   color: -moz-DialogText;
  50. }
  51.  
  52. /* ::::: tab ::::: */
  53.  
  54. tab {
  55.   -moz-appearance: none;
  56.   -moz-border-radius:  0;
  57.   padding: 1px;
  58.   margin: 2px;
  59.   border: 1px solid ThreeDShadow;
  60.   -moz-border-top-colors: ThreeDShadow;
  61.   -moz-border-right-colors: ThreeDShadow;
  62.   -moz-border-left-colors: ThreeDShadow;
  63.   -moz-border-bottom-colors: ThreeDShadow;
  64.   color: ButtonText;
  65. }
  66.  
  67. .tab-text {
  68.   margin: 0px;
  69.   padding: 0px 3px 0px 0px;
  70. }
  71.  
  72. tab[first-tab="true"] {
  73.   /*margin-left: 2px;*/
  74. }
  75.  
  76. tab[beforeselected="true"] {
  77.   /*-moz-appearance: tab-left-edge;
  78.   border-right: none;
  79.   -moz-border-radius-topright: 0;
  80.   padding-right: 3px;*/
  81. }
  82.  
  83. tab[afterselected="true"] {/*
  84.   -moz-appearance: tab-right-edge;
  85.   border-left: none;
  86.   -moz-border-radius-topleft: 0;
  87.   padding-left: 5px;*/
  88. }
  89.  
  90. tab[selected="true"] {
  91.   padding: 2px 0 0 2px;
  92.   border-color: Highlight !important;
  93.   -moz-border-top-colors: Highlight;
  94.   -moz-border-right-colors: Highlight;
  95.   -moz-border-left-colors: Highlight;
  96.   -moz-border-bottom-colors: highlight;
  97.   background-color: #F3F3F0 !important;
  98. }
  99.  
  100. tab[first-tab="true"][selected="true"] {
  101.   /*margin-left: 0;*/
  102. }
  103.  
  104. /* ::::: tab-bottom ::::::::::
  105.    :: Tabs that are attached to the bottom of a panel, but not necessarily
  106.    :: a tabpanels.
  107.    ::::: */
  108.  
  109. .tab-bottom {
  110.   -moz-appearance: none !important;
  111.   -moz-border-radius:  0 !important;
  112.   padding: 1px !important;
  113.   margin: 2px !important;
  114.   border: 1px solid ThreeDShadow;
  115.   -moz-border-top-colors: ThreeDShadow;
  116.   -moz-border-right-colors: ThreeDShadow;
  117.   -moz-border-left-colors: ThreeDShadow;
  118.   -moz-border-bottom-colors: ThreeDShadow;
  119.   color: ButtonText;
  120. }
  121.  
  122. .tab-bottom[selected="true"] {
  123.   padding: 2px 0 0 2px;
  124.   border-color: Highlight !important;
  125.   -moz-border-top-colors: Highlight;
  126.   -moz-border-right-colors: Highlight;
  127.   -moz-border-left-colors: Highlight;
  128.   -moz-border-bottom-colors: highlight;
  129.   background-color: #F3F3F0 !important;
  130. }
  131.  
  132. .tab-bottom[beforeselected="true"] {
  133.   -moz-border-radius-bottomright: 0;
  134. }
  135.  
  136. .tab-bottom[afterselected="true"] {
  137.   -moz-border-radius-bottomleft: 0;
  138. }
  139.  
  140. /* ::::: tabs-bottom ::::: */
  141.  
  142. .tabs-bottom > .tabs-left,
  143. .tabs-bottom > .tabs-right {
  144. /*  border-top: 1px solid ThreeDShadow;*/
  145.   border-bottom: none;
  146. }