|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 :root { |
|
6 background-color: -moz-dialog; |
|
7 color: -moz-dialogtext; |
|
8 font: message-box; |
|
9 padding-left: 2em; |
|
10 padding-right: 2em; |
|
11 } |
|
12 |
|
13 body { |
|
14 border: 1px solid ThreeDShadow; |
|
15 border-radius: 10px; |
|
16 padding: 3em; |
|
17 min-width: 30em; |
|
18 max-width: 65em; |
|
19 margin: 4em auto; |
|
20 background-color: -moz-field; |
|
21 color: -moz-fieldtext; |
|
22 } |
|
23 |
|
24 h1 { |
|
25 font-size: 160%; |
|
26 margin: 0 0 .6em; |
|
27 border-bottom: 1px solid ThreeDLightShadow; |
|
28 font-weight: normal; |
|
29 } |
|
30 |
|
31 a { |
|
32 text-decoration: none; |
|
33 } |
|
34 |
|
35 a:hover { |
|
36 text-decoration: underline; |
|
37 } |
|
38 |
|
39 p { |
|
40 font-size: 110%; |
|
41 } |
|
42 |
|
43 #UI_goUp { |
|
44 margin-top: 0; |
|
45 float: left; |
|
46 } |
|
47 |
|
48 #UI_goUp:-moz-dir(rtl) { |
|
49 float: right; |
|
50 } |
|
51 |
|
52 #UI_showHidden { |
|
53 margin-top: 0; |
|
54 float: right; |
|
55 } |
|
56 |
|
57 #UI_showHidden:-moz-dir(rtl) { |
|
58 float: left; |
|
59 } |
|
60 |
|
61 table { |
|
62 clear: both; |
|
63 width: 90%; |
|
64 margin: 0 auto; |
|
65 } |
|
66 |
|
67 thead { |
|
68 font-size: 130%; |
|
69 } |
|
70 |
|
71 /* last modified */ |
|
72 th:last-child { |
|
73 text-align: center; |
|
74 } |
|
75 |
|
76 th:hover > a { |
|
77 text-decoration: underline; |
|
78 } |
|
79 |
|
80 body > table > tbody > tr:hover { |
|
81 outline: 1px solid ThreeDLightShadow; |
|
82 -moz-outline-radius: .3em; |
|
83 } |
|
84 |
|
85 /* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */ |
|
86 td:not(:first-child) { |
|
87 width: 0; |
|
88 } |
|
89 |
|
90 .up { |
|
91 padding: 0 .5em; |
|
92 -moz-margin-start: 20px; |
|
93 } |
|
94 |
|
95 .up::before { |
|
96 -moz-margin-end: 4px; |
|
97 -moz-margin-start: -20px; |
|
98 vertical-align: middle; |
|
99 %ifdef MOZ_WIDGET_GTK |
|
100 content: url(moz-icon://stock/gtk-go-up?size=menu); |
|
101 %else |
|
102 content: url(chrome://global/skin/dirListing/up.png); |
|
103 %endif |
|
104 } |
|
105 |
|
106 .dir::before { |
|
107 %ifdef MOZ_WIDGET_GTK |
|
108 content: url(moz-icon://stock/gtk-directory?size=menu); |
|
109 %else |
|
110 content: url(chrome://global/skin/dirListing/folder.png); |
|
111 %endif |
|
112 } |
|
113 |