home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / Chip_2004-04_cd1.bin / tema / mozilla / skin / MozCurveBlue-1.4-0.99.jar / global / autocomplete.css next >
Encoding:
Cascading Style Sheet File  |  2003-12-06  |  3.4 KB  |  121 lines

  1. /*
  2.  * The contents of this file are subject to the Netscape Public
  3.  * License Version 1.1 (the "License"); you may not use this file
  4.  * except in compliance with the License. You may obtain a copy of
  5.  * the License at http://www.mozilla.org/NPL/
  6.  *
  7.  * Software distributed under the License is distributed on an "AS
  8.  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9.  * implied. See the License for the specific language governing
  10.  * rights and limitations under the License.
  11.  *
  12.  * The Original Code is Mozilla Communicator client code, released
  13.  * March 31, 1998.
  14.  *
  15.  * The Initial Developer of the Original Code is Netscape
  16.  * Communications Corporation. Portions created by Netscape are
  17.  * Copyright (C) 1998-2001 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  *
  20.  * Contributor(s):
  21.  *   Joe Hewitt (hewitt@netscape.com)
  22.  *   Brian Ryner <bryner@netscape.com>
  23.  */
  24.  
  25. /* ===== autocomplete.css =================================================
  26.   == Styles used by the autocomplete widget.
  27.   ======================================================================= */
  28.  
  29. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  30. @namespace html url("http://www.w3.org/1999/xhtml");
  31.  
  32. /* ::::: autocomplete ::::: */
  33.  
  34. textbox {
  35.   cursor: default;
  36.   padding: 0;
  37.   -moz-appearance: none;
  38.   border: none !important;
  39. }
  40.  
  41. .autocomplete-textbox-container {
  42.   -moz-appearance: menulist-textfield;
  43.   border: 2px solid;
  44.   -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
  45.   -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow; 
  46.   -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
  47.   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
  48. }
  49.  
  50. .textbox-input-box {
  51.   margin: 0 3px;
  52.   -moz-box-align: center;
  53. }
  54.  
  55. /* ::::: history button ::::: */
  56.  
  57. .autocomplete-history-dropmarker {
  58.   -moz-appearance: menulist-button;
  59.   min-width: 17px;
  60.   -moz-box-align: center;
  61.   -moz-box-pack: center;
  62.   border: 2px solid;
  63.   -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight;
  64.   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
  65.   -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
  66.   -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight;
  67.   background-color: -moz-Dialog;
  68.   padding: 1px;
  69.   list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
  70. }
  71.  
  72. .autocomplete-history-dropmarker[open="true"] {
  73.   -moz-border-top-colors: ThreeDShadow ThreeDFace;
  74.   -moz-border-right-colors: ThreeDShadow ThreeDFace;
  75.   -moz-border-bottom-colors: ThreeDShadow ThreeDFace;
  76.   -moz-border-left-colors: ThreeDShadow ThreeDFace;
  77.   padding: 2px 0 0 2px;
  78. }
  79.  
  80. /* ::::: autocomplete popups ::::: */
  81.  
  82. .autocomplete-result-popup,
  83. .autocomplete-history-popup {
  84.   border-width: 1px;
  85.   -moz-border-top-colors: ThreeDDarkShadow;
  86.   -moz-border-right-colors: ThreeDDarkShadow;
  87.   -moz-border-bottom-colors: ThreeDDarkShadow;
  88.   -moz-border-left-colors: ThreeDDarkShadow;
  89.   padding: 0;
  90.   background-color: -moz-Field !important;
  91. }
  92.  
  93. .autocomplete-history-popup {
  94.   max-height: 180px;
  95. }
  96.  
  97. /* ::::: tree ::::: */
  98.  
  99. .autocomplete-tree {
  100.   border: none;
  101.   background-color: transparent !important;
  102. }
  103.  
  104. .autocomplete-treecol {
  105.   margin: 0 !important;
  106.   border: none !important;
  107.   padding: 0 !important;
  108. }
  109.  
  110. .autocomplete-treebody:-moz-tree-cell-text {
  111.   padding-left: 8px;
  112. }
  113.  
  114. .autocomplete-treebody:-moz-tree-row(menuactive) {
  115.   background-color: Highlight;
  116. }
  117.  
  118. .autocomplete-treebody:-moz-tree-cell-text(menuactive)  {
  119.   color: HighlightText !important;
  120. }
  121.