home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / modern.jar / skin / modern / global / global.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2001-09-05  |  5.0 KB  |  215 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.  *
  22.  */
  23.  
  24. /* ===== formatting.css =================================================
  25.   == Styles for various formatting styles.
  26.   ======================================================================= */
  27.  
  28. /* all localizable skin settings shall live here */
  29. @import url("chrome://global/locale/intl.css");
  30.  
  31. @import url("chrome://global/skin/formatting.css");
  32.  
  33. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  34.  
  35. /* ::::: bindings ::::: */
  36.  
  37. button {
  38.   -moz-binding: url("chrome://global/skin/globalBindings.xml#button");
  39. }
  40.  
  41. button.plain {
  42.   -moz-binding: url("chrome://global/content/bindings/button.xml#buttonleft");
  43. }
  44.  
  45. menubutton {
  46.   -moz-binding: url("chrome://global/skin/globalBindings.xml#menubutton-single");
  47. }
  48.  
  49. menulist {
  50.   -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist");
  51. }
  52.  
  53. menulist[editable="true"] {
  54.   -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-editable") !important;
  55. }
  56.  
  57. .menulist-compact {
  58.   -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
  59. }
  60.  
  61. toolbargrippy {
  62.   -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbargrippy");
  63. }
  64.  
  65. toolbargrippy[tbgrippy-collapsed="true"] {
  66.   -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbargrippy-collapsed");
  67. }
  68.  
  69. progressmeter {
  70.   -moz-binding: url("chrome://global/skin/globalBindings.xml#progressmeter");
  71. }
  72.  
  73. tabs {
  74.   -moz-binding: url("chrome://global/skin/globalBindings.xml#tabs");
  75. }
  76.  
  77. tab {
  78.   -moz-binding: url("chrome://global/skin/globalBindings.xml#tab");
  79. }
  80.  
  81. splitter {
  82.   -moz-binding: url("chrome://global/skin/globalBindings.xml#splitter");
  83. }
  84.  
  85. .treecell-popupcell-menu {
  86.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-iconic") !important;
  87. }
  88.  
  89. /* ::::: XUL <box> debugging ::::: */
  90.  
  91. :-moz-horizontal-box-debug {
  92.   margin: 2px;
  93.   border: 2px solid blue;
  94.   border-top-width: 10px;
  95.   padding: 2px;
  96.   color: white;
  97. }
  98.  
  99. :-moz-vertical-box-debug {
  100.   margin: 2px;
  101.   border: 2px solid red;
  102.   border-left-width: 10px;
  103.   padding: 2px;
  104.   color: white;
  105. }
  106.  
  107. /* ::::: window ::::: */
  108.  
  109. window { 
  110.   padding: 0px;
  111.   background-color: #C7D0D9;
  112.   color: #000000;
  113.   font: message-box;
  114. }
  115.   
  116. window[wait-cursor] { 
  117.   cursor: wait !important; 
  118. }
  119.   
  120. window.dialog { 
  121.   padding: 7px 5px 5px 5px;
  122. }
  123.  
  124. /* ::::: alert icons :::::*/
  125.  
  126. .message-icon {
  127.   list-style-image: url("chrome://global/skin/icons/alert-message.gif");
  128.   width:32px;height:32px;
  129. }
  130.  
  131. .alert-icon {
  132.   list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
  133.   width:32px;height:32px;
  134. }
  135.  
  136. .error-icon {
  137.   list-style-image: url("chrome://global/skin/icons/alert-error.gif");
  138.   width:32px;height:32px;
  139. }
  140.  
  141. .question-icon {
  142.   list-style-image: url("chrome://global/skin/icons/alert-question.gif");
  143.   width:32px;height:32px;
  144. }
  145.  
  146. .security-icon {
  147.   list-style-image: url("chrome://global/skin/icons/alert-security.gif");
  148.   width: 32px;
  149.   height: 32px;
  150. }
  151.  
  152. /* ::::: iframe ::::: */
  153.  
  154. iframe {
  155.   border: none;
  156.   width: 100px;
  157.   height: 100px;
  158.   min-width: 10px;
  159.   min-height: 10px;
  160. }
  161.  
  162. /* ::::: status bar ::::: */
  163.  
  164. #status-bar {
  165.   -moz-user-focus: ignore;
  166.   border-top: 1px solid #CED6DD;
  167.   min-width: 1px; /* DON'T DELETE!
  168.     Removes disappearance of scrollbars in content pane when window
  169.     is made smaller. Talk to evaughan@netscape.com for details. */
  170.   background-color: #C7D0D9;
  171.   color: #22262F;
  172.   font-size: smaller;
  173.   overflow: hidden;
  174. }
  175.  
  176. statusbarpanel {
  177.   border-top: 1px solid #E0ECF6;
  178.   border-right: 1px solid #8997A1;
  179.   border-left: 1px solid #E0ECF6;
  180.   padding: 0px 4px;
  181. }
  182.  
  183. .statusbar-panel-icon {
  184.   margin: 0px 2px 0px 0px;
  185. }
  186.  
  187. .statusbarpanel-icononly {
  188.   padding: 0px;
  189. }
  190.  
  191. /* ::::: Descriptions and Labels ::::::: */
  192.  
  193. description[disabled="true"], label[disabled="true"] {
  194.   color: #8C99AB;
  195. }
  196.  
  197. /* has to be in here since scoped stylesheets can't apply
  198.    to explicit children yet */
  199. groupbox > label {
  200.   margin: 0px 6px 2px 6px;
  201.   padding: 0px 3px 0px 3px;
  202.   background-color: #C7D0D9; 
  203. }
  204.  
  205. /* ::::: miscellaneous ::::: */
  206.  
  207. .tooltip-label {
  208.   margin: 0px;
  209. }
  210.  
  211. .toolbar-focustarget {
  212.   -moz-user-focus: ignore !important;
  213. }
  214.  
  215.