improve scrollbar display: smoothly rounded buttons, dark but visible slider backgrou...
[themes.git] / LCARStrek / global / filepicker.css
index 5f1b431e7bbcfee7e8aea07a3d9d10e12ae23aab..8e453a801864fdb9f12819fc5ae79ceb2e68999a 100644 (file)
  *
  * The Original Code is mozilla.org code.
  *
- * The Initial Developer of the Original Code is 
+ * The Initial Developer of the Original Code is
  * Netscape Communications Corporation.
  * Portions created by the Initial Developer are Copyright (C) 1998
  * the Initial Developer. All Rights Reserved.
  *
  * Contributor(s):
  *   Joe Hewitt (hewitt@netscape.com)
- *   Brian Ryner (bryner@netscape.com)
+ *   Brian Ryner (bryner@brianryner.com)
  *   Robert Kaiser <KaiRo@KaiRo.at>
  *
  * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or 
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  * in which case the provisions of the GPL or the LGPL are applicable instead
  * of those above. If you wish to allow use of your version of this file only
 
 /* ::::: file/directory items ::::: */
 
-treechildren:-moz-tree-image(FilenameColumn, directory) {
+treechildren::-moz-tree-image(FilenameColumn, directory) {
   list-style-image: url("chrome://global/skin/filepicker/dir-closed.gif");
 }
 
-treechildren:-moz-tree-image(FilenameColumn, file) {
+treechildren::-moz-tree-image(FilenameColumn, file) {
   list-style-image: url("chrome://global/skin/filepicker/file.gif");
 }
 
-/* ::::: focus rules ::::: */
-
-#directoryTree > treerows > .tree-bodybox {
-  border: 1px solid transparent;
-} 
-
-#directoryTree:focus > treerows > .tree-bodybox {
-  border-color: #FFCF00;
-}
-
 /* ::::: button items ::::: */
 
 .up-button {
   list-style-image: url("chrome://global/skin/filepicker/folder-up.gif");
+  min-width: 0%; /* don't let XUL layout min-size override our max-width setting */
+  min-height: 0%;
   max-width: 26px;
 }
 
@@ -86,6 +78,8 @@ treechildren:-moz-tree-image(FilenameColumn, file) {
 
 .home-button {
   list-style-image: url("chrome://global/skin/filepicker/folder-home.gif");
+  min-width: 0%; /* don't let XUL layout min-size override our max-width setting */
+  min-height: 0%;
   max-width: 26px;
 }
 
@@ -95,9 +89,11 @@ treechildren:-moz-tree-image(FilenameColumn, file) {
 
 .new-dir-button {
   list-style-image: url("chrome://global/skin/filepicker/folder-new.gif");
+  min-width: 0%; /* don't let XUL layout min-size override our max-width setting */
+  min-height: 0%;
   max-width: 28px;
 }
 
 .new-dir-button:hover {
   list-style-image: url("chrome://global/skin/filepicker/folder-new-hover.gif");
-}
\ No newline at end of file
+}