home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / temathun / Apollo.jar / global / autocomplete.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2003-11-06  |  3.4 KB  |  129 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");
  30.  
  31. /* ::::: autocomplete ::::: */
  32.  
  33. textbox {
  34.   cursor: default;
  35.   padding: 0;
  36. }
  37.  
  38. /* Used by autocomplete widgets that don't have an icon. Gross. -dwh */
  39. textbox.padded {
  40.   padding: 1px 0px 1px 2px;
  41. }
  42.  
  43. .textbox-input-box {
  44.   margin: 0 3px;
  45.   -moz-box-align: center;
  46. }
  47.  
  48. /* ::::: history button ::::: */
  49.  
  50. .autocomplete-history-dropmarker {
  51.   -moz-appearance: menulist-button;
  52.   min-width: 17px;
  53.   -moz-box-align: center;
  54.   -moz-box-pack: center;
  55.   background-color: -moz-Dialog;
  56.   padding: 1px;
  57.   list-style-image: url("chrome://messenger/skin/icons/dropmarker.png");
  58.   -moz-image-region: rect(0px 16px 16px 0px);
  59. }
  60.  
  61. .autocomplete-history-dropmarker:hover:active,
  62. .autocomplete-history-dropmarker[open="true"] {
  63.   padding: 2px 0 0 2px;
  64.   -moz-image-region: rect(16px 16px 32px 0px);
  65. }
  66.  
  67.  
  68. /* ::::: autocomplete popups ::::: */
  69.  
  70. popup[type="autocomplete"],
  71. .autocomplete-history-popup {
  72.   border-width: 1px;
  73.   -moz-border-top-colors: ThreeDDarkShadow;
  74.   -moz-border-right-colors: ThreeDDarkShadow;
  75.   -moz-border-bottom-colors: ThreeDDarkShadow;
  76.   -moz-border-left-colors: ThreeDDarkShadow;
  77.   padding: 0;
  78.   background-color: -moz-Field !important;
  79. }
  80.  
  81. .autocomplete-history-popup {
  82.   max-height: 180px;
  83. }
  84.  
  85. /* ::::: tree ::::: */
  86.  
  87. .autocomplete-tree {
  88.   -moz-appearance: none !important;
  89.   border: none !important;
  90.   background-color: transparent !important;
  91. }
  92.  
  93. .autocomplete-treecol {
  94.   -moz-appearance: none !important;
  95.   margin: 0 !important;
  96.   border: none !important;
  97.   padding: 0 !important;
  98. }
  99.  
  100. .autocomplete-treebody::-moz-tree-cell-text {
  101.   padding-left: 8px;
  102. }
  103.  
  104. treechildren.autocomplete-treebody::-moz-tree-row(selected) {
  105.  background-color: Highlight;
  106. }
  107.  
  108. treechildren.autocomplete-treebody::-moz-tree-cell-text(selected) {
  109.   color: HighlightText !important;
  110. }
  111.  
  112. /* thunderbird does not use the new autocomplete widget yet so we need a couple of the old styles rules for it */
  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.  
  122. /* end of thunderbird required autocomplete rules */
  123.  
  124. /* ::::: textboxes inside toolbarpaletteitems ::::: */
  125.  
  126. toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input {
  127.   visibility: hidden;
  128. }
  129.