Commit | Line | Data |
---|---|---|
df8c26c4 RK |
1 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
2 | ||
df8c26c4 RK |
3 | findbar { |
4 | border-top: 1px solid #666699; | |
5 | border-bottom: 1px solid transparent; | |
6 | min-width: 1px; | |
a6c8d0f5 RK |
7 | transition-property: margin-bottom, opacity, visibility; |
8 | transition-duration: 150ms, 150ms, 0s; | |
9 | transition-timing-function: ease-in-out, ease-in-out, linear; | |
10 | } | |
11 | ||
87a1144f RK |
12 | findbar[position="top"] { |
13 | transition-property: margin-top, opacity, visibility; | |
14 | } | |
15 | ||
a6c8d0f5 RK |
16 | findbar[hidden] { |
17 | /* Override display:none to make the transition work. */ | |
18 | display: -moz-box; | |
19 | visibility: collapse; | |
20 | margin-bottom: -1em; | |
21 | opacity: 0; | |
22 | transition-delay: 0s, 0s, 150ms; | |
df8c26c4 RK |
23 | } |
24 | ||
87a1144f RK |
25 | findbar[position="top"][hidden] { |
26 | margin-bottom: auto; | |
27 | margin-top: -1em; | |
28 | } | |
df8c26c4 | 29 | |
87a1144f RK |
30 | .findbar-closebutton { |
31 | list-style-image: url("chrome://global/skin/icons/close.png"); | |
df8c26c4 RK |
32 | } |
33 | ||
87a1144f RK |
34 | /* Search field */ |
35 | ||
36 | .findbar-textbox { | |
37 | width: 14em; | |
38 | } | |
39 | ||
40 | .findbar-textbox[status="notfound"] { | |
41 | background-color: #FFC0C0; | |
42 | color: #000000; | |
43 | } | |
44 | ||
45 | .findbar-textbox[flash="true"] { | |
46 | background-color: #FFFFC0; | |
47 | color: #000000; | |
48 | } | |
49 | ||
50 | .findbar-textbox.minimal { | |
51 | } | |
52 | ||
53 | /* Buttons */ | |
54 | ||
55 | .findbar-find-previous, | |
56 | .findbar-find-next { | |
57 | list-style-image: url("chrome://global/skin/icons/find-arrows.png"); | |
0c8ed027 RK |
58 | } |
59 | ||
87a1144f RK |
60 | .findbar-find-previous:not([disabled]):active, |
61 | .findbar-find-next:not([disabled]):active { | |
62 | } | |
df8c26c4 | 63 | |
56029caf | 64 | .findbar-find-previous { |
87a1144f | 65 | -moz-image-region: rect(0, 12px, 9px, 0); |
df8c26c4 RK |
66 | } |
67 | ||
87a1144f RK |
68 | .findbar-find-next { |
69 | -moz-image-region: rect(0, 24px, 9px, 12px); | |
0c8ed027 RK |
70 | } |
71 | ||
87a1144f RK |
72 | .findbar-find-previous, |
73 | .findbar-find-previous:not([disabled]):active { | |
74 | } | |
df8c26c4 | 75 | |
87a1144f RK |
76 | .findbar-find-previous[disabled="true"] { |
77 | -moz-image-region: rect(9px, 12px, 18px, 0); | |
df8c26c4 RK |
78 | } |
79 | ||
87a1144f RK |
80 | .findbar-find-next[disabled="true"] { |
81 | -moz-image-region: rect(9px, 24px, 18px, 12px); | |
0c8ed027 RK |
82 | } |
83 | ||
87a1144f RK |
84 | .findbar-find-previous > .toolbarbutton-icon, |
85 | .findbar-find-next > .toolbarbutton-icon { | |
df8c26c4 RK |
86 | } |
87 | ||
87a1144f RK |
88 | .findbar-find-previous[disabled="true"] > .toolbarbutton-icon, |
89 | .findbar-find-next[disabled="true"] > .toolbarbutton-icon { | |
df8c26c4 RK |
90 | } |
91 | ||
87a1144f RK |
92 | .findbar-highlight, |
93 | .findbar-case-sensitive { | |
94 | -moz-margin-start: 5px; | |
df8c26c4 RK |
95 | } |
96 | ||
87a1144f RK |
97 | .findbar-highlight > .toolbarbutton-icon, |
98 | .findbar-case-sensitive > .toolbarbutton-icon { | |
99 | display: none; | |
df8c26c4 RK |
100 | } |
101 | ||
1e8874ff RK |
102 | .findbar-find-status, |
103 | .found-matches { | |
87a1144f RK |
104 | color: #808080; |
105 | margin: 0 !important; | |
106 | -moz-margin-start: 12px !important; | |
df8c26c4 | 107 | } |
a7145e95 RK |
108 | |
109 | .find-status-icon[status="pending"] { | |
110 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
111 | } |