From: Lo?c C. <lo...@us...> - 2001-04-03 20:34:42
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/config In directory usw-pr-cvs1:/tmp/cvs-serv11856/config Added Files: admin.css.php3 start_page.css.php3 style.css.php3 Log Message: The first dev. version that works! Still many things to do, of course... --- NEW FILE --- <?php /** * Stylesheet for the administration pages of phpMyChat * * List of variables defined here * $large = large font size for main titles * $name = name for a variable sent or posted to this script * $small = small font size * $value = value for a variable sent or posted to this script * * @version $Id: admin.css.php3,v 2.1 2001/01/09 * @since phpMyChat 0.13.2 * @author phpHeaven-team <php...@eg...> */ /** * Gets the names and values for variables posted to this script */ if (isset($HTTP_GET_VARS)) { while(list($name,$value) = each($HTTP_GET_VARS)) { $$name = $value; }; }; /** * Defines some vars */ if (isset($charset)) { if (!empty($fontName)) { ?> * {font-family: <?php echo($fontName); ?>, sans-serif;} <?php } elseif ($charset == 'iso-8859-1') { ?> * {font-family: helvetica, arial, geneva, sans-serif;} <?php }; }; if (empty($medium)) $medium = 10; $large = round(1.4 * $medium); $small = round(0.8 * $medium); /** * Defines the styles */ ?> body { margin: 5px; background-color: #666699; color: #000000; font-size: <?php echo($medium); ?>pt; font-weight: 400; text-indent: 0; } table, tr, td, th { color: #000000; font-size: <?php echo($medium); ?>pt; font-weight: 400; } th, b { font-weight: 800; } .menu { font-size: <?php echo($medium); ?>pt; font-weight: 600; background-color: #666699; color: #FFFFFF; border-bottom: 1pt solid #FFFFFF; }; .menuTitle { font-size: <?php echo($medium); ?>pt; font-weight: 600; background-color: #666699; color: #CCCCFF; }; a { text-decoration: underline; color: #FFFFFF; font-weight: 600; }; a:hover, a:active { color: #FF9900; text-decoration: none; }; .thumbIndex { font-size: <?php echo($small); ?>pt; font-weight: 600; background-color: #9999CC; color: #FFFFFF; border-top: 1pt solid #FFFFFF; border-left: 1pt solid #FFFFFF; border-right: 1pt solid #FFFFFF; }; .thumbIndex a { text-decoration: none; color: #FFFFFF; font-weight: 600; } .thumbIndex a.selected { text-decoration: none; color: #CCCCFF; font-weight: 600; } .thumbIndex a:hover, .thumbIndex a:active { text-decoration: none; background: #666699; color: #FF9933; } input, select, textarea { background: #EEEEFF; } .title { color: #CCCCFF; font-size: <?php echo($large); ?>pt; font-weight: 800; } .table { background-color: #CCCCFF; color: #000000; font-size: <?php echo($medium); ?>pt; font-weight: 400; } .tabTitle { background-color: #666699; color: #FFFFFF; font-size: <?php echo($medium); ?>pt; font-weight: 800; } .error { font-weight: 800; color: #FF0000; } .errorLink, .errorLink:active { text-decoration: underline; color: #FF0000; font-weight: 800; }; .errorLink:hover { text-decoration: none; color: #FF0000; }; .success { font-weight: 800; color: #CCCCFF; } .small { color: #FFFFFF; font-size: <?php echo($small); ?>pt; } --- NEW FILE --- <?php /** * Stylesheet for the starting page of phpMyChat * * List of variables defined here * $fontFace = font face family * $large = large font size for main titles * $name = name for a variable sent or posted to this script * $small = small font size * $specialFont = true if a 'special font face' is required * $value = value for a variable sent or posted to this script * * @version $Id: start_page.css.php3,v 1.1 2001/01/09 * @since phpMyChat 0.14.0 * @author phpHeaven-team <php...@eg...> */ /** * Gets the names and values for variables posted to this script */ if (isset($HTTP_GET_VARS)) { while(list($name, $value) = each($HTTP_GET_VARS)) { $$name = $value; }; }; /** * Defines some vars */ if (isset($charset)) { if (!empty($fontName)) { $fontFace = 'font-family: "' . $fontName . ', sans-serif";'; $specialFont = 1; } else if ($charset == 'iso-8859-1') { $fontFace = 'font-family: helvetica, arial, geneva, sans-serif;'; }; }; if (empty($medium)) $medium = 10; $large = round(1.4 * $medium); $small = round(0.8 * $medium); /** * Defines the styles */ ?> .chatBody { <?php if (isset($fontFace)) echo($fontFace); ?> background-color: #666699; color: #FFFFFF; font-size: <?php echo($medium); ?>pt; font-weight: 400; margin: 5px; text-indent: 0; } .chatTable { <?php if (isset($fontFace)) echo($fontFace); ?> background-color: #CCCCFF; color: #000000; font-size: <?php echo($medium); ?>pt; font-weight: 400; } .chatTabTitle { <?php if (isset($fontFace)) echo($fontFace); ?> background-color: #666699; color: #FFFFFF; font-size: <?php echo($medium); ?>pt; font-weight: 800; } tr.chatCell, td.chatCell { <?php if (isset($fontFace)) echo($fontFace); ?> color: #000000; font-size: <?php echo($medium); ?>pt; font-weight: 400; } th.chatCell { <?php if (isset($fontFace)) echo($fontFace); ?> color: #000000; font-size: <?php echo($medium); ?>pt; font-weight: 800; } <?php if (isset($specialFont)) { ?> a.chatFonts { <?php if (isset($fontFace)) echo($fontFace); ?> text-decoration: underline; color: #FF0000; font-weight: 600; } a.chatFonts:hover, a.chatFonts:active { <?php if (isset($fontFace)) echo($fontFace); ?> color: #FF0000; text-decoration: none; } <?php }; ?> a.chatLink { <?php if (isset($fontFace)) echo($fontFace); ?> text-decoration: underline; color: #FFFFFF; font-weight: 600; } a.chatLink:hover, a.chatLink:active { <?php if (isset($fontFace)) echo($fontFace); ?> color: #FF9900; text-decoration: none; } a.chatReg { <?php if (isset($fontFace)) echo($fontFace); ?> text-decoration: underline; color: #0000C0; font-weight: 800; } a.chatReg:hover, a.chatReg:active { <?php if (isset($fontFace)) echo($fontFace); ?> color: #0000C0; text-decoration: none; } input.chatBox, select.chatBox, textarea.chatBox { <?php if (isset($fontFace)) echo($fontFace); ?> background: #EEEEFF; } .chatTitle { <?php if (isset($fontFace)) echo($fontFace); ?> color: #CCCCFF; font-size: <?php echo($large); ?>pt; font-weight: 800; } .chatError { <?php if (isset($fontFace)) echo($fontFace); ?> font-size: <?php echo($medium); ?>pt; font-weight: 800; color: #FF0000; } .chatCopy { font-family: helvetica, arial, geneva, sans-serif; color: #CCCCFF; font-size: 8pt; } a.chatCopy, a.chatCopy:active { font-family: helvetica, arial, geneva, sans-serif; color: #FFFFFF; } .chatP1 { <?php if (isset($fontFace)) echo($fontFace); ?> font-size: <?php echo($medium); ?>pt; color: #FFFFFF; } .chatP2 { <?php if (isset($fontFace)) echo($fontFace); ?> font-size: <?php echo($medium); ?>pt; color: #000000; } .chatFlags { font-family: helvetica, arial, geneva, sans-serif; color: #000000; font-size: 10pt; font-weight: 400; } --- NEW FILE --- <?php /** * Stylesheet for the administration pages of phpMyChat * * List of variables defined here * $large = large font size for main titles * $name = name for a variable sent or posted to this script * $small = small font size * $value = value for a variable sent or posted to this script * * @version $Id: styles.css.php3,v 2.1 2001/01/09 * @since phpMyChat 0.7.0 * @author phpHeaven-team <php...@eg...> */ /** * Gets the names and values for variables posted to this script */ if (isset($HTTP_GET_VARS)) { while(list($name,$value) = each($HTTP_GET_VARS)) { $$name = $value; }; }; /** * Defines some vars */ if (isset($charset)) { if (!empty($fontName)) { ?> * {font-family: <?php echo($fontName); ?>, sans-serif;} <?php } elseif ($charset == 'iso-8859-1') { ?> * {font-family: helvetica, arial, geneva, sans-serif;} <?php }; }; if (empty($medium)) $medium = 10; $large = round(1.4 * $medium); $small = round(0.8 * $medium); /** * Defines the styles */ ?> body { background-color: #666699; color: #FFFFFF; font-size: <?php echo($medium); ?>pt; font-weight: 400; margin: 5px; text-indent: 0; } body.frame { background-color: #666699; color: #CCCCFF; font-size: <?php echo($medium); ?>pt; font-weight: 400; margin: 5px; text-indent: 0; } body.mainFrame { background-color: #CCCCFF; color: #000000; font-size: <?php echo($medium); ?>pt; font-weight: 400; margin: 5px; } table, tr, td, th { color: #000000; font-size: <?php echo($medium); ?>pt; font-weight: 400; } td.whois, .whois { color: #CCCCFF; font-size: <?php echo($medium); ?>pt; font-weight: 600; } th, b { font-weight: 800; } a { text-decoration: underline; color: #FFFFFF; font-weight: 600; } a:hover, a:active { color: #FF9900; text-decoration: none; } a.user, a.user:active { text-decoration: none; color: #CCCCFF; font-weight: 400; } input, select, textarea { background: #EEEEFF; } a.sender, a.sender:active { text-decoration: none; color: #000000; font-weight: 600; } .msg { margin-top: 0px; margin-bottom: 2px; margin-left: <?php echo($charset == 'windows-1256' ? '5' : '55'); ?>px; margin-right: <?php echo($charset == 'windows-1256' ? '55' : '5'); ?>px; text-indent: -50px; } .title { color: #CCCCFF; font-size: <?php echo($large); ?>pt; font-weight: 800; } .table { background-color: #CCCCFF; color: #000000; font-size: <?php echo($medium); ?>pt; font-weight: 400; } .tabTitle { background-color: #666699; color: #FFFFFF; font-size: <?php echo($medium); ?>pt; font-weight: 800; } .error { font-weight: 800; color: #FF0000; } .small { color: #FFFFFF; font-size: <?php echo($small); ?>pt; } .time { unicode-bidi: embed; color: #000000; font-size: 8pt; } .notify { color: #666699; font-size: <?php echo($medium); ?>pt; font-weight: 600; } |