styles.css
3.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
/*body {
font-family: Georgia, sans-serif;
padding: 40px;
}*/
div#container {
margin: auto;
width: 780px;
}
a {
color: #000000;
}
em {
busy .gif font-style: italic;
}
h1 {
font-size: 1.8em;
margin-bottom: 40px;
}
h2 {
color: #C0C0C0;
font-size: 1.2em;
margin: 20px 0;
}
ol#examples {
list-style-type: square;
margin-left: 20px;
}
ol#examples li {
line-height: 1.4em;
margin-bottom: 20px;
}
form img {
display: none;
margin: 5px 0 0 10px;
vertical-align: top;
}
form.mf_busy img {
display: inline;
}
pre {
line-height: 1.4em;
}
/*** Manifest ***/
/* Manifest container that wraps the elements and now acts as, and should be
styled as, the input. */
div.mf_container {
border: 1px solid #ddd;
cursor: text;
display: inline-block;
width: 70%;
background: #fff;
border-radius: 3px;
}
div.mf_container ol{
margin:0 !important;
}
/* Ordered list for displaying selected items. */
div.mf_container ol.mf_list {
display: inline;
}
/* Selected item, regardless of state (highlighted, selected). */
div.mf_container ol.mf_list li.mf_item {
cursor: pointer;
display: inline-block;
/*margin: 2px;*/
/*padding: 2px 4px 3px;*/
padding:0 4px;
font-size: 12px;
/*vertical-align: top;*/
/*margin-top: 6px;*/
line-height:30px;
}
.mf_itemError {
color: red;
}
/* Selected item that's highlighted by mouseover. */
div.mf_container ol.mf_list li.mf_item.mf_highlighted {
background-color: #E0E0E0;
}
/* Selected item that's selected by click or keyboard. */
div.mf_container ol.mf_list li.mf_item.mf_selected {
background-color: #C0C0C0;
}
/* Remove link. */
div.mf_container ol.mf_list li.mf_item a.mf_remove {
color: #E0E0E0;
margin-left: 3px;
text-decoration: none;
}
/* Remove link that's highlighted. */
div.mf_container ol.mf_list li.mf_item.mf_highlighted a.mf_remove {
color: #FFFFFF;
}
/* Remove link that's selected. */
div.mf_container ol.mf_list li.mf_item.mf_selected a.mf_remove {
color: #FFFFFF;
}
/* Actual input, styled to be invisible within the container. */
div.mf_container input.mf_input {
border: 0;
font: inherit;
/* font-size: 100%; */
margin: 2px;
outline: none;
padding: 4px;
height:20px;
line-height:20px;
font-size: 12px;
color: #333;
}
/*** Marco Polo ***/
/* Ordered list for display results. */
ol.mp_list {
background-color: #FFFFFF;
border-left: 1px solid #C0C0C0;
border-right: 1px solid #C0C0C0;
overflow: hidden;
position: absolute;
width: 498px;
z-index: 99999;
}
/* Each list item, regardless of success, error, etc. */
ol.mp_list li {
border-bottom: 1px solid #C0C0C0;
padding: 4px 4px 5px 9px;
}
/* Each list item from a successful request. */
ol.mp_list li.mp_item {
}
/* Each list item that's selectable. */
ol.mp_list li.mp_selectable {
cursor: pointer;
}
/* Currently highlighted list item. */
ol.mp_list li.mp_highlighted {
background-color: #E0E0E0;
}
/* When a request is made that returns zero results. */
ol.mp_list li.mp_no_results {
}
/* When a request is made that doesn't meet the 'minChars' length option. */
ol.mp_list li.mp_min_chars {
}
/* When a request is made that fails during the ajax request. */
ol.mp_list li.mp_error {
}