提交 | 用户 | 时间
|
58d006
|
1 |
/* |
A |
2 |
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. |
|
3 |
For licensing, see LICENSE.md or http://ckeditor.com/license |
|
4 |
*/ |
|
5 |
|
|
6 |
.cke_tpl_list |
|
7 |
{ |
|
8 |
border: #dcdcdc 2px solid; |
|
9 |
background-color: #ffffff; |
|
10 |
overflow-y: auto; |
|
11 |
overflow-x: hidden; |
|
12 |
width: 100%; |
|
13 |
height: 220px; |
|
14 |
} |
|
15 |
|
|
16 |
.cke_tpl_item |
|
17 |
{ |
|
18 |
margin: 5px; |
|
19 |
padding: 7px; |
|
20 |
border: #eeeeee 1px solid; |
|
21 |
*width: 88%; |
|
22 |
} |
|
23 |
|
|
24 |
.cke_tpl_preview |
|
25 |
{ |
|
26 |
border-collapse: separate; |
|
27 |
text-indent:0; |
|
28 |
width: 100%; |
|
29 |
} |
|
30 |
.cke_tpl_preview td |
|
31 |
{ |
|
32 |
padding: 2px; |
|
33 |
vertical-align: middle; |
|
34 |
} |
|
35 |
.cke_tpl_preview .cke_tpl_preview_img |
|
36 |
{ |
|
37 |
width: 100px; |
|
38 |
} |
|
39 |
.cke_tpl_preview span |
|
40 |
{ |
|
41 |
white-space: normal; |
|
42 |
} |
|
43 |
|
|
44 |
.cke_tpl_title |
|
45 |
{ |
|
46 |
font-weight: bold; |
|
47 |
} |
|
48 |
|
|
49 |
.cke_tpl_list a:hover .cke_tpl_item, |
|
50 |
.cke_tpl_list a:focus .cke_tpl_item, |
|
51 |
.cke_tpl_list a:active .cke_tpl_item |
|
52 |
{ |
|
53 |
border: #ff9933 1px solid; |
|
54 |
background-color: #fffacd; |
|
55 |
} |
|
56 |
|
|
57 |
.cke_tpl_list a:hover *, |
|
58 |
.cke_tpl_list a:focus *, |
|
59 |
.cke_tpl_list a:active * |
|
60 |
{ |
|
61 |
cursor: pointer; |
|
62 |
} |
|
63 |
|
|
64 |
/* IE6 contextual selectors childs won't get :hover transition until, |
|
65 |
the hover style of the link itself contains certain CSS declarations.*/ |
|
66 |
.cke_browser_ie6 .cke_tpl_list a:active, |
|
67 |
.cke_browser_ie6 .cke_tpl_list a:hover, |
|
68 |
.cke_browser_ie6 .cke_tpl_list a:focus |
|
69 |
{ |
|
70 |
background-position: 0 0; |
|
71 |
} |
|
72 |
|
|
73 |
.cke_hc .cke_tpl_list a:hover .cke_tpl_item, |
|
74 |
.cke_hc .cke_tpl_list a:focus .cke_tpl_item, |
|
75 |
.cke_hc .cke_tpl_list a:active .cke_tpl_item |
|
76 |
{ |
|
77 |
border-width: 3px; |
|
78 |
} |
|
79 |
|
|
80 |
.cke_tpl_empty, .cke_tpl_loading |
|
81 |
{ |
|
82 |
text-align: center; |
|
83 |
padding: 5px; |
|
84 |
} |