sync both themes with toolkit windows theme changes in Mozilla 42-44 cycles
[themes.git] / LCARStrek / global / findBar.css
1 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
2
3 findbar {
4   border-top: 3px solid #000000;
5   border-bottom: none;
6   min-width: 1px;
7 }
8
9 findbar[position="top"] {
10   border-top: none;
11   border-bottom: 3px solid #000000;
12   transition-property: margin-top, opacity, visibility;
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;
22 }
23
24 findbar[noanim] {
25   transition-duration: 0s !important;
26   transition-delay: 0s !important;
27 }
28
29 findbar[position="top"][hidden] {
30   margin-bottom: auto;
31   margin-top: -1em;
32 }
33
34 .findbar-closebutton {
35   list-style-image: url("chrome://global/skin/icons/close.png");
36   -moz-image-region: rect(0, 16px, 16px, 0);
37 }
38
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");
67 }
68
69 .findbar-find-previous:not([disabled]):active,
70 .findbar-find-next:not([disabled]):active {
71 }
72
73 .findbar-find-previous {
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 {
83 }
84
85 .findbar-find-previous[disabled="true"] {
86   -moz-image-region: rect(9px, 12px, 18px, 0);
87 }
88
89 .findbar-find-next[disabled="true"] {
90   -moz-image-region: rect(9px, 24px, 18px, 12px);
91 }
92
93 .findbar-find-previous:not([disabled]):hover,
94 .findbar-find-previous:not([disabled]):active {
95   -moz-image-region: rect(18px, 12px, 27px, 0);
96 }
97
98 .findbar-find-next:not([disabled]):hover,
99 .findbar-find-next:not([disabled]):active {
100   -moz-image-region: rect(18px, 24px, 27px, 12px);
101 }
102
103 .findbar-find-previous > .toolbarbutton-icon,
104 .findbar-find-next > .toolbarbutton-icon {
105 }
106
107 .findbar-find-previous[disabled="true"] > .toolbarbutton-icon,
108 .findbar-find-next[disabled="true"] > .toolbarbutton-icon {
109 }
110
111 .findbar-highlight,
112 .findbar-case-sensitive {
113   -moz-margin-start: 5px;
114 }
115
116 .findbar-highlight > .toolbarbutton-icon,
117 .findbar-case-sensitive > .toolbarbutton-icon {
118   display: none;
119 }
120
121 .findbar-find-status,
122 .found-matches {
123   color: #A09090;
124   margin: 0 !important;
125   -moz-margin-start: 12px !important;
126 }
127
128 .find-status-icon[status="pending"] {
129   list-style-image: url("chrome://global/skin/icons/loading.gif");
130 }