css_sample.htm
12.4 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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>css_sample.htm - ultrax</title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<meta name="author" content=" Created by Dennis Lee on 6/23/10. " />
<link rel="stylesheet" type="text/css" href="../../../data/cache/style_1_common.css" />
<link rel="stylesheet" type="text/css" href="../../../data/cache/style_1_forum.css" />
<link rel="stylesheet" type="text/css" href="../../../data/cache/style_1_forum_forumdisplay.css" />
<link rel="stylesheet" type="text/css" href="../../../data/cache/style_1_forum_viewthread.css" />
<style type="text/css">
body { padding-top: 50px; }
div { overflow: visible !important; }
#output { display: none; position: fixed; bottom: 60px; left: 50%; padding: 20px; width: 260px; margin-left: -140px; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; background: #000; line-height: 1.5; font-family: monospace; text-align: left; color: #FFF; font-size: 14px; opacity: 0.8; }
</style>
<script type="text/javascript" src="../../../static/js/common.js"></script>
<script type="text/javascript">
window.onload = function(){
$("output").style.display = 'block';
document.onmouseover = function() {
var e = getEvent();
var aim = e.target || e.srcElement;
aim.style.outline = '1px solid blue';
if(aim.parentNode.style) aim.parentNode.style.outline = '2px solid orange';
$("output").innerHTML = "<span style='color: #666'><" + aim.parentNode.tagName + " class=\"" + aim.parentNode.className + "\" />" + "</span><br /> <" + aim.tagName + " class=\"" + aim.className + "\" />";
};
document.onmouseout = function() {
var e = getEvent();
var aim = e.target || e.srcElement;
aim.style.outline = 'none';
if(aim.parentNode.style) aim.parentNode.style.outline = 'none';
};
};
</script>
</head>
<body>
<div id="output"></div>
<div class="wp">
<h2 class="bm ptw bw0 xs2">单列布局</h2>
<div class="ct cl">
<div class="mn">
<div class="bm">
<div class="bm_h cl">
<strong>标题</strong> class="bm_h cl"
</div>
<div class="bm_c">
<strong>内容</strong> class="bm_c"
</div>
</div>
<div class="bm bmw">
<div class="bm_h cl">
<span class="o">
<img src="../../../static/image/common/collapsed_no.gif" alt="" />
</span>
<strong>标题</strong> class="bm_h cl"
</div>
<div class="bm_c">
<strong>内容</strong> class="bm_c"
</div>
</div>
</div>
</div>
<h2 class="bm ptw bw0 xs2">双列布局 class="ct2 cl"</h2>
<div class="ct2 cl">
<div class="mn">
<div class="bm bmw tl cl">
<div class="bm_h cl">
<strong>帖子列表:</strong>
</div>
<table cellspacing="0" cellpadding="0" class="th">
<tr>
<td class="icn"></td>
<td class="o"></td>
<th>主题</th>
<td class="by">作者</td>
<td class="num">回复</td>
<td class="by">最后发表</td>
</tr>
</table>
<div class="bm_c">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="icn"><img src="../../../static/image/common/folder_new.gif" alt="" /></td>
<td class="o"><input type="checkbox" class="pc" /></td>
<th>Subject ...</th>
<td class="by"><cite>Author</cite><em>1970-1-1</em></td>
<td class="num">10/25</td>
<td class="by"><cite>Lastpost</cite><em>1970-1-1</em></td>
</tr>
<tr>
<td class="icn"><img src="../../../static/image/common/folder_new.gif" alt="" /></td>
<td class="o"><input type="checkbox" class="pc" /></td>
<th>Subject ...</th>
<td class="by"><cite>Author</cite><em>1970-1-1</em></td>
<td class="num">10/25</td>
<td class="by"><cite>Lastpost</cite><em>1970-1-1</em></td>
</tr>
<tr class="ts">
<td class="icn"></td>
<td class="o"></td>
<th>分隔条</th>
<td class="by"></td>
<td class="num"></td>
<td class="by"></td>
</tr>
<tr>
<td class="icn"><img src="../../../static/image/common/folder_new.gif" alt="" /></td>
<td class="o"><input type="checkbox" class="pc" /></td>
<th>Subject ...</th>
<td class="by"><cite>Author</cite><em>1970-1-1</em></td>
<td class="num">10/25</td>
<td class="by"><cite>Lastpost</cite><em>1970-1-1</em></td>
</tr>
<tr>
<td class="icn"><img src="../../../static/image/common/folder_new.gif" alt="" /></td>
<td class="o"><input type="checkbox" class="pc" /></td>
<th>Subject ...</th>
<td class="by"><cite>Author</cite><em>1970-1-1</em></td>
<td class="num">10/25</td>
<td class="by"><cite>Lastpost</cite><em>1970-1-1</em></td>
</tr>
</table>
</div>
</div>
<div class="bm bw0">
<h2>文字列表</h2>
<ul class="xl">
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit</li>
<li>sed diam nonummy nibh euismod tincidunt ut</li>
<li>laoreet dolore magna aliquam erat volutpat</li>
<li>Ut wisi enim ad minim veniam</li>
<li>quis nostrud exerci tation ullamcorper suscipit</li>
<li>lobortis nisl ut aliquip ex ea commodo consequat</li>
<li>Duis autem vel eum iriure dolor</li>
<li>in hendrerit in vulputate velit esse molestie consequat</li>
<li>vel illum dolore eu feugiat nulla facilisis at vero</li>
<li>eros et accumsan et iusto odio dignissim</li>
</ul>
</div>
<div class="bm bw0">
<h2>双列文字列表</h2>
<ul class="xl xl2 cl">
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit</li>
<li>sed diam nonummy nibh euismod tincidunt ut</li>
<li>laoreet dolore magna aliquam erat volutpat</li>
<li>Ut wisi enim ad minim veniam</li>
<li>quis nostrud exerci tation ullamcorper suscipit</li>
<li>lobortis nisl ut aliquip ex ea commodo consequat</li>
<li>Duis autem vel eum iriure dolor</li>
<li>in hendrerit in vulputate velit esse molestie consequat</li>
<li>vel illum dolore eu feugiat nulla facilisis at vero</li>
<li>eros et accumsan et iusto odio dignissim</li>
</ul>
</div>
</div>
<div class="sd">
<div class="bm">
<div class="bm_h cl">
<strong>标题</strong> class="bm_h cl"
</div>
<div class="bm_c">
<h2>单行文字列表(超出自动隐藏)</h2>
<ul class="xl xl1">
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit</li>
<li>sed diam nonummy nibh euismod tincidunt ut</li>
<li>laoreet dolore magna aliquam erat volutpat</li>
<li>Ut wisi enim ad minim veniam</li>
<li>quis nostrud exerci tation ullamcorper suscipit</li>
<li>lobortis nisl ut aliquip ex ea commodo consequat</li>
<li>Duis autem vel eum iriure dolor</li>
<li>in hendrerit in vulputate velit esse molestie consequat</li>
<li>vel illum dolore eu feugiat nulla facilisis at vero</li>
<li>eros et accumsan et iusto odio dignissim</li>
</ul>
</div>
</div>
</div>
</div>
<h2 class="bm ptw bw0 xs2">带应用栏的双列布局 class="ct2_a cl"</h2>
<div class="ct2_a cl">
<div class="mn">
<div class="tb cl">
<ul>
<li class="a"><a href="#">标签一</a></li>
<li><a href="#">标签二</a></li>
<li><a href="#">标签三</a></li>
</ul>
</div>
<div class="bm bw0">
<h2 class="ptm pbm">图片列表:48px</h2>
<ul class="ml mls cl">
<li>
<img src="http://www.discuz.net/data/attachment/album/cover/1d/9719.jpg" alt="" />
<p>标题</p>
<span>附加信息</span>
</li>
<li>
<img src="http://www.discuz.net/data/attachment/album/cover/4d/9575.jpg" alt="" />
<p>标题</p>
<span>附加信息</span>
</li>
<li>
<img src="http://www.discuz.net/data/attachment/album/cover/a0/2250.jpg" alt="" />
<p>标题</p>
<span>附加信息</span>
</li>
</ul>
<h2 class="ptm pbm">图片列表:120px</h2>
<ul class="ml mlm cl">
<li>
<img src="http://www.discuz.net/data/attachment/album/cover/1d/9719.jpg" alt="" />
<p>标题</p>
<span>附加信息</span>
</li>
<li>
<img src="http://www.discuz.net/data/attachment/album/cover/4d/9575.jpg" alt="" />
<p>标题</p>
<span>附加信息</span>
</li>
<li>
<img src="http://www.discuz.net/data/attachment/album/cover/a0/2250.jpg" alt="" />
<p>标题</p>
<span>附加信息</span>
</li>
</ul>
</div>
</div>
<div class="appl">
<ul>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
</ul>
<hr class="l" />
<ul>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
</ul>
<hr class="l" />
<ul>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
</ul>
</div>
</div>
<h2 class="bm ptw bw0 xs2">带应用栏的三列布局 class="ct3_a cl"</h2>
<div class="ct3_a cl">
<div class="sd">
<div class="bm">
<div class="bm_h cl">
<strong>标题</strong> class="bm_h cl"
</div>
<div class="bm_c">
<strong>内容</strong> class="bm_c"
</div>
</div>
</div>
<div class="mn">
<h2 class="pbm">常规表单</h2>
<table cellspacing="0" cellpadding="0" class="tfm">
<tr>
<th>输入框</th>
<td><input type="text" name="" id="" class="px" /></td>
</tr>
<tr>
<th>输入框</th>
<td><input type="text" name="" id="" class="px" /></td>
</tr>
<tr>
<th>多选按钮</th>
<td><input type="checkbox" name="" id="" class="pc" /> Label</td>
</tr>
<tr>
<th>单选按钮</th>
<td><input type="radio" name="" id="" class="pr" /> Label</td>
</tr>
<tr>
<th>Label</th>
<td><input type="text" name="" id="" class="px" /></td>
</tr>
<tr>
<th>Label</th>
<td><input type="text" name="" id="" class="px" /></td>
</tr>
<tr>
<th>文本框</th>
<td><textarea class="pt"></textarea></td>
</tr>
<tr>
<th>按钮</th>
<td>
<button class="pn"><span>按钮</span></button>
<button class="pn pnc"><strong>按钮</strong></button>
<button class="pn"><span>按钮</span></button>
<button class="pn"><span>按钮</span></button>
</td>
</tr>
</table>
</div>
<div class="appl">
<ul>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
</ul>
<hr class="l" />
<ul>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
</ul>
<hr class="l" />
<ul>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
<li><img src="../../../static/image/feed/doing.gif" alt="" />Applications</li>
</ul>
</div>
</div>
</div>
</body>
</html>