scorm.css 12 KB

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