update EarlyBlue to current trunk
[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   padding-left: 2em;
42   padding-right: 2em;
43 }
44
45 body {
46   border: 1px solid #666699;
47   -moz-border-radius: 10px;
48   padding: 3em;
49   min-width: 30em;
50   max-width: 65em;
51   margin: 4em auto;
52   background-color: #9999CC;
53   color: #000000;
54 }
55
56 h1 {
57   margin: 0 0 .6em 0;
58   border-bottom: 1px solid #666699;
59   font-size: 160%;
60   font-weight: normal;
61 }
62
63 a {
64   text-decoration: none;
65 }
66
67 a:hover {
68   text-decoration: underline;
69 }
70
71 p {
72   font-size: 110%;
73 }
74
75 #UI_goUp {
76   margin-top: 0;
77   float: left;
78 }
79
80 #UI_showHidden {
81   margin-top: 0;
82   float: right;
83 }
84
85 #UI_showHidden:not(:hover) {
86   color: #808080;
87 }
88
89 table {
90   clear: both;
91   width: 90%;
92   margin: 0 auto;
93 }
94
95 thead {
96   font-size: 130%;
97 }
98
99 th {
100   font-weight: normal;
101 }
102
103 th:first-child ,
104 th:first-child + th {
105   padding-right: 2em;
106 }
107
108 table[order] > thead > tr > th:hover {
109   text-decoration: underline;
110 }
111
112 tbody > tr:not(:hover) > td:not(:first-child) {
113   color: #808080;
114 }
115
116 /* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */
117 td:not(:first-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   vertical-align: middle;
135 }
136
137 .up::before {
138   content: url("chrome://global/skin/dirListing/up.png");
139 }