2014-11-28 17:19:13 +01:00
|
|
|
/* last modified: 2014-11-28, < version S9Y 2.0
|
2014-11-28 16:26:41 +01:00
|
|
|
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,
|
2014-11-28 16:51:30 +01:00
|
|
|
which for the BASIC emptied image toolbar group is DOM ID 27/64 in FF/IE is 27/68 in Chrome.
|
2014-11-28 16:26:41 +01:00
|
|
|
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!)
|
|
|
|
*/
|
2014-11-28 19:39:25 +01:00
|
|
|
|
|
|
|
#cke_1_top #cke_27.cke_toolbar > .cke_toolgroup {
|
2014-11-28 16:26:41 +01:00
|
|
|
display: none;
|
|
|
|
visibility: hidden;
|
2014-11-28 19:39:25 +01:00
|
|
|
width: 0;
|
|
|
|
height: 0;
|
2014-11-28 16:26:41 +01:00
|
|
|
}
|
|
|
|
/* Firefox and IE */
|
2014-11-28 19:39:25 +01:00
|
|
|
#cke_2_top #cke_64.cke_toolbar > .cke_toolgroup {
|
2014-11-28 16:26:41 +01:00
|
|
|
display: none;
|
|
|
|
visibility: hidden;
|
2014-11-28 19:39:25 +01:00
|
|
|
width: 0;
|
|
|
|
height: 0;
|
2014-11-28 16:26:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* on Safari and Chrome webkit engines */
|
|
|
|
@media screen and (-webkit-min-device-pixel-ratio:0)
|
|
|
|
{
|
2014-11-28 19:39:25 +01:00
|
|
|
#cke_2_top #cke_68.cke_toolbar > .cke_toolgroup {
|
2014-11-28 16:26:41 +01:00
|
|
|
display: none;
|
|
|
|
visibility: hidden;
|
2014-11-28 19:39:25 +01:00
|
|
|
width: 0;
|
|
|
|
height: 0;
|
2014-11-28 16:26:41 +01:00
|
|
|
}
|
|
|
|
}
|