start 2.33 cycle
[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
87a1144f
RK
24findbar[position="top"][hidden] {
25 margin-bottom: auto;
26 margin-top: -1em;
27}
c79d2bbe 28
87a1144f
RK
29.findbar-closebutton {
30 list-style-image: url("chrome://global/skin/icons/close.png");
31 -moz-image-region: rect(0, 16px, 16px, 0);
c79d2bbe
RK
32}
33
87a1144f
RK
34.findbar-closebutton:hover {
35 -moz-image-region: rect(0, 32px, 16px, 16px);
36}
37
38/* Search field */
39
40.findbar-textbox {
41 width: 14em;
42}
43
44.findbar-textbox[status="notfound"] {
45 background-color: #FF0000;
46 color: #000000;
47}
48
49.findbar-textbox[flash="true"] {
50 background-color: #FFCF00;
51 color: #000000;
52}
53
54.findbar-textbox.minimal {
55}
56
57/* Buttons */
58
59.findbar-find-previous,
60.findbar-find-next {
61 list-style-image: url("chrome://global/skin/icons/find-arrows.png");
0c8ed027
RK
62}
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 {
87a1144f
RK
69 -moz-image-region: rect(0, 12px, 9px, 0);
70}
71
72.findbar-find-next {
73 -moz-image-region: rect(0, 24px, 9px, 12px);
74}
75
76.findbar-find-previous,
77.findbar-find-previous:not([disabled]):active {
c79d2bbe
RK
78}
79
0c8ed027 80.findbar-find-previous[disabled="true"] {
87a1144f 81 -moz-image-region: rect(9px, 12px, 18px, 0);
0c8ed027
RK
82}
83
87a1144f
RK
84.findbar-find-next[disabled="true"] {
85 -moz-image-region: rect(9px, 24px, 18px, 12px);
86}
c79d2bbe 87
87a1144f
RK
88.findbar-find-previous:not([disabled]):hover,
89.findbar-find-previous:not([disabled]):active {
90 -moz-image-region: rect(18px, 12px, 27px, 0);
c79d2bbe
RK
91}
92
87a1144f
RK
93.findbar-find-next:not([disabled]):hover,
94.findbar-find-next:not([disabled]):active {
95 -moz-image-region: rect(18px, 24px, 27px, 12px);
0c8ed027
RK
96}
97
87a1144f
RK
98.findbar-find-previous > .toolbarbutton-icon,
99.findbar-find-next > .toolbarbutton-icon {
c79d2bbe
RK
100}
101
87a1144f
RK
102.findbar-find-previous[disabled="true"] > .toolbarbutton-icon,
103.findbar-find-next[disabled="true"] > .toolbarbutton-icon {
c79d2bbe
RK
104}
105
87a1144f
RK
106.findbar-highlight,
107.findbar-case-sensitive {
108 -moz-margin-start: 5px;
c79d2bbe
RK
109}
110
87a1144f
RK
111.findbar-highlight > .toolbarbutton-icon,
112.findbar-case-sensitive > .toolbarbutton-icon {
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;
120 -moz-margin-start: 12px !important;
c79d2bbe 121}
a7145e95
RK
122
123.find-status-icon[status="pending"] {
124 list-style-image: url("chrome://global/skin/icons/loading.gif");
125}