summaryrefslogtreecommitdiffstats
path: root/xpfe/components/autocomplete/resources/content/autocomplete.css
blob: 6c67bad2edc5d6e29d77a8b1afd38a5540d376b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


.autocomplete-result-popupset {
  width: 0 !important;
}

.autocomplete-result-popup {
  display: -moz-popup !important;
}

/* the C++ implementation of widgets is too eager to make popups visible.
   this causes problems (bug 120155 and others), thus this workaround: */
.autocomplete-result-popup[hidden="true"] {
  visibility: hidden;
}

.autocomplete-tree {
  -moz-user-focus: ignore;
}

.autocomplete-history-dropmarker {
  display: none;
}

.autocomplete-history-dropmarker[enablehistory="true"] {
  display: -moz-box;
}

/* The following rule is here to fix bug 96899 (and now 117952).  
   Somehow trees create a situation
   in which a popupset flows itself as if its popup child is directly within it
   instead of the placeholder child that should actually be inside the popupset.
   This is a stopgap measure, and it does not address the real bug.  */
popupset {
  max-width: 0px;
  width: 0px;
  min-width: 0%;
  min-height: 0%;
}

treecolpicker {
  display: none;
}