]>
git.immae.eu Git - perso/Immae/Projets/packagist/ludivine-ckeditor-component.git/blob - sources/skins/moonocolor/panel.css
2 Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
3 For licensing, see LICENSE.md or http://ckeditor.com/license
7 panel.css (part of editor.css)
8 ================================
10 Panels are floating elements that can hold different types of contents.
11 The following are common uses of it:
13 - The element that toolbar combos display when opening them.
15 - The list of items displayed by "menu buttons" (e.g. scayt).
16 - The panel shown when opening "panel buttons" (e.g. color buttons).
18 Panel contents are wrapped into an iframe, so it is possible to have additional
19 CSS loaded inside them (e.g. to have more accurate preview on the styles combo).
21 The following is a visual representation of the outer elements of a panel:
23 +-- .cke_panel(*) ---------------------+
24 | +-- IFRAME.cke_panel_frame --------+ |
25 | | +-- HTML.cke_panel_container --+ | |
26 | | | +-- .cke_panel_block ------+ | | |
28 | | | | (contents here) | | | |
30 | | | +--------------------------+ | | |
31 | | +------------------------------+ | |
32 | +----------------------------------+ |
33 +--------------------------------------+
35 (*) All kinds of panel share the above structure. Menu panels adds the
36 .cke_menu_panel class to the outer element, while toolbar combos add the
37 .cke_combopanel class.
39 This file also defines styles for panel lists (used by combos). For menu-like
40 panel contents and color panels check menu.css and colorpanel.css.
43 /* The box that holds an IFRAME. It's inserted into a host document and positioned
44 absolutely by the application. It floats above the host document/editor. */
47 /* Restore the loading hide */
53 background-color: #fff;
54 border: 1px solid
#b6b6b6;
55 border-bottom-color: #999;
59 box-shadow: 0 0 3px rgba
(0,0,0,.15);
62 /* This class represents panels which are used as context menus. */
69 /* This class represents panels which are used by rich combos. */
76 /* The IFRAME the panel is wrapped into. */
87 /* The HTML document which is a direct descendant of the IFRAME */
95 Here we start the definition of panel lists (e.g. combo panels). The following
96 is its visual representation:
98 +-- .cke_panel_block -----------------+
99 | +-- .cke_panel_grouptitle --------+ |
101 | +---------------------------------+ |
102 | +-- .cke_panel_list --------------+ |
103 | | +-- .cke_panel_listItem ------+ | |
104 | | | +-- a --------------------+ | | |
105 | | | | +-- span -------------+ | | | |
107 | | | | +---------------------+ | | | |
108 | | | +-------------------------+ | | |
109 | | +-----------------------------+ | |
110 | | +-- .cke_panel_listItem ------+ | |
111 | | | +-- a --------------------+ | | |
112 | | | | +-- span -------------+ | | | |
114 | | | | +---------------------+ | | | |
115 | | | +-------------------------+ | | |
116 | | +-----------------------------+ | |
118 | +---------------------------------+ |
119 +-------------------------------------+
123 /* The list of panel items. */
126 list-style-type: none
;
132 /* The item of .cke_panel_list */
139 /* The child of .cke_panel_listItem. These elements contain spans which are
140 to display a real name of the property which is visible for an end-user. */
141 .cke_panel_listItem a
145 border: 1px solid
#fff;
146 color: inherit
!important
;
147 text-decoration: none
;
149 text-overflow: ellipsis
;
155 * html
.cke_panel_listItem a
159 /* IE is not able to inherit the color, so we must force it to black */
164 *:first-child
+html
.cke_panel_listItem a
166 /* IE is not able to inherit the color, so we must force it to black */
170 .cke_panel_listItem
.cke_selected a
172 border: 1px solid
#dedede;
173 background-color: #f2f2f2;
175 box-shadow: 0 0 2px rgba
(0,0,0,.1) inset
;
178 .cke_panel_listItem
a:hover
,
179 .cke_panel_listItem
a:focus
,
180 .cke_panel_listItem
a:active
182 border-color: #dedede;
183 background-color: #f2f2f2;
185 box-shadow: 0 0 2px rgba
(0,0,0,.1) inset
;
188 .cke_hc
.cke_panel_listItem a
193 .cke_hc
.cke_panel_listItem
a:hover
,
194 .cke_hc
.cke_panel_listItem
a:focus
,
195 .cke_hc
.cke_panel_listItem
a:active
201 /* The title of the entire panel which is visible on top of the list. */
202 .cke_panel_grouptitle
212 text-shadow: 0 1px 0 rgba
(255,255,255,.75);
213 border-bottom: 1px solid
#b6b6b6;
215 border-radius: 2px 2px 0 0;
217 box-shadow: 0 1px 0 #fff inset
;
220 background-image: linear-gradient
(to bottom
, #f5f5f5, #cfd1cf);
221 filter: progid:DXImageTransform
.Microsoft
.gradient
(gradientType
=0, startColorstr
='#f5f5f5', endColorstr
='#cfd1cf');
224 /* The following styles set defaults of the elements used by the Paragraph
226 .cke_panel_listItem p
,
227 .cke_panel_listItem h1
,
228 .cke_panel_listItem h2
,
229 .cke_panel_listItem h3
,
230 .cke_panel_listItem h4
,
231 .cke_panel_listItem h5
,
232 .cke_panel_listItem h6
,
233 .cke_panel_listItem pre