[Comoblog-commit] modules/mod_skinselect/css mod_skinselect.css.php,NONE,1.1
Status: Inactive
Brought to you by:
markwallis
|
From: iamdecal <iam...@us...> - 2006-02-24 00:01:35
|
Update of /cvsroot/comoblog/modules/mod_skinselect/css In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13177/mod_skinselect/css Added Files: mod_skinselect.css.php Log Message: initial commit to make sure i've not missed anything transfering the code from my live site down to my cvs version basic premis is that new skins sit in css/SKINNAME/css.php of mod skin select is set to be shown then the users can change the skin via a drop down, if not then a default can be set in the admin area. these skins are imported after the rest of the css so that the content overrides and extends the existing comoblog css - i think we need to decide if skins will provide a full set of styleing or just override and extend the exising code should skin css be entered via the admin area, or uploaded (like a module) ? id prefere to upload as a module as that allows for custom images etc note need to change things like the topic icons some how --- NEW FILE: mod_skinselect.css.php --- <?php require_once (dirname(__FILE__).'/../../../include/config.inc.php'); Header ('Content-type: text/css'); if (in_array('mod_skinselect', $SIDEBAR_MODULES)) $mod_pos = 'sidebar'; else $mod_pos = 'top'; if ($mod_pos == 'sidebar') { echo ' #mod_skinselect { font-size: '.CFG_MOD_SKINSELECT_FONT_SIZE.'px; font-family: '.CFG_MOD_SKINSELECT_FONT_FAMILY.'; color: #'.CFG_MOD_SKINSELECT_COLOR.'; } #mod_skinselect ul { margin: 0; padding: 0; } #mod_skinselect li { list-style-type: none; } a.toplink { color: #'.CFG_MOD_SKINSELECT_A_COLOR.'; text-decoration: '.CFG_MOD_SKINSELECT_A_TEXT_DECORATION.'; font :Verdana, Arial, Helvetica, sans-serif; font-size: '.CFG_MOD_SKINSELECT_FONT_SIZE.'px; } #mod_skinselect a:hover { color: #'.CFG_MOD_SKINSELECT_A_HOVER_COLOR.'; text-decoration: '.CFG_MOD_SKINSELECT_A_HOVER_TEXT_DECORATION.'; font :Verdana, Arial, Helvetica, sans-serif; font-size: '.CFG_MOD_SKINSELECT_FONT_SIZE.'px; } #mod_skinselect li a { color: #'.CFG_MOD_SKINSELECT_A_COLOR.'; text-decoration: '.CFG_MOD_SKINSELECT_A_TEXT_DECORATION.'; font :Verdana, Arial, Helvetica, sans-serif; font-size: '.CFG_MOD_SKINSELECT_FONT_SIZE.'px; } #mod_skinselect li a:hover { color: #'.CFG_MOD_SKINSELECT_A_HOVER_COLOR.'; text-decoration: '.CFG_MOD_SKINSELECT_A_HOVER_TEXT_DECORATION.'; font :Verdana, Arial, Helvetica, sans-serif; font-size: '.CFG_MOD_SKINSELECT_FONT_SIZE.'px; } '; } mysql_close(); ?> |