xpfe/components/autocomplete/resources/content/autocomplete.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xpfe/components/autocomplete/resources/content/autocomplete.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,46 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +
     1.9 +.autocomplete-result-popupset {
    1.10 +  width: 0 !important;
    1.11 +}
    1.12 +
    1.13 +.autocomplete-result-popup {
    1.14 +  display: -moz-popup !important;
    1.15 +}
    1.16 +
    1.17 +/* the C++ implementation of widgets is too eager to make popups visible.
    1.18 +   this causes problems (bug 120155 and others), thus this workaround: */
    1.19 +.autocomplete-result-popup[hidden="true"] {
    1.20 +  visibility: hidden;
    1.21 +}
    1.22 +
    1.23 +.autocomplete-tree {
    1.24 +  -moz-user-focus: ignore;
    1.25 +}
    1.26 +
    1.27 +.autocomplete-history-dropmarker {
    1.28 +  display: none;
    1.29 +}
    1.30 +
    1.31 +.autocomplete-history-dropmarker[enablehistory="true"] {
    1.32 +  display: -moz-box;
    1.33 +}
    1.34 +
    1.35 +/* The following rule is here to fix bug 96899 (and now 117952).  
    1.36 +   Somehow trees create a situation
    1.37 +   in which a popupset flows itself as if its popup child is directly within it
    1.38 +   instead of the placeholder child that should actually be inside the popupset.
    1.39 +   This is a stopgap measure, and it does not address the real bug.  */
    1.40 +popupset {
    1.41 +  max-width: 0px;
    1.42 +  width: 0px;
    1.43 +  min-width: 0%;
    1.44 +  min-height: 0%;
    1.45 +}
    1.46 +
    1.47 +treecolpicker {
    1.48 +  display: none;
    1.49 +}

mercurial