Browse Source

Merge pull request #800 from aragonc/1.10.x

Cambios Bootstrap
Yannick Warnier 9 years ago
parent
commit
bbc1c826ff

+ 0 - 1591
app/Resources/public/css/base_chamilo.css

@@ -1,1591 +0,0 @@
-/*
- * Special CSS styles for the chamilo_XXX themes
- */
-
-.item {
-    -moz-border-radius:5px;
-    border-radius:5px;
-    border:1px solid #E1E1E0;
-}
-
-.subnav .brand {
-    color:white;
-}
-
-/*
-    Side-Menu Slider (JQuery) see banner.inc.php
-*/
-ul#navigation {
-    position: fixed;
-    margin: 0px;
-    padding: 0px;
-    top: 200px;
-    right: -10px;
-    list-style: none;
-    z-index:9999;
-}
-
-ul#navigation li {
-    width: 73px;
-}
-
-ul#navigation li a {
-    display: block;
-    margin-left: 1px;
-    width: 65px;
-    height: 60px;
-    background-color:#CFCFCF;
-    background-repeat:no-repeat;
-    background-position:center center;
-    border:1px solid #AFAFAF;
-    -moz-border-radius:10px 0px 0px 10px;
-    -webkit-border-bottom-right-radius: 10px;
-    -webkit-border-top-right-radius: 10px;
-    -khtml-border-bottom-right-radius: 10px;
-    -khtml-border-top-right-radius: 10px;
-    -moz-box-shadow: 0px 4px 3px #000;
-    opacity: 0.6;
-    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=60);
-    -webkit-box-shadow: 0px 4px 3px #000;
-}
-
-ul#navigation .help a {
-    -moz-border-radius:8px 0 0 8px;
-    -moz-box-shadow:0 2px 2px #000000;
-    background-color:#879DAA;
-    background-position:center center;
-    background-repeat:no-repeat;
-    border:1px solid #FFFFFF;
-    display:block;
-    height:44px;
-    margin-left:50px;
-    opacity:0.6;
-    width:65px;
-    padding: 6px 0 8px 6px;
-}
-
-
-ul#navigation .report a {
-    -moz-border-radius:8px 0 0 8px;
-    -moz-box-shadow:0 2px 2px #000000;
-    background-color:#8fd400;
-    background-position:center center;
-    background-repeat:no-repeat;
-    border:1px solid #FFFFFF;
-    display:block;
-    height:44px;
-    margin-left:50px;
-    opacity:0.6;
-    width:65px;
-    padding: 6px 0 8px 6px;
-}
-
-
-ul#navigation .student a {
-    -moz-border-radius:8px 0 0 8px;
-    -moz-box-shadow:0 2px 2px #000000;
-    background-color:#b27651 ;
-    background-position:center center;
-    background-repeat:no-repeat;
-    border:1px solid #FFFFFF;
-    display:block;
-    height:44px;
-    margin-left:50px;
-    opacity:0.6;
-    width:65px;
-        padding-bottom: 8px;
-}
-
-
-ul#navigation .user-online a {
-    -moz-border-radius:8px 0 0 8px;
-    -moz-box-shadow:0 2px 2px #000000;
-    background-color:#ccbc67 ;
-    background-position:center center;
-    background-repeat:no-repeat;
-    border:1px solid #FFFFFF;
-    display:block;
-    height:44px;
-    margin-left:50px;
-    opacity:0.6;
-    width:65px;
-    padding: 6px 0 8px 6px;
-}
-
-/* Other colors for other tabs in the earth tones */
-ul#navigation .user-connect a {
-    -moz-border-radius:8px 0 0 8px;
-    -moz-box-shadow:0 2px 2px #000000;
-    background-color:#fac97a ;
-    background-position:center center;
-    background-repeat:no-repeat;
-    border:1px solid #FFFFFF;
-    display:block;
-    height:44px;
-    margin-left:50px;
-    opacity:0.6;
-    width:65px;
-    padding: 6px 0 8px 6px;
-}
-
-ul#navigation .student-connect a {
-    -moz-border-radius:8px 0 0 8px;
-    -moz-box-shadow:0 2px 2px #000000;
-    background-color:#d0d5d1 ;
-    background-position:center center;
-    background-repeat:no-repeat;
-    border:1px solid #FFFFFF;
-    display:block;
-    height:44px;
-    margin-left:50px;
-    opacity:0.6;
-    width:65px;
-    padding: 6px 0 8px 6px;
-}
-
-#center {
-    margin: 0 190px 0 0;
-    padding: 10px 0 40px 0;
-    min-height: 300px;
-    background-color: #fff;
-}
-
-.courseadminview table td a, .Authoringview table td a {
-    font-weight: bold;
-    font-size:13px;
-    margin-left:2px;
-}
-
-/* Student view */
-.Authoringview {
-    position: relative;
-    width: 80%;
-    margin: 25px auto 10px;
-    padding: 10px;    
-}
-/* Teacher view*/
-.courseadminview, .platformadminview {
-	position: relative;
-    width: 80%;
-    margin: 25px auto 10px;
-    padding: 10px;
-    -moz-border-radius:5px;
-    border-radius:5px;
-    border:1px solid #E1E1E0;
-}
-
-
-.Authoringview table td a {
-    font-weight: bold;
-}
-
-.invisible a:link, .invisible a:visited {
-    color: #999;
-}
-a.invisible:link, a.invisible:visited {
-    color: #999;
-}
-.clear {
-    clear: both;
-    line-height: 0px;
-    height: 0;
-}
-#sitename {
-    margin: 0;
-}
-#institution {
-    background-repeat:no-repeat;
-    height:80px;
-    overflow:hidden;
-    margin-left:4%;
-    margin-top:1%;
-}
-#my_courses {
-    float:right;
-    height:16px;
-    padding-right:4%;
-}
-
-/* The tool shortcuts */
-#toolshortcuts {
-    clear:right;
-    margin-left:auto;
-    margin-right:auto;
-    text-align:right;
-    width:92%;
-}
-
-footer a:link, footer a:visited {
-    color:#f1d40d;
-}
-/*
-    NAVIGATION MENU
-*/
-
-#toolnav {
-    float:right;
-    margin:-7px 0 0 -5%;
-    overflow:hidden;
-    padding:0;    
-    position:absolute;
-    right:0px;
-    
-}
-#toolnav img {
-    float: left;
-    width: 25px;
-    height: 25px;
-    margin: 0 4px 0 0;
-    *margin: 0 2px 0 0; /* IE7 and below */
-    margin: 0 2px 0 0\0/IE8+9; /* IE8 + 9 + IE10pp4  */
-}
-/* Hide from IE5-mac. Only IE-win sees this. \*/
-* html #toolnav {
-    margin-right: 0px;
-}
-* html #center {
-    height: 1%;
-    margin-left: 0;
-}
-
-/*
-    course navigation menu as a definition list
-*/
-#swap_menu_link {
-    float: left;
-}
-#toolnavbox {
-    border: 1px solid #4271b5;
-    float: left;
-    margin: 0 0 0 10px;
-    padding: 0;
-}
-#toolnavbox dl {
-    background: transparent;
-    font-size: 12px;
-    margin: 0 auto;
-    text-align: center;
-    width: 160px;
-}
-#toolnavbox dt {
-    background: transparent;
-    border-bottom: 1px solid #fff;
-    color: #000;
-    font-size: 12px;
-    font-weight: bold;
-    margin: 0;
-    text-align: center;
-}
-#toolnavbox dd {
-    background: #E5EDF9;
-    border-bottom:1px solid #fff;
-    color: #009;
-    margin: 0;
-    text-align: left;
-}
-#toolnavlist a, #toolnavlist a:link {
-    background: #E5EDF9;
-    color: #4171b5;
-    display: block;
-    margin: 0;
-    padding: 5px 5px 5px 10px;
-    text-decoration: none;
-    line-height:24px;
-}
-#toolnavlist a:hover, #toolnavlist a#here {
-    background: #fff;
-    color:#4171b5;
-}
-
-/* Hide from IE5-mac. Only IE-win sees this. \*/
-* html #toolnav {
-    margin-right: 0px;
-}
-* html #center {
-    height: 1%;
-    margin-left: 0;
-}
-
-/* Warning and error messages to the user */
-
-.confirmation-message img, .error-message img, .normal-message img, .warning-message img {
-	position: relative;
-	margin-top: 5px;
-	margin-bottom: 10px;
-	float:left;
-}
-
-/*****************************************************
- * COURSE HOMEPAGE                                   *
- *****************************************************/
-/* various sections in course-home.php file  */
-#toolremove {
-    width: 40%;
-    color: #f00;
-    font-weight: bold;
-    margin: 10px auto;
-    padding: 10px;
-    border: 2px solid #f00;
-}
-
-#courseintro {
-    clear: both;
-    width: 80%;
-    margin: 10px auto;
-    padding: 10px;    
-}
-#courseintro_icons {
-    clear: both;
-    width: 80%;
-    /* margin: 10px auto; */
-}
-.everybodyview {
-    position: relative; /* to avoid the IE peekabo bug ?*/
-    -moz-border-radius:5px;
-    border-radius:5px;
-    border:1px solid #E1E1E0;
-    width: 80%;
-    margin: 10px auto;
-    padding: 10px;
-}
-
-.viewcaption {
-    position: relative;
-    top: -20px;
-    font-size: 12px;
-    font-weight: bold;
-    color: #aaa;
-    background-color: #fff;
-    padding: 0 4px;
-}
-.tool-icon {
-    /*margin-bottom: -3px;*/
-}
-
-/**********************************************
- *  DOCUMENT MODULE                           *
- **********************************************/
-
-/* styles from the document.php file */
-.comment {
-    margin-left: 30px;
-}
-/* styles from the upload.php file */
-dl.upload_option {
-    margin: 1em 0;
-    padding: 0;
-}
-.upload_option dt {
-    font-weight:bold;
-    margin:0;
-}
-.upload_option dd {
-    margin:0;
-}
-.document_owner {
-    text-align: right;
-}
-/**********************************************
- *  DROPBOX MODULE                            *
- **********************************************/
-
-/* styles from dropbox.php file */
-.dropbox_detail {
-    font-size: small
-}
-.dropbox_date {
-    color: #737780;
-    font-style: italic;
-    font-weight: normal;
-}
-.dropbox_person {
-    font-weight: bold
-}
-.dropbox_listTitle {
-    color: #000000;
-}
-.dropbox_feedback {
-    font-size: x-small;
-    height: 50px;
-    width: 200px;
-    overflow: auto
-}
-.dropbox_feedbacks {
-    height: 250px;
-    width: 100%;
-    overflow: auto
-}
-
-/**********************************************
- *  CHAT MODULE                               *
- **********************************************/
-/* styles for chat / conference tools */
-#chat_entermessage {
-    background-color: #D6E5FA;
-    border-top: 1px solid #dcdcdc;
-    padding: 5px;
-    margin: 0;
-}
-/* the following for the greyed out elements */
-a.nobold:link, a.nobold:visited, a.nobold:active {
-    font-weight: normal;
-    color: #999;
-    margin: 0 0 0 25px;
-}
-a.nobold:hover {
-    font-weight: normal;
-    color: #999;
-    text-decoration: underline;
-    margin: 0 0 0 25px;
-}
-
-.alternativeBgLight {
-    background-color: #f5f5f5;
-    border: 1px solid #dcdcdc;
-    border-collapse: collapse;
-}
-.alternativeBgDark {
-    background-color: #ccf;
-    border: 1px solid #dcdcdc;
-    border-collapse: collapse;
-}
-
-
-
-/*****************************************************
- *  DATA TABLE STYLES                                *
- *****************************************************/
-.cell_header {
-    background-color: #EEEEFF;
-    font-weight:bold;
-    text-align:left;
-    padding-left:5px;
-}
-
-/* admin page tool list definitions */
-.tool_list dt {
-    font-weight: bold;
-}
-.tool_list dd {
-    margin: 0;
-    padding: 4px 0 0 10px;
-}
-
-.home_news {
-    width: 45%;
-    float: right;
-    position: relative;
-    margin: 0;
-    padding: 0px;
-    padding-top: 8px;
-    background: #fff;
-}
-label.left {
-    float: left;
-    width: 15em;
-    margin: 0 0 0.5em 0;
-}
-form br {
-    clear: both;
-}
-/* Fix for alignment problem in IE-Win browsers  */
-/*  Hide from IE5-mac. Only IE-win sees this. \*/
-* html .label {
-    margin-right: 10px;
-}
-* html .data {
-    height: 1%;
-    margin-left: 0;
-}
-
-.required {
-/*    color: #f00;
-    font-weight: bold;*/
-}
-
-/* Admin section */
-
-div.admin_section {    
-    -moz-border-radius:10px;
-    border-radius:10px;
-    border:1px solid #E1E1E0;
-    width: 42%;
-    float: left;
-    padding: 5px;
-    margin: 10px 20px;
-    min-height:280px;
-}
-
-div.admin_section h4 {
-    margin: 5px 0px 5px 5px;
-    /*padding: 0px 0px 5px 0px; */
-    border-bottom: 1px solid #E1E1E0;
-    width: 100%;
-}
-
-.admin_section li {    
-    background-repeat:no-repeat;
-    list-style:none;
-    background-position: center left;
-}
-.admin_section li a {
-    margin-left:15px;
-}
-
-.admin_section li input {
-    -moz-border-radius-bottomleft:5px;
-    -moz-border-radius-bottomright:5px;
-    -moz-border-radius-topleft:5px;
-    -moz-border-radius-topright:5px;
-    border:1px solid #E1E1E0;
-}
-
-.user_course_category {
-    background-color: #E5EDF9;
-    font-weight: bold;
-    color: #666;
-    list-style-type: none;
-    margin: 5px;
-    padding: 5px;
-}
-.sessions_list {
-    line-height: 20px;
-    margin-top: 20px;
-}
-.sessions_list_inactive {
-    line-height: 20px;
-}
-.session_box {
-    border: 1px solid #DCE5F3;
-    /* font-weight: bold; */
-    color: #666;
-    list-style-type: none;
-    margin:5px 5px 10px 5px;
-    padding: 5px;
-    background-color:#FFF;
-    -webkit-border-radius: 10px;
-    -moz-border-radius: 10px;
-    border-radius: 10px;
-}
-.sub_session_box {
-     border: 1px solid #DCE5F3;
-    /* font-weight: bold; */
-    color: #666;
-    list-style-type: none;
-    margin:5px 5px 10px 0px;
-    padding: 5px;
-    background-color:#FFF;
-    -webkit-border-radius: 10px;
-    -moz-border-radius: 10px;
-    border-radius: 10px;
-}
-.sub_session_box_title {
-    margin-bottom: 10px;
-    background-color:#F9F9F9;
-}
-.session_box_title {
-    margin-bottom: 10px;
-    background-color:#F9F9F9;
-}
-
-.admin_section {
-}
-.session_box_coach {
-}
-/***************************************************************
- *  CHAMILO CONFIG SETTINGS OF THE PLATFORM ADMIN SECTION      *
- ***************************************************************/
-.sectiontitle {
-    background-color: #EFEFEF;
-    border: 1px solid #CCCCCC;
-    color: #333333;
-    font-weight: bold;
-    list-style-type: none;
-    margin: 5px 5px 5px 0px;
-    padding: 5px;
-    font-size: 14px;
-}
-.sectioncomment {
-    margin: 5px 5px 5px 0px;
-    padding: 5px;    
-}
-.sectionvalue {
-    list-style-type: none;
-    margin: 5px 5px 5px 0px;
-    padding: 5px;
-}
-/*****************************************************
- *  ANNOUNCEMENTS                                    *
- *****************************************************/
-.announcements_datum {
-    font-size: 12px;
-    font-style: italic;
-    color: #666666;
-}
-/*****************************************************
- *  SYSTEM ANNOUNCEMENTS                             *
- *****************************************************/
-div.system_announcement {
-    padding: 10px;
-    border: 1px solid #ddd;
-    -moz-border-radius-topright : 5px;
-    -moz-border-radius-topleft : 5px;
-    -moz-border-radius-bottomright : 5px;
-    -moz-border-radius-bottomleft : 5px;
-    min-height:20px;
-}
-.system_announcement {
-    font: bold 100% arial, sans-serif, sans;
-
-}
-.system_announcement_content {
-    font: normal 100% 'Lucida Grande', verdana, Arial, sans-serif, sans;
-}
-.system_announcements {
-    padding-top: 10px;
-    padding-bottom: 10px;    
-}
-.system_announcements h3 {
-    padding-left:70px;
-    padding-top: 30px;
-}
-
-.system_announcement_title {
-    font-weight: bold;
-    font-size: 120%;
-    float:left;
-}
-
-.system_announcement_date {
-    font-color: #ccc;
-    float:right;
-}
-
-/* **** BLOG **** */
-span.blog_title {
-    font-size: 20px;
-    font-weight: bold;
-    color: #2A4B74;
-}
-span.blog_subttitle {
-    font-size: 12px;
-}
-td.blog_left {
-    margin-right: 5px;
-    padding-right: 5px;
-    border-right: 1px solid #dddddd;
-}
-td.blog_right {
-    padding-left: 10px;
-}
-td.blog_menu_title {
-    background-color: #dddddd;
-    color: #2A4B74;
-    font-weight: bold;
-    font-size: 11px;
-    padding: 2px;
-}
-td.blog_menu {
-    border-bottom: 1px dashed #dddddd;
-    border-right: 1px dashed #dddddd;
-    border-left: 1px dashed #dddddd;
-    padding: 10px;
-}
-td.blog_menu ul {
-    margin-top: 0;
-    margin-right: 0;
-    margin-bottom: 0;
-    margin-left: 15px;
-    padding: 0;
-}
-td.blog_menu ul li {
-}
-span.blogpost_title {
-    display: block;
-    font-size: 18px;
-    font-weight: bold;
-    color: #2A4B74;
-    padding-bottom: 5px;
-}
-span.blogpost_date {
-    display: block;
-    font-size: 12px;
-    font-weight: bold;
-    color: #333333;
-    padding-bottom: 10px;
-}
-span.blogpost_info {
-    display: block;
-    color: #333333;
-    border-top: 1px solid #dddddd;
-    margin-top: 5px;
-}
-table.newBlog {
-    border: 1px solid #dddddd;
-    margin-bottom: 10px;
-    margin-top: 10px;
-    padding: 10px;
-    background-color: #f6f6f6;
-}
-table.newTask {
-    border: 1px solid #dddddd;
-    margin-bottom: 10px;
-    margin-top: 10px;
-    padding: 10px;
-    background-color: #f6f6f6;
-}
-table.new_comment {
-    border: 1px solid #dddddd;
-    margin-bottom: 10px;
-    margin-top: 10px;
-    padding: 10px;
-    background-color: #F4F4F4;
-}
-div.blogpost_comment {
-    border-top: 1px dashed #dddddd;
-    border-right: 1px dashed #dddddd;
-    border-bottom: 1px dashed #dddddd;
-    border-left: 1px dashed #dddddd;
-    margin-bottom: 10px;
-    padding: 10px;
-    background-color: white;
-    z-index: -1;
-}
-span.blogpost_comment_title {
-    display: block;
-    font-size: 14px;
-    font-weight: bold;
-    color: #1657A9;
-    padding-bottom: 5px;
-}
-span.blogpost_comment_date {
-    display: block;
-    font-size: 10px;
-    font-weight: bold;
-    color: #333333;
-    padding-bottom: 10px;
-}
-span.blogpost_comment_info {
-    font-size: 10px;
-    display: block;
-    color: #333333;
-    border-top: 1px solid #dddddd;
-    margin-top: 10px;
-}
-div.blogpost {
-    border: 1px solid #DDDDDD;
-    background-color: #ECECEC;
-    margin-bottom: 15px;
-    padding: 10px;
-}
-div.comments {
-    border: 1px solid #dddddd;
-    margin-bottom: 10px;
-    margin-top: 10px;
-    padding: 10px;
-    background-color: #F4F4F4;
-    margin-left:50px;
-}
-.attachment_comment {
-    color: #737780;
-    font-style: italic;
-    font-weight: normal;
-}
-.link {
-    text-decoration: none;
-    font-weight : bold;
-    color : #1657A9;
-    cursor: pointer
-}
-.link:hover {
-    text-decoration: none;
-    color: #abd9f1;
-    font-weight: bold;
-    cursor: pointer
-}
-/*****************************************************
- *  INSTALLATION                                     *
- *****************************************************/
-#installation_steps {
-    float:left;
-    background-color: #EFEFEF;
-}
-.current_step {
-    font-weight: bold;
-}
-
-/************************************************************
-  styles below here are not necessarily used in the current
-    release and the CVS files, they are from earlier versions,
-    and have been left untouched for anyone needing them in
-    their own platform ...
-*************************************************************/
-.topBanner a:link, .topBanner a:active, .topBanner a:visited {
-    text-decoration:none;
-    color:white;
-}
-.topBanner table {
-    text-decoration:none;
-}
-.topBanner a:hover {
-    text-decoration:underline;
-}
-.topBanner td {
-    border-top: solid White 1px;
-}
-.alternativeBgLight {
-    background-color: #f5f5f5;
-}
-.alternativeBgDark {
-    background-color: #e6e6e6
-}
-.forms {
-    letter-spacing: normal;
-    text-align: justify;
-    text-indent: 3pt;
-    word-spacing: normal;
-    padding: 2px 5px;
-}
-.formsTips {
-    text-align: justify;
-    text-indent: 15pt;
-    word-spacing: normal;
-}
-/*
-input.forms { letter-spacing: normal; text-align: justify; text-indent: 3pt;    word-spacing: normal;
-padding-top: 0px;   padding-right: 0px; padding-bottom: 0px;    padding-left: 0px;}
-*/
-.warn {
-    border: thin double Silver;
-    margin-left: 15px;
-    margin-right: 15px;
-    font-family: serif;
-    color: Red;
-    padding-left: 25px;
-    -moz-border-radius-bottomleft:5px;
-    -moz-border-radius-bottomright:5px;
-    -moz-border-radius-topleft:5px;
-    -moz-border-radius-topright:5px;
-    border:1px solid #E1E1E0;
-}
-.small {
-    font-size: 11px
-}
-.xsmall {
-    font-size: 10px
-}
-.xxsmall {
-    font-size: 9px
-}
-#glossary_menu li {
-    LIST-STYLE-TYPE: none;
-    display: inline;
-    padding-left:5px;
-}
-.glossary_divider {
-    text-transform: capitalize;
-    background-color: #CCCCCC;
-    padding: 3px;
-    font-weight: bold;
-    margin-bottom: 3px;
-    margin-top: 10px;
-}
-.glossary_word {
-    background-color: #F7F7F7;
-    padding: 3px;
-    font-weight: bold;
-    margin-bottom: 3px;
-    margin-top: 10px;
-}
-/*
- * TABBED INTERFACE
- */
-#tabbed_menu {
-    width: 100%;
-    height: 20px;
-    border-bottom-width: 1px;
-    border-bottom-style: solid;
-    border-bottom-color: #666666;
-    margin-bottom: 20px;
-}
-#tabbed_menu #tabbed_menu_tabs li {
-    margin: 0 10;
-    padding: 0;
-    display: inline;
-    list-style-type: none;
-}
-#tabbed_menu #tabbed_menu_tabs a:link, #tabbed_menu_tabs a:visited {
-    float: left;
-    background: #f3f3f3;
-    font-weight: bold;
-    padding: 2px 10px 2px 10px;
-    margin-right: 4px;
-    border: 1px solid #cccccc;    
-    text-decoration: none;
-    color: #666;
-}
-#tabbed_menu #tabbed_menu_tabs a:link.active, #tabbed_menu_tabs a:visited.active {
-    border: 1px solid #666666;
-    border-bottom: 1px solid #fff;
-    background: #fff;
-    color: #000;
-}
-#WCAG-editor {
-    border: 1px #DCDCDC solid;
-    background-color: #F0F0F0;
-    width: 100%;
-}
-#WCAG-editor .title {
-    padding: 2px;
-    background-color: #DCDCDC;
-    text-align: center;
-    color: #000000;
-    font-weight: bold;
-}
-#WCAG-editor .body {
-    padding-top: 5px;
-    padding-left: 5px;
-    padding-right: 13px;
-    padding-bottom: 5px;
-}
-#WCAG-editor textarea {
-    margin-left: 0px;
-    margin-right: 0px;
-    width: 100%;
-    height: 180px;
-    border: 1px #DCDCDC solid;
-}
-#WCAG-editor input {
-    width: 100%;
-    -moz-border-radius-bottomleft:5px;
-    -moz-border-radius-bottomright:5px;
-    -moz-border-radius-topleft:5px;
-    -moz-border-radius-topright:5px;
-    border:1px solid #E1E1E0;
-}
-/* don't work on IE 6 */
-#WCAG-editor input[type="checkbox"], #WCAG-editor input[type="radio"], #WCAG-editor input[type="submit"] {
-    width: auto;
-    -moz-border-radius-bottomleft:5px;
-    -moz-border-radius-bottomright:5px;
-    -moz-border-radius-topleft:5px;
-    -moz-border-radius-topright:5px;
-    border:1px solid #E1E1E0;}
-/* only for IE6 */
-#WCAG-editor #submit, #WCAG-editor #visible_teacher, #WCAG-editor #visible_student, #WCAG-editor #visible_guest {
-    width: auto;
-}
-#WCAG-content img {
-    float: left;
-    margin-right: 5px;
-    margin-bottom: 5px;
-}
-#WCAG-content p {
-    text-align: justify;
-}
-/* hack for IE < 7 */
-
-#course_description input {
-    width: auto;
-    -moz-border-radius-bottomleft:5px;
-    -moz-border-radius-bottomright:5px;
-    -moz-border-radius-topleft:5px;
-    -moz-border-radius-topright:5px;
-    border:1px solid #E1E1E0;
-}
-#course_description #imagefile, #course_description #imageLabel, #course_description #link, #course_description #linkLabel {
-    width: 100%;
-}
-.WCAG-form textarea {
-    width: 100%;
-    height: 180px;
-}
-.skip {
-    display: none;
-}
-/*
- Added: to fit img and blocks in home page
-*/
-#hellomindfactory {
-    border: 1px solid #ccc;
-    margin:-14px 0 0 0;
-    width:690px;
-    height:428px;
-}
-#tophellomindfactory {
-    margin: 10px 5px 5px 5px;
-    height:200px;
-    width:680px;
-}
-#bottomhellomindfactory {
-    margin: 5px;
-    height:200px;
-    width:680px;
-}
-/*
-.copyright {
-    display:none;
-}
-*/
-
-/* Quizzes tool */
-.quiz_export_link {
-    float: right;
-}
-
-/*     Learning path */
-#show_audiorecorder_div {
-    background:#F0F0F0;
-    border:1px solid #999999;
-    font-weight:bold;
-    padding:2px;
-    width:350px;
-}
-/* Glossary tool */
-.glossary-term {
-    margin: 1em;
-    background-color: #ffe99b;
-    padding: 0.5em 0.5em 1.8em 0;
-    -moz-border-radius: 0.5em;
-}
-.glossary-term-title {
-    margin: 2em 0 1em 0.5em;
-    font-weight: bold;
-    font-size: 120%;
-}
-.glossary-term-desc {
-    margin-left: 1em;
-}
-.glossary-term-action-links {
-    float: right;
-}
-.glossary-term-edit-form {
-    margin: 1em;
-    background-color: #FFE4C4;
-    padding: 0.5em 0.5em 2em 0;
-    -moz-border-radius: 0.5em;
-}
-.glossary-term-edit-desc {
-    font-weight: bold;
-    font-size: 120%;
-}
-.glossary-term-edit-title {
-    font-weight: bold;
-    font-size: 120%;
-}
-.glossary-add-form {
-    font-weight: bold;
-    font-size: 120%;
-    margin: 1em;
-}
-.glossary-orderby-link {
-    float:right;
-    margin: 1em;
-}
-.glossary-msg-error {
-    color: #FF0000;
-    display :none;
-    font-weight: normal;
-    font-size: 80%;
-}
-/* Notebook */
-.notebook-add-form {
-    margin: 1em;
-    background-color: #c3d9ff;
-    padding: 1em 1em;
-}
-.notebook-add-desc-textarea {
-    background-color: #f2f5f8;
-    border-color: #ffe99b;
-    overflow: hidden;
-}
-.notebook-add-title-text {
-    background-color: #f2f5f8;
-    border-color: #ffe99b;
-}
-.notebook-edit-desc-textarea {
-    background-color: #e0ecff;
-    border-color: #ffe99b;
-    overflow: hidden;
-}
-.notebook-edit-title-text {
-    background-color: #e0ecff;
-    border-color: #ffe99b;
-}
-.notebook-msg-error {
-    color: #FF0000;
-    display :none;
-    background-color: #ffe99b;
-    width: 40%;
-}
-.notebook-list {
-    margin: 1em 1em 0em 1em;
-    background-color: #79b;
-    padding: 0.3em 0.3em;
-    -moz-border-radius: 0.5em;
-}
-.notebook-title-list {
-    color : #fff;
-    padding: 0.3em 0.3em;
-    font-weight: bold;
-    font-size: 120%;
-}
-.notebook-desc-list {
-    margin: 0em;
-    background-color: #f2f5f8;
-    padding: 0.5em 0.3em 2em 0.3em;
-    border: 1px solid #79b;
-}
-.notebook-term-action-links {
-    padding: 0.3em 0.3em;
-    width: 50%;
-    color : #fff;
-}
-.notebook-orderby-link {
-    text-align:right;
-    margin-right: 1em;
-}
-.notebook-search-title {
-    text-align:right;
-    margin: 1em;
-}
-.notebook-date-information {
-    color : #fff;
-    padding: 0.3em;
-    font-size: 120%;
-    font-weight: bold;
-}
-/* Gradebook */
-.resource-deleted {
-    color:#990000;
-}
-.gradebook-table-header {
-    border: 1px solid rgb(153, 153, 153);
-    background: rgb(240, 240, 240) none repeat scroll 0% 0%;
-}
-.gradebook-table-body {
-    border: 1px solid rgb(153, 153, 153);
-    background: rgb(255, 255, 255) none repeat scroll 0% 0%;
-}
-.label_result {
-    float: left;
-    width: 25%;
-    text-align: left;
-    padding-top:8px;
-}
-.formw_result {
-    width: 75%;
-    float:left;
-}
-
-/* big actions */
-.actionsbig {
-    background:#F8F8F8;
-    border-bottom:1px solid #999999;
-    border-top:1px solid #999999;
-    background-color:#E5EDF9;
-    height:100%;
-    padding:2px;
-    margin-bottom: 5px;
-    vertical-align:middle;
-    float:left;
-    width:100%;
-}
-.content_table {
-    padding:2px;
-    margin-bottom: 5px;
-    vertical-align:middle;
-    float:left;
-    width:100%;
-}
-.actionsbig a {
-    float:left;
-    padding-left:6px;
-    padding-right:12px;
-    text-align:center;
-}
-.actions-title {
-    background:#E5EDF9;
-    border-bottom:1px dotted #999999;
-    border-top:1px dotted #999999;    
-    padding:4px;
-    margin-bottom: 5px;
-    font-size:14px;
-    font-weight:bolder;    
-    vertical-align:middle;
-}
-.actions-message {
-    white-space: nowrap;
-    padding: 2px;
-    background-color: #D2ECF5;
-    border: 1px solid #ABDAEA;
-}
-
-/**********************************************
- *  EXERCISE TOOL                           *
- **********************************************/
-.exercice_form {
-    width: 300px;
-}
-
-span.checkbox {
-    width: 19px;
-    height: 25px;
-    padding: 0 5px 0 0;
-    display: block;
-    clear: left;
-    float: left;
-}
-span.radio {
-    width: 19px;
-    height: 25px;
-    padding: 0 5px 0 0;
-    display: block;
-    clear: left;
-    float: left;
-}
-
-.icon_image_content {
-    width:70px;
-    cursor:hand;
-    height:6em;
-    text-align: center;
-    padding-right: 10px;
-    padding-left: 0px;
-    border: 1px dotted #ccc;
-    background-color: #eee;
-    margin-right: 0.2em;
-    margin-top: 0.1em;
-    -moz-border-radius-topleft : 5px;
-    -moz-border-radius-bottomright : 5px;
-    -moz-border-radius-bottomleft : 5px;
-    -moz-border-radius-topright : 5px;
-}
-.icon_image_content:hover {
-  background-color: #fff;
-  border: 1px solid #ccc;
-}
-
-#expire_session div {
-    float:left;
-    padding-left:15px;
-}
-.question_menu {
-    list-style:none;
-    float:left;
-}
-.question_menu li {
-    float:left;
-    margin:0px;
-}
-#exercise_admin {
-    margin: 0;
-    padding: 0;
-    border: 0;
-}
-div#friend-header {
-    float:left;
-    width:100%;
-    line-height: 2.1em;
-}
-div#friend-header a {
-    padding-right:6px;
-}
-
-div.image_friend_network {
-    float:left;
-    /* border:1px solid #CCCCCC; */
-    margin:2px;
-    padding:4px;
-    height:125px;
-    width:82px;
-    z-index:5;
-}
-div.image_friend_network span {
-    overflow:hidden;
-    display:block;
-    height:92px;
-    margin: 0px 0px;
-}
-div.image_friend_network img {
-    vertical-align:middle;
-}
-div.image_friend_network center.friend {
-    overflow:hidden;
-    height:30px;
-}
-.friend_invitations {    
-    margin: 0 0 4px 12px;
-}
-
-.u-m-answer {
-    float:left;
-    width:100%;
-}
-.u-m-answer p {
-    margin:4px;
-}
-.refresh {
-    background-repeat:no-repeat;
-    padding-left:20px;
-    padding-bottom:2px;
-}
-.portal {
-    background-repeat:no-repeat;
-    padding-left:28px;
-    padding-bottom:10px;
-    padding-top:8px;
-}
-
-.legal-terms {
-    height:150px;
-    overflow:auto;
-    background-color:#eee;
-    width:500px;
-}
-
-a.read {
-    font-weight:normal;
-}
-.actions-title {
-    background:#efefef;
-    border:1px solid #ccc;
-    padding:4px;
-    margin-bottom: 5px;
-    font-size:14px;
-    font-weight:bolder;
-    vertical-align:middle;
-}
-
-/* INVITATIONS */
-
-.invitation-clear{
-  padding-bottom: 1em;
-  padding-top: 1em;
-}
-.invitation-clear .title-profile, .invitation-clear .title-group {
-  font-size: 15px;
-  font-weight: bold;
-  padding-bottom: 0.2em;
-}
-.invitation-clear .title-profile a, .invitation-clear .title-group a{
-  color: #333;
-}
-.invitation-clear .title-profile a:hover, .invitation-clear .title-group a:hover{
-  color: #666;
-}
-.invitation-clear .content-invitation, .invitation-clear .description-group {
-  color: #666;
-  font-size: 13px;
-  padding-bottom: 0.3em;
-}
-/* DASHBOARD */
-
-/* Head section */
-#head {
-    background-color: #000;
-    height: 100px;
-}
-#head h1 {
-    line-height: 100px;
-    color: #FFF;
-    text-align: center;
-    text-indent: -9999em
-}
-/* End Head Section */
-
-/* Columns section */
-#columns .column {
-    float: left;
-    width: 50%;
-        /* Min-height: */
-        min-height: 400px;
-        height: auto !important;
-        height: 400px;
-}
-
-#columns ul, #columns ol {margin:0; padding:0; list-style:none; border:none;}
-
-
-
-
-/* To add in 1.8.7*/
-
-.session_box_title span {
-    font-size: 130%;
-    font-weight: bold;
-}
-
-.sub_session_box_title span {
-    font-size: 130%;
-    font-weight: bold;
-}
-
-#session_category_title {
-    font-size: 140%;
-    font-weight: bold;
-    padding: 2px 0px 5px 5px;
-}
-
-.courseadminview-activity-3col, .platformadminview-activity-3col {
-    -moz-border-radius:5px 5px 5px 5px;
-    border:1px solid #E1E1E0;
-    float:left;
-    margin:0px 20px 10px 2px;
-    padding:11px;
-    width:220px;
-    height:330px;
-}
-
-.courseadminview-activity-3col ul {
-    padding:0px 20px 10px 4px;
-    list-style-type:none;
-    height:240px;
-    margin-left:0px;
-    margin: 0px 0px 0px 0px ;
-}
-
-.courseadminview-activity-3col ul li {
-    padding:4px 0px 4px 0px;
-}
-
-#activity-3col {
-    width: 800px ;
-    margin-left: auto ;
-    margin-right: auto ;
-}
-
-.userportal-catalog-item {
-    -webkit-border-radius: 10px;
-    -moz-border-radius: 10px;
-    border-radius: 10px;    
-    border: 1px solid #DCE5F3;    
-    
-    /*background-color:#F9F9F9; */
-    padding:0px 0px 0px 5px;
-    margin:5px;
-    /* height:40px; */
-}
-
-.userportal-catalog-item .catalog_box li span {
-    font-size:130%;
-    font-weight:bold;
-    margin-left:5px;
-}
-
-.catalog_box {
-    
-    /* font-weight: bold; */
-    color: #666;
-    list-style-type: none;
-    margin:5px 5px 10px 5px;
-    padding: 5px;
-    background-color:#FFF;
-}
-
-
-.course-student-view-activity-3col {
-    -webkit-border-radius: 10px;
-    -moz-border-radius: 10px;
-    border-radius: 10px;
-    background-color:#FFFFFF;
-    height: 350px;
-    width: 800px ;
-    margin-left: auto ;
-    margin-right: auto ;
-}
-
-.course-student-view-activity-3col ul {
-    padding:10px 20px 10px 20px;
-    list-style-type:none;
-    /* height:240px; */
-    margin-left:0px;
-    margin: 0px 0px 0px 0px ;
-     float:left;
-    width : 280px;
-}
-
-.course-student-view-activity-3col ul li {
-    padding:5px 0px 4px 0px;
-}
-
-/* plugins divs */
-
-#plugin-header {
-    margin-left:65px;
-    padding:5px;
-}
-#plugin-mycourses_menu {
-    padding:5px;
-}
-
-#plugin-mycourses_main {
-    padding:5px;
-}
-
-#plugin-footer {
-    padding:0px;
-}
-
-#id_contact_form .normal-message{
-    padding:20px;
-}
-
-/* Scroll effect */
-
-.subnav-fixed .nav {
-    /* width: 938px; */
-    margin: 0 auto;
-    padding: 0 1px;
-}
-
-/* Text resize icons in header */
-.resize_font { /* the canvas */
-    margin: 0 5px 0 5px;
-}
-.reset_font {
-    font-size: 1.2em;
-    color: gray;
-    border: none;
-    padding: 2px;
-}
-.reset_font:hover {
-    border: none;
-    cursor: pointer;
-    background: #e5e5e5;
-}
-.increase_font {
-    font-size: 1.8em;
-    color: gray;
-    border: none;
-    padding: 2px;
-}
-.increase_font:hover {
-    border: none;
-    cursor: pointer;
-    background: #e5e5e5;
-}
-.decrease_font {
-    font-size: 0.6em;
-    color: gray;
-    border: none;
-    padding: 2px;
-}
-.decrease_font:hover {
-    border: none;
-    cursor: pointer;
-    background: #e5e5e5;
-}
-
-/* tips Abbr-plugin for FCKeditor */
-abbr {
-      border-bottom: 1px dotted rgb(102, 102, 102);
-      background-color:#F00;
-      cursor: help;
-}
-
-#toolshortcuts_horizontal {
-    width:92%;
-    padding: 0px 0px 2px 0; 
-}
-

