additional_plugins/serendipity_event_ckeditor/basic_toolbar1.css
Ian 0bfa3bde51 better ca1e81a again
Gosh - even node IDs were counted different in 1.7 and 2.0 envoronments!
Needs to get refactored in future.
2014-11-28 17:19:13 +01:00

32 lines
1 KiB
CSS

/* last modified: 2014-11-28, < version S9Y 2.0
CKEDITOR Toolbar tweak to hide the cke-image widget buttons.
Keeps image widget functionality needed for S9y-MediaLibrary inserts,
but disables these button to eyes! (cke_backend.css)
Sadly firefox and chrome engines count node IDs differently in textareas,
which for the BASIC emptied image toolbar group is DOM ID 27/64 in FF/IE is 27/68 in Chrome.
The Basic toolbar tweak is separated in here, to not interfere with other toolbars!
Hides an empty image toolgroup in toolbar BASIC (do not remove the .cke_toolbar class!)
*/
#cke_1_top #cke_27.cke_toolbar {
display: none;
visibility: hidden;
width: 0 !important;
}
/* Firefox and IE */
#cke_2_top #cke_64.cke_toolbar .cke_toolgroup {
display: none;
visibility: hidden;
width: 0 !important;
}
/* on Safari and Chrome webkit engines */
@media screen and (-webkit-min-device-pixel-ratio:0)
{
#cke_2_top #cke_68.cke_toolbar .cke_toolgroup {
display: none;
visibility: hidden;
width: 0 !important;
}
}