Commit | Line | Data |
---|---|---|
c79d2bbe RK |
1 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
2 | ||
c79d2bbe | 3 | findbar { |
1e29db46 RK |
4 | border-top: 3px solid #000000; |
5 | border-bottom: none; | |
c79d2bbe | 6 | min-width: 1px; |
87a1144f RK |
7 | } |
8 | ||
9 | findbar[position="top"] { | |
10 | border-top: none; | |
11 | border-bottom: 3px solid #000000; | |
12 | transition-property: margin-top, opacity, visibility; | |
a6c8d0f5 RK |
13 | } |
14 | ||
15 | findbar[hidden] { | |
16 | /* Override display:none to make the transition work. */ | |
17 | display: -moz-box; | |
18 | visibility: collapse; | |
19 | margin-bottom: -1em; | |
20 | opacity: 0; | |
21 | transition-delay: 0s, 0s, 150ms; | |
c79d2bbe RK |
22 | } |
23 | ||
d471380e RK |
24 | findbar[noanim] { |
25 | transition-duration: 0s !important; | |
26 | transition-delay: 0s !important; | |
27 | } | |
28 | ||
87a1144f RK |
29 | findbar[position="top"][hidden] { |
30 | margin-bottom: auto; | |
31 | margin-top: -1em; | |
32 | } | |
c79d2bbe | 33 | |
87a1144f RK |
34 | .findbar-closebutton { |
35 | list-style-image: url("chrome://global/skin/icons/close.png"); | |
36 | -moz-image-region: rect(0, 16px, 16px, 0); | |
c79d2bbe RK |
37 | } |
38 | ||
87a1144f RK |
39 | .findbar-closebutton:hover { |
40 | -moz-image-region: rect(0, 32px, 16px, 16px); | |
41 | } | |
42 | ||
43 | /* Search field */ | |
44 | ||
45 | .findbar-textbox { | |
46 | width: 14em; | |
47 | } | |
48 | ||
49 | .findbar-textbox[status="notfound"] { | |
50 | background-color: #FF0000; | |
51 | color: #000000; | |
52 | } | |
53 | ||
54 | .findbar-textbox[flash="true"] { | |
55 | background-color: #FFCF00; | |
56 | color: #000000; | |
57 | } | |
58 | ||
59 | .findbar-textbox.minimal { | |
60 | } | |
61 | ||
62 | /* Buttons */ | |
63 | ||
87a1144f RK |
64 | .findbar-find-previous:not([disabled]):active, |
65 | .findbar-find-next:not([disabled]):active { | |
66 | } | |
c79d2bbe RK |
67 | |
68 | .findbar-find-previous { | |
0282321d | 69 | list-style-image: url(chrome://global/skin/icons/find-arrows.svg#previous); |
87a1144f RK |
70 | } |
71 | ||
72 | .findbar-find-next { | |
0282321d RK |
73 | list-style-image: url(chrome://global/skin/icons/find-arrows.svg#next); |
74 | } | |
75 | ||
76 | .findbar-find-previous[disabled] { | |
77 | list-style-image: url(chrome://global/skin/icons/find-arrows.svg#previous-disabled); | |
78 | } | |
79 | ||
80 | .findbar-find-next[disabled] { | |
81 | list-style-image: url(chrome://global/skin/icons/find-arrows.svg#next-disabled); | |
87a1144f RK |
82 | } |
83 | ||
84 | .findbar-find-previous, | |
85 | .findbar-find-previous:not([disabled]):active { | |
c79d2bbe RK |
86 | } |
87 | ||
dae45075 RK |
88 | .findbar-find-previous[disabled="true"] > .toolbarbutton-icon, |
89 | .findbar-find-next[disabled="true"] > .toolbarbutton-icon { | |
2a1534f1 | 90 | filter: url(filters.svg#disabled-icon-state); |
c79d2bbe RK |
91 | } |
92 | ||
dae45075 RK |
93 | .findbar-find-previous:not([disabled]):hover > .toolbarbutton-icon, |
94 | .findbar-find-previous:not([disabled]):active > .toolbarbutton-icon, | |
95 | .findbar-find-next:not([disabled]):hover > .toolbarbutton-icon, | |
96 | .findbar-find-next:not([disabled]):active > .toolbarbutton-icon { | |
2a1534f1 | 97 | filter: url(filters.svg#active-icon-state); |
0c8ed027 RK |
98 | } |
99 | ||
87a1144f RK |
100 | .findbar-find-previous > .toolbarbutton-icon, |
101 | .findbar-find-next > .toolbarbutton-icon { | |
c79d2bbe RK |
102 | } |
103 | ||
87a1144f | 104 | .findbar-highlight, |
dae45075 RK |
105 | .findbar-case-sensitive, |
106 | .findbar-entire-word { | |
107 | margin-inline-start: 5px; | |
c79d2bbe RK |
108 | } |
109 | ||
87a1144f | 110 | .findbar-highlight > .toolbarbutton-icon, |
dae45075 RK |
111 | .findbar-case-sensitive > .toolbarbutton-icon, |
112 | .findbar-entire-word > .toolbarbutton-icon { | |
87a1144f | 113 | display: none; |
c79d2bbe RK |
114 | } |
115 | ||
1e8874ff RK |
116 | .findbar-find-status, |
117 | .found-matches { | |
87a1144f RK |
118 | color: #A09090; |
119 | margin: 0 !important; | |
dae45075 | 120 | margin-inline-start: 12px !important; |
c79d2bbe | 121 | } |
a7145e95 RK |
122 | |
123 | .find-status-icon[status="pending"] { | |
7c1e433b RK |
124 | list-style-image: url("chrome://global/skin/icons/loading.png"); |
125 | } | |
126 | ||
127 | @media (min-resolution: 2dppx) { | |
128 | .find-status-icon[status="pending"] { | |
129 | width: 16px; | |
130 | list-style-image: url("chrome://global/skin/icons/loading@2x.png"); | |
131 | } | |
a7145e95 | 132 | } |