home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / temathun / Mars.jar / global / filepicker.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-04-23  |  2.3 KB  |  80 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/folder.png");
  45. }
  46.  
  47. treechildren::-moz-tree-image(FilenameColumn, file) {
  48.   list-style-image: url("chrome://global/skin/file.png");
  49. }
  50.  
  51. /* ::::: focus rules ::::: */
  52.  
  53. #directoryTree > treerows > .tree-bodybox {
  54.   border: 1px solid transparent;
  55. }
  56.  
  57. #directoryTree:focus > treerows > .tree-bodybox {
  58.   border-color: #000000;
  59. }
  60.  
  61. /* ::::: button items ::::: */
  62.  
  63. .up-button {
  64.   list-style-image: url("chrome://global/skin/Filepicker.png");
  65.   -moz-image-region: rect(0px 20px 20px 00px);
  66.   max-width: 36px;
  67. }
  68.  
  69. .home-button {
  70.   list-style-image: url("chrome://global/skin/Filepicker.png");
  71.   -moz-image-region: rect(0px 40px 20px 20px);
  72.   max-width: 36px;
  73. }
  74.  
  75. .new-dir-button {
  76.   list-style-image: url("chrome://global/skin/Filepicker.png");
  77.   -moz-image-region: rect(0px, 60px, 20px, 40px);
  78.   max-width: 36px;
  79. }
  80.