When I make a "negative" tempalte, I often face the problem, that the links and/or labels in admin area both of CMSimple and plugins are not/bad visible because of bright colors.
Setting:
Code: Select all
form{color: black}
Code: Select all
a,a:link,a:visited{color: #white;}
a:focus,a:active,a:hover{ color: yellow;}
It would be fine if there would be a seting that would be standard both for CMSimple admin area and any used plugin/addon admin area. Just like it is with other editors. Regardless on what color scheme is used in edited document, the editor environment is always the same.
I know that these settings are possible in FCKeditor settings. But if I want use more templates on one website and one of these templates is "negative", the problem is here again. ALso it would be safer and easier for an enduser, if it wouldn't be necessary in such cases to modify FCKeditor settings.
Or maybe I am wrong and there is available some setting directly in main stylesheet.css?
EDIT
I think, I've found a way:
1. I have removed hardcoded style from
Code: Select all
$t = '<div style="margin: 0 0 6px 0; font-size: 14px; color: #333; text-align: center; border: 1px solid #f60; background: #eed; padding: 2px 8px; ">'.CMSIMPLE_XH_VERSION.' Build: '.CMSIMPLE_XH_BUILD.' <a href="http://www.cmsimple-xh.de/english/"><b>INFO »</b></a> <a href="http://www.cmsimple-xh.de/faq/"><b>FAQ »</b></a></div>';
Code: Select all
id="cms_version"
2. I put in stylesheet.css
Code: Select all
#cms_version{margin: 0 0 6px 0; font-size: 14px; color: #333; text-align: center; border: 1px solid #f60; background: #eed; padding: 2px 8px; }
table.edit a:link,table.edit a:visited,#cms_version a:link,#cms_version a:visited{color:blue}
table.edit a:active,table.edit a:hover,#cms_version a:active,#cms_version a:hover{color:red}
I think then, that any hardcoded styling should be removed from cms.php, admin.php, maybe also from pluginloader and placed either in a separated css file.