+ 44 - 0
app/Resources/public/css/frames.css

@@ -0,0 +1,44 @@
+/*
+    Theme Name: Frame Scorm
+    URI Project: http://www.chamilo.org
+    Description: Styles main base of Chamilo LMS appearance, works with Bootstrap 3.0.x
+    Author:
+        alex.aragon@beeznest.com
+    Version: 1.0
+*/
+@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,300italic,400italic);
+body{
+    color: #666;
+    font-family: 'Open Sans', sans-serif;
+    padding: 20px;
+    line-height: 30px;
+    background: #E8F5FC;
+}
+a{
+    text-decoration: none;
+    color: #00829C;
+}
+a:hover{
+    text-decoration: underline;
+}
+h1{
+    border-radius: 5px;
+    border: 1px solid #ccc;
+    padding-top: 10px;
+    padding-bottom: 10px;
+    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,e5e5e5+100;White+3D */
+    background: #ffffff; /* Old browsers */
+    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6+ */
+    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
+    background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
+    background: -o-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Opera 11.10+ */
+    background: -ms-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* IE10+ */
+    background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C */
+    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
+}
+img{
+    border: 1px solid #ccc;
+    border-radius: 5px;
+    padding: 5px;
+    background: #fff;
+}

+ 48 - 41
app/Resources/public/css/scorm.css

