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 / global / filepicker.css < prev    next >
Cascading Style Sheet File  |  2005-07-29  |  2KB  |  82 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.  *   Brian Ryner (bryner@brianryner.com)
  23.  */
  24.  
  25. /* ===== filepicker.css =================================================
  26.   == Styles used by the File Picker dialog.
  27.   ======================================================================= */
  28.  
  29. @import url("chrome://global/skin/");
  30.  
  31. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  32.  
  33. /* ::::: column widths ::::: */
  34.  
  35. #FilenameColumn,
  36. #ContentLengthColumn,
  37. #LastModifiedDateColumn {
  38.   width: 100px;
  39. }
  40.  
  41. /* ::::: file/directory items ::::: */
  42.  
  43. treechildren::-moz-tree-image(FilenameColumn, directory) {
  44.   list-style-image: url("chrome://global/skin/icons/folder-item.png");
  45.   -moz-image-region: rect(0px, 32px, 16px, 16px);
  46. }
  47.  
  48. treechildren::-moz-tree-image(FilenameColumn, file) {
  49.   list-style-image: url("chrome://global/skin/icons/folder-item.png");
  50.   -moz-image-region: rect(16px, 16px, 32px, 0px);
  51. }
  52.  
  53. /* ::::: focus rules ::::: */
  54.  
  55. #directoryTree > treerows > .tree-bodybox {
  56.   border: 1px solid transparent;
  57. }
  58.  
  59. #directoryTree:focus > treerows > .tree-bodybox {
  60.   border-color: #000000;
  61. }
  62.  
  63. /* ::::: button items ::::: */
  64.  
  65. .up-button {
  66.   list-style-image: url("chrome://global/skin/Filepicker.png");
  67.   -moz-image-region: rect(0px 24px 24px 0px);
  68.   max-width: 36px;
  69. }
  70.  
  71. .home-button {
  72.   list-style-image: url("chrome://global/skin/Filepicker.png");
  73.   -moz-image-region: rect(0px 48px 24px 24px);
  74.   max-width: 36px;
  75. }
  76.  
  77. .new-dir-button {
  78.   list-style-image: url("chrome://global/skin/Filepicker.png");
  79.   -moz-image-region: rect(0px, 72px, 24x, 48px);
  80.   max-width: 36px;
  81. }
  82.