block list course userportal CT#7539

1.10.x
aragonc 11 years ago
parent 1933d2a0ae
commit 9cdd40449b
  1. 173
      main/css/base.css
  2. 14
      main/inc/lib/course.lib.php

@ -37,13 +37,6 @@ legend {
text-align: right;
}
header #logo {
padding: 0px 0px 15px 0px;
}
header #logo img{
margin-left: 30px;
}
/* button load ajax form */
.button-load{
@ -225,147 +218,8 @@ header #logo img{
.session-group .items-session li{
padding-bottom: 5px;
}
.well .nav.nav-list > li{
padding-top: 8px;
padding-bottom: 8px;
}
.well .nav-list > li > a {
font-size: 13px;
padding-bottom: 0;
padding-top: 0;
}
.well .form-search .input-append .search-session{
width: 130px;
}
/* SESSION CATALOG END*/
.subnav .brand {
display:none;
}
.subnav .navbar-inner {
box-shadow : none;
}
.subnav .dropdown-menu li a {
color:#333;
}
.subnav li a {
margin:0px;
}
.subnav {
font-size: 11px;
font-weight: bold;
}
.subnav .btn-navbar {
background: #efefef;
}
.subnav .btn-navbar .icon-bar {
background-color: #888;
}
.subnav-fixed {
position: fixed;
top: 0px;
left: 0;
right: 0;
z-index: 1030;
border-color: #d5d5d5;
border-width: 0 0 1px; /* drop the border on the fixed edges */
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
/*-webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
-moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
*/
}
.subnav {
margin-bottom: 0px;
}
/* Subnav */
.subnav .navbar-inner {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
/* default subnav color */
background-color: #eeeeee; /* Old browsers */
background-repeat: repeat-x; /* Repeat the gradient */
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
border: 1px solid #e5e5e5;
margin-bottom: 0px;
padding-left:4px;
padding-right:4px;
/* end default subnav background colors */
}
/* fixing gray border next the logout button */
.subnav .nav-tabs .open .dropdown-toggle, .subnav .nav-pills .open .dropdown-toggle, .nav > .open.active > a:hover {
border-color: transparent;
}
.subnav .nav > li > a {
margin: 0;
border-left: 1px solid #f5f5f5;
border-right: 1px solid #e5e5e5;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}
.subnav .nav > #current > a,
.subnav .nav > #current > a:hover {
padding-left: 13px;
color: #777;
background-color: #e9e9e9;
border-right-color: #ddd;
border-left: 0;
-webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
-moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
}
.subnav .nav > #current > a .caret,
.subnav .nav > #current > a:hover .caret {
border-top-color: #777;
}
.subnav .nav > li:last-child > a {
border-right: 0;
}
.subnav .dropdown-menu {
-webkit-border-radius: 0 0 4px 4px;
-moz-border-radius: 0 0 4px 4px;
border-radius: 0 0 4px 4px;
}
.subnav .nav > li:first-child > a,
.subnav .nav > li:first-child > a:hover {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}
.subnav .nav > li > a:hover {
text-decoration: none;
color: #aaa;
}
.subnav .nav > li a {
text-shadow : none;
}
#main .nav .dropdown {
width:150px;
text-align: right;
@ -374,31 +228,8 @@ header #logo img{
#main .nav .dropdown:nth-child(n) {
width:auto;
}
header {
margin-bottom: 11px;
margin-top: 20px;
}
.breadcrumb {
margin-bottom: 0px;
}
.breadcrumb a, .breadcrumb li {
text-shadow:none;
}
.breadcrumb a.btn-mini{
line-height: 22px;
text-transform: none;
margin-top: -5px;
}
.breadcrumb li img {
width: 0%;
}
.breadcrumb li img:nth-child(n) {
width: auto;
margin-top: -4px;
.course-items .title{
margin-top: 0px;
}
/* To fix the increase/decrease buttons */

@ -3485,13 +3485,13 @@ class CourseManager
public static function course_item_html($params, $is_sub_content = false)
{
$html = '';
$class = "well course-box";
$class = "panel panel-default";
if ($is_sub_content) {
$class = "course_item";
}
$html .= '<div class="' . $class . '">';
$html .= '<div class="row">';
$html .= '<div class="col-md-7">';
$html .= '<div class="panel-body">';
$html .= '<div class="course-items">';
$html .= ' <div class="row">';
$html .= '<div class="col-md-2 course-box-thumbnail-box">';
if (!empty($params['link'])) {
@ -3508,8 +3508,8 @@ class CourseManager
$notifications = isset($params['notifications']) ? $params['notifications'] : null;
$param_class = isset($params['class']) ? $params['class'] : null;
$html .= '<div class="col-md-6 ' . $param_class . '">';
$html .= '<h3>' . $params['title'] . $notifications . '</h3> ';
$html .= '<div class="col-md-10 ' . $param_class . '">';
$html .= '<h3 class="title">' . $params['title'] . $notifications . '</h3> ';
if (isset($params['show_description'], $params['description']) && $params['show_description'] == 1) {
$html .= '<p>' . $params['description'] . '</p>';
@ -3531,7 +3531,7 @@ class CourseManager
$html .= '</div>';
$params['right_actions'] = isset($params['right_actions']) ? $params['right_actions'] : null;
$html .= '<div class="span1 pull-right course-box-actions">' . $params['right_actions'] . '</div>';
$html .= '<div class="pull-right">' . $params['right_actions'] . '</div>';
$html .= '</div>';
$html .= '</div>';
return $html;
@ -3545,7 +3545,7 @@ class CourseManager
*/
public static function course_item_parent($main_content, $sub_content, $sub_sub_content = null)
{
return '<div class="well">' . $main_content . $sub_content . $sub_sub_content . '</div>';
return '<div class="panel panel-default">' . $main_content . $sub_content . $sub_sub_content . '</div>';
}
/**

Loading…
Cancel
Save