You should be able to do this as part of the process_CSS function you mention. Why do you need to do it before that point?
David Scotson
Posts made by David Scotson
There's a .editing class added to the body tag in editing mode that is used for targetting styles in this way.
Really great theme. As well as the big stuff, there's so many great little touches, like... the use of font-awesome for a customisable header logo, the look of the logged-in user block, the blocks in the dark footer, advertising-block icons etc.. Love it.
Bas Brands, who comments a couple of times in that bug, has this working in some of his BootstrapBase-derived themes so it is possible. On the other hand all that area (the layout of columns) just got a fairly thorough rewrite, which may have broken it again.
Hi Vijay,
that's one of the benefits of sending a different theme to mobile devices, you can drop all the IE8 specific workarounds and not worry about it, since mobile devices are generally more advanced in their CSS support.
However, I'm keen for any such improvements to be added to the Bootstrapbase theme in a way that benefits both desktop and mobile users e.g. if you put all the IE8 workarounds in a separate CSS file then you can send that only to users of IE8, not users of Chrome, whether on a desktop or mobile device.
Currently though, deleting CSS intended for IE6 is more pressing and benefits even users on IE8 while reducing downloads for mobile devices on 3G networks and with small caches.
There's some bugs related to this here: MDL-39094 "Make Moodle's CSS smaller"
that's one of the benefits of sending a different theme to mobile devices, you can drop all the IE8 specific workarounds and not worry about it, since mobile devices are generally more advanced in their CSS support.
However, I'm keen for any such improvements to be added to the Bootstrapbase theme in a way that benefits both desktop and mobile users e.g. if you put all the IE8 workarounds in a separate CSS file then you can send that only to users of IE8, not users of Chrome, whether on a desktop or mobile device.
Currently though, deleting CSS intended for IE6 is more pressing and benefits even users on IE8 while reducing downloads for mobile devices on 3G networks and with small caches.
There's some bugs related to this here: MDL-39094 "Make Moodle's CSS smaller"