123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635 |
- /*
- File used to display Learning Path item in student view
- If scorm.css file exists in theme folder, scorm.css file is used instead of this one
- See https://support.chamilo.org/issues/6976
- */
- /* LP SCORM */
- /* Default LP left column values */
- body{
- background: #FFF !important;
- }
- .audio-scorm #container {
- min-height: 45px;
- margin-bottom: 5px;
- }
- #author_image {
- border: 1px solid #CCCCCC;
- float: left;
- margin: 0;
- padding: 8px;
- position: relative;
- width: 100%;
- }
- #author_name {
- float: left;
- text-align: center;
- width: 100%;
- font-size: 11px;
- color: #888;
- margin-top: 2px;
- }
- #learning_path_left_zone #scorm-gamification {
- }
- #scorm-gamification .fa-star {
- font-size: 20px;
- color: #C2C2C2;
- }
- #scorm-gamification .fa-star.level {
- color: #D9534F;
- }
- #learning_path_left_zone .navegation-bar .buttons {
- padding-top: 5px;
- padding-bottom: 5px;
- }
- #learning_path_left_zone .description-autor {
- text-align: left;
- padding-top: 10px;
- }
- .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 {
- 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_section .scorm_item:before {
- content : url('../../main/img/lp_section.png'); /* path from main/lp/lp_controller.php file */
- vertical-align: text-top;
- margin-right : 5px;
- }
- /* learning path's classes for section and item for 5 levels of depth */
- .scorm_section_level_0 {
- margin: 0 0 0 0;
- }
- .scorm_section_level_1 {
- margin: 0 0.5em 0 20px;
- }
- .scorm_section_level_2 {
- margin: 0 0.5em 0 40px;
- }
- .scorm_section_level_3 {
- margin: 0 0.5em 0 60px;
- }
- .scorm_section_level_4 {
- margin: 0 0.5em 0 70px;
- }
- .scorm_section_level_5 {
- margin: 0 0.5em 0 10em;
- }
- .scorm_item_normal {
- line-height: 25px;
- border-bottom: 1px solid #DDD;
- padding: 5px 0;
- }
- .level_0 {
- margin: 0;
- padding-left: 30px;
- }
- .level_1 {
- margin: 0 0.5em 0 20px;
- padding-left: 30px;
- }
- .level_2 {
- margin: 0 0.5em 0 40px;
- padding-left: 30px;
- }
- .level_3 {
- margin: 0 0.5em 0 60px;
- padding: 5px 5px 5px 30px;
- line-height: 14px;
- }
- .level_4 {
- margin: 0 0.5em 0 70px;
- padding-left: 30px;
- }
- .level_5 {
- margin: 0 0.5em 0 90px;
- padding-left: 30px;
- }
- #learning_path_breadcrumb_zone .breadcrumb {
- background-color: #2b3d53;
- border-radius: 0;
- -moz-border-radius: 0;
- -webkit-border-radius: 0;
- color: #ffffff;
- font-size: 12px;
- }
- #learning_path_breadcrumb_zone .breadcrumb a {
- color: #ffffff;
- text-decoration: none;
- }
- #learning_path_breadcrumb_zone .breadcrumb a:hover {
- color: #dddddd;
- }
- .total {
- width: 100%;
- }
- .view-options {
- padding-top: 3px;
- margin-right: 5px;
- }
- .panel-default .panel-heading .btn {
- top: -25px;
- }
- .panel-default .panel-heading .dropdown-menu {
- top: 30%;
- }
- #content-scorm .breadcrumb {
- padding: 5px;
- }
- .scorm-heading {
- font-size: 14px;
- padding-top: 5px;
- padding-bottom: 5px;
- }
- #control-bottom {
- position: fixed;
- bottom: 0;
- width: 100%;
- text-align: center;
- left: 0;
- }
- #control-bottom.well {
- margin-bottom: 0;
- }
- /*SCORM CSS BASE */
- #learning_path_left_zone .home {
- display: inline-block;
- width: 94%;
- margin-bottom: .5em;
- margin-top: .5em;
- font-size: 12px;
- }
- #learning_path_left_zone .scorm_title{
- font-size: 20px;
- color: #666;
- margin-bottom: .5em;
- margin-top: .5em;
- }
- /* for section */
- .scorm_item_section{
- border-bottom: 1px solid #DDD;
- font-size: 12px;
- font-weight: bold;
- }
- .scorm_item_section .section{
- background:url("../../main/img/scorm/folder-item-closed.png") no-repeat 10px center;
- }
- .scorm_item_section.scorm_completed .section{
- background:url("../../main/img/scorm/folder-item-open.png") no-repeat 10px center;
- padding-right: 1.5em;
- }
- .scorm_item_normal a.items-list{
- color: #666666;
- font-size: 12px;
- }
- .scorm_item_normal a:hover{
- text-decoration: none;
- }
- .scorm_item_normal.scorm_completed{
- background-color: #F5F5F5;
- }
- .scorm_item_section.scorm_completed{
- background-color: #F5F5F5;
- color: #000;
- }
- .scorm_completed .item {
- background:url("../../main/img/scorm/scorm_completed.png") no-repeat 10px center;
- }
- .scorm_completed .item a{
- color: #000;
- }
- .scorm_failed .item{
- background:url("../../main/img/scorm/scorm_failed.png") no-repeat 10px center;
- }
- .scorm_not_attempted .item{
- background:url("../../main/img/scorm/scorm_not_attempted.png") no-repeat 10px center;
- }
- .scorm_highlight .item{
- background:url("../../main/img/scorm/scorm_highlight.png") no-repeat 10px center !important;
- color: #009AB8;
- }
- .scorm_highlight.scorm_completed .item{
- background:url("../../main/img/scorm/scorm_current.png") no-repeat 10px center !important;
- }
- .scorm_highlight.scorm_failed .item{
- background:url("../../main/img/scorm/scorm_failed.png") no-repeat 10px center !important;
- }
- .scorm_highlight a{
- color: #FFFFFF !important;
- }
- .scorm_item_normal.scorm_highlight{
- background-color: #00829C;
- }
- /* END SCORM CSS BASE*/
- #scorm-info{
- padding: 10px;
- margin-bottom: 5px;
- border: 1px solid #ddd;
- border-radius: 5px;
- }
- #scorm-info .description-autor p {
- font-size: 12px;
- line-height: 20px;
- color: #666666;
- }
- #scorm-info hr {
- background-color: #DDD;
- width: 100%;
- }
- #scorm-info #progress_bar .progress{
- margin-bottom: 5px;
- }
- .image-avatar .media-left img,
- .image-avatar img{
- border: 1px solid #DDD;
- border-radius: 5px;
- }
- .image-avatar{
- padding-top: 10px;
- padding-bottom: 10px;
- }
- .scorm-title{
- color: #333;
- font-size: 18px;
- font-weight: bold;
- line-height: 1.5em;
- margin: 0 0 15px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- padding-bottom: 5px;
- border-bottom: 1px solid #DDD;
- }
- #learning_path_right_zone .lp-view-tabs li a {
- padding: 5px 10px;
- }
- #learning_path_main {
- height: 100%;
- margin: 0;
- overflow: hidden;
- }
- #learning_path_left_zone,
- #learning_path_right_zone {
- bottom: 0;
- box-sizing: content-box;
- left: 0;
- margin: 0;
- padding: 0;
- position: absolute;
- right: 0;
- top: 0;
- transition-property: left width;
- transition-duration: 0.5s;
- }
- #learning_path_left_zone .lp-view-zone-container,
- #learning_path_right_zone .lp-view-zone-container {
- bottom: 0;
- left: 0;
- padding: 0px;
- position: absolute;
- right: 0;
- top: 0;
- }
- #learning_path_toc {
- bottom: 5px;
- left: 5px;
- overflow: auto;
- position: absolute;
- right: 5px;
- top: 100%;
- transition-property: top;
- transition-duration: 0.1s;
- }
- #learning_path_right_zone {
- left: 100%;
- width: 100%;
- }
- #learning_path_right_zone .lp-view-tabs .tab-content {
- bottom: 5px;
- left: 5px;
- position: absolute;
- right: 5px;
- top: 65px;
- }
- #learning_path_right_zone .tab-pane{
- height: 100%;
- position: relative;
- }
- #learning_path_right_zone .tab-pane iframe {
- border: 0 none;
- height: 100%;
- width: 100%;
- }
- #learning_path_main.lp-view-collapsed #learning_path_left_zone {
- left: -100%;
- }
- #learning_path_main.lp-view-collapsed #learning_path_right_zone {
- left: 0;
- width: 100%;
- }
- .nav-tabs li.active a{
- color: #006A84;
- }
- .nav-tabs li a{
- color: #666666;
- }
- #lp-view-expand-button{
- border: none;
- background: none;
- padding: 0;
- margin: 0;
- }
- .movil-toolbar{
- width: 100%;
- height: 40px;
- padding-top: 5px;
- }
- .btn-movil{
- list-style: none;
- margin: 0;
- padding: 0;
- }
- .btn-movil li{
- display: block;
- float: left;
- margin-left: 5px;
- margin-right: 5px;
- }
- .icon-toolbar .fa{
- width: 35px;
- height: 35px;
- line-height: 35px;
- text-align: center;
- border-radius: 100%;
- background-color: #34495E;
- font-size: 20px;
- color: #FFF;
- }
- .icon-toolbar .fa:hover{
- background-color: #000;
- }
- .expand .fa{
- background-color: #00829C;
- }
- .expand .fa:hover{
- background-color: #006A84;
- color: #ffffff;
- }
- .expand .fa:active, .expand .fa:focus{
- color: #ffffff;
- }
- #learning_path_toc {
- bottom: 10px;
- left: 10px;
- right: 5px;
- margin-top:20px;
- border: 1px solid #ddd;
- padding: 10px;
- border-radius: 5px;
- }
- #scorm-info .progress-bar{
- line-height: 17px;
- }
- #scorm-panel .panel-body{
- padding: 0;
- }
- .section-list{
- display: block;
- width: 100%;
- list-style: none;
- margin: 0;
- padding: 0;
- border-bottom: 1px solid #E1E1E1;
- }
- .section-list .list-item{
- padding: 5px 10px;
- display: flex;
- border-bottom: 1px solid #ededed;
- }
- /* Small devices (tablets, 768px and up) */
- @media (min-width: 768px) {
- #scorm-info{
- padding: 10px;
- margin-bottom: 10px;
- }
- #learning_path_left_zone {
- width: 250px;
- }
- #learning_path_right_zone {
- left: 250px;
- width: calc(100% - 250px);
- }
- #learning_path_main.lp-view-include-breadcrumb #learning_path_left_zone,
- #learning_path_main.lp-view-include-breadcrumb #learning_path_right_zone {
- top: 0;
- }
- #learning_path_left_zone .lp-view-zone-container,
- #learning_path_right_zone .lp-view-zone-container {
- padding: 10px;
- }
- #learning_path_left_zone .lp-view-zone-container {
- padding-right: 5px;
- }
- #learning_path_right_zone .lp-view-zone-container {
- padding-left: 0px;
- }
- #learning_path_right_zone .lp-view-tabs .tab-content {
- bottom: 10px;
- right: 10px;
- top: 75px;
- }
- #learning_path_right_zone .tab-pane {
- }
- #learning_path_right_zone .tab-pane iframe {
- }
- }
- /* Medium devices (desktops, 992px and up) */
- @media (min-width: 992px) {
- #learning_path_left_zone {
- width: 300px;
- }
- #learning_path_right_zone {
- left: 300px;
- width: calc(100% - 300px);
- }
- }
- /* Large devices (large desktops, 1200px and up) */
- @media (min-width: 1200px) {
- #learning_path_left_zone {
- width: 450px;
- }
- #learning_path_right_zone {
- left: 465px;
- width: calc(100% - 465px);
- }
- }
- @media (min-width: 979px) and (max-width: 1024px) {
- #panel-scorm .image-avatar {
- display: none;
- }
- }
- @media (min-width: 768px) and (max-width: 978px) {
- #panel-scorm .image-avatar {
- display: none;
- }
- }
- @media (min-width: 480px) and (max-width: 767px) {
- #panel-scorm .image-avatar {
- display: none;
- }
- #scorm-info {
- padding: 0;
- margin: 0;
- }
- #learning_path_left_zone .lp-view-zone-container,
- #learning_path_right_zone .lp-view-zone-container {
- padding: 0;
- }
- #scorm-info {
- padding: 30px 0 0 0;
- margin: 0;
- }
- .nav-tabs-bar{
- display: none;
- }
- }
- /* Landscape phones and down */
- @media (max-width: 480px) {
- .scorm-title {
- font-size: 14px;
- padding: 10px;
- }
- .movil-toolbar {
- width: 100%;
- height: auto;
- }
- .scorm_item_normal {
- padding: 10px 5px;
- }
- .icon-toolbar .fa {
- width: 35px;
- height: 35px;
- line-height: 35px;
- font-size: 22px;
- }
- .btn-movil {
- width: 130px;
- margin: auto;
- }
- #scorm-info {
- padding: 30px 0 0 0;
- margin: 0;
- }
- #learning_path_right_zone {
- left: 100%;
- width: auto;
- }
- #panel-scorm .image-avatar {
- display: none;
- }
- #learning_path_left_zone .lp-view-zone-container,
- #learning_path_right_zone .lp-view-zone-container {
- padding: 0;
- }
- #scorm-info hr {
- display: none;
- }
- }
|