home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Programy / nsb-install-8-0.exe / chrome / fusion.jar / skin / fusion / help / help.css < prev    next >
Cascading Style Sheet File  |  2005-07-29  |  5KB  |  122 lines

  1. /*
  2. # ***** BEGIN LICENSE BLOCK *****
  3. # Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4. #
  5. # The contents of this file are subject to the Mozilla Public License Version
  6. # 1.1 (the "License"); you may not use this file except in compliance with
  7. # the License. You may obtain a copy of the License at
  8. # http://www.mozilla.org/MPL/
  9. #
  10. # Software distributed under the License is distributed on an "AS IS" basis,
  11. # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12. # for the specific language governing rights and limitations under the
  13. # License.
  14. #
  15. # The Original Code is Mozilla Help CSS
  16. #
  17. # The Initial Developer of the Original Code is
  18. # R.J. Keller
  19. # Portions created by the Initial Developer are Copyright (C) 2003
  20. # the Initial Developer. All Rights Reserved.
  21. #
  22. # Contributor(s):
  23. #
  24. # Alternatively, the contents of this file may be used under the terms of
  25. # either the GNU General Public License Version 2 or later (the "GPL"), or
  26. # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27. # in which case the provisions of the GPL or the LGPL are applicable instead
  28. # of those above. If you wish to allow use of your version of this file only
  29. # under the terms of either the GPL or the LGPL, and not to allow others to
  30. # use your version of this file under the terms of the MPL, indicate your
  31. # decision by deleting the provisions above and replace them with the notice
  32. # and other provisions required by the GPL or the LGPL. If you do not delete
  33. # the provisions above, a recipient may use your version of this file under
  34. # the terms of any one of the MPL, the GPL or the LGPL.
  35. #
  36. # ***** END LICENSE BLOCK *****
  37. */
  38. @import url("chrome://global/skin/");
  39. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  40.  
  41. .toolbarbutton-1 {
  42.     -moz-box-orient: vertical;
  43.     min-width: 0px;
  44.     list-style-image: url("chrome://help/skin/Toolbar.png");
  45. }
  46.  
  47. #help-zoom-large-button,
  48. #help-zoom-small-button,
  49. #help-sidebar-button {
  50.     list-style-image: url("chrome://help/skin/Toolbar.png");
  51. }
  52.  
  53. toolbarbutton:not([disabled="true"]):hover,
  54. menubutton:not([disabled="true"]):hover,
  55. toolbarbutton:not([disabled="true"]):hover:active,
  56. menubutton:not([disabled="true"]):hover:active {
  57.     color: ButtonText !important;
  58. }
  59.  
  60. #help-back-button { -moz-image-region: rect(0px 144px 24px 120px); }
  61. #help-back-button[buttonover="true"] { -moz-image-region: rect(24px 144px 48px 120px); }
  62. #help-back-button[disabled="true"] { -moz-image-region: rect(48px 144px 72px 120px); }
  63.  
  64. #help-forward-button { -moz-image-region: rect(0px 168px 24px 144px); }
  65. #help-forward-button[buttonover="true"] { -moz-image-region: rect(24px 168px 48px 144px); }
  66. #help-forward-button[disabled="true"] { -moz-image-region: rect(48px 168px 72px 144px); }
  67.  
  68. #help-find-button { -moz-image-region: rect(0px 192px 24px 168px); }
  69. #help-find-button:hover { -moz-image-region: rect(0px 192px 24px 168px); }
  70.  
  71. #help-toolbar-customization { -moz-image-region: rect(0px 216px 24px 192px); }
  72. #help-toolbar-customization:hover { -moz-image-region: rect(24px 216px 48px 192px); }
  73.  
  74. #help-home-button { -moz-image-region: rect(0px 120px 24px 96px); }
  75. #help-home-button:hover { -moz-image-region: rect(24px 120px 48px 96px); }
  76.  
  77. #help-print-button { -moz-image-region: rect(0px 96px 24px 72px); }
  78. #help-print-button:hover { -moz-image-region: rect(24px 96px 48px 72px); }
  79.  
  80. #help-zoom-large-button { -moz-image-region: rect(0px 24px 24px 0px); }
  81. #help-zoom-large-button:hover { -moz-image-region: rect(24px 24px 48px 0px); }
  82.  
  83. #help-zoom-small-button { -moz-image-region: rect(0px 48px 24px 24px); }
  84. #help-zoom-small-button:hover { -moz-image-region: rect(24px 48px 48px 24px); }
  85.  
  86. #help-sidebar-button { -moz-image-region: rect(0px 72px 24px 48px); }
  87. #help-sidebar-button { -moz-image-region: rect(0px 72px 24px 48px); }
  88.  
  89. /** Toolbar Customization stuff **/
  90. toolbar[mode="icons"] > toolbarbutton > .toolbarbutton-icon,
  91. toolbar[mode="text"] > toolbarbutton > .toolbarbutton-text 
  92. toolbar[mode="icons"] > toolbarbutton[type="menu-button"] > .toolbarbutton-icon,
  93. toolbar[mode="text"] > toolbarbutton[type="menu-button"] > .toolbarbutton-text {
  94.     display: -moz-box;
  95. }
  96.  
  97. toolbar[mode="icons"] > toolbarbutton > .toolbarbutton-text,
  98. toolbar[mode="text"] > toolbarbutton > .toolbarbutton-icon,
  99. toolbar[mode="text"] > toolbarbutton > toolbarbutton > .toolbarbutton-icon,
  100. toolbar[mode="icons"] > toolbarbutton > toolbarbutton > .toolbarbutton-text {
  101.     display: none;
  102. }
  103.  
  104. /* Small icons are not supported. */
  105. #smallicons { display: none; }
  106.  
  107. /*** THROBBER ***/
  108. #help-throbber {
  109.   -moz-appearance: none;
  110.   -moz-user-focus: ignore;
  111.   margin: 0 !important;
  112.   border: none !important;
  113.   padding: 0px !important;
  114.   min-width: 0;
  115.   background-color: transparent;
  116.   list-style-image: url("chrome://help/skin/throbber.png");
  117. }
  118.  
  119. #help-throbber[busy="true"] {
  120.   list-style-image: url("chrome://help/skin/throbber-busy.gif");
  121. }
  122.