summaryrefslogtreecommitdiffstats
path: root/toolkit/themes/shared/dirListing/dirListing.css
blob: ebf756c23f425a39906a3db51321472be0813069 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

:root {
  background-color: -moz-dialog;
  color: -moz-dialogtext;
  font: message-box;
  padding-inline: 2em;
  color-scheme: light dark;
}

body {
  border: 1px solid ThreeDShadow;
  border-radius: 10px;
  padding: 3em;
  min-width: 30em;
  max-width: 65em;
  margin: 4em auto;
  background-color: Field;
  color: FieldText;
}

h1 {
  font-size: 160%;
  margin: 0 0 .6em;
  border-bottom: 1px solid ThreeDLightShadow;
  font-weight: normal;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ensure multiple spaces are shown correctly. */
td:first-child > a {
  white-space: pre;
}

p {
  font-size: 110%;
}

#UI_goUp {
  margin-top: 0;
  float: inline-start;
}

#UI_showHidden {
  margin-top: 0;
  float: inline-end;
}

table {
  clear: both;
  width: 90%;
  margin: 0 auto;
}

thead {
  font-size: 130%;
}

/* last modified */
th:last-child {
  text-align: center;
}

th:hover > a {
  text-decoration: underline;
}

body > table > tbody > tr:hover {
  outline: 1px solid ThreeDLightShadow;
}

/* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */
td:not(:first-child) {
  width: 0;
}

.up {
  padding: 0 .5em;
  margin-inline-start: 20px;
}

.up::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-inline: -20px 4px;
  vertical-align: middle;
  background: url(chrome://global/skin/dirListing/up.png) center/16px no-repeat;
}

.dir::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(chrome://global/skin/dirListing/folder.png) center/16px no-repeat;
}