So I'm working on the plugin system and a problem hits me. I want to display three calendars in a row together at times. No bother, I thought, I seem to remember three-columns being declared for that, but it was obviously a long time ago because it's no big deal.
So, I thought, fine, I'll copy the definition for two-columns and adjust the width... except I can't, because you can't use extends in a plugin's CSS file to extend something in the main files. There's all kinds of good reasons for that, mostly that you don't want to potentially make exponential CSS files to cover for each combination of plugin where the files are loaded (three plugins will potentially generate 8 variations of everything)
That also rules out using inline-block as a base for extending (since that's what I really need here), so I figured I'd pull it in as a class, except I can't because it's defined as a virtual style (which means there's several loose places in the source where it IS used that need to be fixed)
Now, it's not a huge deal, I can use display: inline-block and only cut out IE6/7, and for a plugin I'm cool with that - but it does irk me that something that is in the core, I can't meaningfully use in a plugin. I also don't know how to get around it but I'm getting it out here in case someone does have an idea.
So, I thought, fine, I'll copy the definition for two-columns and adjust the width... except I can't, because you can't use extends in a plugin's CSS file to extend something in the main files. There's all kinds of good reasons for that, mostly that you don't want to potentially make exponential CSS files to cover for each combination of plugin where the files are loaded (three plugins will potentially generate 8 variations of everything)
That also rules out using inline-block as a base for extending (since that's what I really need here), so I figured I'd pull it in as a class, except I can't because it's defined as a virtual style (which means there's several loose places in the source where it IS used that need to be fixed)
Now, it's not a huge deal, I can use display: inline-block and only cut out IE6/7, and for a plugin I'm cool with that - but it does irk me that something that is in the core, I can't meaningfully use in a plugin. I also don't know how to get around it but I'm getting it out here in case someone does have an idea.




