More CSS fixes due "new" breadcrumb addin a submain new CSS container

skala
Julio Montoya 15 years ago
parent 572e040717
commit 351a85f83f
  1. 17
      main/css/base.css
  2. 25
      main/css/chamilo/default.css
  3. 27
      main/css/chamilo_electric_blue/default.css
  4. 27
      main/css/chamilo_green/default.css
  5. 27
      main/css/chamilo_orange/default.css
  6. 27
      main/css/chamilo_red/default.css
  7. 2
      main/document/document.php
  8. 13
      main/inc/banner.inc.php
  9. 4
      main/inc/footer.inc.php
  10. 6
      main/inc/header.inc.php
  11. 2
      main/inc/lib/document.lib.php

@ -431,7 +431,6 @@ table.lp_build td.tree {
padding: 0 15px 0 9px;
}
.bread a {
display: block;
font-size:11px;
@ -448,13 +447,11 @@ table.lp_build td.tree {
.bread li a {
background: url("crumbs.gif") no-repeat scroll right center transparent;
display: block;
display: block;
background-repeat:no-repeat;
background-position:right;
}
.bread .home {
padding:5px 15px 4px 8px;
}
@ -464,3 +461,15 @@ table.lp_build td.tree {
overflow:hidden;
margin-left:4%;
}
#document_quota {
margin:15px;
font-weight:bold;
color:#006633;
text-align:center;
}
/* fixes bug in ie7 */
#menu {
width:180px;
}

