Append admin styles.css
Posted: Thu Dec 04, 2008 5:35 am
So let's say I have a reasonable understanding of admin templates and the admin css...
Lets also say that I like the the default admin template 99.9% for a given template....
but that template needs something the default template does not provide....
For instance, pluginmanager assumes I only have 3 sidebars:
But maybe I have 4, and want that width to be 25%.. or 5, and I want that width to be 20%, etc.
Or maybe, I have a special class/id emitted in my template config that emits a class not previously defined by the admin template:
Can anyone think of a way that we could, perhaps, APPEND a stylesheet to the regular stylesheet on the backend instead of taking the default and just adding the few extra styles? Maybe, if a css file of a certain name existed in /templates/mytemplate/admin/append_style.css, it would be loaded after /admin/style.css?
I am also wondering about future-proofing this... today we have one admin template..... 1.4 will give us something different... 1.5 could be something different again... etc.
Late for me, thinking out loud. Input welcome as always!
Lets also say that I like the the default admin template 99.9% for a given template....
but that template needs something the default template does not provide....
For instance, pluginmanager assumes I only have 3 sidebars:
Code: Select all
.pluginmanager_side {
vertical-align: top;
width: 33%;
}Or maybe, I have a special class/id emitted in my template config that emits a class not previously defined by the admin template:
Code: Select all
$msg = "<div class='unique'>. MESSAGE . "</div>"; I am also wondering about future-proofing this... today we have one admin template..... 1.4 will give us something different... 1.5 could be something different again... etc.
Late for me, thinking out loud. Input welcome as always!