first part of LCARStrek sync to browser windows theme changes in Firefox 25
[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[position="top"][hidden] {
25   margin-bottom: auto;
26   margin-top: -1em;
27 }
28
29 .findbar-closebutton {
30   list-style-image: url("chrome://global/skin/icons/close.png");
31   -moz-image-region: rect(0, 16px, 16px, 0);
32 }
33
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");
62 }
63
64 .findbar-find-previous:not([disabled]):active,
65 .findbar-find-next:not([disabled]):active {
66 }
67
68 .findbar-find-previous {
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 {
78 }
79
80 .findbar-find-previous[disabled="true"] {
81   -moz-image-region: rect(9px, 12px, 18px, 0);
82 }
83
84 .findbar-find-next[disabled="true"] {
85   -moz-image-region: rect(9px, 24px, 18px, 12px);
86 }
87
88 .findbar-find-previous:not([disabled]):hover,
89 .findbar-find-previous:not([disabled]):active {
90   -moz-image-region: rect(18px, 12px, 27px, 0);
91 }
92
93 .findbar-find-next:not([disabled]):hover,
94 .findbar-find-next:not([disabled]):active {
95   -moz-image-region: rect(18px, 24px, 27px, 12px);
96 }
97
98 .findbar-find-previous > .toolbarbutton-icon,
99 .findbar-find-next > .toolbarbutton-icon {
100 }
101
102 .findbar-find-previous > .toolbarbutton-text,
103 .findbar-find-next > .toolbarbutton-text {
104 }
105
106 .findbar-find-previous[disabled="true"] > .toolbarbutton-icon,
107 .findbar-find-next[disabled="true"] > .toolbarbutton-icon {
108 }
109
110 .findbar-highlight,
111 .findbar-case-sensitive {
112   -moz-margin-start: 5px;
113 }
114
115 .findbar-highlight > .toolbarbutton-icon,
116 .findbar-case-sensitive > .toolbarbutton-icon {
117   display: none;
118 }
119
120 .findbar-find-status {
121   color: #A09090;
122   margin: 0 !important;
123   -moz-margin-start: 12px !important;
124 }
125
126 .find-status-icon[status="pending"] {
127   list-style-image: url("chrome://global/skin/icons/loading.gif");
128 }