Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/ckeditor/css/ckeditor.admin.css @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
5 * Many of these styles are adapted directly from the default CKEditor theme | 5 * Many of these styles are adapted directly from the default CKEditor theme |
6 * "moono". | 6 * "moono". |
7 */ | 7 */ |
8 | 8 |
9 .ckeditor-toolbar { | 9 .ckeditor-toolbar { |
10 border: 1px solid #b6b6b6; | 10 margin: 5px 0; |
11 padding: 0.1667em 0.1667em 0.08em; | 11 padding: 0.1667em 0.1667em 0.08em; |
12 box-shadow: 0 1px 0 white inset; | |
13 background: #cfd1cf; | |
14 background-image: -webkit-linear-gradient(top, whiteSmoke, #cfd1cf); | |
15 background-image: linear-gradient(top, whiteSmoke, #cfd1cf); | |
16 margin: 5px 0; | |
17 /* Disallow any user selections in the drag-and-drop toolbar config UI. */ | 12 /* Disallow any user selections in the drag-and-drop toolbar config UI. */ |
18 -webkit-user-select: none; | 13 -webkit-user-select: none; |
19 -moz-user-select: none; | 14 -moz-user-select: none; |
20 -ms-user-select: none; | 15 -ms-user-select: none; |
21 user-select: none; | 16 user-select: none; |
17 border: 1px solid #b6b6b6; | |
18 background: #cfd1cf; | |
19 background-image: -webkit-linear-gradient(top, whiteSmoke, #cfd1cf); | |
20 background-image: linear-gradient(top, whiteSmoke, #cfd1cf); | |
21 box-shadow: 0 1px 0 white inset; | |
22 } | 22 } |
23 .ckeditor-toolbar-active { | 23 .ckeditor-toolbar-active { |
24 margin-top: 0.25em; | 24 margin-top: 0.25em; |
25 } | 25 } |
26 .ckeditor-toolbar-disabled { | 26 .ckeditor-toolbar-disabled { |
27 margin-bottom: 0.5em; | 27 margin-bottom: 0.5em; |
28 } | 28 } |
29 .ckeditor-toolbar ul, | 29 .ckeditor-toolbar ul, |
30 .ckeditor-toolbar-disabled ul { | 30 .ckeditor-toolbar-disabled ul { |
31 margin: 0; | |
32 padding: 0; | |
31 list-style: none; | 33 list-style: none; |
32 margin: 0; | |
33 padding: 0; | |
34 } | 34 } |
35 /* This is required to win over specificity of [dir="rtl"] ul */ | 35 /* This is required to win over specificity of [dir="rtl"] ul */ |
36 [dir="rtl"] .ckeditor-toolbar ul, | 36 [dir="rtl"] .ckeditor-toolbar ul, |
37 [dir="rtl"] .ckeditor-toolbar-disabled ul { | 37 [dir="rtl"] .ckeditor-toolbar-disabled ul { |
38 margin-right: 0; | 38 margin-right: 0; |
65 margin: 0 0.3333em; | 65 margin: 0 0.3333em; |
66 cursor: move; | 66 cursor: move; |
67 } | 67 } |
68 .ckeditor-group-names-are-visible .ckeditor-toolbar-group, | 68 .ckeditor-group-names-are-visible .ckeditor-toolbar-group, |
69 .ckeditor-add-new-group { | 69 .ckeditor-add-new-group { |
70 padding: 0.2em 0.4em; | |
70 border: 1px dotted #a6a6a6; | 71 border: 1px dotted #a6a6a6; |
71 border-radius: 3px; | 72 border-radius: 3px; |
72 padding: 0.2em 0.4em; | |
73 } | 73 } |
74 .ckeditor-toolbar-group.placeholder, | 74 .ckeditor-toolbar-group.placeholder, |
75 .ckeditor-toolbar-group.placeholder .ckeditor-toolbar-group-name { | 75 .ckeditor-toolbar-group.placeholder .ckeditor-toolbar-group-name { |
76 cursor: not-allowed; | 76 cursor: not-allowed; |
77 } | 77 } |
78 .ckeditor-toolbar-group.placeholder .ckeditor-toolbar-group-name { | 78 .ckeditor-toolbar-group.placeholder .ckeditor-toolbar-group-name { |
79 font-style: italic; | 79 font-style: italic; |
80 } | 80 } |
81 .ckeditor-toolbar-group-name { | 81 .ckeditor-toolbar-group-name { |
82 display: none; | 82 display: none; |
83 margin: 0.25em 0; | |
83 font-size: 1em; | 84 font-size: 1em; |
84 font-weight: normal; | 85 font-weight: normal; |
85 margin: 0.25em 0; | |
86 } | 86 } |
87 .ckeditor-group-names-are-visible .ckeditor-toolbar-group-name { | 87 .ckeditor-group-names-are-visible .ckeditor-toolbar-group-name { |
88 display: block; | 88 display: block; |
89 cursor: pointer; | 89 cursor: pointer; |
90 } | 90 } |
101 } | 101 } |
102 [dir="rtl"] .ckeditor-toolbar-group-buttons { | 102 [dir="rtl"] .ckeditor-toolbar-group-buttons { |
103 float: right; | 103 float: right; |
104 } | 104 } |
105 .ckeditor-groupnames-toggle { | 105 .ckeditor-groupnames-toggle { |
106 float: right; /* LTR */ | |
106 cursor: pointer; | 107 cursor: pointer; |
107 float: right; /* LTR */ | |
108 } | 108 } |
109 [dir="rtl"] .ckeditor-groupnames-toggle { | 109 [dir="rtl"] .ckeditor-groupnames-toggle { |
110 float: left; | 110 float: left; |
111 } | 111 } |
112 .ckeditor-toolbar .ckeditor-toolbar-group > li { | 112 .ckeditor-toolbar .ckeditor-toolbar-group > li { |
113 margin: 3px 6px; | |
114 padding: 3px; | |
113 border: 1px solid white; | 115 border: 1px solid white; |
114 border-radius: 5px; | 116 border-radius: 5px; |
115 background-image: -webkit-linear-gradient(transparent 60%, rgba(0, 0, 0, 0.1)); | 117 background-image: -webkit-linear-gradient(transparent 60%, rgba(0, 0, 0, 0.1)); |
116 background-image: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.1)); | 118 background-image: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.1)); |
117 margin: 3px 6px; | |
118 padding: 3px; | |
119 } | 119 } |
120 .ckeditor-toolbar-configuration .fieldset-description { | 120 .ckeditor-toolbar-configuration .fieldset-description { |
121 margin-bottom: 1em; | 121 margin-bottom: 1em; |
122 } | 122 } |
123 .ckeditor-toolbar-disabled .ckeditor-toolbar-available, | 123 .ckeditor-toolbar-disabled .ckeditor-toolbar-available, |
151 } | 151 } |
152 .ckeditor-toolbar-disabled .ckeditor-buttons li { | 152 .ckeditor-toolbar-disabled .ckeditor-buttons li { |
153 margin: 2px; | 153 margin: 2px; |
154 } | 154 } |
155 .ckeditor-buttons { | 155 .ckeditor-buttons { |
156 min-width: 26px; | |
156 min-height: 26px; | 157 min-height: 26px; |
157 min-width: 26px; | |
158 } | 158 } |
159 .ckeditor-buttons li { | 159 .ckeditor-buttons li { |
160 padding: 0; | 160 float: left; /* LTR */ |
161 margin: 0; | 161 margin: 0; |
162 float: left; /* LTR */ | 162 padding: 0; |
163 } | 163 } |
164 [dir="rtl"] .ckeditor-buttons li { | 164 [dir="rtl"] .ckeditor-buttons li { |
165 float: right; | 165 float: right; |
166 } | 166 } |
167 .ckeditor-buttons li a, | 167 .ckeditor-buttons li a, |
168 .ckeditor-add-new-group button { | 168 .ckeditor-add-new-group button { |
169 color: #474747; | |
169 background: #e4e4e4; | 170 background: #e4e4e4; |
170 background-image: -webkit-linear-gradient(top, white, #e4e4e4); | 171 background-image: -webkit-linear-gradient(top, white, #e4e4e4); |
171 background-image: linear-gradient(top, white, #e4e4e4); | 172 background-image: linear-gradient(top, white, #e4e4e4); |
172 color: #474747; | |
173 } | 173 } |
174 .ckeditor-buttons li a { | 174 .ckeditor-buttons li a { |
175 border: 0; | 175 position: relative; |
176 cursor: move; | |
177 display: block; | 176 display: block; |
178 min-height: 18px; | 177 min-height: 18px; |
178 padding: 4px 6px; | |
179 cursor: move; | |
180 white-space: nowrap; | |
181 text-decoration: none; | |
182 border: 0; | |
183 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); | |
179 line-height: 1.4; | 184 line-height: 1.4; |
180 padding: 4px 6px; | |
181 position: relative; | |
182 text-decoration: none; | |
183 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); | |
184 white-space: nowrap; | |
185 } | 185 } |
186 .ckeditor-toolbar-dividers { | 186 .ckeditor-toolbar-dividers { |
187 float: right; /* LTR */ | 187 float: right; /* LTR */ |
188 } | 188 } |
189 [dir="rtl"] .ckeditor-toolbar-dividers { | 189 [dir="rtl"] .ckeditor-toolbar-dividers { |
190 float: left; | 190 float: left; |
191 } | 191 } |
192 .ckeditor-buttons li .cke-icon-only { | 192 .ckeditor-buttons li .cke-icon-only { |
193 text-indent: -9999px; | |
194 width: 16px; | |
195 /* Firefox includes the offscreen text in the focus indicator, resulting in a | 193 /* Firefox includes the offscreen text in the focus indicator, resulting in a |
196 far too wide focus indicator. This fixes that. */ | 194 far too wide focus indicator. This fixes that. */ |
197 overflow: hidden; | 195 overflow: hidden; |
196 width: 16px; | |
197 text-indent: -9999px; | |
198 } | 198 } |
199 .ckeditor-buttons .cke_button_icon img { | 199 .ckeditor-buttons .cke_button_icon img { |
200 width: 16px; | 200 width: 16px; |
201 height: 16px; | 201 height: 16px; |
202 } | 202 } |
233 } | 233 } |
234 .ckeditor-toolbar-group-placeholder { | 234 .ckeditor-toolbar-group-placeholder { |
235 border-radius: 4px; | 235 border-radius: 4px; |
236 } | 236 } |
237 .ckeditor-multiple-buttons { | 237 .ckeditor-multiple-buttons { |
238 float: left; /* LTR */ | |
239 margin: 5px; | |
238 padding: 1px 2px; | 240 padding: 1px 2px; |
239 margin: 5px; | |
240 list-style: none; | 241 list-style: none; |
241 float: left; /* LTR */ | |
242 } | 242 } |
243 [dir="rtl"] .ckeditor-multiple-buttons { | 243 [dir="rtl"] .ckeditor-multiple-buttons { |
244 float: right; | 244 float: right; |
245 } | 245 } |
246 .ckeditor-multiple-buttons li { | 246 .ckeditor-multiple-buttons li { |
250 } | 250 } |
251 [dir="rtl"] .ckeditor-multiple-buttons li { | 251 [dir="rtl"] .ckeditor-multiple-buttons li { |
252 float: right; | 252 float: right; |
253 } | 253 } |
254 .ckeditor-multiple-buttons li a { | 254 .ckeditor-multiple-buttons li a { |
255 cursor: move; | |
256 display: inline-block; | 255 display: inline-block; |
257 min-height: 18px; | 256 min-height: 18px; |
258 line-height: 1.4; | |
259 margin: 0; | 257 margin: 0; |
260 padding: 2px 0; | 258 padding: 2px 0; |
259 cursor: move; | |
260 line-height: 1.4; | |
261 } | 261 } |
262 .ckeditor-buttons .ckeditor-group-button-separator, | 262 .ckeditor-buttons .ckeditor-group-button-separator, |
263 .ckeditor-multiple-buttons .ckeditor-group-button-separator { | 263 .ckeditor-multiple-buttons .ckeditor-group-button-separator { |
264 margin: -1px -3px -2px; | 264 margin: -1px -3px -2px; |
265 } | 265 } |
266 .ckeditor-buttons .ckeditor-group-button-separator a, | 266 .ckeditor-buttons .ckeditor-group-button-separator a, |
267 .ckeditor-multiple-buttons .ckeditor-group-button-separator a { | 267 .ckeditor-multiple-buttons .ckeditor-group-button-separator a { |
268 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; | |
269 width: 13px; | |
270 padding: 0; | |
271 height: 29px; | |
272 position: relative; | 268 position: relative; |
273 z-index: 10; | 269 z-index: 10; |
270 width: 13px; | |
271 height: 29px; | |
272 padding: 0; | |
273 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; | |
274 } | 274 } |
275 ul.ckeditor-buttons li.ckeditor-button-separator a { | 275 ul.ckeditor-buttons li.ckeditor-button-separator a { |
276 position: relative; | |
277 z-index: 10; | |
278 width: 1px; | |
279 height: 24px; | |
280 margin: 1px 0 0; | |
281 padding: 0; | |
276 background: #e4e4e4; | 282 background: #e4e4e4; |
277 background-image: -webkit-linear-gradient(#e4e4e4, #b4b4b4); | 283 background-image: -webkit-linear-gradient(#e4e4e4, #b4b4b4); |
278 background-image: linear-gradient(#e4e4e4, #b4b4b4); | 284 background-image: linear-gradient(#e4e4e4, #b4b4b4); |
279 height: 24px; | |
280 margin: 1px 0 0; | |
281 padding: 0; | |
282 position: relative; | |
283 width: 1px; | |
284 z-index: 10; | |
285 } | 285 } |
286 .ckeditor-multiple-buttons .ckeditor-button-separator a { | 286 .ckeditor-multiple-buttons .ckeditor-button-separator a { |
287 width: 2px; | 287 width: 2px; |
288 padding: 0; | |
289 height: 26px; | 288 height: 26px; |
290 margin: 0 10px; | 289 margin: 0 10px; |
290 padding: 0; | |
291 } | 291 } |
292 .ckeditor-separator { | 292 .ckeditor-separator { |
293 display: block; | |
294 width: 1px; | |
295 height: 18px; | |
296 margin: 5px 0; | |
293 background-color: silver; | 297 background-color: silver; |
294 background-color: rgba(0, 0, 0, 0.2); | 298 background-color: rgba(0, 0, 0, 0.2); |
295 margin: 5px 0; | |
296 height: 18px; | |
297 width: 1px; | |
298 display: block; | |
299 box-shadow: 1px 0 1px rgba(255, 255, 255, 0.5); | 299 box-shadow: 1px 0 1px rgba(255, 255, 255, 0.5); |
300 } | 300 } |
301 .ckeditor-button-arrow { | 301 .ckeditor-button-arrow { |
302 display: inline-block; | |
302 width: 0; | 303 width: 0; |
304 margin: 0 4px 2px; | |
303 text-align: center; | 305 text-align: center; |
306 border-top: 3px solid #333; | |
307 border-right: 3px solid transparent; | |
304 border-left: 3px solid transparent; | 308 border-left: 3px solid transparent; |
305 border-right: 3px solid transparent; | |
306 border-top: 3px solid #333; | |
307 display: inline-block; | |
308 margin: 0 4px 2px; | |
309 } | 309 } |
310 .ckeditor-row-controls { | 310 .ckeditor-row-controls { |
311 float: right; /* LTR */ | 311 float: right; /* LTR */ |
312 font-size: 18px; | |
313 width: 40px; | 312 width: 40px; |
314 text-align: right; /* LTR */ | 313 text-align: right; /* LTR */ |
314 font-size: 18px; | |
315 } | 315 } |
316 [dir="rtl"] .ckeditor-row-controls { | 316 [dir="rtl"] .ckeditor-row-controls { |
317 float: left; | 317 float: left; |
318 text-align: left; | 318 text-align: left; |
319 } | 319 } |
320 .ckeditor-row-controls a { | 320 .ckeditor-row-controls a { |
321 display: inline-block; | 321 display: inline-block; |
322 box-sizing: border-box; | 322 box-sizing: border-box; |
323 width: 20px; | |
324 height: 28px; | |
323 padding: 6px 2px; | 325 padding: 6px 2px; |
324 height: 28px; | 326 text-decoration: none; |
325 width: 20px; | 327 color: #333; |
328 font-weight: bold; | |
326 line-height: 0.9; | 329 line-height: 0.9; |
327 font-weight: bold; | 330 } |
328 color: #333; | |
329 text-decoration: none; | |
330 } |