~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/toolkit/themes/qute/global/autocomplete.css

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
  border: 2px solid;
 
56
  -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight;
 
57
  -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
 
58
  -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
 
59
  -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight;
 
60
  background-color: -moz-Dialog;
 
61
  padding: 1px;
 
62
  list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
 
63
}
 
64
 
 
65
.autocomplete-history-dropmarker:hover:active,
 
66
.autocomplete-history-dropmarker[open="true"] {
 
67
  -moz-border-top-colors: ThreeDShadow ThreeDFace;
 
68
  -moz-border-right-colors: ThreeDShadow ThreeDFace;
 
69
  -moz-border-bottom-colors: ThreeDShadow ThreeDFace;
 
70
  -moz-border-left-colors: ThreeDShadow ThreeDFace;
 
71
  padding: 2px 0 0 2px;
 
72
}
 
73
 
 
74
/* ::::: autocomplete popups ::::: */
 
75
 
 
76
popup[type="autocomplete"],
 
77
.autocomplete-history-popup {
 
78
  border-width: 1px;
 
79
  -moz-border-top-colors: ThreeDDarkShadow;
 
80
  -moz-border-right-colors: ThreeDDarkShadow;
 
81
  -moz-border-bottom-colors: ThreeDDarkShadow;
 
82
  -moz-border-left-colors: ThreeDDarkShadow;
 
83
  padding: 0;
 
84
  background-color: -moz-Field !important;
 
85
}
 
86
 
 
87
.autocomplete-history-popup {
 
88
  max-height: 180px;
 
89
}
 
90
 
 
91
/* ::::: tree ::::: */
 
92
 
 
93
.autocomplete-tree {
 
94
  -moz-appearance: none !important;
 
95
  border: none !important;
 
96
  background-color: transparent !important;
 
97
}
 
98
 
 
99
.autocomplete-treecol {
 
100
  -moz-appearance: none !important;
 
101
  margin: 0 !important;
 
102
  border: none !important;
 
103
  padding: 0 !important;
 
104
}
 
105
 
 
106
.autocomplete-treebody::-moz-tree-cell-text {
 
107
  padding-left: 8px;
 
108
}
 
109
 
 
110
treechildren.autocomplete-treebody::-moz-tree-row(selected) {
 
111
 background-color: Highlight;
 
112
}
 
113
 
 
114
treechildren.autocomplete-treebody::-moz-tree-cell-text(selected) {
 
115
  color: HighlightText !important;
 
116
}
 
117
 
 
118
/* thunderbird does not use the new autocomplete widget yet so we need a couple of the old styles rules for it */
 
119
 
 
120
.autocomplete-treebody::-moz-tree-row(menuactive) {
 
121
  background-color: Highlight;
 
122
}
 
123
 
 
124
.autocomplete-treebody::-moz-tree-cell-text(menuactive)  {
 
125
  color: HighlightText !important;
 
126
}
 
127
 
 
128
/* end of thunderbird required autocomplete rules */
 
129
 
 
130
/* ::::: textboxes inside toolbarpaletteitems ::::: */
 
131
 
 
132
toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input {
 
133
  visibility: hidden;
 
134
}