@@ -67,11 +67,12 @@ See https://support.chamilo.org/issues/6976
 #learning_path_left_zone .description-autor{
   color: #666666;
   font-size: 12px;
+  text-align: left;
+  line-height: 20px;
 }
 
 .inner_lp_toc {
     overflow: auto;
-    border-top: 1px solid #dcdcdc;
 }
 
 .inner_lp_toc .scorm_item a {
@@ -111,20 +112,11 @@ See https://support.chamilo.org/issues/6976
 }
 
 .inner_lp_toc .scorm_item_section {
-    border:1px solid #222;
-    background:#333;
-    font-weight:bold;
-    color:#fff;
-    text-shadow:0 -1px 1px #000;
-    background-image:-webkit-gradient(linear,left top,left bottom,from(#555),to(#333));
-    background-image:-webkit-linear-gradient(top,#555,#333);
-    background-image:-moz-linear-gradient(top,#555,#333);
-    background-image:-ms-linear-gradient(top,#555,#333);
-    background-image:-o-linear-gradient(top,#555,#333);
-    background-image:linear-gradient(top,#555,#333);
-    margin-right: 1px;
-    padding: 10px 0px 10px 0px;
-    text-decoration: none;
+    background:#E8ECEF;
+    color:#666;
+    padding: 5px 0px 5px 0px;
+    font-size: 12px;
+    font-weight: bold;
 }
 
 .inner_lp_toc .scorm_item {
@@ -209,6 +201,7 @@ See https://support.chamilo.org/issues/6976
   -moz-border-radius: 0;
   -webkit-border-radius: 0;
   color: #ffffff;
+  font-size: 12px;
 }
 #learning_path_breadcrumb_zone .breadcrumb a{
   color: #ffffff;
@@ -278,9 +271,9 @@ See https://support.chamilo.org/issues/6976
   overflow-y:scroll;
 }
 .scorm-heading{
-  font-size: 16px;
-  font-weight: bold;
-  padding: 10px;
+  font-size: 14px;
+  padding-top: 5px;
+  padding-bottom: 5px;
 }
 #control-bottom{
   position: fixed;
@@ -292,9 +285,6 @@ See https://support.chamilo.org/issues/6976
 #control-bottom.well{
   margin-bottom: 0;
 }
-
-
-
 /*SCORM CSS BASE */
 #learning_path_left_zone .home{
   display: inline-block;
@@ -316,8 +306,9 @@ See https://support.chamilo.org/issues/6976
 }
 /* for section */
 .scorm_item_section.scorm_completed{
-  background:url("../../main/img/icon_completed_section.png")no-repeat 98% center #606c88;
+  color: #ffffff;
   padding-right: 1.5em;
+  background-color: #AAB3B8;
 }
 .scorm_item_section{
   background: #2b3d53; /* Old browsers */
@@ -353,36 +344,52 @@ See https://support.chamilo.org/issues/6976
 }
 
 .scorm_item_normal .scorm_item_level_0{
-  /* padding-left: .5em;
-  padding-right: 1.5em;
-  padding-top: 10px;
-  padding-bottom: 10px;
-  */
+  padding-left: 1.5em;
 }
 .scorm_item_normal{
-  padding:0;
-  border-bottom: 1px solid #DCDCDC;
+  padding:5px;
+  margin-left: 10px;
 }
 .scorm_item_normal a.items-list{
   color: #666666;
-  text-decoration: none;
-  display: block;
-  padding-left: 2em;
-  padding-right: 1.5em;
-  padding-top: 5px;
-  padding-bottom: 5px;
 }
 .scorm_item_normal a:hover{
    text-decoration: none;
 }
-.scorm_highlight{
-  background-color: #2B3D50 !important;
-}
-.scorm_highlight a{
-  color: #ffffff !important;
-}
 #scorm-info .panel-heading{
   padding: 5px;
 }
+#scorm-info #progress_bar .progress{
+  margin-bottom: 5px;  
+}
+.scorm-body .scorm-title{
+    font-size: 18px;
+    margin-top: 5px;
+    margin-bottom: 5px;
+    color: #666;
+}
+.scorm-body .scorm-title .fa-book{
+    color: #00829C;
+}
+.scorm_item_normal.scorm_completed {
+  background:url("../../main/img/scorm/scorm_completed.png") no-repeat left center;
+}
+.scorm_item_normal.scorm_failed{
+  background:url("../../main/img/scorm/scorm_failed.png") no-repeat left center;
+}
+.scorm_item_normal.scorm_not_attempted{
+  background:url("../../main/img/scorm/scorm_not_attempted.png") no-repeat left center;	
+}
+.scorm_item_normal.scorm_highlight{
+  background:url("../../main/img/scorm/scorm_highlight.png") no-repeat left center !important;
+  color: #009AB8;
+}
+.scorm_item_normal.scorm_highlight.scorm_completed{
+  background:url("../../main/img/scorm/scorm_current.png") no-repeat left center !important;
+  color: #009AB8;
+}
+.scorm_item_normal.scorm_highlight a{
+  color: #009AB8 !important;
+}
 
 /* END SCORM CSS BASE*/

+ 0 - 989
app/Resources/public/css/themes/chamilo/frames.css

@@ -1,989 +0,0 @@
-body {
-	font-family: verdana, arial, helvetica, sans-serif;
-	font-size: 12px;
-	color: #000;
-	margin: 10px;
-	padding: 0;
-	background-color: #fff;
-}
-img {
-	border: none;
-}
-#outerframe {
-	position: relative;  /* do not remove, fixes a bug in IE */
-	border: 1px solid #fff;
-	background-color: #fff;
-}
-/* Hides from IE5-mac \*/
-* html #outerframe {
-	height: 1%;
-}
-/* End hide from IE5-mac */
-
-/***************************************************** 
- *  HEADER STYLES                                    *
- *****************************************************/
-#header {
-	width: 100%;
-	padding: 0;
-	margin: 0;
-}
-/* Header 1: Containing title, portal and organization */
-#header1 {
-	font-size: 12px;
-	padding: 4px;
-	background-color: #264269;
-	color: #fff;
-	border-bottom: 1px solid white;
-}
-#header1 a {
-	color: #ffffff;
-	text-decoration: none;
-}
-#header1 a:hover {
-	text-decoration: underline;
-}
-#sitename {
-	margin: 0;
-	font-weight: bold;
-}
-#institution {
-	float: left;
-	font-weight: bold;
-}
-#my_courses {
-	float: right;
-	font-weight: bold;
-}
-#logout {
-	float: right;
-	width:20%;
-	text-align:right;
-}
-
-/* The tool shortcuts */
-#toolshortcuts {
-	text-align: right;
-}
-/***************************************************** 
- *  FOOTER STYLES                                    *
- *****************************************************/
-#footer {
-	padding: 8px;
-	border-top: 1px solid #4171B5;
-	background-color: #E5EDF9;
-	font-size: 12px;
-}
-#footer .copyright {
-	float: right;
-}
-/***************************************************** 
- *  MAIN STYLES                                      *
- *****************************************************/
-#main {
-	position: relative; /* to avoid the IE peekabo bug*/
-	margin: 0px auto;
-	margin-top: 10px;
-	width: 98%;
-	padding: 0px 10px 10px 10px;
-	background-color: #fff;
-	min-height: 320px;
-}
-/* for content section in main index.php file */
-.maincontent {
-	float: left;
-	width: 78%;
-	padding: 4px;
-	background-color: #fff;
-}
-/* "menu" classes for menu/navigation section in main index.php  */
-.menu {
-	float: right;
-	width: 20%;
-	padding: 0 0 6px 0;
-	background-color: #E5EDF9;
-	border: 1px solid #4171B5;
-}
-.menucaption {
-	font-size: 12px;
-	font-weight: bold;
-	padding-left: 12px;
-}
-.menusection {
-	width: auto;
-	margin: 24px 6px 0 6px;
-	padding-left: 10px;
-	border: 1px solid #4171B5;
-}
-.menusectioncaption {
-	position: relative;
-	top: -9px;
-	background-color: #E5EDF9;
-	font-size: 12px;
-	padding: 0 8px 0 4px;
-}
-.menulist {
-	list-style: none;
-	margin: 0 0 12px 0;
-	padding: 0;
-}
-#lang_form {
-	text-align: left;
-	font-size: 12px;
-	margin: 2px 0 10px 0;
-	padding: 2px;
-}
-#lang_form input, #lang_form select {
-	font-size: 12px;
-}
-#loginform label {
-	font-size: 12px;
-	margin: 4px 6px;
-}
-#loginform input {
-	display: block;
-	font-size: 13px;
-	margin: 4px 6px;
-}
-#login_fail {
-	margin: 0 6px 6px 6px;
-	padding: 4px;
-	border: 1px solid #f00;
-	background-color: #fff;
-	font-size: 12px;
-	color: #f00;
-}
-/*** layout divs for course and tool pages (being tested in some pages) ****/  
-#contentfloatholder {/* also makes the right "sliding" tab  */
-	/*background: url(../pics/sidebar-r.gif) repeat-y 100% 0;
-background: url(../pics/bg_fountain.jpg) no-repeat 100% 0; */
-float: left;
-	width: 100%;
-	position: relative;
-}
-#contentfloatholder:after {
-	/* this is for NN6 to clear floats */
-content: ".";
-	display: block;
-	height: 0px;
-	clear: both;
-	visibility: hidden;
-}
-#centerwrap {
-	float: left;
-	width: 100%;
-	margin-right: -95%;/* this needs to be less than 100% for Moz/Mac which thinks 
-         it's empty otherwise. The difference is made up by putting a 
-         negative left margin on the left float:
-	   Note IE/Mac doesn't like this method ~ it wants the 100% so it can 
-	   be fed in using IE only CSS below becasue IE/Win also works with the 100% method.  
-	*/
-}
-#center {
-	margin: 0 0 0 180px;
-	padding: 10px 0 40px 0;
-	min-height: 300px;
-}
-#left {
-	float: left;
-	width: 180px;
-	padding: 20px 0 0 0;
-	margin-left: -5%; /* the difference to make the left colum appear flush left */
-}
-/* --- left navigation box menu as a definition list  --- */
-#leftnavbox {
-	margin: 0;
-	padding: 0;
-	float:left;
-}
-#leftnavbox dl {
-	width: 160px;
-	margin: 12px auto 4px auto;
-	padding: 0 0 10px 0;
-	background: transparent;
-	font-size: 12px;
-	text-align: center;
-}
-#leftnavbox dt {
-	margin: 0;
-	padding: 1px 2px;
-	font-weight: bold;
-	font-size: 12px;
-	text-align: center;
-	color: #000;
-	border-bottom: 1px solid #fff;
-	background: transparent;
-}
-#leftnavbox dd {
-	margin: 0;
-	padding: 0;
-	color: #009;
-	text-align: left;
-	border-bottom:1px solid #fff;
-	background: #ccf;
-}
-#leftnavlist a, #leftnavlist a:link {
-	display: block;
-	color: #fff;
-	text-decoration: none;
-	padding: 2px 5px 2px 10px;
-	background: #4171B5;
-	width:140px;
-	border: 1px solid #009;
-}
-#leftnavlist a:visited {
-	color:#eee;
-	text-decoration: none;
-	display: block;
-	padding: 2px 5px 2px 10px;
-	background: #4171B5;
-	color: #eee;
-	width:140px;
-}
-#leftnavlist a:hover {
-	background: #fff;
-	color:#4171B5;
-	display: block;
-}
-/* --- end of left side definition list menu section  --- */ 
-
-
- 
-/* various sections in course-home.php file  */
-#toolremove {
-	width: 40%;
-	color: #f00;
-	font-weight: bold;
-	margin: 10px auto;
-	padding: 10px;
-	border: 2px solid #f00;
-}
-#courseintro {
-	clear: both;
-	width: 80%;
-	margin: 10px auto;
-	padding: 10px;
-	border-bottom: 1px solid #4171B5;
-}
-#courseintro_icons {
-	clear: both;
-	width: 80%;
-	margin: 10px auto;
-}
-.everybodyview {
-	position: relative; /* to avoid the IE peekabo bug ?*/
-	width: 80%;
-	margin: 10px auto;
-	padding: 10px;
-}
-.courseadminview, .platformadminview {
-	position: relative;
-	width: 80%;
-	margin: 25px auto 10px;
-	padding: 10px;
-	border: 1px solid #4171B5;
-}
-.viewcaption {
-	position: relative;
-	top: -20px;
-	font-size: 12px;
-	font-weight: bold;
-	color: #4171B5;
-	background-color: #fff;
-	padding: 0 4px;
-}
-/***********************************/
-
-/* ===================================================
-					AGENDA STYLES
-===================================================*/
-
-/* ---------------------------------------------------
-	check if these are still used or not
------------------------------------------------------*/
-#agenda {
-	width: 100%;
-	margin: 0 auto;
-	border: 1px solid #4171B5;
-	border-collapse: collapse;
-}
-.agenda_month_divider {
-	background-color: #4171B5;
-	font-weight: bold;
-	font-size: 12px;
-	color: #fff;
-	text-align: center;
-}
-#agenda #title a {
-	color: #fff;
-}
-#agenda .agendaitem {
-	font-size: 12px;
-}
-#smallcalendar #title {
-	background-color: #4171B5;
-	font-weight: bold;
-	padding: 2px;
-	color: #fff;
-	text-align: center;
-	font-size: 11px;
-}
-#smallcalendar #title a {
-	color: #fff;
-}
-#agenda_select {
-	list-style: none;
-	border: 0px solid green;
-	margin: 30px 0 0 0;
-	padding: 0 0 0 10px;
-}
-/* ---------------------------------------------------
-	styles for the agenda (day, week, month view)
------------------------------------------------------*/
-#agenda_list {
-	width: 100%;
-	margin: 0 auto;
-	border: 1px solid #fff;
-	border-collapse: collapse;
-}
-/*The caption of the calendar (displays the month and the << and >> links*/ 
-#agenda_list #title {
-	background-color: #4171B5;
-	font-weight: bold;
-	font-size: 12px;
-	color: #fff;
-	text-align: left;
-	padding: 2px 10px;
-	text-align: center;
-	border: 1px solid #264269;
-}
-#agenda_list #title a:link, #agenda_list #title a:visited {
-	background-color: #4171B5;
-	font-weight: bold;
-	font-size: 12px;
-	color: #fff;
-	text-align: left;
-	padding: 2px 10px;
-	text-align: center;
-}
-#agenda_list #title a:hover {
-	background-color: #4171B5;
-	font-weight: bold;
-	font-size: 12px;
-	color: #ff0000;
-	text-align: left;
-	padding: 2px 10px;
-	text-align: center;
-}
-/* The cells with the name of the days of the weeks (mon->sun)*/
-#agenda_list .weekdays {
-	background-color: #D3DFF1;
-	text-align: center;
-	font-weight: bold;
-	border: 1px solid #264269;
-	border-collapse: collapse;
-}
-/* The cells for the days (1->31) */ 
-#agenda_list .days_week {
-	height: 40px;
-	width: 12%;
-	text-align: left;
-	vertical-align: top;
-	border: 1px solid #264269;
-	border-collapse: collapse;
-	background-color: #f5f5f5;
-}
-#agenda_list .days_weekend {
-	height: 40px;
-	width: 12%;
-	text-align: left;
-	vertical-align: top;
-	border: 1px solid #264269;
-	border-collapse: collapse;
-	background-color: #e6e6e6;
-}
-#agenda_list .days_today {
-	height: 40px;
-	width: 12%;
-	text-align: left;
-	vertical-align: top;
-	border: 1px solid #264269;
-	border-collapse: collapse;
-	background-color: #FFCA8D;
-	color: #CC3300;
-	font-weight: bold;
-}
-/* text in the cells: display of agenda items (visible)*/
-#agenda_list .data {
-	background-color: #eee;
-	text-align: left;
-	padding: 2px 10px;
-	font-weight: bold;
-	border: 0px solid #4171B5;
-	border-collapse: collapse;
-}
-#agenda_list .datanotbold {
-	background-color: #eee;
-	text-align: left;
-	padding: 2px 10px;
-	font-weight: normal;
-	border: 0px solid #4171B5;
-	border-collapse: collapse;
-}
-#agenda_list .text {
-	background-color: #fff;
-	text-align: left;
-	padding: 2px 10px;
-	font-weight: normal;
-	border: 0px solid #4171B5;
-	border-collapse: collapse;
-}
-/*text in the cells: display of agenda items (invisible)*/   
-#agenda_list .data_hidden {
-	background-color: #eee;
-	text-align: left;
-	padding: 2px 10px;
-	font-weight: bold;
-	border: 0px solid #4171B5;
-	border-collapse: collapse;
-	color: #999999;
-}
-#agenda_list .datanotbold_hidden {
-	background-color: #eee;
-	text-align: left;
-	padding: 2px 10px;
-	font-weight: normal;
-	border: 0px solid #4171B5;
-	border-collapse: collapse;
-	color: #999999;
-}
-#agenda_list .text_hidden {
-	background-color: #fff;
-	text-align: left;
-	padding: 2px 10px;
-	font-weight: normal;
-	border: 0px solid #4171B5;
-	border-collapse: collapse;
-	color: #999999;
-}
-/*text in the cells: display of agenda items (highlighted)*/    
-#agenda_list .datanow {
-	background-color: #FFCC00;
-	text-align: left;
-	padding: 2px 10px;
-	font-weight: bold;
-	border: 0px solid #4171B5;
-	border-collapse: collapse;
-}
-#agenda_list .datanotboldnow {
-	background-color: #FFCC00;
-	text-align: left;
-	padding: 2px 10px;
-	font-weight: normal;
-	border: 0px solid #4171B5;
-	border-collapse: collapse;
-}
-#agenda_list .textnow {
-	background-color: #fff;
-	text-align: left;
-	padding: 2px 10px;
-	font-weight: normal;
-	border: 0px solid #4171B5;
-	border-collapse: collapse;
-}
-/* ---------------------------------------------------
-	styles for the mini agenda
------------------------------------------------------*/ 
-#smallcalendar {
-	width: 100%;
-	margin: 0 auto;
-	border: 1px solid #fff;
-	border-collapse: collapse;
-}
-#smallcalendar .weekdays {
-	background-color: #D3DFF1;
-	text-align: center;
-	font-size: 11px;
-	font-weight: bold;
-	border: 1px solid #fff;
-	border-collapse: collapse;
-}
-#smallcalendar .days_week {
-	background-color: #f5f5f5;
-	text-align: center;
-	font-size: 11px;
-	border-collapse: collapse;
-}
-#smallcalendar .days_weekend {
-	background-color: #e6e6e6;
-	text-align: center;
-	font-size: 11px;
-	border: 1px solid #fff;
-	border-collapse: collapse;
-}
-#smallcalendar .days_today {
-	width: 12%;
-	text-align: center;
-	font-size: 11px;
-	border: 1px solid #FA8500;
-	border-collapse: collapse;
-	background-color: #FFCA8D;
-}
-/* ---------------------------------------------------
-	styles for the personal agenda
------------------------------------------------------*/
-.personal_agenda {
-	color: #008000;
-}
-.personal_agenda a:link, .personal_agenda a:visited {
-	color: #008000;
-}
-a.personal_agenda:link, a.personal_agenda:visited {
-	color: #008000;
-}
-.personal_agenda a:hover, .personal_agenda a:hover {
-	color: #666666;
-}
-a.personal_agenda:hover, a.personal_agenda:hover {
-	color: #666666;
-}
-/* normal and erro message-box */
-.normal-message, .error-message {
-	position: relative;
-	margin: 10px auto;
-	margin-left: -250px;
-	width: 500px;
-	left: 50%;
-	right: 50%;
-	border-width: 1px;
-	border-style: solid;
-	padding: 5px;
-}
-.normal-message {
-	border: 1px solid #FF8001;
-	color: #000;
-	background-color: #FDC77E;
-}
-.error-message {
-	border: 1px solid #3F70AC;
-	color: #000;
-	background-color: #FDC273;
-}
-#message {
-	margin: 0 auto;
-	text-align: center;
-}
-#message select {
-	margin: 10px 0;
-	width: 220px;
-}
-#message textarea {
-	margin: 10px 0;
-}
-#message td {
-	padding: 4px;
-}
-/* styles from the document.php file */
-.comment {
-	margin-left: 30px;
-}
-.invisible {
-	color: #999;
-}
-.invisible a:link, .invisible a:visited {
-	color: #999;
-}
-a.invisible:link, a.invisible:visited {
-	color: #999;
-}
-/* styles from the upload.php file */
-dl.upload_option {
-	margin: 1em 0;
-	padding: 0;
-}
-.upload_option dt {
-	font-weight:bold;
-	margin:0;
-}
-.upload_option dd {
-	margin:0;
-}
-/* styles from dropbox.php file */
-.dropbox_detail {
-	font-size: small
-}
-.dropbox_date {
-	font-style: italic
-}
-.dropbox_person {
-	font-weight: bold
-}
-.dropbox_listTitle {
-	color: #000000;
-}
-.dropbox_feedback {
-	font-size: x-small;
-	height: 50px;
-	width: 200px;
-	overflow: auto
-}
-.dropbox_feedbacks {
-	height: 250px;
-	width: 100%;
-	overflow: auto
-}
-/* styles for chat / conference tools */
-#chat_entermessage {
-	background-color: #D6E5FA;
-	border-top: 1px solid #4171B5;
-	padding: 5px;
-	margin: 0;
-}
-/* styles for general formatting */
-.clear {
-	clear: both;
-	line-height: 0;
-	height: 0;
-}
-p, blockquote, ol, ul {
-	font-size: 12px;
-}
-h1 {
-	font-size: 21px;
-}
-h2 {
-	font-size: 18px;
-}
-h3 {
-	font-size: 15px;
-	margin-top:0px;
-	padding-top:0px;
-}
-h4 {
-	font-size: 12px;
-}
-h5, h6 {
-	font-family: verdana, arial, helvetica, sans-serif;
-}
-/* the following for regular <a> elements */
-a:link {
-	text-decoration: none;
-	font-weight : bold;
-	color : #4171b5;
-}
-a:visited {
-	text-decoration: none;
-	font-weight : bold;
-	color : #4171b5;
-}
-a:hover {
-	text-decoration: none;
-	color: red;
-	font-weight: bold
-}
-a:active {
-	text-decoration: none;
-	font-weight : bold;
-	color : #f00;
-}
-input.link_alike {
-	background-color: #FFFFFF;
-	border-width: 0px;
-	color: #4171b5;
-	font-weight: bold;
-	text-align: left;
-	padding: 0px;
-	margin: 0px;
-}
-input.link_alike:hover {
-	background-color: #FFFFFF;
-	border-width: 0px;
-	color: #FF0000;
-	font-weight: bold;
-	text-align: left;
-	padding: 0px;
-	margin: 0px;
-}
-/* the following for the greyed out elements */
-a.nobold:link, a.nobold:visited, a.nobold:active {
-	font-weight: normal;
-	color: #999;
-	margin: 0 0 0 25px;
-}
-a.nobold:hover {
-	font-weight: normal;
-	color: #999;
-	text-decoration: underline;
-	margin: 0 0 0 25px;
-}
-.note {
-	margin: 6px;
-	font-size: 12px;
-	line-height: 14px;
-	font-family: verdana, arial, helvetica, sans-serif;
-	background-color: #FFF089;
-	color: #4171B5;
-	border: 1px solid #4171B5;
-	padding: 4px;
-}
-.alternativeBgLight {
-	background-color: #f5f5f5;
-	border: 1px solid #4171B5;
-	border-collapse: collapse;
-}
-.alternativeBgDark {
-	background-color: #ccf;
-	border: 1px solid #4171B5;
-	border-collapse: collapse;
-}
-.myagendatoday {
-	background-color: #FFCA8D;
-	border-collapse: collapse;
-	font-family: verdana, arial, helvetica, sans-serif;
-	color: #CC3300;
-	font-weight: bold;
-}
-/* Form elements - some general styling*/
-select, textarea {
-	color : #000;
-	border: 1px solid #000;
-}
-input.checkbox {
-	border-width: 0;
-}
-input.mainoption {
-	font-weight : bold;
-}   /* Main submit button      */
-input.liteoption {
-	font-weight : normal;
-} /* None-bold submit button */
-select, input[type=checkbox], input[type=radio], input[type=button], input[type=submit] {
-	cursor:	pointer;
-	font-size: 12px;
-}
-input[text] {
-	font-size: 12px;
-}
-/************************************************************
-  styles below here are not necessarily used in the current
-	release and the CVS files, they are from earlier versions,
-	and have been left untouched for anyone needing them in
-	their own platform ...
-*************************************************************/
-.topBanner a:link, .topBanner a:active, .topBanner a:visited {
-	text-decoration:none;
-	color:white;
-}
-.topBanner table {
-	text-decoration:none;
-}
-.topBanner a:hover {
-	text-decoration:underline;
-}
-.topBanner td {
-	border-top: solid White 1px;
-}
-.alternativeBgLight {
-	background-color: #f5f5f5;
-}
-.alternativeBgDark {
-	background-color: #e6e6e6
-}
-.forms {
-	letter-spacing: normal;
-	text-align: justify;
-	text-indent: 3pt;
-	word-spacing: normal;
-	padding: 2px 5px;
-}
-.formsTips {
-	text-align: justify;
-	text-indent: 15pt;
-	word-spacing: normal;
-}
-/*
-input.forms	{ letter-spacing: normal; text-align: justify; text-indent: 3pt;	word-spacing: normal;
-padding-top: 0px;	padding-right: 0px;	padding-bottom: 0px;	padding-left: 0px;}
-*/
-.warn {
-	border: thin double Silver;
-	margin-left: 15px;
-	margin-right: 15px;
-	font-family: serif;
-	color: Red;
-	padding-left: 25px;
-}
-.small {
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-	font-size: 11px
-}
-.xsmall {
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-	font-size: 11px
-}
-.xxsmall {
-	font-family: Verdana, Arial, Helvetica, sans-serif;
-	font-size: 9px
-}
-/***************************************************** 
- *  DATA TABLE STYLES                                *
- *****************************************************/
-.cell_header {
-	background-color: #EEEEFF;
-	font-weight:bold;
-	text-align:left;
-	padding-left:5px;
-}   /* header cell in data table in tools */
-.data_table {
-	border-collapse: collapse;
-	width: 100%;
-	padding: 5px;
-}
-.data_table th {
-	padding-right: 20px;
-	border: 1px solid gray;
-	background-color: #E5EDF9;
-}
-.data_table tr.row_odd {
-	background-color: #fafafa;
-}
-.data_table tr.row_odd:hover, .data_table tr.row_even:hover {
-	background-color: #f0f0f0;
-}
-.data_table tr.row_even {
-	background-color: #fff;
-}
-.data_table td {
-	padding: 5px;
-	vertical-align: top;
-	border-bottom: 1px solid #b0b0b0;
-	border-right: 1px dotted #e1e1e1;
-	border-left: 1px dotted #e1e1e1;
-}
-/* admin page tool list definitions */
-.tool_list dt {
-	font-weight: bold;
-}
-.tool_list dd {
-	margin: 0;
-	padding: 4px 0 0 10px;
-}
-/* divs for category list / platform news on home page */
-.home_cats {
-	width: 45%;
-	float: left;
-	margin: 0;
-	padding: 0px;
-	padding-top: 8px;
-	background: #fff;
-}
-.home_news {
-	width: 45%;
-	float: right;
-	margin: 0;
-	padding: 0px;
-	padding-top: 8px;
-	background: #fff;
-}
-label.left {
-	float: left;
-	width: 15em;
-	margin: 0 0 0.5em 0;
-}
-form br {
-	clear: both;
-}
-/* Fix for alignment problem in IE-Win browsers  */
-/*  Hide from IE5-mac. Only IE-win sees this. \*/
-* html .label {
-	margin-right: 10px;
-}
-* html .data {
-	height: 1%;
-	margin-left: 0;
-}
-/* End hide from IE5/mac */
-
-.radio, .checkbox {
-	margin: 0;
-	padding: 0;
-	border: none;
-	background-color: transparent;
-}
-.required {
-	color: #f00;
-	font-weight: bold;
-}
-/* Admin section */
-div.admin_section {
-	width: 40%;
-	float: left;
-	padding: 5px;
-	margin: 10px 20px;
-}
-div.admin_section h4 {
-	margin: 0;
-	border-bottom: 1px solid gray;
-	width: 100%;
-}
-.user_course_category {
-	background-color: #efefef;
-	border: 1px solid #666;
-	font-weight: bold;
-	color: #666;
-	list-style-type: none;
-	margin: 5px;
-	padding: 5px;
-}
-/* Styles for the Dokeos Config Settings of the platform admin section*/
-.sectiontitle {
-	background-color: #EFEFEF;
-	border: 1px solid #cccccc;
-	font-weight: bold;
-	color: #666666;
-	list-style-type: none;
-	margin: 5px;
-	padding: 5px;
-	font-size: 11px;
-}
-.sectioncomment {
-	color: #000000;
-	margin: 5px;
-	padding: 5px;
-	font-size: 11px;
-}
-.sectionvalue {
-	list-style-type: none;
-	margin: 5px;
-	padding: 5px;
-}
-/* New Announcements Tool */
-.announcements_datum {
-	font-size: 12px;
-	font-weight: italic;
-	color: #666666;
-}
-/* System announcements on homepage */
-div.system_announcements {
-}
-div.system_announcements h3 {
-}
-div.system_announcements ul {
-	list-style-type: none;
-}
-div.system_announcement {
-	margin: 5px;
-}
-div.system_announcement_title {
-}
-div.system_announcement_content {
-	margin-left: 20px;
-	border-left: 1px solid gray;
-	padding-left: 5px;
-}
-/* tips Abbr-plugin for FCKeditor */
-abbr {
-      border-bottom: 1px dotted rgb(102, 102, 102);
-      background-color:#F00;
-      cursor: help;
-}

