scorm.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540
  1. /*
  2. File used to display Learning Path item in student view
  3. If scorm.css file exists in theme folder, scorm.css file is used instead of this one
  4. See https://support.chamilo.org/issues/6976
  5. */
  6. /* LP SCORM */
  7. /* Default LP left column values */
  8. body{
  9. background: #FFF !important;
  10. }
  11. .audio-scorm #container{
  12. min-height: 45px;
  13. margin-bottom: 5px;
  14. }
  15. #author_image {
  16. border: 1px solid #CCCCCC;
  17. float: left;
  18. margin: 0;
  19. padding: 8px;
  20. position: relative;
  21. width: 100%;
  22. }
  23. #author_name {
  24. float: left;
  25. text-align:center;
  26. width: 100%;
  27. font-size: 11px;
  28. color: #888;
  29. margin-top: 2px;
  30. }
  31. #learning_path_left_zone #scorm-gamification{
  32. }
  33. #scorm-gamification .fa-star{
  34. font-size: 20px;
  35. color: #C2C2C2;
  36. }
  37. #scorm-gamification .fa-star.level{
  38. color: #D9534F;
  39. }
  40. #learning_path_left_zone .navegation-bar .buttons{
  41. padding-top: 5px;
  42. padding-bottom: 5px;
  43. }
  44. #learning_path_left_zone .description-autor{
  45. }
  46. .inner_lp_toc .scorm_item a {
  47. font-weight: bold;
  48. font-size: 14px;
  49. margin-right: 1px;
  50. padding-bottom: 2px;
  51. text-decoration: none;
  52. color: #2F3E46;
  53. }
  54. .inner_lp_toc .scorm_item a.chapter_module {
  55. font-weight: normal;
  56. margin-right: 10px;
  57. }
  58. .inner_lp_toc .scorm_item_highlight {
  59. border: 1px solid #999;
  60. background:#999;
  61. font-weight:bold;
  62. text-shadow:0 -1px 1px #666;
  63. background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999));
  64. background-image:-webkit-linear-gradient(top,#666,#999);
  65. background-image:-moz-linear-gradient(top,#666,#999);
  66. background-image:-ms-linear-gradient(top,#666,#999);
  67. background-image:-o-linear-gradient(top,#666,#999);
  68. background-image:linear-gradient(top,#666,#999);
  69. margin-right: 0px;
  70. padding: 10px 0px 10px 0px;
  71. text-decoration: none;
  72. }
  73. .inner_lp_toc .scorm_item_highlight a {
  74. color:#fff;
  75. margin-right: 1px;
  76. text-decoration: none;
  77. font-weight: bold;
  78. }
  79. .inner_lp_toc .scorm_item {
  80. font-size: 16px;
  81. margin-left: 10px;
  82. margin-right:10px;
  83. text-decoration: none;
  84. border-color: rgba(255, 255, 255, 0.3);
  85. }
  86. .inner_lp_toc .scorm_item_section .scorm_item:before {
  87. content : url('../../main/img/lp_section.png'); /* path from main/lp/lp_controller.php file */
  88. vertical-align: text-top;
  89. margin-right : 5px;
  90. }
  91. /* learning path's classes for section and item for 5 levels of depth */
  92. .scorm_section_level_0 {
  93. margin: 0 0 0 0;
  94. }
  95. .scorm_section_level_1 {
  96. margin: 0 0.5em 0 20px;
  97. }
  98. .scorm_section_level_2 {
  99. margin: 0 0.5em 0 40px;
  100. }
  101. .scorm_section_level_3 {
  102. margin: 0 0.5em 0 60px;
  103. }
  104. .scorm_section_level_4 {
  105. margin: 0 0.5em 0 70px;
  106. }
  107. .scorm_section_level_5 {
  108. margin: 0 0.5em 0 10em;
  109. }
  110. .scorm_item_normal{
  111. line-height: 25px;
  112. border-bottom: 1px solid #DDD;
  113. padding: 5px 0;
  114. }
  115. .level_0 {
  116. margin: 0;
  117. padding-left: 30px;
  118. }
  119. .level_1 {
  120. margin: 0 0.5em 0 20px;
  121. padding-left: 30px;
  122. }
  123. .level_2 {
  124. margin: 0 0.5em 0 40px;
  125. padding-left: 30px;
  126. }
  127. .level_3 {
  128. margin: 0 0.5em 0 60px;
  129. padding-left: 30px;
  130. padding-top: 5px;
  131. padding-bottom: 5px;
  132. padding-right: 5px;
  133. line-height: 14px;
  134. }
  135. .level_4 {
  136. margin: 0 0.5em 0 70px;
  137. padding-left: 30px;
  138. }
  139. .level_5 {
  140. margin: 0 0.5em 0 90px;
  141. padding-left: 30px;
  142. }
  143. #learning_path_breadcrumb_zone .breadcrumb{
  144. background-color: #2b3d53;
  145. border-radius: 0;
  146. -moz-border-radius: 0;
  147. -webkit-border-radius: 0;
  148. color: #ffffff;
  149. font-size: 12px;
  150. }
  151. #learning_path_breadcrumb_zone .breadcrumb a{
  152. color: #ffffff;
  153. text-decoration: none;
  154. }
  155. #learning_path_breadcrumb_zone .breadcrumb a:hover{
  156. color: #dddddd;
  157. }
  158. .total{
  159. width: 100%;
  160. }
  161. .view-options{
  162. padding-top: 3px;
  163. margin-right: 5px;
  164. }
  165. .panel-default .panel-heading .btn{
  166. top: -25px;
  167. }
  168. .panel-default .panel-heading .dropdown-menu{
  169. top: 30%;
  170. }
  171. #content-scorm .breadcrumb{
  172. padding: 5px;
  173. }
  174. .scorm-heading{
  175. font-size: 14px;
  176. padding-top: 5px;
  177. padding-bottom: 5px;
  178. }
  179. #control-bottom{
  180. position: fixed;
  181. bottom: 0;
  182. width: 100%;
  183. text-align: center;
  184. left: 0;
  185. }
  186. #control-bottom.well{
  187. margin-bottom: 0;
  188. }
  189. /*SCORM CSS BASE */
  190. #learning_path_left_zone .home{
  191. display: inline-block;
  192. width: 94%;
  193. margin-bottom: .5em;
  194. margin-top: .5em;
  195. font-size: 12px;
  196. }
  197. #learning_path_left_zone .scorm_title{
  198. font-size: 20px;
  199. color: #666;
  200. margin-bottom: .5em;
  201. margin-top: .5em;
  202. }
  203. /* for section */
  204. .scorm_item_section{
  205. border-bottom: 1px solid #DDD;
  206. font-size: 12px;
  207. font-weight: bold;
  208. }
  209. .scorm_item_section .section{
  210. background:url("../../main/img/scorm/folder-item-closed.png") no-repeat 10px center;
  211. }
  212. .scorm_item_section.scorm_completed .section{
  213. background:url("../../main/img/scorm/folder-item-open.png") no-repeat 10px center;
  214. padding-right: 1.5em;
  215. }
  216. .scorm_item_normal a.items-list{
  217. color: #666666;
  218. font-size: 12px;
  219. }
  220. .scorm_item_normal a:hover{
  221. text-decoration: none;
  222. }
  223. .scorm_item_normal.scorm_completed{
  224. background-color: #F5F5F5;
  225. }
  226. .scorm_item_section.scorm_completed{
  227. background-color: #F5F5F5;
  228. color: #000;
  229. }
  230. .scorm_completed .item {
  231. background:url("../../main/img/scorm/scorm_completed.png") no-repeat 10px center;
  232. }
  233. .scorm_completed .item a{
  234. color: #000;
  235. }
  236. .scorm_failed .item{
  237. background:url("../../main/img/scorm/scorm_failed.png") no-repeat 10px center;
  238. }
  239. .scorm_not_attempted .item{
  240. background:url("../../main/img/scorm/scorm_not_attempted.png") no-repeat 10px center;
  241. }
  242. .scorm_highlight .item{
  243. background:url("../../main/img/scorm/scorm_highlight.png") no-repeat 10px center !important;
  244. color: #009AB8;
  245. }
  246. .scorm_highlight.scorm_completed .item{
  247. background:url("../../main/img/scorm/scorm_current.png") no-repeat 10px center !important;
  248. }
  249. .scorm_highlight.scorm_failed .item{
  250. background:url("../../main/img/scorm/scorm_failed.png") no-repeat 10px center !important;
  251. }
  252. .scorm_highlight a{
  253. color: #FFFFFF !important;
  254. }
  255. .scorm_item_normal.scorm_highlight{
  256. background-color: #00829C;
  257. }
  258. /* END SCORM CSS BASE*/
  259. #scorm-info{
  260. padding: 10px;
  261. margin-bottom: 5px;
  262. border: 1px solid #ddd;
  263. border-radius: 5px;
  264. }
  265. #scorm-info .description-autor p {
  266. font-size: 12px;
  267. line-height: 20px;
  268. color: #666666;
  269. }
  270. #scorm-info hr {
  271. background-color: #DDD;
  272. width: 100%;
  273. }
  274. #scorm-info #progress_bar .progress{
  275. margin-bottom: 5px;
  276. }
  277. .image-avatar .media-left img,
  278. .image-avatar img{
  279. border: 1px solid #DDD;
  280. border-radius: 5px;
  281. }
  282. .image-avatar{
  283. padding-top: 10px;
  284. padding-bottom: 10px;
  285. }
  286. .scorm-title{
  287. color: #333;
  288. font-size: 18px;
  289. font-weight: bold;
  290. line-height: 1.5em;
  291. margin: 0 0 15px;
  292. overflow: hidden;
  293. text-overflow: ellipsis;
  294. white-space: nowrap;
  295. padding-bottom: 5px;
  296. border-bottom: 1px solid #DDD;
  297. }
  298. #learning_path_right_zone .lp-view-tabs li a {
  299. padding: 5px 10px;
  300. }
  301. #learning_path_main {
  302. height: 100%;
  303. margin: 0;
  304. overflow: hidden;
  305. }
  306. #learning_path_left_zone,
  307. #learning_path_right_zone {
  308. bottom: 0;
  309. box-sizing: content-box;
  310. left: 0;
  311. margin: 0;
  312. padding: 0;
  313. position: absolute;
  314. right: 0;
  315. top: 0;
  316. transition-property: left width;
  317. transition-duration: 0.5s;
  318. }
  319. #learning_path_left_zone .lp-view-zone-container,
  320. #learning_path_right_zone .lp-view-zone-container {
  321. bottom: 0;
  322. left: 0;
  323. padding: 5px;
  324. position: absolute;
  325. right: 0;
  326. top: 0;
  327. }
  328. #learning_path_toc {
  329. bottom: 5px;
  330. left: 5px;
  331. overflow: auto;
  332. position: absolute;
  333. right: 5px;
  334. top: 100%;
  335. transition-property: top;
  336. transition-duration: 0.1s;
  337. }
  338. #learning_path_right_zone {
  339. left: 100%;
  340. width: 100%;
  341. }
  342. #learning_path_right_zone .lp-view-tabs .tab-content {
  343. bottom: 5px;
  344. left: 5px;
  345. position: absolute;
  346. right: 5px;
  347. top: 65px;
  348. }
  349. #learning_path_right_zone .tab-pane{
  350. height: 100%;
  351. position: relative;
  352. }
  353. #learning_path_right_zone .tab-pane iframe {
  354. border: 0 none;
  355. height: 100%;
  356. width: 100%;
  357. }
  358. #learning_path_main.lp-view-collapsed #learning_path_left_zone {
  359. left: -100%;
  360. }
  361. #learning_path_main.lp-view-collapsed #learning_path_right_zone {
  362. left: 0;
  363. width: 100%;
  364. }
  365. .nav-tabs li.active a{
  366. color: #006A84;
  367. }
  368. .nav-tabs li a{
  369. color: #666666;
  370. }
  371. #lp-view-expand-button{
  372. border: none;
  373. background: none;
  374. padding: 0;
  375. margin: 0;
  376. }
  377. .movil-toolbar{
  378. width: 100%;
  379. height: 40px;
  380. padding-top: 5px;
  381. }
  382. .btn-movil{
  383. list-style: none;
  384. margin: 0;
  385. padding: 0;
  386. }
  387. .btn-movil li{
  388. display: block;
  389. float: left;
  390. margin-left: 5px;
  391. margin-right: 5px;
  392. }
  393. .icon-toolbar .fa{
  394. width: 35px;
  395. height: 35px;
  396. line-height: 35px;
  397. text-align: center;
  398. border-radius: 100%;
  399. background-color: #34495E;
  400. font-size: 20px;
  401. color: #FFF;
  402. }
  403. .icon-toolbar .fa:hover{
  404. background-color: #000;
  405. }
  406. .expand .fa{
  407. background-color: #00829C;
  408. }
  409. .expand .fa:hover{
  410. background-color: #006A84;
  411. color: #ffffff;
  412. }
  413. .expand .fa:active, .expand .fa:focus{
  414. color: #ffffff;
  415. }
  416. #learning_path_toc {
  417. bottom: 10px;
  418. left: 10px;
  419. right: 5px;
  420. margin-top:20px;
  421. border: 1px solid #ddd;
  422. padding: 10px;
  423. border-radius: 5px;
  424. }
  425. #scorm-info .progress-bar{
  426. line-height: 17px;
  427. }
  428. #scorm-panel .panel-body{
  429. padding: 0;
  430. }
  431. .section-list{
  432. display: block;
  433. width: 100%;
  434. list-style: none;
  435. margin: 0;
  436. padding: 0;
  437. border-bottom: 1px solid #E1E1E1;
  438. }
  439. .section-list .list-item{
  440. padding: 5px 10px;
  441. display: flex;
  442. border-bottom: 1px solid #ededed;
  443. }
  444. /* Small devices (tablets, 768px and up) */
  445. @media (min-width: 768px) {
  446. #scorm-info{
  447. padding: 10px;
  448. margin-bottom: 10px;
  449. }
  450. #learning_path_left_zone {
  451. width: 250px;
  452. }
  453. #learning_path_right_zone {
  454. left: 250px;
  455. width: calc(100% - 250px);
  456. }
  457. #learning_path_main.lp-view-include-breadcrumb #learning_path_left_zone,
  458. #learning_path_main.lp-view-include-breadcrumb #learning_path_right_zone {
  459. top: 0;
  460. }
  461. #learning_path_left_zone .lp-view-zone-container,
  462. #learning_path_right_zone .lp-view-zone-container {
  463. padding: 10px;
  464. }
  465. #learning_path_left_zone .lp-view-zone-container {
  466. padding-right: 5px;
  467. }
  468. #learning_path_right_zone .lp-view-zone-container {
  469. padding-left: 5px;
  470. }
  471. #learning_path_right_zone .lp-view-tabs .tab-content {
  472. bottom: 10px;
  473. right: 10px;
  474. top: 75px;
  475. }
  476. #learning_path_right_zone .tab-pane{
  477. }
  478. #learning_path_right_zone .tab-pane iframe {
  479. }
  480. }
  481. /* Medium devices (desktops, 992px and up) */
  482. @media (min-width: 992px) {
  483. #learning_path_left_zone {
  484. width: 300px;
  485. }
  486. #learning_path_right_zone {
  487. left: 300px;
  488. width: calc(100% - 300px);
  489. }
  490. }
  491. /* Large devices (large desktops, 1200px and up) */
  492. @media (min-width: 1200px) {
  493. #learning_path_left_zone {
  494. width: 350px;
  495. }
  496. #learning_path_right_zone {
  497. left: 350px;
  498. width: calc(100% - 350px);
  499. }
  500. }
  501. @media (min-width : 480px) and (max-width: 767px) {
  502. #panel-scorm .image-avatar{
  503. display: none;
  504. }
  505. #scorm-info {
  506. padding: 0;
  507. margin: 0;
  508. }
  509. #learning_path_left_zone .lp-view-zone-container,
  510. #learning_path_right_zone .lp-view-zone-container{
  511. padding: 0;
  512. }
  513. #scorm-info {
  514. padding: 30px 0 0 0;
  515. margin: 0;
  516. }
  517. .nav-tabs-bar{
  518. display: none;
  519. }
  520. }
  521. /* Landscape phones and down */
  522. @media (max-width: 480px) {
  523. #home-course{
  524. display: none !important;
  525. }
  526. .scorm-title{
  527. font-size: 14px;
  528. padding: 10px;
  529. }
  530. .movil-toolbar{
  531. padding-left: 35%;
  532. }
  533. }