8b771c74c92077a649fa941c098d0fc480cfa900
[yaffs-website] / web / core / modules / ckeditor / css / ckeditor.admin.css
1 /**
2  * @file
3  * Styles for configuration of CKEditor module.
4  *
5  * Many of these styles are adapted directly from the default CKEditor theme
6  * "moono".
7  */
8
9
10
11 .ckeditor-toolbar {
12   border: 1px solid #b6b6b6;
13   padding: 0.1667em 0.1667em 0.08em;
14   box-shadow: 0 1px 0 white inset;
15   background: #cfd1cf;
16   background-image: -webkit-linear-gradient(top, whiteSmoke, #cfd1cf);
17   background-image: linear-gradient(top, whiteSmoke, #cfd1cf);
18   margin: 5px 0;
19   /* Disallow any user selections in the drag-and-drop toolbar config UI. */
20   -webkit-user-select: none;
21   -moz-user-select:    none;
22   -ms-user-select:     none;
23   user-select:         none;
24 }
25 .ckeditor-toolbar-active {
26   margin-top: 0.25em;
27 }
28 .ckeditor-toolbar-disabled {
29   margin-bottom: 0.5em;
30 }
31 .ckeditor-toolbar ul,
32 .ckeditor-toolbar-disabled ul {
33   list-style: none;
34   margin: 0;
35   padding: 0;
36 }
37 /* This is required to win over specificity of [dir="rtl"] ul */
38 [dir="rtl"] .ckeditor-toolbar ul,
39 [dir="rtl"] .ckeditor-toolbar-disabled ul {
40   margin-right: 0;
41 }
42
43 .ckeditor-row {
44   padding: 2px 0 3px;
45   border-radius: 3px;
46 }
47 .ckeditor-group-names-are-visible .ckeditor-row {
48   border: 1px solid whitesmoke;
49 }
50 .ckeditor-row + .ckeditor-row {
51   margin-top: 0.25em;
52 }
53 .ckeditor-toolbar-group,
54 .ckeditor-toolbar-group-placeholder,
55 .ckeditor-add-new-group {
56   float: left; /* LTR */
57 }
58 [dir="rtl"] .ckeditor-toolbar-group,
59 [dir="rtl"] .ckeditor-toolbar-group-placeholder,
60 [dir="rtl"] .ckeditor-add-new-group {
61   float: right;
62 }
63 .ckeditor-toolbar-groups {
64   min-height: 2em;
65 }
66 .ckeditor-toolbar-group {
67   margin: 0 0.3333em;
68   cursor: move;
69 }
70 .ckeditor-group-names-are-visible .ckeditor-toolbar-group,
71 .ckeditor-add-new-group {
72   border: 1px dotted #a6a6a6;
73   border-radius: 3px;
74   padding: 0.2em 0.4em;
75 }
76 .ckeditor-toolbar-group.placeholder,
77 .ckeditor-toolbar-group.placeholder .ckeditor-toolbar-group-name {
78   cursor: not-allowed;
79 }
80 .ckeditor-toolbar-group.placeholder .ckeditor-toolbar-group-name {
81   font-style: italic;
82 }
83 .ckeditor-toolbar-group-name {
84   display: none;
85   font-size: 1em;
86   font-weight: normal;
87   margin: 0.25em 0;
88 }
89 .ckeditor-group-names-are-visible .ckeditor-toolbar-group-name {
90   display: block;
91   cursor: pointer;
92 }
93 .ckeditor-toolbar-active .placeholder,
94 .ckeditor-toolbar-active .ckeditor-add-new-group {
95   display: none;
96 }
97 .ckeditor-group-names-are-visible .placeholder,
98 .ckeditor-group-names-are-visible .ckeditor-add-new-group {
99   display: block;
100 }
101 .ckeditor-toolbar-group-buttons {
102   float: left; /* LTR */
103 }
104 [dir="rtl"] .ckeditor-toolbar-group-buttons {
105   float: right;
106 }
107 .ckeditor-groupnames-toggle {
108   cursor: pointer;
109   float: right; /* LTR */
110 }
111 [dir="rtl"] .ckeditor-groupnames-toggle {
112   float: left;
113 }
114 .ckeditor-toolbar .ckeditor-toolbar-group > li {
115   border: 1px solid white;
116   border-radius: 5px;
117   background-image: -webkit-linear-gradient(transparent 60%, rgba(0, 0, 0, 0.1));
118   background-image: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.1));
119   margin: 3px 6px;
120   padding: 3px;
121 }
122 .ckeditor-toolbar-configuration .fieldset-description{
123   margin-bottom: 1em;
124 }
125 .ckeditor-toolbar-disabled .ckeditor-toolbar-available,
126 .ckeditor-toolbar-disabled .ckeditor-toolbar-dividers {
127   box-sizing: border-box;
128 }
129 .ckeditor-toolbar-disabled .ckeditor-toolbar-available {
130   float: left; /* LTR */
131   width: 80%;
132 }
133 [dir="rtl"] .ckeditor-toolbar-disabled .ckeditor-toolbar-available {
134   float: right;
135 }
136 .ckeditor-toolbar-disabled .ckeditor-toolbar-dividers {
137   float: right; /* LTR */
138   width: 20%;
139 }
140 [dir="rtl"] .ckeditor-toolbar-disabled .ckeditor-toolbar-dividers {
141   float: left;
142 }
143 .ckeditor-toolbar-disabled .ckeditor-buttons li a,
144 .ckeditor-toolbar .ckeditor-buttons,
145 .ckeditor-add-new-group button {
146   border: 1px solid #a6a6a6;
147   border-bottom-color: #979797;
148   border-radius: 3px;
149   box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 1px 0 rgba(255, 255, 255, 0.15) inset;
150 }
151 .ckeditor-toolbar-disabled .ckeditor-buttons {
152   border: 0;
153 }
154 .ckeditor-toolbar-disabled .ckeditor-buttons li {
155   margin: 2px;
156 }
157 .ckeditor-buttons {
158   min-height: 26px;
159   min-width: 26px;
160 }
161 .ckeditor-buttons li {
162   padding: 0;
163   margin: 0;
164   float: left; /* LTR */
165 }
166 [dir="rtl"] .ckeditor-buttons li {
167   float: right;
168 }
169 .ckeditor-buttons li a,
170 .ckeditor-add-new-group button {
171   background: #e4e4e4;
172   background-image: -webkit-linear-gradient(top, white, #e4e4e4);
173   background-image: linear-gradient(top, white, #e4e4e4);
174   color: #474747;
175 }
176 .ckeditor-buttons li a {
177   border: 0;
178   cursor: move;
179   display: block;
180   min-height: 18px;
181   line-height: 1.4;
182   padding: 4px 6px;
183   position: relative;
184   text-decoration: none;
185   text-shadow: 0 1px 0 rgba(255,255,255,.5);
186   white-space: nowrap;
187 }
188 .ckeditor-toolbar-dividers {
189   float: right; /* LTR */
190 }
191 [dir="rtl"] .ckeditor-toolbar-dividers {
192   float: left;
193 }
194 .ckeditor-buttons li .cke-icon-only {
195   text-indent: -9999px;
196   width: 16px;
197   /* Firefox includes the offscreen text in the focus indicator, resulting in a
198      far too wide focus indicator. This fixes that. */
199   overflow: hidden;
200 }
201 .ckeditor-buttons .cke_button_icon img {
202   width: 16px;
203   height: 16px;
204 }
205 .ckeditor-buttons li .cke_ltr {
206   direction: ltr;
207 }
208 .ckeditor-buttons li .cke_rtl {
209   direction: rtl;
210 }
211 .ckeditor-buttons li a:focus,
212 .ckeditor-buttons li a:active,
213 .ckeditor-multiple-buttons li a:focus {
214   z-index: 11; /* Ensure focused buttons show their outline on all sides. */
215 }
216 .ckeditor-buttons li:first-child a {
217   border-top-left-radius: 2px; /* LTR */
218   border-bottom-left-radius: 2px; /* LTR */
219 }
220 [dir="rtl"] .ckeditor-buttons li:first-child a {
221   border-top-right-radius: 2px;
222   border-bottom-right-radius: 2px;
223 }
224 .ckeditor-buttons li:last-child a {
225   border-top-right-radius: 2px; /* LTR */
226   border-bottom-right-radius: 2px; /* LTR */
227 }
228 [dir="rtl"] .ckeditor-buttons li:last-child a {
229   border-top-left-radius: 2px;
230   border-bottom-left-radius: 2px;
231 }
232 .ckeditor-button-placeholder,
233 .ckeditor-toolbar-group-placeholder {
234   background: #9dcae7;
235 }
236 .ckeditor-toolbar-group-placeholder {
237   border-radius: 4px;
238 }
239 .ckeditor-multiple-buttons {
240   padding: 1px 2px;
241   margin: 5px;
242   list-style: none;
243   float: left; /* LTR */
244 }
245 [dir="rtl"] .ckeditor-multiple-buttons {
246   float: right;
247 }
248 .ckeditor-multiple-buttons li {
249   float: left; /* LTR */
250   margin: 0;
251   padding: 0;
252 }
253 [dir="rtl"] .ckeditor-multiple-buttons li {
254   float: right;
255 }
256 .ckeditor-multiple-buttons li a {
257   cursor: move;
258   display: inline-block;
259   min-height: 18px;
260   line-height: 1.4;
261   margin: 0;
262   padding: 2px 0;
263 }
264 .ckeditor-buttons .ckeditor-group-button-separator,
265 .ckeditor-multiple-buttons .ckeditor-group-button-separator {
266   margin: -1px -3px -2px;
267 }
268 .ckeditor-buttons .ckeditor-group-button-separator a,
269 .ckeditor-multiple-buttons .ckeditor-group-button-separator a {
270   background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAdCAMAAABG4xbVAAAAhFBMVEUAAACmpqampqampqb////l5eX////5+fmmpqatra2urq6vr6+1tbW2tra4uLi6urq8vLzb29ve3t7i4uLl5eXn5+fo6Ojp6enq6urr6+vs7Ozt7e3u7u7v7+/w8PDx8fHy8vLz8/P09PT19fX29vb39/f4+Pj5+fn6+vr7+/v8/Pz+/v7qIQO+AAAACHRSTlMATVmAi8XM29MuWToAAABjSURBVBiVrc5BCoAwDETRMKhtRBduev9LKm1xjItWRBBE6Nt9QkIwOTcUzk0Imi8aoMssxbgoTHMtqsFMLta0vPh2N49HyfdelPg6k9uvX/a+Bmggt1qJRNzQFVgjEnkUZDoBmH57VSypjg4AAAAASUVORK5CYII=) no-repeat center center;
271   width: 13px;
272   padding: 0;
273   height: 29px;
274   position: relative;
275   z-index: 10;
276 }
277 ul.ckeditor-buttons li.ckeditor-button-separator a {
278   background: #e4e4e4;
279   background-image: -webkit-linear-gradient(#e4e4e4, #b4b4b4);
280   background-image: linear-gradient(#e4e4e4, #b4b4b4);
281   height: 24px;
282   margin: 1px 0 0;
283   padding: 0;
284   position: relative;
285   width: 1px;
286   z-index: 10;
287 }
288 .ckeditor-multiple-buttons .ckeditor-button-separator a {
289   width: 2px;
290   padding: 0;
291   height: 26px;
292   margin: 0 10px;
293 }
294 .ckeditor-separator {
295   background-color: silver;
296   background-color: rgba(0, 0, 0, 0.2);
297   margin: 5px 0;
298   height: 18px;
299   width: 1px;
300   display: block;
301   box-shadow: 1px 0 1px rgba(255, 255, 255, 0.5)
302 }
303 .ckeditor-button-arrow {
304   width: 0;
305   text-align: center;
306   border-left: 3px solid transparent;
307   border-right: 3px solid transparent;
308   border-top: 3px solid #333;
309   display: inline-block;
310   margin: 0 4px 2px;
311 }
312 .ckeditor-row-controls {
313   float: right; /* LTR */
314   font-size: 18px;
315   width: 40px;
316   text-align: right; /* LTR */
317 }
318 [dir="rtl"] .ckeditor-row-controls {
319   float: left;
320   text-align: left;
321 }
322 .ckeditor-row-controls a {
323   display: inline-block;
324   box-sizing: border-box;
325   padding: 6px 2px;
326   height: 28px;
327   width: 20px;
328   line-height: 0.9;
329   font-weight: bold;
330   color: #333;
331   text-decoration: none;
332 }