BIN
app/Resources/public/css/themes/chamilo/images/scorm_completed.png


BIN
app/Resources/public/css/themes/chamilo/images/scorm_highlight.png


BIN
app/Resources/public/css/themes/chamilo/images/scorm_not_attempted.png


+ 0 - 14
app/Resources/public/css/themes/chamilo/learnpath.css

@@ -1,17 +1,3 @@
-/* items scorm*/
-.scorm_item_normal.scorm_completed {
-  background:url("images/scorm_completed.png") no-repeat left center;
-}
-.scorm_item_normal.scorm_failed{
-  background:url("images/scorm_failed.png") no-repeat left center;
-}
-.scorm_item_normal.scorm_not_attempted{
-  background:url("images/scorm_not_attempted.png") no-repeat left center;	
-}
-.scorm_item_normal.scorm_highlight{
-  background:url("images/scorm_highlight.png") no-repeat left center;	
-}
-
 div.text {
 	margin-left : 6;
 	margin-right : 6;

BIN
main/img/scorm/scorm_completed.png


BIN
main/img/scorm/scorm_current.png


+ 0 - 0
app/Resources/public/css/themes/chamilo/images/scorm_failed.png → main/img/scorm/scorm_failed.png


BIN
main/img/scorm/scorm_highlight.png


BIN
main/img/scorm/scorm_not_attempted.png


+ 1 - 0
main/inc/lib/javascript/jquery.lp_minipanel.js

@@ -38,5 +38,6 @@ $(document).ready(function() {
 
         $('#learning_path_right_zone iframe').on('load', loadLearningPathRigthZone);
     });
+    
 
 });

