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
|
/* 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/. */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
findbar {
border-top: 2px solid;
-moz-border-top-colors: ThreeDShadow ThreeDHighlight;
padding-bottom: 1px;
min-width: 1px;
transition-property: margin-bottom, opacity, visibility;
transition-duration: 150ms, 150ms, 0s;
transition-timing-function: ease-in-out, ease-in-out, linear;
}
findbar[hidden] {
/* Override display:none to make the transition work. */
display: -moz-box;
visibility: collapse;
margin-bottom: -1em;
opacity: 0;
transition-delay: 0s, 0s, 150ms;
}
/* find-next button */
.findbar-find-next > .toolbarbutton-icon {
-moz-appearance: button-arrow-next;
}
/* find-previous button */
.findbar-find-previous > .toolbarbutton-icon {
-moz-appearance: button-arrow-previous;
}
/* highlight button */
.findbar-highlight {
list-style-image: url("chrome://global/skin/icons/find.png");
-moz-image-region: rect(0px, 16px, 16px, 0px);
}
.findbar-highlight[disabled="true"] {
-moz-image-region: rect(16px, 16px, 32px, 0px);
}
.find-status-icon {
list-style-image: none;
margin-top: 2px;
margin-bottom: 0;
-moz-margin-start: 12px;
-moz-margin-end: 0;
width: 16px;
height: 16px;
}
.findbar-find-status,
.findbar-matches {
margin-top: 0 !important;
margin-bottom: 0 !important;
-moz-margin-start: 3px !important;
-moz-margin-end: 0 !important;
padding: 2px !important;
}
.find-status-icon[status="notfound"] {
list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu");
}
.find-status-icon[status="pending"] {
list-style-image: url("chrome://global/skin/icons/loading_16.png");
}
.findbar-textbox[status="notfound"] {
box-shadow: 0 0 0 1em #f66 inset;
color: white;
}
.findbar-textbox[flash="true"] {
box-shadow: 0 0 0 1em yellow inset;
color: black;
}
.find-status-icon[status="wrapped"] {
list-style-image: url("chrome://global/skin/icons/wrap.png");
}
|