home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / Chip_2004-04_cd1.bin / tema / mozilla / skin / MozCurveBlue-1.4-0.99.jar / communicator / sidebar / sidebar.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2003-12-06  |  4.6 KB  |  173 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-1999 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  *
  20.  * Contributor(s):
  21.  *  Joe Hewitt <hewitt@netscape.com>
  22.  *
  23.  */
  24.  
  25. /* ===== sidebar.css ====================================================
  26.   == Styles used by the Sidebar panel and Sidebar tabs.
  27.   ======================================================================= */
  28.  
  29. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  30.   
  31. #sidebar-box {
  32.   border-left: 1px solid ThreeDShadow;
  33.   border-right: 1px solid ThreeDHighlight;
  34.   background-color: AppWorkspace;
  35. }
  36.  
  37. /* ::::: sidebar header ::::: */
  38.  
  39. .sidebarheader-main {
  40.   border: 1px outset InactiveCaption;
  41.   background-color: InactiveCaption;
  42.   color: InactiveCaptionText;
  43.   padding: 1px 2px 1px 6px;
  44. }
  45.  
  46. #sidebar-panel-picker {
  47.   color: inherit;
  48.   /** bugzilla 89144 - must be able to access tabs dropdown **/
  49.   -moz-user-focus:normal !important;
  50. }
  51.  
  52. #sidebar-panel-picker > .toolbarbutton-dropmarker {
  53.   padding-left: 2px;
  54.   padding-right: 2px;
  55.   list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
  56. }
  57.  
  58. .sidebar-header-text {
  59.   font-weight: bold;
  60. }
  61.  
  62. /* ..... close button ..... */
  63.  
  64. #sidebar-close-button {
  65.   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image");
  66.   padding: 0px 3px;
  67.   margin: 0px;
  68.   list-style-image: url("chrome://global/skin/icons/close-button.png");
  69. }
  70.  
  71. /* ::::: sidebar panel ::::: */
  72.  
  73. .sidebar-iframe-no-panels,
  74. .loadarea {
  75.   background-color: -moz-Field;
  76.   color: -moz-FieldText;
  77. }
  78.  
  79. .iframe-panel {
  80.   border-left: 1px solid ThreeDHighlight;
  81.   border-bottom: 1px solid ThreeDShadow;
  82.   border-right: 1px solid ThreeDShadow;
  83. }  
  84.  
  85. /* ::::: loading info ::::: */
  86.  
  87. .text-panel-loading {
  88.   margin: 5px 0px;
  89. }
  90.  
  91. .text-panel-loading[loading="false"] {
  92.   margin-left: 11px;
  93. }
  94.  
  95. .image-panel-loading {
  96.   margin: 5px;
  97.   list-style-image: url("chrome://communicator/skin/icons/loading.gif");
  98. }
  99.  
  100. /* ::::: sidebar tabs ::::: */
  101.  
  102. .box-texttab {
  103.   -moz-binding: url("chrome://communicator/skin/sidebar/sidebarBindings.xml#sbtab");
  104.   -moz-box-align: center;
  105.   cursor: pointer;
  106.   background-color: -moz-Dialog;
  107.   color: -moz-DialogText;
  108. }
  109.  
  110. .box-texttab,
  111. .box-texttab[selected="true"],
  112. .box-texttab[selected="true"]:hover,
  113. .box-texttab[selected="true"]:hover:active {
  114.   border: 2px solid;
  115.   -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
  116.   -moz-border-right-colors: ThreeDShadow ThreeDLightShadow;
  117.   -moz-border-bottom-colors: ThreeDShadow  ThreeDLightShadow;
  118.   -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
  119.   padding: 2px 1px 2px 0px;
  120. }
  121.  
  122. .box-texttab:hover {
  123.   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
  124.   -moz-border-bottom-colors: ThreeDDarkShadow  ThreeDShadow;
  125. }
  126.  
  127. .box-texttab:hover:active {
  128.   -moz-border-top-colors: ThreeDShadow ThreeDLightShadow;
  129.   -moz-border-right-colors: ThreeDShadow ThreeDLightShadow;
  130.   -moz-border-bottom-colors: ThreeDShadow  ThreeDLightShadow;
  131.   -moz-border-left-colors: ThreeDShadow ThreeDLightShadow;
  132. }
  133.  
  134. .sbtab-label {
  135.   margin: 0px 0px 0px 0px !important;
  136. }
  137.  
  138. .sbtab-twisty {
  139.   margin: 0px 7px;
  140.   list-style-image: url("chrome://communicator/skin/sidebar/sbtab-twisty.gif");
  141. }
  142.  
  143. .sbtab-texture {
  144.   margin: 2px 0px;
  145.   background: url("chrome://global/skin/toolbar/tbgrip-texture.gif") repeat-y;
  146.   width: 12px;
  147.   height: 12px;
  148. }
  149.  
  150. .box-texttab[selected="true"] {
  151.   font-weight: bold;
  152.   cursor: default;
  153. }
  154.  
  155. .sbtab-twisty[selected="true"] {
  156.   list-style-image: url("chrome://communicator/skin/sidebar/sbtab-twisty-open.gif");
  157. }
  158.  
  159. /* ::::: sidebar navigation buttons ::::: */
  160.  
  161. .sidebar-nav-button {
  162.   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton-image");
  163.   padding: 5px 0px 5px 0px;
  164. }
  165.  
  166. .tab-fwd {
  167.   list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
  168. }
  169.  
  170. .tab-back {
  171.   list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
  172. }
  173.