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

« back to all changes in this revision

Viewing changes to mozilla/toolkit/themes/winstripe/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
.autocomplete-textbox-container {
 
44
  -moz-box-align: center;
 
45
}
 
46
 
 
47
.textbox-input-box {
 
48
  margin: 0 3px;
 
49
  -moz-box-align: center;
 
50
}
 
51
 
 
52
/* ::::: history button ::::: */
 
53
 
 
54
.autocomplete-history-dropmarker {
 
55
  -moz-appearance: menulist-button;
 
56
  min-width: 17px;
 
57
  -moz-box-align: center;
 
58
  -moz-box-pack: center;
 
59
  border: 2px solid;
 
60
  -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight;
 
61
  -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
 
62
  -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
 
63
  -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight;
 
64
  background-color: -moz-Dialog;
 
65
  padding: 1px;
 
66
  list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
 
67
}
 
68
 
 
69
.autocomplete-history-dropmarker:hover:active,
 
70
.autocomplete-history-dropmarker[open="true"] {
 
71
  -moz-border-top-colors: ThreeDShadow ThreeDFace;
 
72
  -moz-border-right-colors: ThreeDShadow ThreeDFace;
 
73
  -moz-border-bottom-colors: ThreeDShadow ThreeDFace;
 
74
  -moz-border-left-colors: ThreeDShadow ThreeDFace;
 
75
  padding: 2px 0 0 2px;
 
76
}
 
77
 
 
78
/* ::::: autocomplete popups ::::: */
 
79
 
 
80
popup[type="autocomplete"],
 
81
.autocomplete-history-popup {
 
82
  border-width: 1px;
 
83
  -moz-border-top-colors: ThreeDDarkShadow;
 
84
  -moz-border-right-colors: ThreeDDarkShadow;
 
85
  -moz-border-bottom-colors: ThreeDDarkShadow;
 
86
  -moz-border-left-colors: ThreeDDarkShadow;
 
87
  padding: 0;
 
88
  background-color: -moz-Field !important;
 
89
}
 
90
 
 
91
.autocomplete-history-popup {
 
92
  max-height: 180px;
 
93
}
 
94
 
 
95
/* ::::: tree ::::: */
 
96
 
 
97
.autocomplete-tree {
 
98
  -moz-appearance: none !important;
 
99
  border: none !important;
 
100
  background-color: transparent !important;
 
101
}
 
102
 
 
103
.autocomplete-treecol {
 
104
  -moz-appearance: none !important;
 
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
treechildren.autocomplete-treebody::-moz-tree-row(selected) {
 
115
 background-color: Highlight;
 
116
}
 
117
 
 
118
treechildren.autocomplete-treebody::-moz-tree-cell-text(selected) {
 
119
  color: HighlightText !important;
 
120
}
 
121
 
 
122
/* thunderbird does not use the new autocomplete widget yet so we need a couple of the old styles rules for it */
 
123
 
 
124
.autocomplete-treebody::-moz-tree-row(menuactive) {
 
125
  background-color: Highlight;
 
126
}
 
127
 
 
128
.autocomplete-treebody::-moz-tree-cell-text(menuactive)  {
 
129
  color: HighlightText !important;
 
130
}
 
131
 
 
132
/* end of thunderbird required autocomplete rules */
 
133
 
 
134
/* ::::: textboxes inside toolbarpaletteitems ::::: */
 
135
 
 
136
toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input {
 
137
  visibility: hidden;
 
138
}
 
139
 
 
140
toolbarpaletteitem > toolbaritem > * > textbox > hbox > hbox > html|*.textbox-input {
 
141
  visibility: hidden;
 
142
}