home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / browser.xpi / bin / chrome / modern.jar / skin / modern / global / autocomplete.css next >
Encoding:
Cascading Style Sheet File  |  2001-08-04  |  2.5 KB  |  95 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. @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
  30.  
  31. /* ::::: autocomplete ::::: */
  32.  
  33. textbox[type="autocomplete"] {
  34.   cursor: default !important;
  35. }
  36.  
  37. html|*.textbox-input {
  38.   cursor: text;
  39.   margin: 0px;
  40.   border: none;
  41.   padding: 0px;
  42.   background-color: inherit;
  43.   color: inherit;
  44.   font: inherit;
  45. }
  46.  
  47. /* ::::: history button ::::: */
  48.  
  49. .autocomplete-history-button {
  50.   -moz-box-align: center;
  51.   margin: 1px 3px 3px 0px;
  52.   list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
  53. }
  54.  
  55. .autocomplete-history-button[open="true"] {
  56.   margin: 2px 2px 2px 1px;
  57. }
  58.  
  59. /* ::::: popups ::::: */
  60.  
  61. .autocomplete-history-popup,
  62. .autocomplete-result-popup {
  63.   border: 1px solid #6B747E;
  64.   background-color: #FFFFFF !important;
  65. }
  66.  
  67. .autocomplete-history-popup {
  68.   max-height: 180px;
  69. }
  70.  
  71. /* ::::: outliner ::::: */
  72.  
  73. .autocomplete-outliner {
  74.   background-color: transparent !important;
  75. }
  76.  
  77. .autocomplete-outlinercol {
  78.   margin: 0px !important;
  79.   border: none !important;
  80.   padding: 0px !important;
  81. }
  82.  
  83. .autocomplete-outlinerbody:-moz-outliner-cell-text {
  84.   padding-left: 8px;
  85.   color: #000000;
  86. }
  87.  
  88. .autocomplete-outlinerbody:-moz-outliner-row(menuactive) {
  89.   background-color: #9499AC;
  90. }
  91.  
  92. .autocomplete-outlinerbody:-moz-outliner-cell-text(menuactive) {
  93.   color: #FFFFFF !important;
  94. }
  95.