blob: 39826f0a7c5432fccc43fe8f5cbb67c23b64d868 (
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
/* 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/. */
/* ===== global.css =====================================================
== Styles that apply everywhere.
======================================================================= */
@import url("chrome://global/skin/global-shared.css");
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
@media (-moz-menubar-drag) {
xul|toolbar[type="menubar"] {
-moz-window-dragging: drag;
}
}
:root {
background-color: -moz-Dialog;
color: -moz-DialogText;
font: message-box;
}
/* ::::: Alert icons :::::*/
.message-icon {
list-style-image: url("moz-icon://stock/gtk-dialog-info?size=dialog");
}
.alert-dialog #infoIcon,
.alert-icon {
list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=dialog");
}
.error-icon {
list-style-image: url("moz-icon://stock/gtk-dialog-error?size=dialog");
}
.question-icon {
list-style-image: url("moz-icon://stock/gtk-dialog-question?size=dialog");
}
.authentication-icon {
list-style-image: url("chrome://global/skin/icons/Authentication.png");
}
/* XXX(ntim): [mode="text"] is only used by comm-central */
xul|toolbar[mode="text"] .toolbarbutton-text {
padding: 0 !important;
margin: 3px 5px !important;
}
/* ::::: Print preview ::::: */
.print-preview-navigate-button {
min-width: 1.9em;
}
.print-preview-navigate-button > .toolbarbutton-icon {
display: none;
}
#print-preview-portrait-button {
list-style-image: url("moz-icon://stock/gtk-orientation-portrait?size=button");
}
#print-preview-landscape-button {
list-style-image: url("moz-icon://stock/gtk-orientation-landscape?size=button");
}
#print-preview-portrait-button > .toolbarbutton-icon,
#print-preview-landscape-button > .toolbarbutton-icon {
margin-inline-end: 2px;
}
html|*#print-preview-pageNumber {
/* 3 chars + (3px border + 1px padding) on both sides */
width: calc(8px + 3ch);
margin: 0 4px;
}
/* Separators */
xul|separator:not([orient="vertical"]) {
height: 1.5em;
}
xul|separator[orient="vertical"] {
width: 1.5em;
}
xul|separator.thin:not([orient="vertical"]) {
height: 0.5em;
}
xul|separator.thin[orient="vertical"] {
width: 0.5em;
}
xul|separator.groove:not([orient="vertical"]) {
border-top: 1px solid ThreeDShadow;
border-bottom: 1px solid ThreeDHighlight;
height: 0;
margin-block: 0.4em;
}
xul|separator.groove[orient="vertical"] {
border-left: 1px solid ThreeDShadow;
border-right: 1px solid ThreeDHighlight;
width: 0;
margin-inline: 0.4em;
}
/* Other margins */
html|input {
margin: 2px 4px;
}
xul|notification > xul|hbox > xul|button {
margin-block: 0;
}
|