Style cleanup on AJAX search suggestion dropdown list.
[lhc/web/wiklou.git] / skins / common / shared.css
1 /**
2 * CSS in this file is used by *all* skins (that have any CSS at all). Be
3 * careful what you put in here, since what looks good in one skin may not in
4 * another, but don't ignore the poor non-Monobook users either.
5 */
6 .mw-plusminus-null { color: #aaa; }
7
8 .texvc { direction: ltr; unicode-bidi: embed; }
9 img.tex { vertical-align: middle; }
10 span.texhtml { font-family: serif; }
11
12 /* Stop floats from intruding into edit area in previews */
13 #toolbar, #wpTextbox1 { clear: both; }
14
15 div#mw-js-message {
16 margin: 1em 5%;
17 padding: 0.5em 2.5%;
18 border: solid 1px #ddd;
19 background-color: #fcfcfc;
20 }
21
22 /* Edit section links */
23 .editsection {
24 float: right;
25 margin-left: 5px;
26 }
27
28 /**
29 * File histories
30 */
31 table.filehistory {
32 border:1px solid #ccc;
33 border-collapse:collapse;
34 }
35
36 table.filehistory th,
37 table.filehistory td {
38 padding: 0 0.2em 0 0.2em;
39 vertical-align:top;
40 border:1px solid #ccc;
41 }
42 table.filehistory th {
43 text-align: left;
44 }
45 table.filehistory td.mw-imagepage-filesize,
46 table.filehistory th.mw-imagepage-filesize {
47 white-space:nowrap;
48 }
49
50 /*
51 * rev_deleted stuff
52 */
53 li span.deleted, span.history-deleted {
54 text-decoration: line-through;
55 color: #888;
56 font-style: italic;
57 }
58
59 /**
60 * Forms
61 */
62 body.ltr td.mw-label { text-align: right; }
63 body.ltr td.mw-input { text-align: left; }
64 body.ltr td.mw-submit { text-align: left; }
65 body.rtl td.mw-label { text-align: left; }
66 body.rtl td.mw-input { text-align: right; }
67 body.rtl td.mw-submit { text-align: right; }
68
69 td.mw-label { vertical-align: top; }
70 td.mw-submit { white-space: nowrap; }
71
72 /**
73 * Image captions
74 */
75 body.rtl .thumbcaption { text-align:right; }
76 body.rtl .magnify { float:left; }
77
78 body.ltr .thumbcaption { text-align:left; }
79 body.ltr .magnify { float:right; }
80
81 /**
82 * Hidden categories
83 */
84 .mw-hidden-cats-hidden { display: none; }
85 .catlinks-allhidden { display: none; }
86
87 /* Convenience links to edit block and delete reasons */
88 p.mw-ipb-conveniencelinks, p.mw-filedelete-editreasons, p.mw-delete-editreasons {
89 font-size: 90%;
90 float: right;
91 }
92
93 /* Search results */
94 div.searchresult {
95 font-size: 95%;
96 width:38em;
97 }
98 .mw-search-results li {
99 padding-bottom: 1em;
100 }
101 .mw-search-result-data {
102 color: green;
103 font-size: 97%;
104 }
105
106 div#mw-search-interwiki {
107 float: right;
108 width: 18em;
109 border-style: solid;
110 border-color: #AAAAAA;
111 border-width: 1px;
112 margin-top: 2ex;
113 }
114
115 div#mw-search-interwiki li {
116 font-size: 95%;
117 }
118
119 .mw-search-interwiki-more {
120 float: right;
121 font-size: 90%;
122 }
123
124 span.searchalttitle {
125 font-size: 95%;
126 }
127
128 div.searchdidyoumean {
129 font-size: 127%;
130 padding-bottom:1ex;
131 padding-top:1ex;
132 }
133
134 /*
135 * UserRights stuff
136 */
137 .mw-userrights-disabled {
138 color: #888;
139 }
140
141 table.mw-userrights-groups * td,table.mw-userrights-groups * th {
142 padding-right: 1.5em;
143 }
144
145 /*
146 * OpenSearch ajax suggestions
147 */
148 .os-suggest {
149 overflow: auto;
150 overflow-x: hidden;
151 position: absolute;
152 top: 0px;
153 left: 0px;
154 width: 0px;
155 background-color: white;
156 border-style: solid;
157 border-color: #AAAAAA;
158 border-width: 1px;
159 z-index:99;
160 visibility:hidden;
161 font-size:95%;
162 }
163
164 table.os-suggest-results {
165 font-size: 95%;
166 cursor: pointer;
167 border: 0;
168 border-collapse: collapse;
169 width: 100%;
170 }
171
172 td.os-suggest-result, td.os-suggest-result-hl {
173 text-align: left;
174 white-space: nowrap;
175 background-color: white;
176 background-color: Window;
177 color: black;
178 color: WindowText;
179 padding: 2px;
180 }
181 td.os-suggest-result-hl,
182 td.os-suggest-result-hl-webkit {
183 background-color: #4C59A6;
184 color: white;
185 }
186 td.os-suggest-result-hl {
187 /* System colors are misimplemented in Safari 3.0 and earlier,
188 making highlighted text illegible... */
189 background-color: Highlight;
190 color: HighlightText;
191 }
192
193 .os-suggest-toggle {
194 position: relative;
195 left: 1ex;
196 font-size: 65%;
197 }
198 .os-suggest-toggle-def {
199 position: absolute;
200 top: 0px;
201 left: 0px;
202 font-size: 65%;
203 visibility: hidden;
204 }
205
206 /* Page history styling */
207 /* the auto-generated edit comments */
208 .autocomment { color: gray; }
209 #pagehistory .history-user {
210 margin-left: 0.4em;
211 margin-right: 0.2em;
212 }
213 #pagehistory span.minor { font-weight: bold; }
214 #pagehistory li { border: 1px solid white; }
215 #pagehistory li.selected {
216 background-color: #f9f9f9;
217 border: 1px dashed #aaa;
218 }
219
220 table.mw-listgrouprights-table {
221 border: 1px solid #ccc;
222 border-collapse: collapse;
223 }
224
225 table.mw-listgrouprights-table tr {
226 vertical-align: top;
227 }
228
229 table.mw-listgrouprights-table td, table.mw-listgrouprights-table th {
230 padding: 0.5em 0.2em 0.5em 0.2em;
231 border: 1px solid #ccc;
232 }
233
234 /* Special:SpecialPages styling */
235 h4.mw-specialpagesgroup {
236 background-color: #dcdcdc;
237 padding: 2px;
238 margin: .3em 0em 0em 0em;
239 }
240
241 #shared-image-dup, #shared-image-conflict {
242 font-style: italic;
243 }