scorm.css 12 KB

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