Przedszkolak
Postów: 23
Data rejestracji: 23.11.2006 17:14
|
Korzystam ze skórki Europe i chciałem zmienić kolor linków w panelu bocznym, którego wcześniej dodałem. Myślałem, że wystarczy <font color="red"> a niestety nic to nie pomogło :/
Sprawdzałem w stylach i to jest chyba właśnie tam zdefiniowane... Mógłby ktoś mi pomóc, zaglądając do tych styli? Plik style.css wygląda tak:
html { height: 100%; margin-bottom: 0.01em }
body { padding: 0px; margin: 0px; color: #7B8784 }
a { font-size: 11px; color: #424B51; text-decoration: none; background: inherit }
a.visit:visited { color: #424B51; text-decoration: none; background: inherit }
a:hover, a.visit:hover { color: #20638F; text-decoration: underline; background: inherit }
a.side {color: #7B8784; text-decoration: none; font-weight: bold; font-size: 11px; background: inherit }
a:hover.side {color: #20638F; text-decoration: underline; background: inherit }
.navigation { padding: 5px 2px 5px 2px }
#navigation { padding: 0px 0px 0px 15px }
#navigation a { font: normal bold 11px Verdana, Arial, Helvetica, sans-serif; color: #FFFFFF; background-color: inherit; text-decoration: none; letter-spacing: normal }
#navigation a:hover { color: #ECEE25; background-color: inherit }
.main-body { font-family: Tahoma, Arial, helvetica, serif; font-size: 11px; color: #7B8784; background-color: #EEEEEE; padding: 3px }
hr { border-top: 1px #E2E2E2 solid; border-bottom: 1px #F9F9F9 solid; margin: 3px 3px 3px 3px }
html>body hr { width: auto }
td { font-family: Tahoma, Verdana, Helvetica, sans-serif, Arial; font-size: 11px }
pre { font-family: Tahoma, Arial, Helvetica, serif; font-size:10px }
.alt { color: #4485A0; background: inherit }
img { border: 0px }
.wrapper { border: 1px solid #000; margin: 0px; font-family: Helvetica, sans-serif, Arial; font-size: 11px; font-weight: 300; color: #333; background: inherit }
.side_left { background-image: url(images/side_left.gif); background-repeat: repeat-y; padding-left: 19px }
.side_right { background-image: url(images/side_right.gif); background-repeat: repeat-y; padding-right: 19px }
.header_logo { height: 150px; background-image: url(images/logo_bg.gif); background-repeat: repeat-x }
#header { padding: 0px 0px 20px 20px; font: normal small-caps bold 24px Tahoma, Verdana, Arial, Helvetica, sans-serif }
#logo { position: absolute; top: 4px; padding-left: 4px; font-family: Verdana, Tahoma, Arial, helvetica, serif; font-size: 12px; font-weight: bold; color: #97A0AB; width: 260px; height: 119px }
logo span { display: none }
.footer { padding-bottom: 0px; font: normal 11px tahoma, verdana, arial, sans-serif; text-align: center; color: #7B8784; height: 74px; background-color:#F0F1F1; background-image: url(images/bg_td_one.jpg); background-repeat:repeat-x }
#Clock { padding: 0px 15px 0px 0px; color: #D2D2D2; font-weight: normal; background-color: inherit }
.sub_nav { height: 29px; color: #095542; background-color: inherit }
.tbl-border { background-color: #DFDFDF; color: #DDDDDD }
.tbl { font-family: Tahoma, Arial, helvetica, serif; font-size: 11px; padding: 3px 4px 3px 4px }
.tbl1 { font-family: Tahoma, Arial, helvetica, serif; font-size: 11px; color: #7B8784; background-color:#F0F1F1; background-image: url(images/bg_td_one.jpg); background-repeat:repeat-x; border-top: 1px solid #FFFFFF; border-bottom: 0px solid #B2B3CE; border-left: 1px solid #FFFFFF; border-right: 0px solid #B2B3CE; padding: 4px }
.tbl2 { font-family: Tahoma, Arial, helvetica, serif; font-size: 11px; color: #7B8784; background-color:#F0F1F1; background-image: url(images/bg_td_one.jpg); background-repeat:repeat-x; border-top: 1px solid #FFFFFF; border-bottom: 0px solid #B2B3CE; border-left: 1px solid #FFFFFF; border-right: 0px solid #B2B3CE; padding: 4px }
.forum-caption { height: 24px; font-family: Tahoma, Arial, helvetica, serif; font-size: 11px; font-weight: bold; background-image: url(images/forum_bg.gif); color: #2F2F2F; background-color: #FAFAFA; padding: 3px 4px 3px 4px }
form { display: inline; margin: 0; padding: 0 }
form input:focus, form input:hover, form select:focus, form select:hover, form textarea:focus, form textarea:hover
{ border-top: 1px solid #666666; border-left: 1px solid #666666; border-right: 1px solid #DFDFDF; border-bottom: 1px solid #DFDFDF; color: #576974 }
.button { border: 1px solid #D1D2D2; background-color: #FFFFFF; font-size: 10px; color: #333333; font-family: verdana, sans-serif; margin-top: 2px }
.button:hover, input.button:focus { background-color: #E1E1E1; border-top: 1px solid #666666; border-left: 1px solid #666666; border-right: 1px solid #EFEFEF; border-bottom: 1px solid #EFEFEF; color: #333333 }
html>body .button { margin-top: 2px; padding-bottom: 1px /* Mozilla fix */ }
.textbox { border: 1px solid #D1D2D2; background-color: #FFFFFF; font-family: "Lucida Sans Unicode", Verdana, sans-serif; font-size: 11px; color: #1B5A35; padding: 1px }
select.textbox { padding: 1px }
input { margin: 1px }
.icr_radio { margin: 1px }
.icr_checkbox { margin-bottom: 3px }
.quote { border: 1px #C1D0CC solid; background: #FFFFFF url(images/code_header.png) no-repeat; background-position: top right; color: #6E8BA0; padding: 2px 2px 2px 2px; margin: 0px 20px 0px 20px }
code{ background-color: inherit; color: #458C00; font-size: 11px; margin: 0; padding: 0 }
.smalltext { font: normal 11px tahoma, verdana, arial, sans-serif }
.cap-right { padding-left: 12px; background-image: url(images/cap-right.gif) }
.cap-main { border-bottom: 1px solid #EEEEEE; font: normal small-caps bold 11px Verdana, Tahoma, Arial, Helvetica, sans-serif; color: #4E7FBC; text-align: left; padding: 10px 2px 0px 5px; background: inherit; background-image: url(images/cap-main.gif); background-repeat: repeat-x }
.cap-left { padding-left: 12px; background-image: url(images/cap-left.gif) }
.border-left { padding-left: 12px; background-image:url(images/border-left.gif); background-repeat: repeat-y }
.border-right { padding-right: 12px; background-image: url(images/border-right.gif); background-repeat: repeat-y }
.border-bleft { padding-left: 12px; background-image: url(images/border-bleft.gif) }
.border-bright { padding-right: 12px; background-image: url(images/border-bright.gif) }
.border-bmain { background-image: url(images/border-bmain.gif); background-repeat: repeat-x }
.side-body { font: normal 11px tahoma, verdana, arial, sans-serif; color: #2B523B; padding: 4px 4px 6px 4px; border-bottom: 0px solid #CABEB2; background: #FFFFFF }
.info-left { padding-left: 9px; background-image: url(images/info-left.gif) }
.info-right { padding-left: 9px; background-image: url(images/info-right.gif) }
.poll { padding: 1px; height: 13px; border: 1px #888A8B solid }
.comment-name { font-weight: bold; color: #3E61A9; background: inherit }
.shoutboxname { font-weight: bold; color: #3E61A9; background: inherit }
.shoutbox { color: #162962; background: inherit }
.shoutboxdate { font: normal 9px verdana, tahoma, arial, sans-serif; color: #3576A4; background: inherit }
.small { font-size: 11px; font-weight: normal }
.small2 { font: normal 9px verdana, tahoma, arial, sans-serif; color: #3576A4; background: inherit }
.comment-name { font-family: Tahoma, Arial, helvetica, serif; color:#113355 }
Jeśli jest potrzebne to tutaj podaję jeszcze theme.php:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
/*--------------------------------------------+
| PHP-Fusion 6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2007 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| Europe Theme for PHP-Fusion v6+ |
|---------------------------------------------|
| author: Fuzed Themes - Shedrock © 2007 |
| credits: Riadi - europe.js script coding |
| web: http://phpfusion-themes.com |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
require_once INCLUDES."theme_functions_include.php";
// Theme settings
$body_text = "#7B8784";
$body_bg = "#FFFFFF";
$theme_width = "975";
$theme_width_l = "185";
$theme_width_r = "185";
// Right Panels off in Forum Mode - Custom coded
$theme_panels_exclude = array("/forum/");
function render_header($header_content) {
global $theme_width, $settings;
$cookieval = "";
if (isset($_COOKIE['Europe_Theme'])) {
$cookie = explode("&",$_COOKIE['Europe_Theme']);
for ($i = 0;$i < sizeof($cookie);$i++) {
$cookie2 = explode(":",$cookie[$i]);
if ($cookie2[0] == "hideleft" || $cookie2[0] == "hideright") {
$cookieval .= ",".$cookie2[0].":'".($cookie2[1] == 'off' ? 'off' : 'on')."'";
}
}
}
echo "<script language='javascript' src='".THEME."europe.js' type='text/javascript'></script>\n";
echo "<script language='javascript' type='text/javascript'>Europe.init({basedir:'".THEME."'".$cookieval."});</script>\n";
// main table
echo "<table width='$theme_width' align='center' cellpadding='0' cellspacing='0'>
<tr>
<td class='side_left'></td>
<td width='100%' valign='top'>\n";
// header table
echo "<table class='header_logo' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td valign='bottom' width='100%'>
<div id='logo'></div>\n";
// sublink and clock table
echo "<table border='0' cellpadding='2' cellspacing='0' width='100%'>
<tr>
<td id='navigation' class='sub_nav' width='85%'>
".showsublinks("<img alt='' src='".THEME."images/nav_sep.gif'>","navigation")."
</td>
<td align='right' id='Clock' nowrap='nowrap' width='15%'>
<script language='javascript' type='text/javascript'>Europe.tick();</script>
</td>
</tr>
</table>\n";
//closing header table
echo "\t\t</td>
</tr>
</table>\n";
//panel images table
echo "<table border='0' cellpadding='0' cellspacing='0' style='height: 19px;' width='100%'>
<tr>
<td align='left' width='5%'><a href=\"javascript:Europe.showHideSide('left');\" onmousedown='return false;'><img id='panel_left_img' style='vertical-align: middle;' title='Hide/Show Panels' alt='Hide/Show Panels' src='".THEME."images/left_panel.gif'></a>
</td>
<td width='90%'>
</td>
<td align='right' width='5%'><a href=\"javascript:Europe.showHideSide('right');\" onmousedown='return false;'><img id='panel_right_img' style='vertical-align: middle;' title='Hide/Show Panels' alt='Hide/Show Panels' src='".THEME."images/right_panel.gif'></a>
</td>
</tr>
</table>\n";
//close panel images table
// page content table
echo "<table bgcolor='#FFFFFF' cellpadding='0' cellspacing='0' width='100%'>
<tr id='contentbody'>\n";
}
function render_footer($license=false) {
global $settings;
//closing content table
echo "\t</tr>
</table>\n";
//footer table
echo "<table style='margin-top: 6px;' width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='footer' align='center' width='100%' style='padding-top: 15px;' valign='top'>
".stripslashes($settings['footer'])."<br>"
.(!$license ? showcopyright()."<br>" : "")."
<div style='padding-top: 7px; text-align: center;' class='smalltext'>
".showcounter()."<br><br>
</div>
</td>
</tr>
</table>\n";
//closing main table
echo "\t\t</td>
<td class='side_right'></td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
$subject = strip_tags($subject);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='cap-left'></td>
<td width='100%' height='36' class='cap-main' colspan='3'>$subject</td>
<td class='cap-right'></td>
</tr>
<tr>
<td class='border-left' rowspan='2'></td>
<td class='side-body' colspan='3'>$news</td>
<td class='border-right' rowspan='2'></td>
</tr>
<tr>
<td width='100%' height='27' class='info-main'>
".openform("N",$info['news_id']).newsposter($info," ·").newsopts($info," ·").closeform("N",$info['news_id'])."
</td>
</tr>
<tr>
<td class='border-bleft'></td>
<td width='100%' height='12' class='border-bmain' colspan='3'></td>
<td class='border-bright'></td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='cap-left'></td>
<td width='100%' height='36' class='cap-main' colspan='3'>$subject</td>
<td class='cap-right'></td>
</tr>
<tr>
<td class='border-left' rowspan='2'></td>
<td class='side-body' colspan='3'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>
<td class='border-right' rowspan='2'></td>
</tr>
<tr>
<td class='info-left'></td>
<td width='100%' height='27' class='info-main'>
".openform("A",$info['article_id']).articleposter($info," ·").articleopts($info," ·").closeform("A",$info['article_id'])."
</td>
<td class='info-right'></td>
</tr>
<tr>
<td class='border-bleft'></td>
<td width='100%' height='12' class='border-bmain' colspan='3'></td>
<td class='border-bright'></td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='cap-left'></td>
<td width='100%' height='36' class='cap-main'>$title</td>
<td class='cap-right'></td>
</tr>
<tr>
<td class='border-left'></td>
<td class='side-body'>\n";
}
function closetable() {
echo "\t\t</td>
<td class='border-right'></td>
</tr>
<tr>
<td class='border-bleft'></td>
<td width='100%' height='12' class='border-bmain'></td>
<td class='border-bright'></td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='cap-left'></td>
<td width='100%' height='36' class='cap-main'>$title</td>
<td class='cap-right'></td>
</tr>
<tr>
<td class='border-left'></td>
<td class='side-body'>\n";
}
function closeside() {
echo "\t\t</td>
<td class='border-right'></td>
</tr>
<tr>
<td class='border-bleft'></td>
<td width='100%' height='12' class='border-bmain'></td>
<td class='border-bright'></td>
</tr>
</table>\n
".tablebreak()."";
}
function opensidex($title,$state="on") {
$boxname = str_replace(" ", "", $title);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='cap-left'></td>
<td width='100%' height='36' class='cap-main'>
<span style='float:left'>$title</span>
<span style='float:right'>".panelbutton($state,$boxname)."</span>
</td>
<td class='cap-right' style='clear:both'></td>
</tr>
<tr>
<td class='border-left'></td>
<td class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";
}
function closesidex() {
echo "\t\t\t</div>
</td>
<td class='border-right'></td>
</tr>
<tr>
<td class='border-bleft'></td>
<td width='100%' height='12' class='border-bmain'></td>
<td class='border-bright'></td>
</tr>
</table>\n
".tablebreak()."";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr>
<td height='4'></td>
</tr></table>\n";
}
?>
Chodzi mi o wyrzucenie takiej części kodu aby w edycji panelu zadziałało:
<font color="">
Edytowane przez Pieka dnia 03.11.2009 15:25:25
|