update with current trunk work
[themes.git] / EarlyBlue / global / dirListing / dirListing.css
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.org code.
15  *
16  * The Initial Developer of the Original Code is
17  * Dão Gottwald <dao@design-noir.de>.
18  * Portions created by the Initial Developer are Copyright (C) 2007
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 :root {
38   background-color: #CCD0DD;
39   color: #000000;
40   font: 12px helvetica,arial,tahoma,sans-serif;
41 }
42
43 body {
44   border: 1px solid #666699;
45   -moz-border-radius: 10px;
46   padding: 3em;
47   min-width: 13em;
48   max-width: 52em;
49   margin: 4em auto;
50   background-color: #9999CC;
51   color: #000000;
52 }
53
54 h1 {
55   margin: 0 0 .6em 0;
56   border-bottom: 1px solid #666699;
57   font-size: 160%;
58   font-weight: normal;
59 }
60
61 a {
62   text-decoration: none;
63 }
64
65 a:hover {
66   text-decoration: underline;
67 }
68
69 p {
70   font-size: 110%;
71 }
72
73 #UI_goUp {
74   margin-top: 0;
75   float: left;
76 }
77
78 #UI_showHidden {
79   margin-top: 0;
80   float: right;
81 }
82
83 #UI_showHidden:not(:hover) {
84   color: #808080;
85 }
86
87 table {
88   clear: both;
89   width: 90%;
90   margin: 0 auto;
91 }
92
93 thead {
94   font-size: 130%;
95 }
96
97 th {
98   font-weight: normal;
99 }
100
101 th:first-child ,
102 th:first-child + th {
103   padding-right: 2em;
104 }
105
106 table[order] th:hover {
107   text-decoration: underline;
108 }
109
110 tbody > tr:not(:hover) > td:not(:first-child) {
111   color: #808080;
112 }
113
114 /* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */
115 td:first-child + td ,
116 td:first-child + td + td ,
117 td:last-child {
118   width: 0;
119 }
120
121 .up ,
122 .dir ,
123 .symlink ,
124 .file {
125   padding: 0 .5em;
126   margin-left: 20px;
127 }
128
129 .up::before ,
130 .dir::before ,
131 .file > img {
132   margin-right: 4px;
133   margin-left: -20px;
134   opacity: .6;
135   vertical-align: middle;
136 }
137
138 .up::before {
139   content: url("chrome://global/skin/dirListing/up.png");
140 }
141
142 .up:hover::before ,
143 tr:hover > td > a::before ,
144 tr:hover > td > .file > img {
145   opacity: 1;
146 }