Fixing CSS old styles, adding base_classic.css for old chamilo CSSs

skala
Julio Montoya 14 years ago
parent f32927f783
commit 93cb7ec8df
  1. 2
      main/css/baby_orange/default.css
  2. 27
      main/css/base_classic.css
  3. 2
      main/css/public_admin/default.css
  4. 12
      main/inc/banner.inc.php
  5. 2
      main/inc/header.inc.php

@ -1579,7 +1579,7 @@ div.system_announcement {
.menusectioncaption {
position: relative;
top: -9px;
background-color: #E5EDF9;
/* background-color: #E5EDF9; */
font-size: 12px;
padding: 0 8px 0 4px;
}

@ -0,0 +1,27 @@
/*
* CSS that only will be called in classic chamilo themes (everything except the chamilo_XXX themes)
*/
#Header2Right ul {
/*width: 80% */
}
#header2 {
min-height: 15px;
}
#header3 {
width: 100%;
padding-left:0px;
padding-right:0px;
float:left;
}
#header4 {
width: 100%;
float:left;
color:#aaa;
padding-left:0px;
padding-right:0px;
}

@ -488,7 +488,7 @@ select, input[type=checkbox], input[type=radio], input[type=button], input[type=
PADDING-RIGHT: 15px;
DISPLAY: block;
PADDING-LEFT: 6px;
BACKGROUND: url(images/tab_right.gif) no-repeat right top;
/* BACKGROUND: url(images/tab_right.gif) no-repeat right top; */
PADDING-BOTTOM: 0px;
COLOR: #fff;
PADDING-TOP: 5px;

@ -14,9 +14,7 @@ require_once api_get_path(LIBRARY_PATH).'banner.lib.php';
$session_id = api_get_session_id();
$session_name = api_get_session_name($my_session_id);
echo '<div id="wrapper">';
?>
<ul id="navigation">
<?php
echo '<ul id="navigation">';
if (!empty($help)) {
?>
<li class="help"><a href="<?php echo api_get_path(WEB_CODE_PATH); ?>help/help.php?open=Home&height=400&width=600" class="thickbox" title="<?php echo get_lang('Help'); ?>"><img src="<?php echo api_get_path(WEB_IMG_PATH);?>help.large.png" alt="<?php echo get_lang('Help');?>" title="<?php echo get_lang('Help');?>" /></a> </li>
@ -24,11 +22,13 @@ if (!empty($help)) {
}
if (api_get_setting('show_link_bug_notification') == 'true') {
?>
<li class="report"><a href="http://support.chamilo.org/projects/chamilo-18/wiki/How_to_report_bugs" target="_blank"><img src="<?php echo api_get_path(WEB_IMG_PATH) ?>bug.large.png" style="vertical-align: middle;" alt="<?php echo get_lang('ReportABug') ?>" title="<?php echo get_lang('ReportABug');?>"/></a></li>
</ul>
<li class="report">
<a href="http://support.chamilo.org/projects/chamilo-18/wiki/How_to_report_bugs" target="_blank">
<img src="<?php echo api_get_path(WEB_IMG_PATH) ?>bug.large.png" style="vertical-align: middle;" alt="<?php echo get_lang('ReportABug') ?>" title="<?php echo get_lang('ReportABug');?>"/></a>
</li>
<?php
}
echo'</ul>';
echo '<div id="header">';
show_header_1($language_file, $nameTools);

@ -104,6 +104,8 @@ echo '@import "'.api_get_path(WEB_CSS_PATH).'base.css";';
//Global chamilo CSS
if (in_array(api_get_visual_theme(), array('chamilo','chamilo_red','chamilo_blue','chamilo_orange','chamilo_green','chamilo_electric_blue'))) {
echo '@import "'.api_get_path(WEB_CSS_PATH).'base_chamilo.css";';
} else {
echo '@import "'.api_get_path(WEB_CSS_PATH).'base_classic.css";';
}
if ($navigator_info['name']=='Internet Explorer' && $navigator_info['version']=='6') {

Loading…
Cancel
Save