@ -39,20 +39,25 @@ body {
}
/* End hide from IE5-mac */
#main {
border:2px solid #ddd;
#main {
position: relative; /* to avoid the IE peekabo bug*/
margin: 0px auto;
width: 92%;
}
#submain {
padding:10px;
border:1px solid #ddd;
position: relative; /* to avoid the IE peekabo bug*/
margin: 0px auto;
min-height: 320px;
padding:0px;
-moz-border-radius:0px 0px 10px 10px;
border-radius:0px 0px 10px 10px;
//padding:18px;
-moz-border-radius:0px 0px 10px 10px;
border-radius:0px 0px 10px 10px;
box-shadow: 3px 3px 10px #ddd;
-moz-box-shadow: 3px 3px 10px #ddd;
-moz-box-shadow: 3px 3px 10px #ddd;
}
.item {
-moz-border-radius:5px;
@ -419,7 +424,7 @@ a:active {
* HEADER 2: Users online, help, student/teacher view *
********************************************************/
#header2 {
width:90%;
width:92%;
margin-left:auto;
margin-right:auto;
position: relative; /* to avoid the IE peekabo bug*/

@ -44,20 +44,25 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
}
/* End hide from IE5-mac */
#main {
/*
-moz-border-image:url(images/bg-main.png) 5 5 5 5;
-webkit-border-image:url(images/bg-main.png) 5 5 5 5;
-o-border-image:url(images/bg-main.png) 5 5 5 5;
-xv-border-image:url(images/bg-main.png) 5 5 5 5;
*/
border:2px solid #ddd;
#main {
position: relative; /* to avoid the IE peekabo bug*/
margin: 0px auto;
width: 92%;
min-height: 320px;
padding:0px;
}
#submain {
padding:10px;
border:1px solid #ddd;
position: relative; /* to avoid the IE peekabo bug*/
margin: 0px auto;
min-height: 320px;
//padding:18px;
-moz-border-radius:0px 0px 10px 10px;
border-radius:0px 0px 10px 10px;
box-shadow: 3px 3px 10px #ddd;
-moz-box-shadow: 3px 3px 10px #ddd;
}
.item {
-moz-border-radius-bottomleft:5px;
@ -460,7 +465,7 @@ input[text] {
* HEADER 2: Users online, help, student/teacher view *
********************************************************/
#header2 {
width:90%;
width:92%;
margin-left:auto;
margin-right:auto;
position: relative; /* to avoid the IE peekabo bug*/

@ -44,20 +44,25 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
}
/* End hide from IE5-mac */
#main {
/*
-moz-border-image:url(images/bg-main.png) 5 5 5 5;
-webkit-border-image:url(images/bg-main.png) 5 5 5 5;
-o-border-image:url(images/bg-main.png) 5 5 5 5;
-xv-border-image:url(images/bg-main.png) 5 5 5 5;
*/
border:2px solid #ddd;
#main {
position: relative; /* to avoid the IE peekabo bug*/
margin: 0px auto;
width: 92%;
min-height: 320px;
padding:0px;
}
#submain {
padding:10px;
border:1px solid #ddd;
position: relative; /* to avoid the IE peekabo bug*/
margin: 0px auto;
min-height: 320px;
//padding:18px;
-moz-border-radius:0px 0px 10px 10px;
border-radius:0px 0px 10px 10px;
box-shadow: 3px 3px 10px #ddd;
-moz-box-shadow: 3px 3px 10px #ddd;
}
.item {
-moz-border-radius-bottomleft:5px;
@ -462,7 +467,7 @@ input[text] {
* HEADER 2: Users online, help, student/teacher view *
********************************************************/
#header2 {
width:90%;
width:92%;
margin-left:auto;
margin-right:auto;
position: relative; /* to avoid the IE peekabo bug*/

@ -44,20 +44,25 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
}
/* End hide from IE5-mac */
#main {
/*
-moz-border-image:url(images/bg-main.png) 5 5 5 5;
-webkit-border-image:url(images/bg-main.png) 5 5 5 5;
-o-border-image:url(images/bg-main.png) 5 5 5 5;
-xv-border-image:url(images/bg-main.png) 5 5 5 5;
*/
border:2px solid #ddd;
#main {
position: relative; /* to avoid the IE peekabo bug*/
margin: 0px auto;
width: 92%;
min-height: 320px;
padding:0px;
}
#submain {
padding:10px;
border:1px solid #ddd;
position: relative; /* to avoid the IE peekabo bug*/
margin: 0px auto;
min-height: 320px;
//padding:18px;
-moz-border-radius:0px 0px 10px 10px;
border-radius:0px 0px 10px 10px;
box-shadow: 3px 3px 10px #ddd;
-moz-box-shadow: 3px 3px 10px #ddd;
}
.item {
-moz-border-radius-bottomleft:5px;
@ -459,7 +464,7 @@ input[text] {
* HEADER 2: Users online, help, student/teacher view *
********************************************************/
#header2 {
width:90%;
width:92%;
margin-left:auto;
margin-right:auto;
position: relative; /* to avoid the IE peekabo bug*/

@ -44,20 +44,25 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
}
/* End hide from IE5-mac */
#main {
/*
-moz-border-image:url(images/bg-main.png) 5 5 5 5;
-webkit-border-image:url(images/bg-main.png) 5 5 5 5;
-o-border-image:url(images/bg-main.png) 5 5 5 5;
-xv-border-image:url(images/bg-main.png) 5 5 5 5;
*/
border:2px solid #ddd;
#main {
position: relative; /* to avoid the IE peekabo bug*/
margin: 0px auto;
width: 92%;
min-height: 320px;
padding:0px;
}
#submain {
padding:10px;
border:1px solid #ddd;
position: relative; /* to avoid the IE peekabo bug*/
margin: 0px auto;
min-height: 320px;
//padding:18px;
-moz-border-radius:0px 0px 10px 10px;
border-radius:0px 0px 10px 10px;
box-shadow: 3px 3px 10px #ddd;
-moz-box-shadow: 3px 3px 10px #ddd;
}
.item {
-moz-border-radius-bottomleft:5px;
@ -460,7 +465,7 @@ input[text] {
* HEADER 2: Users online, help, student/teacher view *
********************************************************/
#header2 {
width:90%;
width:92%;
margin-left:auto;
margin-right:auto;
position: relative; /* to avoid the IE peekabo bug*/

@ -1099,7 +1099,7 @@ if (count($docs_and_folders) > 1) {
// Calculating the total space
$already_consumed_space = DocumentManager::documents_total_space($_course);
// Displaying the quota
// Displaying the quota
DocumentManager::display_simple_quota($course_quota, $already_consumed_space);
}
}

@ -35,9 +35,10 @@ function show_header_1($language_file, $nameTools) {
$_course = api_get_course_info();
echo '<div id="header1">';
echo '<div id="top_corner"></div>';
$logo = api_get_path(SYS_CODE_PATH).'css/'.api_get_visual_theme().'/images/header-logo.png';
$logo = api_get_path(SYS_CODE_PATH).'css/'.api_get_visual_theme().'/images/header-logo.png';
$site_name = api_get_setting('siteName');
if (file_exists($logo)) {
$site_name = api_get_setting('Institution').' - '.$site_name;
echo '<div id="logo">';
$image_url = api_get_path(WEB_CSS_PATH).api_get_visual_theme().'/images/header-logo.png';
$logo = Display::img($image_url, $site_name, array('title'=>$site_name));
@ -513,7 +514,7 @@ function show_header_4($interbreadcrumb, $language_file, $nameTools) {
//background:none;
}
#header3 li {
#header3 li {
//background:none;
//background-color: #CCCCCC;
//border-radius:5px;
@ -529,10 +530,7 @@ function show_header_4($interbreadcrumb, $language_file, $nameTools) {
background:none;
width: 92%;
}
#main {
border : 1px solid #ddd;
}
}</style>';
}</style>';
echo $style;
if (!empty($final_navigation)) {
echo '<div id="header4">';
@ -601,7 +599,8 @@ global $header_hide_main_div;
if (!empty($header_hide_main_div) && $header_hide_main_div === true) {
//do nothing
} else {
echo '<div id="main">'; //<!-- start of #main wrapper for #content and #menu divs -->
echo '<div id="main">'; //<!-- start of #main wrapper for #content and #menu divs -->
echo '<div id="submain">';
}
/* "call for chat" module section */

@ -23,7 +23,8 @@ if (api_get_setting('show_navigation_menu') != 'false') {
}
?>
<div class="clear">&nbsp;</div> <!-- 'clearing' div to make sure that footer stays below the main and right column sections -->
<div class="clear">&nbsp;</div> <!-- 'clearing' div to make sure that footer stays below the main and right column sections -->
</div> <!-- end of #main" started at the end of banner.inc.php -->
</div> <!-- end of #main" started at the end of banner.inc.php -->
<div class="push"></div>
@ -117,6 +118,7 @@ if (api_get_setting('show_teacher_data') == 'true') {
}
}
echo '</div>';
echo '</div> <!-- end of #footer -->';
// Test server mode indicator and information for testing purposes.

@ -49,6 +49,7 @@ if (isset($httpHeadXtra) && $httpHeadXtra) {
$document_language = api_get_language_isocode();
$course_title = $_course['name'];
$title_list[] = api_get_setting('Institution');
$title_list[] = api_get_setting('siteName');
if (!empty($course_title)) {
$title_list[] = $course_title;
@ -56,12 +57,13 @@ if (!empty($course_title)) {
if ($nameTools != '') {
$title_list[] = $nameTools;
}
$title_string = '';
for($i=0; $i<count($title_list);$i++) {
$title_string .=$title_list[$i];
if (isset($title_list[$i+1])) {
$title_string .=' - ';
$item = trim($title_list[$i+1]);
if (!empty($item))
$title_string .=' - ';
}
}

@ -2196,7 +2196,7 @@ class DocumentManager {
//$message = "You are currently using %s (%s) of your %s.";
$message = get_lang('YouAreCurrentlyUsingXOfYourX');
$message = sprintf($message, $already_consumed_space_m, $percentage.'%',$course_quota_m.' ');
echo Display::div($message, array('style'=>'font-weight:bold; color: #006633 ; text-align:center'));
echo Display::div($message, array('id'=>'document_quota'));
}

Loading…
Cancel
Save