prefer Liberation Sans font above others
[themes.git] / LCARStrek / 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  *   Ehsan Akhgari <ehsan.akhgari@gmail.com>
23  *
24  * Alternatively, the contents of this file may be used under the terms of
25  * either the GNU General Public License Version 2 or later (the "GPL"), or
26  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27  * in which case the provisions of the GPL or the LGPL are applicable instead
28  * of those above. If you wish to allow use of your version of this file only
29  * under the terms of either the GPL or the LGPL, and not to allow others to
30  * use your version of this file under the terms of the MPL, indicate your
31  * decision by deleting the provisions above and replace them with the notice
32  * and other provisions required by the GPL or the LGPL. If you do not delete
33  * the provisions above, a recipient may use your version of this file under
34  * the terms of any one of the MPL, the GPL or the LGPL.
35  *
36  * ***** END LICENSE BLOCK ***** */
37
38 :root {
39   background-color: #000000;
40   color: #FF9F00;
41   font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
42   -moz-padding-start: 2em;
43   -moz-padding-end: 2em;
44 }
45
46 body {
47   border: 1px solid #9C9CFF;
48   -moz-border-radius: 10px;
49   padding: 3em;
50   min-width: 30em;
51   max-width: 65em;
52   margin: 4em auto;
53   background-color: #000000;
54   color: #FF9F00;
55 }
56
57 h1 {
58   margin: 0 0 .6em;
59   border-bottom: 1px solid #008484;
60   font-size: 160%;
61   font-weight: normal;
62 }
63
64 a {
65   text-decoration: none;
66 }
67
68 a:hover {
69   background-color: #FFCF00;
70   color: #000000;
71 }
72
73 p {
74   font-size: 110%;
75 }
76
77 #UI_goUp {
78   margin-top: 0;
79   float: left;
80 }
81
82 body[dir="rtl"] #UI_goUp {
83   float: right;
84 }
85
86 #UI_showHidden {
87   margin-top: 0;
88   float: right;
89 }
90
91 body[dir="rtl"] #UI_showHidden {
92   float: left;
93 }
94
95 table {
96   clear: both;
97   width: 90%;
98   margin: 0 auto;
99 }
100
101 thead {
102   font-size: 130%;
103 }
104
105 /* last modified */
106 th:first-child {
107   text-align: center !important;
108 }
109
110 th:hover > a {
111   background-color: #FFCF00;
112   color: #000000;
113 }
114
115 tbody > tr:hover {
116   outline: 1px solid #008484;
117   -moz-outline-radius: .3em;
118 }
119
120 /* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */
121 td:not(:first-child) {
122   width: 0;
123 }
124
125 .up {
126   padding: 0 .5em;
127   -moz-margin-start: 20px;
128 }
129
130 .up::before {
131   -moz-margin-end: 4px;
132   -moz-margin-start: -20px;
133   vertical-align: middle;
134   content: url("chrome://global/skin/dirListing/up.png");
135 }