scorm.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557
  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. #learning_path_left_zone {
  9. }
  10. #learning_path_left_zone #header {
  11. }
  12. #scorm-info.panel-default{
  13. }
  14. #author_image {
  15. border: 1px solid #CCCCCC;
  16. float: left;
  17. margin: 0;
  18. padding: 8px;
  19. position: relative;
  20. width: 100%;
  21. }
  22. #author_name {
  23. float: left;
  24. text-align:center;
  25. width: 100%;
  26. font-size: 11px;
  27. color: #888;
  28. margin-top: 2px;
  29. }
  30. #learning_path_toc {
  31. font-size:9pt;
  32. margin:0;
  33. }
  34. #learning_path_left_zone #scorm-gamification{
  35. }
  36. #scorm-gamification .fa-star{
  37. font-size: 20px;
  38. color: #C2C2C2;
  39. }
  40. #scorm-gamification .fa-star.level{
  41. color: #D9534F;
  42. }
  43. #learning_path_left_zone .navegation-bar .buttons{
  44. padding-top: 5px;
  45. padding-bottom: 5px;
  46. }
  47. #learning_path_left_zone .description-autor{
  48. }
  49. .inner_lp_toc .scorm_item a {
  50. font-weight: bold;
  51. font-size: 14px;
  52. margin-right: 1px;
  53. padding-bottom: 2px;
  54. text-decoration: none;
  55. color: #2F3E46;
  56. }
  57. .inner_lp_toc .scorm_item a.chapter_module {
  58. font-weight: normal;
  59. margin-right: 10px;
  60. }
  61. .inner_lp_toc .scorm_item_highlight {
  62. border: 1px solid #999;
  63. background:#999;
  64. font-weight:bold;
  65. text-shadow:0 -1px 1px #666;
  66. background-image:-webkit-gradient(linear,left top,left bottom,from(#666),to(#999));
  67. background-image:-webkit-linear-gradient(top,#666,#999);
  68. background-image:-moz-linear-gradient(top,#666,#999);
  69. background-image:-ms-linear-gradient(top,#666,#999);
  70. background-image:-o-linear-gradient(top,#666,#999);
  71. background-image:linear-gradient(top,#666,#999);
  72. margin-right: 0px;
  73. padding: 10px 0px 10px 0px;
  74. text-decoration: none;
  75. }
  76. .inner_lp_toc .scorm_item_highlight a {
  77. color:#fff;
  78. margin-right: 1px;
  79. text-decoration: none;
  80. font-weight: bold;
  81. }
  82. .inner_lp_toc .scorm_item_section {
  83. background:#E8ECEF;
  84. color:#666;
  85. padding: 5px 0px 5px 0px;
  86. font-size: 12px;
  87. font-weight: bold;
  88. }
  89. .inner_lp_toc .scorm_item {
  90. font-size: 16px;
  91. margin-left: 10px;
  92. margin-right:10px;
  93. text-decoration: none;
  94. border-color: rgba(255, 255, 255, 0.3);
  95. }
  96. .inner_lp_toc .scorm_item_section .scorm_item:before {
  97. content : url('../../main/img/lp_section.png'); /* path from main/newscorm/lp_controller.php file */
  98. vertical-align: text-top;
  99. margin-right : 5px;
  100. }
  101. /* learning path's classes for section and item for 5 levels of depth */
  102. .scorm_section_level_0 {
  103. padding : 0 0 0 0;
  104. }
  105. .scorm_section_level_1 {
  106. padding : 0 0.5em 0 2em;
  107. }
  108. .scorm_section_level_2 {
  109. padding : 0 0.5em 0 4em;
  110. }
  111. .scorm_section_level_3 {
  112. padding : 0 0.5em 0 6em;
  113. }
  114. .scorm_section_level_4 {
  115. padding : 0 0.5em 0 8em;
  116. }
  117. .scorm_section_level_5 {
  118. padding : 0 0.5em 0 10em;
  119. }
  120. .scorm_item_level_0 {
  121. padding : 0 0 0 0;
  122. }
  123. .scorm_item_level_1 {
  124. padding : 0 0.5em 0 1.5em;
  125. }
  126. .scorm_item_level_2 {
  127. padding : 0 0.5em 0 3em;
  128. }
  129. .scorm_item_level_3 {
  130. padding : 0 0.5em 0 4.5em;
  131. }
  132. .scorm_item_level_4 {
  133. padding : 0 0.5em 0 6em;
  134. }
  135. .scorm_item_level_5 {
  136. padding : 0 0.5em 0 7.5em;
  137. }
  138. #learning_path_right_zone{
  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. #view_as_link{
  156. margin-top: 5px;
  157. margin-right: 10px;
  158. }
  159. #learning_path_left_zone #ui-option{
  160. }
  161. .sidebar-scorm,
  162. .content-scorm{
  163. }
  164. .total{
  165. width: 100%;
  166. }
  167. .panel-default .panel-heading .btn{
  168. top: -25px;
  169. }
  170. .panel-default .panel-heading .dropdown-menu{
  171. top: 30%;
  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. #lp_navigation_elem .buttons {
  197. }
  198. #learning_path_left_zone .scorm_title{
  199. font-size: 20px;
  200. color: #666;
  201. margin-bottom: .5em;
  202. margin-top: .5em;
  203. }
  204. /* for section */
  205. .scorm_item_section.scorm_completed{
  206. color: #ffffff;
  207. padding-right: 1.5em;
  208. background-color: #AAB3B8;
  209. }
  210. .scorm_item_section{
  211. background: #2b3d53; /* Old browsers */
  212. background: -moz-linear-gradient(top, #2b3d53 0%, #2c3d4d 100%); /* FF3.6+ */
  213. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2b3d53), color-stop(100%,#2c3d4d)); /* Chrome,Safari4+ */
  214. background: -webkit-linear-gradient(top, #2b3d53 0%,#2c3d4d 100%); /* Chrome10+,Safari5.1+ */
  215. background: -o-linear-gradient(top, #2b3d53 0%,#2c3d4d 100%); /* Opera 11.10+ */
  216. background: -ms-linear-gradient(top, #2b3d53 0%,#2c3d4d 100%); /* IE10+ */
  217. background: linear-gradient(to bottom, #2b3d53 0%,#2c3d4d 100%); /* W3C */
  218. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b3d53', endColorstr='#2c3d4d',GradientType=0 ); /* IE6-9 */
  219. padding-top: 10px;
  220. padding-bottom: 10px;
  221. font-size: 14px;
  222. color: #ffffff;
  223. /* border-top-left-radius:5px;
  224. border-top-right-radius: 5px;*/
  225. }
  226. .scorm_item_section .scorm_section_level_0{
  227. padding-left: .5em;
  228. padding-right: .5em;
  229. }
  230. .scorm_item_section .scorm_section_level_1{
  231. padding-left: 1.5em;
  232. padding-right: .5em;
  233. }
  234. .scorm_item_section .scorm_section_level_2{
  235. padding-left: 2.5em;
  236. padding-right: .5em;
  237. }
  238. .scorm_item_section .scorm_section_level_3{
  239. padding-left: 3.5em;
  240. padding-right: .5em;
  241. }
  242. .scorm_item_normal .scorm_item_level_0{
  243. padding-left: 1.5em;
  244. }
  245. .scorm_item_normal{
  246. padding:5px;
  247. margin-left: 10px;
  248. }
  249. .scorm_item_normal a.items-list{
  250. color: #666666;
  251. }
  252. .scorm_item_normal a:hover{
  253. text-decoration: none;
  254. }
  255. .scorm_item_normal.scorm_completed {
  256. background:url("../../main/img/scorm/scorm_completed.png") no-repeat left center;
  257. }
  258. .scorm_item_normal.scorm_failed{
  259. background:url("../../main/img/scorm/scorm_failed.png") no-repeat left center;
  260. }
  261. .scorm_item_normal.scorm_not_attempted{
  262. background:url("../../main/img/scorm/scorm_not_attempted.png") no-repeat left center;
  263. }
  264. .scorm_item_normal.scorm_highlight{
  265. background:url("../../main/img/scorm/scorm_highlight.png") no-repeat left center !important;
  266. color: #009AB8;
  267. }
  268. .scorm_item_normal.scorm_highlight.scorm_completed{
  269. background:url("../../main/img/scorm/scorm_current.png") no-repeat left center !important;
  270. color: #009AB8;
  271. }
  272. .scorm_item_normal.scorm_highlight.scorm_failed{
  273. background:url("../../main/img/scorm/scorm_failed.png") no-repeat left center !important;
  274. color: #009AB8;
  275. }
  276. .scorm_item_normal.scorm_highlight a{
  277. color: #009AB8 !important;
  278. }
  279. /* END SCORM CSS BASE*/
  280. #scorm-info{
  281. padding: 10px;
  282. margin-bottom: 5px;
  283. border: 1px solid #ddd;
  284. border-radius: 5px;
  285. }
  286. #scorm-info .description-autor p {
  287. font-size: 12px;
  288. line-height: 20px;
  289. color: #666666;
  290. }
  291. #scorm-info hr {
  292. background-color: #DDD;
  293. width: 100%;
  294. }
  295. #scorm-info #progress_bar .progress{
  296. margin-bottom: 5px;
  297. }
  298. .image-avatar .media-left img,
  299. .image-avatar img{
  300. border: 1px solid #DDD;
  301. border-radius: 5px;
  302. }
  303. .image-avatar{
  304. padding-top: 10px;
  305. padding-bottom: 10px;
  306. }
  307. .scorm-title{
  308. color: #666;
  309. font-size: 16px;
  310. font-weight: 700;
  311. line-height: 1.5em;
  312. margin: 0 0 10px;
  313. overflow: hidden;
  314. text-overflow: ellipsis;
  315. white-space: nowrap;
  316. }
  317. #learning_path_right_zone .lp-view-tabs li a {
  318. padding: 5px 10px;
  319. }
  320. /* Extra small devices (mobiles, 767px and down) */
  321. #learning_path_main {
  322. height: 100%;
  323. margin: 0;
  324. overflow: hidden;
  325. position: relative;
  326. }
  327. #learning_path_left_zone,
  328. #learning_path_right_zone {
  329. bottom: 0;
  330. box-sizing: content-box;
  331. left: 0;
  332. margin: 0;
  333. padding: 0;
  334. position: absolute;
  335. right: 0;
  336. top: 0;
  337. transition-property: left width;
  338. transition-duration: 0.5s;
  339. }
  340. #learning_path_left_zone .lp-view-zone-container,
  341. #learning_path_right_zone .lp-view-zone-container {
  342. bottom: 0;
  343. left: 0;
  344. padding: 5px;
  345. position: absolute;
  346. right: 0;
  347. top: 0;
  348. }
  349. #learning_path_toc {
  350. bottom: 5px;
  351. left: 5px;
  352. overflow: auto;
  353. position: absolute;
  354. right: 5px;
  355. top: 100%;
  356. transition-property: top;
  357. transition-duration: 0.1s;
  358. }
  359. #learning_path_right_zone {
  360. left: 100%;
  361. width: 100%;
  362. }
  363. #learning_path_right_zone .lp-view-tabs .tab-content {
  364. bottom: 5px;
  365. left: 5px;
  366. position: absolute;
  367. right: 5px;
  368. top: 65px;
  369. }
  370. #learning_path_right_zone .tab-pane{
  371. height: 100%;
  372. position: relative;
  373. }
  374. #learning_path_right_zone .tab-pane iframe {
  375. border: 0 none;
  376. height: 100%;
  377. width: 100%;
  378. }
  379. #learning_path_main.lp-view-collapsed #learning_path_left_zone {
  380. left: -100%;
  381. }
  382. #learning_path_main.lp-view-collapsed #learning_path_right_zone {
  383. left: 0;
  384. width: 100%;
  385. }
  386. .nav-tabs li.active a{
  387. color: #006A84;
  388. }
  389. .nav-tabs li a{
  390. color: #666666;
  391. }
  392. #lp-view-expand-button{
  393. border: none;
  394. }
  395. .icon-toolbar{
  396. border-radius: 100%;
  397. width: 35px;
  398. display: inline-block !important;
  399. margin: 0px 5px 5px 0px;
  400. color: #fff;
  401. }
  402. .icon-toolbar .fa{
  403. width: 35px;
  404. height: 35px;
  405. line-height: 35px;
  406. text-align: center;
  407. border-radius: 100%;
  408. background-color: #34495E;
  409. font-size: 20px;
  410. }
  411. .icon-toolbar .fa:hover{
  412. background-color: #000;
  413. }
  414. .expand .fa{
  415. background-color: #00829C;
  416. }
  417. .expand .fa:hover{
  418. background-color: #006A84;
  419. color: #ffffff;
  420. }
  421. .expand .fa:active, .expand .fa:focus{
  422. color: #ffffff;
  423. }
  424. #learning_path_toc {
  425. bottom: 10px;
  426. left: 10px;
  427. right: 5px;
  428. margin-top:20px;
  429. border: 1px solid #ddd;
  430. padding: 10px;
  431. border-radius: 5px;
  432. }
  433. /* Small devices (tablets, 768px and up) */
  434. @media (min-width: 768px) {
  435. #scorm-info{
  436. padding: 10px;
  437. margin-bottom: 10px;
  438. }
  439. #learning_path_left_zone {
  440. width: 250px;
  441. }
  442. #learning_path_right_zone {
  443. left: 250px;
  444. width: calc(100% - 250px);
  445. }
  446. #learning_path_main.lp-view-include-breadcrumb #learning_path_left_zone,
  447. #learning_path_main.lp-view-include-breadcrumb #learning_path_right_zone {
  448. top: 40px;
  449. }
  450. #learning_path_left_zone .lp-view-zone-container,
  451. #learning_path_right_zone .lp-view-zone-container {
  452. padding: 10px;
  453. }
  454. #learning_path_left_zone .lp-view-zone-container {
  455. padding-right: 5px;
  456. }
  457. #learning_path_right_zone .lp-view-zone-container {
  458. padding-left: 5px;
  459. }
  460. #learning_path_right_zone .lp-view-tabs .tab-content {
  461. bottom: 10px;
  462. right: 10px;
  463. top: 75px;
  464. }
  465. #learning_path_right_zone .tab-pane{
  466. }
  467. #learning_path_right_zone .tab-pane iframe {
  468. }
  469. }
  470. /* Medium devices (desktops, 992px and up) */
  471. @media (min-width: 992px) {
  472. #learning_path_left_zone {
  473. width: 300px;
  474. }
  475. #learning_path_right_zone {
  476. left: 300px;
  477. width: calc(100% - 300px);
  478. }
  479. }
  480. /* Large devices (large desktops, 1200px and up) */
  481. @media (min-width: 1200px) {
  482. #learning_path_left_zone {
  483. width: 350px;
  484. }
  485. #learning_path_right_zone {
  486. left: 350px;
  487. width: calc(100% - 350px);
  488. }
  489. }
  490. /* Landscape phones and down */
  491. @media (max-width: 480px) {
  492. #home-course{
  493. display: none !important;
  494. }
  495. .movil-toolbar{
  496. text-align: center;
  497. }
  498. .scorm-title{
  499. font-size: 14px;
  500. }
  501. }