+ 4 - 4
main/inc/lib/pdf.lib.php

@@ -83,11 +83,11 @@ class PDF
         Display::$global_template->assign('pdf_content', $content);
 
         $organization = api_get_setting('Institution');
-        $img = api_get_path(SYS_CODE_PATH).'css/'.api_get_visual_theme().'/images/header-logo.png';
+        $img = api_get_path(SYS_CSS_PATH).'themes/'.api_get_visual_theme().'/images/header-logo.png';
 
         // Search for classic logo
         if (file_exists($img)) {
-            $img = api_get_path(WEB_CODE_PATH).'css/'.api_get_visual_theme().'/images/header-logo.png';
+            $img = api_get_path(WEB_CSS_PATH).'themes/'.api_get_visual_theme().'/images/header-logo.png';
             $organization = "<img src='$img'>";
         } else {
             // Just use the platform title.
@@ -100,9 +100,9 @@ class PDF
         $pdfLogo = api_get_setting('pdf_logo_header');
         if ($pdfLogo === 'true') {
             $visualTheme = api_get_visual_theme();
-            $img = api_get_path(SYS_CODE_PATH).'css/'.$visualTheme.'/images/pdf_logo_header.png';
+            $img = api_get_path(SYS_CSS_PATH).'themes/'.$visualTheme.'/images/pdf_logo_header.png';
             if (file_exists($img)) {
-                $img = api_get_path(WEB_CODE_PATH) . 'css/' . $visualTheme . '/images/pdf_logo_header.png';
+                $img = api_get_path(WEB_CSS_PATH) . 'themes/' . $visualTheme . '/images/pdf_logo_header.png';
                 $organization = "<img src='$img'>";
             }
         }

+ 1 - 1
main/inc/lib/svg-edit/extensions/imagelib/groups.php

@@ -47,7 +47,7 @@ if (is_array($all_files) && count($all_files) > 0) {
 
 $style = '<style>';
 $style .= '@import "'.api_get_path(WEB_CSS_PATH).'base.css";';
-$style .= '@import "'.api_get_path(WEB_CSS_PATH).api_get_visual_theme().'/default.css";';
+$style .= '@import "'.api_get_path(WEB_CSS_PATH).'themes/'.api_get_visual_theme().'/default.css";';
 $style .='</style>';
 
 ?>

+ 1 - 1
main/inc/lib/svg-edit/extensions/imagelib/index.php

@@ -46,7 +46,7 @@ $web_path  = api_get_path(WEB_COURSE_PATH).$course_info['path'].'/document/image
 
 $style = '<style>';
 $style .= '@import "'.api_get_path(WEB_CSS_PATH).'base.css";';
-$style .= '@import "'.api_get_path(WEB_CSS_PATH).api_get_visual_theme().'/default.css";';
+$style .= '@import "'.api_get_path(WEB_CSS_PATH).'themes/'.api_get_visual_theme().'/default.css";';
 $style .='</style>';
 
 ?>

+ 1 - 1
main/inc/lib/svg-edit/extensions/imagelib/users.php

@@ -31,7 +31,7 @@ if (is_array($scan_files) && count($scan_files) > 0) {
 }
 $style = '<style>';
 $style .= '@import "'.api_get_path(WEB_CSS_PATH).'base.css";';
-$style .= '@import "'.api_get_path(WEB_CSS_PATH).api_get_visual_theme().'/default.css";';
+$style .= '@import "'.api_get_path(WEB_CSS_PATH).'themes/'.api_get_visual_theme().'/default.css";';
 $style .='</style>';
 
 ?>

+ 7 - 4
main/newscorm/learnpath.class.php

@@ -2588,10 +2588,12 @@ class learnpath
      */
     public function get_preview_image_path($size = null, $path_type = 'web')
     {
+        
         $preview_image = $this->get_preview_image();
         if (isset($preview_image) && !empty($preview_image)) {
             $image_sys_path = api_get_path(SYS_COURSE_PATH).$this->course_info['path'].'/upload/learning_path/images/';
             $image_path = api_get_path(WEB_COURSE_PATH).$this->course_info['path'].'/upload/learning_path/images/';
+            
             if (isset($size)) {
                 $info = pathinfo($preview_image);
                 $image_custom_size = $info['filename'].'.'.$size.'.'.$info['extension'];
@@ -3139,7 +3141,7 @@ class learnpath
         if (empty($toc_list)) {
             $toc_list = $this->get_toc();
         }
-        $html = '<div id="scorm_title" class="scorm-heading">'.Security::remove_XSS($this->get_name()) . '</div>';
+        //$html = '<div id="scorm_title" class="scorm-heading">'.Security::remove_XSS($this->get_name()) . '</div>';
         $html .= '<div class="scorm-body">';
         $hide_teacher_icons_lp = isset($_configuration['hide_teacher_icons_lp']) ? $_configuration['hide_teacher_icons_lp'] : true;
 
@@ -3155,6 +3157,7 @@ class learnpath
                 $html .= '</div>';
             }
         }
+        
         $html .= '<div id="inner_lp_toc" class="inner_lp_toc">';
         require_once 'resourcelinker.inc.php';
 
@@ -3187,11 +3190,11 @@ class learnpath
                 'browsed'       => 'scorm_completed',
             );
 
-            $scorm_color_background = 'scorm_item_2';
+            $scorm_color_background = 'row_odd';
             $style_item = '';
 
             if ($color_counter % 2 == 0) {
-                $scorm_color_background = 'scorm_item_1';
+                $scorm_color_background = 'row_even';
             }
 
             $dirTypes = self::getChapterTypes();
@@ -3201,7 +3204,7 @@ class learnpath
                 $style_item = '';
             }
             if ($item['id'] == $this->current) {
-                $scorm_color_background = 'scorm_item_normal scorm_highlight '.$scorm_color_background.' ';
+                $scorm_color_background = 'scorm_item_normal '.$scorm_color_background.' scorm_highlight';
             } elseif (!in_array($item['type'], $dirTypes)) {
                 $scorm_color_background = 'scorm_item_normal '.$scorm_color_background.' ';
             }

+ 7 - 4
main/newscorm/lp_view.php

@@ -391,7 +391,7 @@ if (api_get_course_setting('lp_return_link') == 1) {
     $buttonHomeText = get_lang('LearningPathList');
 }
 
-$lpPreviewImagePath = 'unknown_250_100.jpg';
+$lpPreviewImagePath = 'unknown.png';
 
 if ($_SESSION['oLP']->get_preview_image()) {
     $lpPreviewImagePath = $_SESSION['oLP']->get_preview_image_path();
@@ -435,14 +435,17 @@ if ($gamificationMode == 1) {
 
 $template->assign(
     'lp_preview_image',
-    Display::return_icon(
+    Display::img(
         $lpPreviewImagePath,
-        null,
-        ['height' => 96, 'width' => 104]
+        $_SESSION['oLP']->name,
+        array('class' => 'img-circle'),
+        ICON_SIZE_BIG
     )
 );
+
 $template->assign('lp_author', $_SESSION['oLP']->get_author());
 $template->assign('lp_mode', $_SESSION['oLP']->mode);
+$template->assign('lp_title_scorm',$_SESSION['oLP']->name);
 $template->assign(
     'lp_html_toc',
     $_SESSION['oLP']->get_html_toc($get_toc_list)

+ 34 - 17
main/template/default/learnpath/view.tpl

@@ -46,34 +46,47 @@
                         </div>
                         {# Author image preview #}
                         <div id="panel-scorm" class="panel-body">
-                            <a href="{{ button_home_url }}" class="btn btn-success btn-block" target="_self" onclick="javascript: window.parent.API.save_asset();">
+                            <a href="{{ button_home_url }}" class="btn btn-primary btn-block" target="_self" onclick="javascript: window.parent.API.save_asset();">
                                 <i class="fa fa-home"></i> {{ button_home_text }}
                             </a>
-
-                            <div class="image-avatar">{{ lp_preview_image }}</div>
-
+                            <div class="image-avatar">
+                                <div class="row">
+                                    {% if lp_author == '' %}
+                                       <div class="col-md-12">
+                                            {{ lp_preview_image }}
+                                        </div> 
+                                    {% else %}
+                                        <div class="col-md-4">
+                                            {{ lp_preview_image }}
+                                        </div>
+                                        <div class="col-md-8">
+                                            <div class="description-autor"> {{ lp_author }} </div>
+                                        </div>
+                                    {% endif %}
+                                    
+                                </div>
+                            </div>
+                            <div id="progress_bar">
+                                {{ progress_bar }}
+                            </div>
                             <div id="lp_navigation_elem" class="navegation-bar">
                                 {{ navigation_bar }}
-
-                                <div id="progress_bar">
-                                    {{ progress_bar }}
-                                </div>
                             </div>
-
-                            <div class="description-autor">{{ lp_author }}</div>
-
                             {% if show_audio_player %}
                                 <div id="lp_media_file">
                                     {{ media_player }}
                                 </div>
                             {% endif %}
-                        </div>
+                       </div>
                     </div>
                 {% endif %}
 
                 {# TOC layout #}
-                <div id="toc_id" name="toc_name">
-                    <div id="learning_path_toc" class="scorm-list">{{ lp_html_toc }}</div>
+                <div id="toc_id" class="scorm-body" name="toc_name">
+                    <div class="scorm-title"> <i class="fa fa-book"></i> {{ lp_title_scorm }}</div>
+                    <div id="learning_path_toc" class="scorm-list">
+                        {{ lp_html_toc }}
+                    </div>
                 </div>
                 {# end TOC layout #}
 
@@ -87,7 +100,7 @@
                 {% if lp_mode == 'fullscreen' %}
                     <iframe id="content_id_blank" name="content_name_blank" src="blank.php" border="0" frameborder="0" style="width: 100%; height: 100%" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>
                 {% else %}
-                    <iframe id="content_id" name="content_name" src="{{ iframe_src }}" border="0" frameborder="0" style="display: block; width: 100%; height: 100%" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>
+                <iframe id="content_id" name="content_name" src="{{ iframe_src }}" border="0" frameborder="0" style="display: block; width: 100%; height: 100%" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>
                 {% endif %}
             </div>
             {# end right Zone #}
@@ -160,7 +173,7 @@
                 {% endif %}
         {% endif %}
     };
-
+    
     $(document).ready(function() {
         updateContentHeight();
 
@@ -171,8 +184,11 @@
         $(window).resize(function() {
             updateContentHeight();
         });
+        
+        
     });
-
+    
+    
     window.onload = updateContentHeight();
     window.onresize = updateContentHeight();
 
@@ -194,4 +210,5 @@
             });
         });
     });
+     
 </script>

+ 11 - 1
src/Chamilo/CoreBundle/Component/Editor/CkEditor/CkEditor.php

@@ -38,8 +38,18 @@ class CkEditor extends Editor
      */
     public function createHtml()
     {
+        $style = '';
+        if (trim($this->value) == '<html><head><title></title></head><body></body></html>') {
+            $cssFile = api_get_path(SYS_CSS_PATH).'themes/'.api_get_visual_theme().'/frames.css';
+            if (!is_file($cssFile)) {
+                $cssFile = api_get_path(WEB_CSS_PATH).'frames.css';
+            } else {
+                $cssFile = api_get_path(WEB_CSS_PATH).'themes/'.api_get_visual_theme().'/frames.css';
+            }
+            $style = '<link href="'.$cssFile.'" rel="stylesheet" media="screen" type="text/css" />';
+        }
         $html = '<textarea id="'.$this->getName().'" name="'.$this->getName().'" class="ckeditor">
-                 '.$this->value.'
+                 '.$style.$this->value.'
                  </textarea>';
         $html .= $this->editorReplace();