diff --git a/main/css/base.css b/main/css/base.css index 1144e08520..291adf71f8 100755 --- a/main/css/base.css +++ b/main/css/base.css @@ -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 */ diff --git a/main/inc/lib/course.lib.php b/main/inc/lib/course.lib.php index d66668840d..80f5be63ef 100755 --- a/main/inc/lib/course.lib.php +++ b/main/inc/lib/course.lib.php @@ -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 .= '
' . $params['description'] . '
'; @@ -3531,7 +3531,7 @@ class CourseManager $html .= '