sync both themes with SeaMonkey 2.42 to 2.45 classic theme changes
[themes.git] / LCARStrek / global / findBar.css
CommitLineData
c79d2bbe
RK
1@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
2
c79d2bbe 3findbar {
1e29db46
RK
4 border-top: 3px solid #000000;
5 border-bottom: none;
c79d2bbe 6 min-width: 1px;
87a1144f
RK
7}
8
9findbar[position="top"] {
10 border-top: none;
11 border-bottom: 3px solid #000000;
12 transition-property: margin-top, opacity, visibility;
a6c8d0f5
RK
13}
14
15findbar[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
24findbar[noanim] {
25 transition-duration: 0s !important;
26 transition-delay: 0s !important;
27}
28
87a1144f
RK
29findbar[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
64.findbar-find-previous,
65.findbar-find-next {
66 list-style-image: url("chrome://global/skin/icons/find-arrows.png");
0c8ed027
RK
67}
68
87a1144f
RK
69.findbar-find-previous:not([disabled]):active,
70.findbar-find-next:not([disabled]):active {
71}
c79d2bbe
RK
72
73.findbar-find-previous {
87a1144f
RK
74 -moz-image-region: rect(0, 12px, 9px, 0);
75}
76
77.findbar-find-next {
78 -moz-image-region: rect(0, 24px, 9px, 12px);
79}
80
81.findbar-find-previous,
82.findbar-find-previous:not([disabled]):active {
c79d2bbe
RK
83}
84
0c8ed027 85.findbar-find-previous[disabled="true"] {
87a1144f 86 -moz-image-region: rect(9px, 12px, 18px, 0);
0c8ed027
RK
87}
88
87a1144f
RK
89.findbar-find-next[disabled="true"] {
90 -moz-image-region: rect(9px, 24px, 18px, 12px);
91}
c79d2bbe 92
87a1144f
RK
93.findbar-find-previous:not([disabled]):hover,
94.findbar-find-previous:not([disabled]):active {
95 -moz-image-region: rect(18px, 12px, 27px, 0);
c79d2bbe
RK
96}
97
87a1144f
RK
98.findbar-find-next:not([disabled]):hover,
99.findbar-find-next:not([disabled]):active {
100 -moz-image-region: rect(18px, 24px, 27px, 12px);
0c8ed027
RK
101}
102
87a1144f
RK
103.findbar-find-previous > .toolbarbutton-icon,
104.findbar-find-next > .toolbarbutton-icon {
c79d2bbe
RK
105}
106
87a1144f
RK
107.findbar-find-previous[disabled="true"] > .toolbarbutton-icon,
108.findbar-find-next[disabled="true"] > .toolbarbutton-icon {
c79d2bbe
RK
109}
110
87a1144f
RK
111.findbar-highlight,
112.findbar-case-sensitive {
113 -moz-margin-start: 5px;
c79d2bbe
RK
114}
115
87a1144f
RK
116.findbar-highlight > .toolbarbutton-icon,
117.findbar-case-sensitive > .toolbarbutton-icon {
118 display: none;
c79d2bbe
RK
119}
120
1e8874ff
RK
121.findbar-find-status,
122.found-matches {
87a1144f
RK
123 color: #A09090;
124 margin: 0 !important;
125 -moz-margin-start: 12px !important;
c79d2bbe 126}
a7145e95
RK
127
128.find-status-icon[status="pending"] {
129 list-style-image: url("chrome://global/skin/icons/loading.gif");
130}