added tab active for chamilo css - partial CT#462

skala
Cristian Fasanando 15 years ago
parent e72f53533f
commit 7dbf531e43
  1. 51
      main/css/chamilo/default.css
  2. 2
      main/inc/banner.inc.php

@ -390,6 +390,9 @@ float:left; /* important for ieX*/
margin-left:0px; margin-left:0px;
} }
#header3 a { #header3 a {
-moz-background-clip:border; -moz-background-clip:border;
-moz-background-inline-policy:continuous; -moz-background-inline-policy:continuous;
@ -406,9 +409,6 @@ float:left; /* important for ieX*/
#header3 li a span { #header3 li a span {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:transparent url(images/tab_right.gif) no-repeat scroll right top; background:transparent url(images/tab_right.gif) no-repeat scroll right top;
color:#fff; color:#fff;
cursor:pointer; cursor:pointer;
@ -419,6 +419,47 @@ float:left; /* important for ieX*/
padding-top:5px; padding-top:5px;
} }
#current a {
background:transparent url(images/tab_left-active.gif) no-repeat scroll left top;
color:#FFFFFF;
cursor:pointer;
float:left;
height:25px;
padding-left:9px;
padding-right:2px;
text-decoration:none;
}
#header3 li {
float:left;
}
#current {
background:transparent url(images/tab_center-active.gif) no-repeat scroll right top;;
color:#FFFFFF;
cursor:pointer;
display:block;
float:left;
height:20px;
overflow:hidden;
padding-bottom:6px;
margin-right:-3px;
margin-right:3px;
}
#current #tab_active {
background:transparent url(images/tab_right-active.gif) no-repeat scroll right top;
color:#fff;
cursor:pointer;
display:block;
float:left;
height:20px;
padding-right:10px;
padding-top:5px;
margin-right:-2px;
}
#header3 .banner_links { #header3 .banner_links {
margin: 0; margin: 0;
} }
@ -2539,13 +2580,13 @@ button.cancel {
/*including "search" image*/ /*including "search" image*/
button.search { button.search {
/* background-color:#FFFFFF; */ /* background-color:#FFFFFF; */
background-image:url(images/bg-boton.png); background-image:url(images/bg-button.gif);
background-position:right center; background-position:right center;
padding-right: 30px; padding-right: 30px;
} }
/*including "login" image*/ /*including "login" image*/
button.login { button.login {
background-image:url(images/bg-boton.png); background-image:url(images/bg-button.gif);
background-position:right; background-position:right;
/* background-color:#FFF; /* background-color:#FFF;
border:solid 2px #FFF; */ border:solid 2px #FFF; */

@ -262,7 +262,7 @@ foreach($navigation as $section => $navigation_info) {
} else { } else {
$current = ''; $current = '';
} }
echo '<li'.$current.'><a href="'.$navigation_info['url'].'" target="_top"><span>'.$navigation_info['title'].'</span></a></li>'."\n"; echo '<li'.$current.'><a href="'.$navigation_info['url'].'" target="_top"><span id="tab_active">'.$navigation_info['title'].'</span></a></li>'."\n";
} }
/*********************/ /*********************/

Loading…
Cancel
Save