diff --git a/serendipity_event_ckeditor/basic_toolbar1.css b/serendipity_event_ckeditor/basic_toolbar1.css index 2a48556f..73aaca62 100644 --- a/serendipity_event_ckeditor/basic_toolbar1.css +++ b/serendipity_event_ckeditor/basic_toolbar1.css @@ -8,24 +8,28 @@ 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 { + +#cke_1_top #cke_27.cke_toolbar > .cke_toolgroup { display: none; visibility: hidden; - width: 0 !important; + width: 0; + height: 0; } /* Firefox and IE */ -#cke_2_top #cke_64.cke_toolbar .cke_toolgroup { +#cke_2_top #cke_64.cke_toolbar > .cke_toolgroup { display: none; visibility: hidden; - width: 0 !important; + width: 0; + height: 0; } /* on Safari and Chrome webkit engines */ @media screen and (-webkit-min-device-pixel-ratio:0) { - #cke_2_top #cke_68.cke_toolbar .cke_toolgroup { + #cke_2_top #cke_68.cke_toolbar > .cke_toolgroup { display: none; visibility: hidden; - width: 0 !important; + width: 0; + height: 0; } } diff --git a/serendipity_event_ckeditor/basic_toolbar2.css b/serendipity_event_ckeditor/basic_toolbar2.css index 41b563cd..52306059 100644 --- a/serendipity_event_ckeditor/basic_toolbar2.css +++ b/serendipity_event_ckeditor/basic_toolbar2.css @@ -1,4 +1,4 @@ -/* last modified: 2014-11-28, > version S9Y 2.0 +/* 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) @@ -8,24 +8,28 @@ 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 { + +#cke_1_top #cke_27.cke_toolbar > .cke_toolgroup { display: none; visibility: hidden; - width: 0 !important; + width: 0; + height: 0; } /* Firefox and IE */ -#cke_2_top #cke_65.cke_toolbar .cke_toolgroup { +#cke_2_top #cke_65.cke_toolbar > .cke_toolgroup { display: none; visibility: hidden; - width: 0 !important; + width: 0; + height: 0; } /* on Safari and Chrome webkit engines */ @media screen and (-webkit-min-device-pixel-ratio:0) { - #cke_2_top #cke_69.cke_toolbar .cke_toolgroup { + #cke_2_top #cke_69.cke_toolbar > .cke_toolgroup { display: none; visibility: hidden; - width: 0 !important; + width: 0; + height: 0; } }