summaryrefslogtreecommitdiffstats
path: root/webbrowser/themes/linux/aboutSessionRestore.css
blob: a32b9757a0efab826978e7f4beef56be8d3b7121 (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
%if 0
/* 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/. */
%endif

html {
  background: #f8ffd0;
  height: 100%;
}

body {
  height: 100%;
  text-align: center;
}

#errorPageContainer {
  background-image: url("moz-icon://stock/gtk-dialog-warning?size=dialog");
  display: -moz-box;
  width: -moz-available;
  max-width: 85%;
  height: 75%;
  max-height: 85%;
  -moz-box-orient: vertical;
  text-align: start;
  border: 2px solid #efc;
  box-shadow: 0px 0px 8px #aaa;
}

#errorShortDesc > p {
  margin-top: 0.4em;
  margin-bottom: 0;
}

#errorLongContent, #errorTrailerDesc {
  display: -moz-box;
  -moz-box-flex: 1;
  -moz-box-orient: vertical;
}

#tabList {
  margin-top: 2.5em;
  width: 100%;
  min-height: 12em;
}

treechildren::-moz-tree-image(icon),
treechildren::-moz-tree-image(noicon) {
  padding-right: 2px;
  margin: 0px 2px;
  width: 16px;
  height: 16px;
}

treechildren::-moz-tree-image(noicon) {
  list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
}
treechildren::-moz-tree-image(container, noicon) {
  list-style-image: url("chrome://browser/skin/aboutSessionRestore-window-icon.png");
}
treechildren::-moz-tree-image(checked) {
  list-style-image: url("chrome://global/skin/checkbox/cbox-check.gif");
}
treechildren::-moz-tree-image(partial) {
  list-style-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif");
}

/* undo odd row highlighting from tree.css */
treechildren::-moz-tree-row(odd) {
  background-color: transparent;
}
treechildren::-moz-tree-row(odd, selected, focus) {
  background-color: Highlight;
}

/* highlight "windows" instead */
treechildren::-moz-tree-row(alternate) {
  background-color: -moz-oddtreerow;
}
treechildren::-moz-tree-row(alternate, selected) {
  background-color: Highlight;
}

#buttons {
  -moz-margin-start: 80px; /* same as #errorLongContent in netError.css */
}
#buttons > button {
  margin-top: 2em;
  -moz-margin-start: 5px;
}