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 / help / help.css next >
Encoding:
Cascading Style Sheet File  |  2008-02-25  |  5.3 KB  |  171 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 Help CSS
  15.  *
  16.  * The Initial Developer of the Original Code is
  17.  * R.J. Keller
  18.  * Portions created by the Initial Developer are Copyright (C) 2003
  19.  * the Initial Developer. All Rights Reserved.
  20.  *
  21.  * Contributor(s):
  22.  * 
  23.  * Alternatively, the contents of this file may be used under the terms of
  24.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  25.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  26.  * in which case the provisions of the GPL or the LGPL are applicable instead
  27.  * of those above. If you wish to allow use of your version of this file only
  28.  * under the terms of either the GPL or the LGPL, and not to allow others to
  29.  * use your version of this file under the terms of the MPL, indicate your
  30.  * decision by deleting the provisions above and replace them with the notice
  31.  * and other provisions required by the GPL or the LGPL. If you do not delete
  32.  * the provisions above, a recipient may use your version of this file under
  33.  * the terms of any one of the MPL, the GPL or the LGPL.
  34.  *
  35.  * ***** END LICENSE BLOCK ***** */
  36.  
  37. @import url("chrome://global/skin/");
  38. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  39.  
  40. #HelpToolbar toolbarbutton {
  41.   -moz-box-orient: horizontal !important;
  42.   min-width: 0px;
  43.   margin: 0 !important;
  44.   padding: 4px 5px;
  45. }
  46.  
  47. #help-back-button {
  48.   list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=toolbar");
  49. }
  50.  
  51. #help-back-button[disabled="true"] {
  52.   list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=toolbar&state=disabled");
  53. }
  54.  
  55. #help-back-button[chromedir="rtl"] {
  56.   list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=toolbar");
  57. }
  58.  
  59. #help-back-button[disabled="true"][chromedir="rtl"] {
  60.   list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=toolbar&state=disabled");
  61. }
  62.  
  63. #help-forward-button {
  64.   list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar");
  65. }
  66.  
  67. #help-forward-button[disabled="true"] {
  68.   list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=toolbar&state=disabled");
  69. }
  70.  
  71. #help-forward-button[chromedir="rtl"] {
  72.   list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=toolbar");
  73. }
  74.  
  75. #help-forward-button[disabled="true"][chromedir="rtl"] {
  76.   list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=toolbar&state=disabled");
  77. }
  78.  
  79. #help-home-button {
  80.   list-style-image: url("moz-icon://stock/gtk-home?size=toolbar");
  81. }
  82.  
  83. #help-home-button[disabled="true"] {
  84.   list-style-image: url("moz-icon://stock/gtk-home?size=toolbar&state=disabled");
  85. }
  86.  
  87. #help-print-button {
  88.   list-style-image: url("moz-icon://stock/gtk-print?size=toolbar");
  89. }
  90.  
  91. #help-print-button[disabled="true"] {
  92.   list-style-image: url("moz-icon://stock/gtk-print?size=toolbar&state=disabled");
  93. }
  94.  
  95. /* Hide labels for the toolbar because we really don't need them what with the
  96.    tooltips */
  97. #HelpToolbar .toolbarbutton-text {
  98.   display: none;
  99. }
  100.  
  101. /* With no labels, we don't need the margin on the icon that separates it
  102.    from the label */
  103. #HelpToolbar .toolbarbutton-icon {
  104.   -moz-margin-end: 0;
  105. }
  106.  
  107. /* Set the minimum sidebar width so the help contents aren't squeezed together.*/
  108. #help-sidebar { min-width: 15em; width: 20em; max-width: 25em; }
  109.  
  110. #search-sidebar-closebutton {
  111.   list-style-image: url("moz-icon://stock/gtk-close?size=menu");
  112. }
  113.  
  114. #context-copy[disabled="true"] {
  115.   display: none;
  116. }
  117.  
  118. /**** menuitem stock icons ****/
  119. menuitem:not([type]) {
  120.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
  121. }
  122.  
  123. #context-back {
  124.   list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu");
  125. }
  126.  
  127. #context-back[chromedir="rtl"] {
  128.   list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu");
  129. }
  130.  
  131. #context-back[disabled="true"] {
  132.   list-style-image: url("moz-icon://stock/gtk-go-back-ltr?size=menu&state=disabled");
  133. }
  134.  
  135. #context-back[disabled="true"][chromedir="rtl"] {
  136.   list-style-image: url("moz-icon://stock/gtk-go-back-rtl?size=menu&state=disabled");
  137. }
  138.  
  139. #context-forward {
  140.   list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu");
  141. }
  142.  
  143. #context-forward[chromedir="rtl"] {
  144.   list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu");
  145. }
  146.  
  147. #context-forward[disabled="true"] {
  148.   list-style-image: url("moz-icon://stock/gtk-go-forward-ltr?size=menu&state=disabled");
  149. }
  150.  
  151. #context-forward[disabled="true"][chromedir="rtl"] {
  152.   list-style-image: url("moz-icon://stock/gtk-go-forward-rtl?size=menu&state=disabled");
  153. }
  154.  
  155. #context-copy {
  156.   list-style-image: url("moz-icon://stock/gtk-copy?size=menu");
  157. }
  158.  
  159. #context-selectall {
  160.   list-style-image: url("moz-icon://stock/gtk-select-all?size=menu");
  161. }
  162.  
  163. #zoom-in {
  164.   list-style-image: url("moz-icon://stock/gtk-zoom-in?size=menu");
  165. }
  166.  
  167. #zoom-out {
  168.   list-style-image: url("moz-icon://stock/gtk-zoom-out?size=menu");
  169. }
  170.  
  171.