From fa1052c27a6a3f54be5eaec04f6570a784001b45 Mon Sep 17 00:00:00 2001 From: baelmyhu Date: Thu, 13 Feb 2014 16:35:51 +0100 Subject: [PATCH] Adding advanced CSS personalization for Learning Path -ref #6976 --- main/css/academica/scorm.css | 163 ++++++++++ main/css/baby_orange/scorm.css | 163 ++++++++++ main/css/base.css | 111 ------- main/css/blue_lagoon/scorm.css | 163 ++++++++++ main/css/chamilo/scorm.css | 163 ++++++++++ main/css/chamilo_electric_blue/scorm.css | 163 ++++++++++ main/css/chamilo_green/scorm.css | 163 ++++++++++ main/css/chamilo_orange/scorm.css | 379 ++++++++++++++++------- main/css/chamilo_red/scorm.css | 167 +++++++++- main/css/chamilo_sport_red/scorm.css | 163 ++++++++++ main/css/cool_blue/scorm.css | 165 +++++++++- main/css/corporate/scorm.css | 164 +++++++++- main/css/cosmic_campus/scorm.css | 164 +++++++++- main/css/delicious_bordeaux/scorm.css | 163 ++++++++++ main/css/dokeos_blue/scorm.css | 165 +++++++++- main/css/dokeos_classic/scorm.css | 163 ++++++++++ main/css/dokeos_classic_2D/scorm.css | 164 +++++++++- main/css/empire_green/scorm.css | 163 ++++++++++ main/css/fruity_orange/scorm.css | 165 +++++++++- main/css/medical/scorm.css | 164 +++++++++- main/css/public_admin/scorm.css | 163 ++++++++++ main/css/royal_purple/scorm.css | 165 +++++++++- main/css/silver_line/scorm.css | 165 +++++++++- main/css/sober_brown/scorm.css | 166 +++++++++- main/css/steel_grey/scorm.css | 167 +++++++++- main/css/tasty_olive/scorm.css | 165 +++++++++- main/img/lp_section.png | Bin 0 -> 1443 bytes main/inc/lib/main_api.lib.php | 4 + main/inc/lib/template.lib.php | 5 + main/newscorm/learnpath.class.php | 45 ++- 30 files changed, 4219 insertions(+), 264 deletions(-) create mode 100644 main/img/lp_section.png diff --git a/main/css/academica/scorm.css b/main/css/academica/scorm.css index 708a02880d..701fb66d3f 100644 --- a/main/css/academica/scorm.css +++ b/main/css/academica/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } diff --git a/main/css/baby_orange/scorm.css b/main/css/baby_orange/scorm.css index 1d02f56b4d..0abe169a22 100644 --- a/main/css/baby_orange/scorm.css +++ b/main/css/baby_orange/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } diff --git a/main/css/base.css b/main/css/base.css index 5224711216..8ebcd6be5d 100644 --- a/main/css/base.css +++ b/main/css/base.css @@ -4075,122 +4075,11 @@ footer { margin:0; } -#scorm_title { - background: none repeat scroll 0 0 #EEEEEE; - color: #444444; - font-size: 16px; - font-weight: bold; - padding: 1px 5px 3px 8px; -} .progresstext { text-align: center; } -.inner_lp_toc { - overflow: auto; - background-color: white; - height: 210px; -} - -.inner_lp_toc .scorm_item a { - font-weight: bold; - font-size: 14px; - margin-right: 1px; - padding-bottom: 2px; - text-decoration: none; - color: #2F3E46; -} - -.inner_lp_toc .scorm_item a.chapter_module { - font-weight: normal; - margin-right: 10px; -} -.inner_lp_toc .scorm_item_highlight { - border: 1px solid #999; - background:#999; - font-weight:bold; - text-shadow:0 -1px 1px #666; - background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); - background-image:-webkit-linear-gradient(top,#666,#999); - background-image:-moz-linear-gradient(top,#666,#999); - background-image:-ms-linear-gradient(top,#666,#999); - background-image:-o-linear-gradient(top,#666,#999); - background-image:linear-gradient(top,#666,#999); - margin-right: 0px; - padding: 10px 0px 10px 0px; - text-decoration: none; -} - -.inner_lp_toc .scorm_item_highlight a { - color:#fff; - margin-right: 1px; - text-decoration: none; - font-weight: bold; -} - -.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; - -} - -.inner_lp_toc .scorm_item { - font-size: 16px; - margin-left: 10px; - margin-right:10px; - text-decoration: none; - border-color: rgba(255, 255, 255, 0.3); -} - -.inner_lp_toc .scorm_item_1 { - border-bottom: 1px solid #CCCCCC; - background:#eee; - font-weight:bold; - color:#444; - text-shadow:0 1px 1px #f6f6f6; - background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); - background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); - background-image:-moz-linear-gradient(top,#fdfdfd,#eee); - background-image:-ms-linear-gradient(top,#fdfdfd,#eee); - background-image:-o-linear-gradient(top,#fdfdfd,#eee); - background-image:linear-gradient(top,#fdfdfd,#eee); - margin-right: 1px; - padding: 10px 0px 10px 0px; - text-decoration: none; - font-weight: normal; - /* background:#FDFDFD; */ -} - -.inner_lp_toc .scorm_item_2 { - background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); - background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); - background-image:-moz-linear-gradient(top,#fdfdfd,#eee); - background-image:-ms-linear-gradient(top,#fdfdfd,#eee); - background-image:-o-linear-gradient(top,#fdfdfd,#eee); - background-image:linear-gradient(top,#fdfdfd,#eee); - border-bottom: 1px solid #CCCCCC; - color: #444444; - font-weight: bold; - text-shadow: 0 1px 1px #F6F6F6; - margin-right: 1px; - padding: 10px 0px 10px 0px; - text-decoration: none; - font-weight: normal; -} - .ui-state-highlight_lp { border: 1px solid #FEAA18; background: #FFB738; diff --git a/main/css/blue_lagoon/scorm.css b/main/css/blue_lagoon/scorm.css index 39c8711465..f99c2a6a06 100644 --- a/main/css/blue_lagoon/scorm.css +++ b/main/css/blue_lagoon/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } diff --git a/main/css/chamilo/scorm.css b/main/css/chamilo/scorm.css index 19c66edc0c..2f14d994ad 100644 --- a/main/css/chamilo/scorm.css +++ b/main/css/chamilo/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } diff --git a/main/css/chamilo_electric_blue/scorm.css b/main/css/chamilo_electric_blue/scorm.css index cd0532696e..a3d499baed 100644 --- a/main/css/chamilo_electric_blue/scorm.css +++ b/main/css/chamilo_electric_blue/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content: url("../../img/lp_section.png"); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right:10px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } diff --git a/main/css/chamilo_green/scorm.css b/main/css/chamilo_green/scorm.css index cd0532696e..74e42a951e 100644 --- a/main/css/chamilo_green/scorm.css +++ b/main/css/chamilo_green/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } diff --git a/main/css/chamilo_orange/scorm.css b/main/css/chamilo_orange/scorm.css index 9e712a1fc6..2e201e2672 100644 --- a/main/css/chamilo_orange/scorm.css +++ b/main/css/chamilo_orange/scorm.css @@ -1,166 +1,325 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { - height: 100%; + height: 100%; } .scormpage .menu { - width: 180px; - float: left; - margin: 1px; - padding: 0px; - margin-top: 0px; - padding-top: 0px; - font-size: small; + width: 180px; + float: left; + margin: 1px; + padding: 0px; + margin-top: 0px; + padding-top: 0px; + font-size: small; } .lp_toc { - background-color: white; - height: 380px; - width: 99%; - border-right: 1px none; + background-color: white; + height: 380px; + width: 99%; + border-right: 1px none; } .inner_lp_toc { - overflow: auto; - background-color: white; - height: 210px; + overflow: auto; + background-color: white; + height: 210px; } .inner_lp_toc .scorm_item { - font-size: 11px; - margin-left: 10px; - margin-right:10px; - text-decoration: none; + font-size: 11px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; } .inner_lp_toc .scorm_item A { - font-size: 11px; - margin-right: 1px; - padding-bottom: 2px; - text-decoration: none; - font-weight: normal; + font-size: 11px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + font-weight: normal; } .inner_lp_toc .scorm_item A.chapter_module { - font-weight: normal; - margin-right: 10px; + font-weight: normal; + margin-right: 10px; } .inner_lp_toc .scorm_item_highlight { - font-size: 11px; - margin-right: 1px; - padding-bottom: 2px; - text-decoration: none; - font-weight: normal; - background:#aaa; + font-size: 11px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + font-weight: normal; + background:#aaa; } .inner_lp_toc .scorm_item_highlight A { - font-size: 11px; - margin-right: 1px; - text-decoration: none; - font-weight: normal; + font-size: 11px; + margin-right: 1px; + text-decoration: none; + font-weight: normal; } .inner_lp_toc .scorm_item_1 { - font-size: 11px; - margin-right: 1px; - padding-bottom: 2px; - text-decoration: none; - font-weight: normal; - background:#ddd; + font-size: 11px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + font-weight: normal; + background:#ddd; } .inner_lp_toc .scorm_item_2 { - font-size: 11px; - margin-right: 1px; - padding-bottom: 2px; - text-decoration: none; - font-weight: normal; - background:#eee; + font-size: 11px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + font-weight: normal; + background:#eee; } .inner_lp_toc .scorm_title { - font-weight: bold; - background:#ccc; - font-size: 14px; - color: #444; + font-weight: bold; + background:#ccc; + font-size: 14px; + color: #444; } .inner_lp_toc .scorm_title_text { - margin-left: 10px; - //padding: 2px; - //cambiado no existe + margin-left: 10px; } .inner_lp_toc .scorm_status_img { - margin:0px; - margin-left: -10px; - width:10px; + margin:0px; + margin-left: -10px; + width:10px; } .lp_navigation { - overflow: auto; - background-color: white; - height: 44px; - width:180px; - padding-top: 4px; - padding-bottom:0px; - border: none; - margin-top: -18px; - border-top: 1px dotted black; - border-bottom: 1px dotted black; + overflow: auto; + background-color: white; + height: 44px; + width:180px; + padding-top: 4px; + padding-bottom:0px; + border: none; + margin-top: -18px; + border-top: 1px dotted black; + border-bottom: 1px dotted black; } .lp_navigation_elem { - padding-left: 15px; - padding-top: 0px; + padding-left: 15px; + padding-top: 0px; } /*.scormpage .menu */ .lp_navigation_elem .progresstext { - margin-top: -20px; - //margin-left: 40%; -//em font-size: normal; + margin-top: -20px; } /*.scormpage .menu */ .lp_navigation_elem .buttons { - margin-left: 0px; - margin-right: 0em; - margin-top: 0.4em; + margin-left: 0px; + margin-right: 0em; + margin-top: 0.4em; } .scormpage .menu .notification { - background-color: white; - height: 50px; + background-color: white; + height: 50px; } .scormpage .menu .notification .message { - background-color: white; - height: 50px; - width: 180px; - border: none; + background-color: white; + height: 50px; + width: 180px; + border: none; } .scormpage .content { - /*float: left; - width: 60%;*/ - margin-top: 0px; - padding-top: 0px; - padding-left: 180px; - background-color: white; + /*float: left; + width: 60%;*/ + margin-top: 0px; + padding-top: 0px; + padding-left: 180px; + background-color: white; } .iframe { - border: 0px solid black; - height: 100%; - width: 95%; - margin: 0px; - padding-right: 0px; - overflow: auto; - vertical-align: top; + border: 0px solid black; + height: 100%; + width: 95%; + margin: 0px; + padding-right: 0px; + overflow: auto; + vertical-align: top; } .scormpage .footer { - clear: both; + clear: both; } #image_preview { - padding-left: 17px; + padding-left: 17px; } #author_name { - padding-left: 5px; - padding-top: 5px; - font-size: 11px; - color:#888; + padding-left: 5px; + padding-top: 5px; + font-size: 11px; + color:#888; } #msg_div_id { - padding-left: 17px; - padding-top: 4px; + padding-left: 17px; + padding-top: 4px; } .scorm_title_text { - margin-left: 10px; - font-weight: bold; - background:#ccc; - font-size: 14px; - color: #444; - width: 89%; - padding: 1px 5px 3px 8px; + margin-left: 10px; + font-weight: bold; + background:#ccc; + font-size: 14px; + color: #444; + width: 89%; + padding: 1px 5px 3px 8px; } diff --git a/main/css/chamilo_red/scorm.css b/main/css/chamilo_red/scorm.css index 0c659c870f..92190e8e94 100644 --- a/main/css/chamilo_red/scorm.css +++ b/main/css/chamilo_red/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } @@ -76,8 +239,6 @@ } .inner_lp_toc .scorm_title_text { margin-left: 10px; - //padding: 2px; - //cambiado no existe } .inner_lp_toc .scorm_status_img { margin:0px; @@ -103,8 +264,6 @@ /*.scormpage .menu */ .lp_navigation_elem .progresstext { margin-top: -20px; - //margin-left: 40%; -//em font-size: normal; } /*.scormpage .menu */ .lp_navigation_elem .buttons { diff --git a/main/css/chamilo_sport_red/scorm.css b/main/css/chamilo_sport_red/scorm.css index e48d334e14..e0e65c5157 100755 --- a/main/css/chamilo_sport_red/scorm.css +++ b/main/css/chamilo_sport_red/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } diff --git a/main/css/cool_blue/scorm.css b/main/css/cool_blue/scorm.css index 3aba483045..85f2e8776e 100644 --- a/main/css/cool_blue/scorm.css +++ b/main/css/cool_blue/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } @@ -76,8 +239,6 @@ } .inner_lp_toc .scorm_title_text { margin-left: 10px; - //padding: 2px; - //cambiado no existe } .inner_lp_toc .scorm_status_img { margin:0px; diff --git a/main/css/corporate/scorm.css b/main/css/corporate/scorm.css index 68672d9597..a3712ed3ea 100644 --- a/main/css/corporate/scorm.css +++ b/main/css/corporate/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } @@ -100,7 +263,6 @@ .lp_navigation_elem .progresstext { margin-top: -20px; margin-left: 40%; -//em font-size: normal; } /*.scormpage .menu */ .lp_navigation_elem .buttons { diff --git a/main/css/cosmic_campus/scorm.css b/main/css/cosmic_campus/scorm.css index a769f687c1..7e025e7fdf 100644 --- a/main/css/cosmic_campus/scorm.css +++ b/main/css/cosmic_campus/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } @@ -103,7 +266,6 @@ .lp_navigation_elem .progresstext { margin-top: -20px; margin-left: 40%; -//em font-size: normal; } /*.scormpage .menu */ .lp_navigation_elem .buttons { diff --git a/main/css/delicious_bordeaux/scorm.css b/main/css/delicious_bordeaux/scorm.css index 8874da901f..c85f5a1880 100644 --- a/main/css/delicious_bordeaux/scorm.css +++ b/main/css/delicious_bordeaux/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } diff --git a/main/css/dokeos_blue/scorm.css b/main/css/dokeos_blue/scorm.css index 3aba483045..85f2e8776e 100644 --- a/main/css/dokeos_blue/scorm.css +++ b/main/css/dokeos_blue/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } @@ -76,8 +239,6 @@ } .inner_lp_toc .scorm_title_text { margin-left: 10px; - //padding: 2px; - //cambiado no existe } .inner_lp_toc .scorm_status_img { margin:0px; diff --git a/main/css/dokeos_classic/scorm.css b/main/css/dokeos_classic/scorm.css index 38f6e722a0..a6031811e4 100644 --- a/main/css/dokeos_classic/scorm.css +++ b/main/css/dokeos_classic/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } diff --git a/main/css/dokeos_classic_2D/scorm.css b/main/css/dokeos_classic_2D/scorm.css index 9d87d93837..689f34effc 100644 --- a/main/css/dokeos_classic_2D/scorm.css +++ b/main/css/dokeos_classic_2D/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } @@ -103,7 +266,6 @@ .lp_navigation_elem .progresstext { margin-top: -20px; margin-left: 40%; -//em font-size: normal; } /*.scormpage .menu */ .lp_navigation_elem .buttons { diff --git a/main/css/empire_green/scorm.css b/main/css/empire_green/scorm.css index 5835abd67d..ff640c5762 100644 --- a/main/css/empire_green/scorm.css +++ b/main/css/empire_green/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } diff --git a/main/css/fruity_orange/scorm.css b/main/css/fruity_orange/scorm.css index 3aba483045..85f2e8776e 100644 --- a/main/css/fruity_orange/scorm.css +++ b/main/css/fruity_orange/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } @@ -76,8 +239,6 @@ } .inner_lp_toc .scorm_title_text { margin-left: 10px; - //padding: 2px; - //cambiado no existe } .inner_lp_toc .scorm_status_img { margin:0px; diff --git a/main/css/medical/scorm.css b/main/css/medical/scorm.css index a18eeecf8f..cd04f61008 100644 --- a/main/css/medical/scorm.css +++ b/main/css/medical/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } @@ -102,7 +265,6 @@ .lp_navigation_elem .progresstext { margin-top: -20px; margin-left: 40%; -//em font-size: normal; } /*.scormpage .menu */ .lp_navigation_elem .buttons { diff --git a/main/css/public_admin/scorm.css b/main/css/public_admin/scorm.css index b89ba3f840..fe08b863da 100644 --- a/main/css/public_admin/scorm.css +++ b/main/css/public_admin/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } diff --git a/main/css/royal_purple/scorm.css b/main/css/royal_purple/scorm.css index 3aba483045..85f2e8776e 100644 --- a/main/css/royal_purple/scorm.css +++ b/main/css/royal_purple/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } @@ -76,8 +239,6 @@ } .inner_lp_toc .scorm_title_text { margin-left: 10px; - //padding: 2px; - //cambiado no existe } .inner_lp_toc .scorm_status_img { margin:0px; diff --git a/main/css/silver_line/scorm.css b/main/css/silver_line/scorm.css index 0defead0d1..c09c6c96bb 100644 --- a/main/css/silver_line/scorm.css +++ b/main/css/silver_line/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } @@ -138,8 +301,6 @@ margin-top: 0px; clear: both; } .preview_image { - //text-align: right; - //margin-right: 5px; padding-left: 17px; } .scorm_title_text { diff --git a/main/css/sober_brown/scorm.css b/main/css/sober_brown/scorm.css index f83131426a..ef9e4ecf38 100644 --- a/main/css/sober_brown/scorm.css +++ b/main/css/sober_brown/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } @@ -103,7 +266,6 @@ .lp_navigation_elem .progresstext { margin-top: -20px; margin-left: 40%; -//em font-size: normal; } /*.scormpage .menu */ .lp_navigation_elem .buttons { @@ -142,7 +304,7 @@ clear: both; } .preview_image { - padding.left: 17px; + padding-left: 17px; } .scorm_title_text { margin-left: 10px; diff --git a/main/css/steel_grey/scorm.css b/main/css/steel_grey/scorm.css index c78ee47abe..23aa28b6d0 100755 --- a/main/css/steel_grey/scorm.css +++ b/main/css/steel_grey/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } @@ -27,7 +190,6 @@ font-size: 11px; margin-left: 10px; margin-right:10px; -//cambiado era 20 padding-bottom: 2px; text-decoration: none; } .inner_lp_toc .scorm_item A { @@ -79,8 +241,6 @@ } .inner_lp_toc .scorm_title_text { margin-left: 10px; - //padding: 2px; - //cambiado no existe } .inner_lp_toc .scorm_status_img { margin:0px; @@ -107,7 +267,6 @@ .lp_navigation_elem .progresstext { margin-top: -20px; margin-left: 40%; -//em font-size: normal; } /*.scormpage .menu */ .lp_navigation_elem .buttons { diff --git a/main/css/tasty_olive/scorm.css b/main/css/tasty_olive/scorm.css index 3aba483045..85f2e8776e 100644 --- a/main/css/tasty_olive/scorm.css +++ b/main/css/tasty_olive/scorm.css @@ -1,3 +1,166 @@ +/* copy of default_scorm.css */ + +.inner_lp_toc { + overflow: auto; + background-color: white; + height: 210px; +} + +.inner_lp_toc .scorm_item a { + font-weight: bold; + font-size: 14px; + margin-right: 1px; + padding-bottom: 2px; + text-decoration: none; + color: #2F3E46; +} + +.inner_lp_toc .scorm_item a.chapter_module { + font-weight: normal; + margin-right: 10px; +} +.inner_lp_toc .scorm_item_highlight { + border: 1px solid #999; + background:#999; + font-weight:bold; + text-shadow:0 -1px 1px #666; + background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999)); + background-image:-webkit-linear-gradient(top,#666,#999); + background-image:-moz-linear-gradient(top,#666,#999); + background-image:-ms-linear-gradient(top,#666,#999); + background-image:-o-linear-gradient(top,#666,#999); + background-image:linear-gradient(top,#666,#999); + margin-right: 0px; + padding: 10px 0px 10px 0px; + text-decoration: none; +} + +.inner_lp_toc .scorm_item_highlight a { + color:#fff; + margin-right: 1px; + text-decoration: none; + font-weight: bold; +} + +.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; +} + +.inner_lp_toc .scorm_item { + font-size: 16px; + margin-left: 10px; + margin-right:10px; + text-decoration: none; + border-color: rgba(255, 255, 255, 0.3); +} + +.inner_lp_toc .scorm_item_1 { + border-bottom: 1px solid #CCCCCC; + background:#eee; + font-weight:bold; + color:#444; + text-shadow:0 1px 1px #f6f6f6; + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; + background:#FDFDFD; +} + +.inner_lp_toc .scorm_item_2 { + background-image:-webkit-gradient(linear,left top,left bottom,from(#fdfdfd),to(#eee)); + background-image:-webkit-linear-gradient(top,#fdfdfd,#eee); + background-image:-moz-linear-gradient(top,#fdfdfd,#eee); + background-image:-ms-linear-gradient(top,#fdfdfd,#eee); + background-image:-o-linear-gradient(top,#fdfdfd,#eee); + background-image:linear-gradient(top,#fdfdfd,#eee); + border-bottom: 1px solid #CCCCCC; + color: #444444; + font-weight: bold; + text-shadow: 0 1px 1px #F6F6F6; + margin-right: 1px; + padding: 10px 0px 10px 0px; + text-decoration: none; + font-weight: normal; +} + +.inner_lp_toc .scorm_item_section .scorm_item:before +{ + content : url('../../img/lp_section.png'); /* from main/newscorm/lp_controller.php file */ + vertical-align: text-top; + margin-right : 5px; +} + +.scorm_section_level_0 { + padding : 0 0 0 0; +} + +.scorm_section_level_1 { + padding : 0 0.5em 0 2em; +} + +.scorm_section_level_2 { + padding : 0 0.5em 0 4em; +} + +.scorm_section_level_3 { + padding : 0 0.5em 0 6em; +} + +.scorm_section_level_4 { + padding : 0 0.5em 0 8em; +} + +.scorm_section_level_5 { + padding : 0 0.5em 0 10em; +} + +.scorm_item_level_0 { + padding : 0 0 0 0; +} + +.scorm_item_level_1 { + padding : 0 0.5em 0 1.5em; +} + +.scorm_item_level_2 { + padding : 0 0.5em 0 3em; +} + +.scorm_item_level_3 { + padding : 0 0.5em 0 4.5em; +} + +.scorm_item_level_4 { + padding : 0 0.5em 0 6em; +} + +.scorm_item_level_5 { + padding : 0 0.5em 0 7.5em; +} + +/* end of copy of default_scorm.css */ + + .scormpage { height: 100%; } @@ -76,8 +239,6 @@ } .inner_lp_toc .scorm_title_text { margin-left: 10px; - //padding: 2px; - //cambiado no existe } .inner_lp_toc .scorm_status_img { margin:0px; diff --git a/main/img/lp_section.png b/main/img/lp_section.png new file mode 100644 index 0000000000000000000000000000000000000000..ade79dc180566aa991eaa2241389aac5081ec390 GIT binary patch literal 1443 zcmeAS@N?(olHy`uVBq!ia0vp@Ak4uAB#T}@sR2@wC9V-A!TD(=<%vb942~)JNvR5+ zxryniL8*x;m4zo$Z5SAsl`=yjN+NuHtdjF{^%6m9^eS=-fVvqNZ0suv5|gu2OB9k) z(=+pImEP~(ucVNfVyhHx>TBRz;GCL~=}}db8eHWUl3bOYY?-2DZ>L~WVFffGH?<^D zp&~aYuh^=>Rtapb6_5=Q)>l#hD=EpgRf0Gw!Z$#{Ilm}X!Bo#cH`&0^~=l4 z^~#O)@{7{-4J|D#^$m>ljf`}GDs+o0^GXscbn}XpVJ5hw7AF^F7L;V>=P7_pOiaoz zEwNPsx)kDt+yc06!V;*iRM zRQ;gT;{4L0WMIUlDTAykuyQU+O)SYT3dzsUfrVl~Mt(_taYlZDf^)E`o}of`W?o8u zc`;bMudkJ7UU5lcUUI6Zi>(sS1ij466f0MABLh=MXJbnvH%CK5S7S#LBO_N63u9v! zH)jJUV^^47m;B_?+|;}hnBEkGUK5;pK}jLE0BEyIYEfocYKmJ?ey#%8%T}4V-C~H- zJgD9j+-@<#saGH97=2L0B1JSz2$*_6On9;da^ML+H4m8Di-5^GVaevF3=B--o-U3d z6}L=+Y_o#{CF;)Yd|r2C$+E2~3zJqkIkv7?z{hvZu=xSMK)86h`u2Z(2an$L6j;L7 zs@JvPNLhhElWu4hm-)%Ff34>4Q-2VtXY+jD`Rmn3Hiyqoe!d}h?&fO}8H;xsKii_w z#q5-KE$Hj3RhxpYT?i^Xc4r^Mg*2YqjLoggOs97|{=vARxnVQo!|N}zS<^2pkbbax z#gaPX9b2qq?%iuJ74yp8^WVs?ykD)k-F(-1`MbM!xqUhE{KK!i>NS5WtKv0s+wPV% zMa#A=p3K=4@Ze?h>FjdzX#Mvwuaz$ur+nrK|0Vu0v6l7s;*S%a#DrcIGUE_5i%L;& zsVi%$TkMdo$|B6ElX!~BHFD9ihC>rn;~UmwpGh+|*fdF8bp^+!tO?I8H|aRnKD053 zT>sL3;nbEZT#W)9i#Y!G%YSnhkZV)4cz$Kx7cYTHYa~|+TuPO3KW+3N`Lf)f2p7p@ zrS8QOt|czek_uX460I}Avv0{(FEO57(hkZ(5g}clj&#h 'lang/', WEB_IMG_PATH => 'img/', WEB_CSS_PATH => 'css/', + SYS_CSS_PATH => 'css/', SYS_PLUGIN_PATH => 'plugin/', WEB_PLUGIN_PATH => 'plugin/', SYS_ARCHIVE_PATH => 'archive/', @@ -560,6 +563,7 @@ function api_get_path($path_type, $path = null) { $paths[SYS_ARCHIVE_PATH] = $paths[SYS_PATH].$paths[SYS_ARCHIVE_PATH]; $paths[SYS_TEST_PATH] = $paths[SYS_PATH].$paths[SYS_TEST_PATH]; $paths[SYS_TEMPLATE_PATH] = $paths[SYS_CODE_PATH].$paths[SYS_TEMPLATE_PATH]; + $paths[SYS_CSS_PATH] = $paths[SYS_CODE_PATH].$paths[SYS_CSS_PATH]; $paths[WEB_CSS_PATH] = $paths[WEB_CODE_PATH].$paths[WEB_CSS_PATH]; $paths[WEB_IMG_PATH] = $paths[WEB_CODE_PATH].$paths[WEB_IMG_PATH]; diff --git a/main/inc/lib/template.lib.php b/main/inc/lib/template.lib.php index 5d90ddd276..a09eb071c3 100644 --- a/main/inc/lib/template.lib.php +++ b/main/inc/lib/template.lib.php @@ -446,6 +446,11 @@ class Template $css[] = api_get_path(WEB_CSS_PATH).$this->theme.'/scorm.css'; } + // if we have a scorm file in theme dont use default_scorm.css file + if (!is_file(api_get_path(SYS_CSS_PATH) . $this->theme . '/scorm.css')) { + $css[] = api_get_cdn_path(api_get_path(WEB_CSS_PATH).'/default_scorm.css'); + } + if (api_is_global_chat_enabled()) { $css[] = api_get_path(WEB_LIBRARY_PATH).'javascript/chat/css/chat.css'; } diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index 99ffa3c6da..0f997f0bd0 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -2904,30 +2904,28 @@ class learnpath $html .= '
'; } - // The anchor will let us center the TOC on the currently viewed item &^D - if ($item['type'] != 'dokeos_module' && $item['type'] != 'dokeos_chapter') { - $html .= '
'; - $html .= ''; - } else { - $html .= '
'; - } + // Learning path title $title = $item['title']; if (empty ($title)) { $title = rl_get_resource_name(api_get_course_id(), $this->get_id(), $item['id']); } - $title = Security::remove_XSS($title); - if ($item['type'] != 'dokeos_chapter' && $item['type'] != 'dir' && $item['type'] != 'dokeos_module') { - //$html .= "".$title."" ; - $url = $this->get_link('http', $item['id'], $toc_list); - //$html .= ''.$title.'' ; - //$html .= ''.$title.'' ; - // background:#aaa; + // Learning path personalization + // build the LP tree + // The anchor atoc_ will let us center the TOC on the currently viewed item &^D + if ($item['type'] != 'dokeos_module' && $item['type'] != 'dokeos_chapter') { + $html .= '
'; + $html .= ''; + } else { + $html .= '
'; + } + // display title + if ($item['type'] != 'dokeos_chapter' && $item['type'] != 'dir' && $item['type'] != 'dokeos_module') { + $this->get_link('http', $item['id'], $toc_list); $html .= '' . stripslashes($title) . ''; - } elseif ($item['type'] == 'dokeos_module' || $item['type'] == 'dokeos_chapter') { - $html .= " " . stripslashes($title); - } elseif ($item['type'] == 'dir') { + } else { + // if you want to put an image before, you should use css $html .= stripslashes($title); } @@ -9290,6 +9288,19 @@ EOD; } } } + + + /** + * Return the scorm item type object with spaces replaced with _ + * The return result is use to build a css classname like scorm_type_$return + * @param $in_type + * @return mixed + */ + private static function format_scorm_type_item($in_type) + { + return str_replace(' ', '_', $in_type); + } + } if (!function_exists('trim_value')) {