scorm.css 15 KB

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