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