[Phpfreechat-svn] SF.net SVN: phpfreechat: [920] trunk/themes
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2007-01-05 15:07:40
|
Revision: 920 http://svn.sourceforge.net/phpfreechat/?rev=920&view=rev Author: kerphi Date: 2007-01-05 07:07:39 -0800 (Fri, 05 Jan 2007) Log Message: ----------- code cleaning (themes) Modified Paths: -------------- trunk/themes/blune/style.css trunk/themes/default/style.css trunk/themes/green/style.css trunk/themes/zilveer/style.css Modified: trunk/themes/blune/style.css =================================================================== --- trunk/themes/blune/style.css 2007-01-05 13:46:55 UTC (rev 919) +++ trunk/themes/blune/style.css 2007-01-05 15:07:39 UTC (rev 920) @@ -2,7 +2,8 @@ div#pfc_container { color: #2A4064; background-color: #BEC5D0; - background-image: url("proxy.php?p=default/images/shade.gif"); + background-image: url("<?php echo $c->getFileUrlFromTheme('images/shade.gif'); ?>"); + background-repeat: repeat-y; } div.pfc_chat { @@ -22,20 +23,14 @@ color:#2A4064; } -div.pfc_btn img:hover { - border: 1px solid #000; -} - -p#pfc_errors { +div#pfc_errors { display: none; margin-top: 5px; padding: 2px; height: 18px; - border: #555 solid 1px; color: #EC4A1F; background-color: #BEC5D0; - text-align: center; font-style: italic; font-weight: bold; } @@ -50,10 +45,10 @@ color: #000; font-weight: bold; } -ul#pfc_channels_list li > div:hover { +ul#pfc_channels_list li div:hover { background-color: #CED4DF; border-bottom: 1px solid #CED4DF; } -ul#pfc_channels_list li.selected > div:hover { +ul#pfc_channels_list li.selected div:hover { background-color: #CED4DF; } Modified: trunk/themes/default/style.css =================================================================== --- trunk/themes/default/style.css 2007-01-05 13:46:55 UTC (rev 919) +++ trunk/themes/default/style.css 2007-01-05 15:07:39 UTC (rev 920) @@ -1,11 +1,11 @@ /* +will break display (margins, paddings) on IE6 div#pfc_container * { border: none; margin: 0; padding: 0; } */ - div#pfc_container { margin: 0; padding: 0; border: 1px solid #555; @@ -19,7 +19,7 @@ font-family: Verdana, Sans-Serif; /* without this rule, the tabs are not correctly display on FF */ } -div#pfc_container a img { border: none; } +div#pfc_container a img { border: 0px; } #pfc_minmax { margin: 0; padding: 0; @@ -80,7 +80,7 @@ color: #000; font-weight: bold; } -ul#pfc_channels_list li > div:hover { +ul#pfc_channels_list li div:hover { background-color: #FFF; } ul#pfc_channels_list li a { @@ -262,10 +262,7 @@ a#pfc_logo { margin: 0; padding: 0; - display: block; - position: absolute; - right: 0; - top: 0; + float: right; } a#pfc_logo img { margin: 0; padding: 0; Modified: trunk/themes/green/style.css =================================================================== --- trunk/themes/green/style.css 2007-01-05 13:46:55 UTC (rev 919) +++ trunk/themes/green/style.css 2007-01-05 15:07:39 UTC (rev 920) @@ -2,7 +2,7 @@ border: 1px solid #555; color: #338822; background-color: #d9edd8; - background-image: url("proxy.php?p=green/images/shade.gif"); + background-image: url("<?php echo $c->getFileUrlFromTheme('images/shade.gif'); ?>"); background-position: right; background-repeat: repeat-y; } @@ -30,7 +30,7 @@ border-bottom: 1px solid #e0edde; color: #000; } -ul#pfc_channels_list li > div:hover { +ul#pfc_channels_list li div:hover { background-color: #e0edde; } ul#pfc_channels_list li a { @@ -41,14 +41,6 @@ border: 1px solid #000; background-color: #EEE; } -div.pfc_online { - border: black solid 1px; - color: #000; - background-color: #DDD; -} -div.pfc_online li { - border-bottom: 1px solid #DDD; -} h2#pfc_title { font-size: 110%; @@ -57,36 +49,17 @@ div.pfc_oldmsg { } -span.pfc_heure, span.pfc_date { +span.pfc_heure { color: #bebebe; } +span.pfc_date { + color: #bebebe; +} span.pfc_nick { color: #fbac17; } -input#pfc_words { - border: black solid 1px; -} - -p#pfc_handle { - border: black solid 1px; - color: black; -} - -div.pfc_btn img { - border: 1px solid #393; /* same as container color */ -} -div.pfc_btn img:hover { - border: 1px solid #000; -} - -p#pfc_errors { - border: black solid 1px; - color: #EC4A1F; - background-color: #FFBA76; -} - /* commands */ .pfc_cmd_msg { color: black; @@ -99,9 +72,14 @@ font-style: italic; color: #888; } -pre.pfc_cmd_rehash, -pre.pfc_cmd_help +pre.pfc_cmd_rehash { color: #888; font-style: italic; } + +pre.pfc_cmd_help +{ + color: #888; + font-style: italic; +} \ No newline at end of file Modified: trunk/themes/zilveer/style.css =================================================================== --- trunk/themes/zilveer/style.css 2007-01-05 13:46:55 UTC (rev 919) +++ trunk/themes/zilveer/style.css 2007-01-05 15:07:39 UTC (rev 920) @@ -1,17 +1,10 @@ -div#pfc_container * { - border: 0px; - margin: 0px; - padding: 0px; - -} - div#pfc_container { border: 1px solid #555; color: #000; padding: 10px; min-height: 20px; background-color: #FFF; - background-image: url("proxy.php?p=default/images/background.gif"); + background-image: url("<?php echo $c->getFileUrlFromTheme('images/background.gif'); ?>"); background-position: right; /* background-repeat: repeat-xy;*/ font: 12px Trebuchet MS, Sans-Serif; /* without this rule, the tabs are not correctly display on FF */ @@ -38,7 +31,7 @@ background-color: #FFF; margin-top: 5px; - background-image: url("proxy.php?p=zilveer/images/channels_content_bg.png"); + background-image: url("<?php echo $c->getFileUrlFromTheme('images/channels_content_bg.png'); ?>"); width: 640px; } div.pfc_content { @@ -63,7 +56,7 @@ padding: 0 4px 0 4px; border: 1px solid #555; background-color: #DDD; - background-image: url("proxy.php?p=zilveer/images/tab_off.png"); + background-image: url("<?php echo $c->getFileUrlFromTheme('images/tab_off.png'); ?>"); font-size: 11px; font-weight: bold; @@ -77,7 +70,7 @@ color: #000; font-weight: bold; font-size: 11px; - background-image: url("proxy.php?p=zilveer/images/tab_on.png"); + background-image: url("<?php echo $c->getFileUrlFromTheme('images/tab_on.png'); ?>"); /*these 2 lines below is to make the tabs looks the same in IE and FF */ PADDING-BOTTOM: 6px; @@ -129,7 +122,7 @@ /* height: 100%;*/ color: #000; /* colors can be overriden by js nickname colorization */ background-color: #FFF; - background-image: url("proxy.php?p=zilveer/images/pfc_online.png"); + background-image: url("<?php echo $c->getFileUrlFromTheme('images/pfc_online.png'); ?>"); background-position: left; background-repeat: repeat-y; /* borders are drawn by the javascript routines */ @@ -163,22 +156,22 @@ .pfc_oddmsg { background-color: #fff; color: #000; - background-image: url("proxy.php?p=zilveer/images/pfc_message1.png"); + background-image: url("<?php echo $c->getFileUrlFromTheme('images/pfc_message1.png'); ?>"); } .pfc_evenmsg { background-color: #ccc; color: #000; - background-image: url("proxy.php?p=zilveer/images/pfc_message2.png"); + background-image: url("<?php echo $c->getFileUrlFromTheme('images/pfc_message2.png'); ?>"); } div.pfc_message { - background-image: url("proxy.php?p=zilveer/images/newmsg.png"); + background-image: url("<?php echo $c->getFileUrlFromTheme('images/newmsg.png'); ?>"); background-position: right; background-repeat: no-repeat; } div.pfc_oldmsg { - background-image: url("proxy.php?p=zilveer/images/oldmsg.png"); + background-image: url("<?php echo $c->getFileUrlFromTheme('images/oldmsg.png'); ?>"); background-position: right; background-repeat: no-repeat; } @@ -198,18 +191,22 @@ margin-top: 5px; font-size: 12px; } +p#pfc_handle { display: none; } +div#pfc_input_container td.pfc_td2 { + background-image: url("<?php echo $c->getFileUrlFromTheme('images/pfc_words.png'); ?>"); + background-repeat: no-repeat; + padding-left: 5px; +} + input#pfc_words { border: 0px; background-color: #FAFAFA; width: 520px; - padding: 4px 5px 0px 5px; /*top right bottom left*/ font-size: 12px; - height: 20Px; + height: 20px; vertical-align: bottom; - background-image: url("proxy.php?p=zilveer/images/pfc_words.png"); font: 12px Trebuchet MS; - } input#pfc_send { @@ -223,7 +220,7 @@ color: #333; height: 24px; cursor: pointer; - background-image: url("proxy.php?p=zilveer/images/pfc_send.png"); + background-image: url("<?php echo $c->getFileUrlFromTheme('images/pfc_send.png'); ?>"); cursor: pointer; } @@ -239,20 +236,8 @@ margin-right: 2px; } -p#pfc_handle { - display: inline; - cursor: pointer; - border: 1px solid #555; - padding: 2px 10px 2px 10px; - color: black; - margin-bottom: 5px; - font-weight: bold; - background-color: #EEE; - font-size: 70%; /* these two line fix a display problem in IE6 : */ - vertical-align: middle; /* the nickname box bottom border is hidden without these lines */ - -} + a#pfc_logo { position: absolute; right: 0px; @@ -263,14 +248,6 @@ display: inline; cursor: pointer; } -div.pfc_btn img { - /* doesn't work */ - /* border: 1px solid #393;*/ /* same as container color */ -} -div.pfc_btn img:hover { - /* doesn't work */ - /* border: 1px solid #000;*/ -} div#pfc_bbcode_container * { margin-right: 2px; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |