home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 March / PCWorld_2005-03_cd.bin / komunikace / kmeleon / kmeleon09.exe / classic.jar / skin / classic / global / autocomplete.css next >
Cascading Style Sheet File  |  2003-08-11  |  3KB  |  110 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.  */
  23.  
  24. /* ===== autocomplete.css =================================================
  25.   == Styles used by the autocomplete widget.
  26.   ======================================================================= */
  27.  
  28. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  29.  
  30. /* ::::: autocomplete ::::: */
  31.  
  32. textbox {
  33.   cursor: default;
  34.   padding: 0;
  35. }
  36.  
  37. .textbox-input-box {
  38.   margin: 0 3px;
  39.   -moz-box-align: center;
  40. }
  41.  
  42. /* ::::: history button ::::: */
  43.  
  44. .autocomplete-history-dropmarker {
  45.   -moz-appearance: menulist-button;
  46.   min-width: 17px;
  47.   -moz-box-align: center;
  48.   -moz-box-pack: center;
  49.   border: 2px solid;
  50.   -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight;
  51.   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
  52.   -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
  53.   -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight;
  54.   background-color: -moz-Dialog;
  55.   padding: 1px;
  56.   list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
  57. }
  58.  
  59. .autocomplete-history-dropmarker[open="true"] {
  60.   -moz-border-top-colors: ThreeDShadow ThreeDFace;
  61.   -moz-border-right-colors: ThreeDShadow ThreeDFace;
  62.   -moz-border-bottom-colors: ThreeDShadow ThreeDFace;
  63.   -moz-border-left-colors: ThreeDShadow ThreeDFace;
  64.   padding: 2px 0 0 2px;
  65. }
  66.  
  67. /* ::::: autocomplete popups ::::: */
  68.  
  69. .autocomplete-result-popup,
  70. .autocomplete-history-popup {
  71.   border-width: 1px;
  72.   -moz-border-top-colors: ThreeDDarkShadow;
  73.   -moz-border-right-colors: ThreeDDarkShadow;
  74.   -moz-border-bottom-colors: ThreeDDarkShadow;
  75.   -moz-border-left-colors: ThreeDDarkShadow;
  76.   padding: 0;
  77.   background-color: -moz-Field !important;
  78. }
  79.  
  80. .autocomplete-history-popup {
  81.   max-height: 180px;
  82. }
  83.  
  84. /* ::::: tree ::::: */
  85.  
  86. .autocomplete-tree {
  87.   border: none;
  88.   background-color: transparent !important;
  89.   -moz-appearance: none;
  90. }
  91.  
  92. .autocomplete-treecol {
  93.   -moz-appearance: none;
  94.   margin: 0 !important;
  95.   border: none !important;
  96.   padding: 0 !important;
  97. }
  98.  
  99. .autocomplete-treebody::-moz-tree-cell-text {
  100.   padding-left: 8px;
  101. }
  102.  
  103. .autocomplete-treebody::-moz-tree-row(menuactive) {
  104.   background-color: Highlight;
  105. }
  106.  
  107. .autocomplete-treebody::-moz-tree-cell-text(menuactive)  {
  108.   color: HighlightText !important;
  109. }
  110.