1 |
efrain |
1 |
//---- SCORM
|
|
|
2 |
//---- Module Activity
|
|
|
3 |
#scormviewform,
|
|
|
4 |
#page-mod-scorm-view #intro
|
|
|
5 |
{
|
|
|
6 |
padding: 0!important;
|
|
|
7 |
}
|
|
|
8 |
|
|
|
9 |
#scormviewform {
|
|
|
10 |
@include media-breakpoint-between(xs,sm) {
|
|
|
11 |
.btn,
|
|
|
12 |
.form-inline .custom-select {
|
|
|
13 |
padding: 8px 20px;
|
|
|
14 |
margin: 2px 0!important;
|
|
|
15 |
width: 100%;
|
|
|
16 |
max-width: 100%;
|
|
|
17 |
}
|
|
|
18 |
}
|
|
|
19 |
}
|
|
|
20 |
|
|
|
21 |
#scormtablecontainer {
|
|
|
22 |
#attempts {
|
|
|
23 |
.c5, .c6 {
|
|
|
24 |
font-size: $font-size-xs;
|
|
|
25 |
color: $body-color-secondary;
|
|
|
26 |
|
|
|
27 |
.theme-dark & {
|
|
|
28 |
color: $dm-body-color-secondary;
|
|
|
29 |
}
|
|
|
30 |
}
|
|
|
31 |
}
|
|
|
32 |
}
|
|
|
33 |
|
|
|
34 |
/* Mod default styles */
|
|
|
35 |
#page-mod-scorm-player #scormpage div.yui3-u-3-4 {
|
|
|
36 |
width: calc(75% - 30px);
|
|
|
37 |
margin-left: 30px;
|
|
|
38 |
}
|
|
|
39 |
|
|
|
40 |
#scorm_toc_toggle_btn {
|
|
|
41 |
margin: 0 0 10px;
|
|
|
42 |
|
|
|
43 |
background-color: $white;
|
|
|
44 |
background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.75 5.75H14.25' stroke='#{url-friendly-colour($body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='M4.75 18.25H14.25' stroke='#{url-friendly-colour($body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='M4.75 12H19.25' stroke='#{url-friendly-colour($body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
|
|
|
45 |
background-repeat: no-repeat;
|
|
|
46 |
background-position: center;
|
|
|
47 |
|
|
|
48 |
width: 40px;
|
|
|
49 |
height: 40px;
|
|
|
50 |
border-radius: 0 $border-radius $border-radius $border-radius;
|
|
|
51 |
border: none;
|
|
|
52 |
|
|
|
53 |
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .26), 0 14px 44px 0 rgba(0, 0, 0, .2);
|
|
|
54 |
|
|
|
55 |
display: inline-flex;
|
|
|
56 |
align-items: center;
|
|
|
57 |
justify-content: center;
|
|
|
58 |
|
|
|
59 |
overflow: hidden;
|
|
|
60 |
text-indent: -99px;
|
|
|
61 |
|
|
|
62 |
.theme-dark & {
|
|
|
63 |
background-color: $black;
|
|
|
64 |
background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.75 5.75H14.25' stroke='#{url-friendly-colour($dm-body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='M4.75 18.25H14.25' stroke='#{url-friendly-colour($dm-body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='M4.75 12H19.25' stroke='#{url-friendly-colour($dm-body-color)}' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E%0A");
|
|
|
65 |
}
|
|
|
66 |
}
|
|
|
67 |
|
|
|
68 |
.scorm_toc_toggle {
|
|
|
69 |
position: absolute;
|
|
|
70 |
top: 0;
|
|
|
71 |
z-index: $zindex-fixed;
|
|
|
72 |
}
|
|
|
73 |
|
|
|
74 |
.disabled .scorm_toc_toggle {
|
|
|
75 |
position: relative;
|
|
|
76 |
}
|
|
|
77 |
|
|
|
78 |
#scorm_toc {
|
|
|
79 |
padding: 10px 20px 0 0;
|
|
|
80 |
background-color: transparent;
|
|
|
81 |
}
|
|
|
82 |
|
|
|
83 |
#scorm_tree {
|
|
|
84 |
.yui3-treeview-row {
|
|
|
85 |
padding: 10px;
|
|
|
86 |
background-color: transparent;
|
|
|
87 |
border-radius: $btn-border-radius;
|
|
|
88 |
|
|
|
89 |
.icon {
|
|
|
90 |
font-size: 11px;
|
|
|
91 |
}
|
|
|
92 |
|
|
|
93 |
.rui-icon {
|
|
|
94 |
display: none;
|
|
|
95 |
}
|
|
|
96 |
|
|
|
97 |
}
|
|
|
98 |
|
|
|
99 |
.yui3-skin-sam .yui3-treeview-label {
|
|
|
100 |
margin: 0;
|
|
|
101 |
padding: 0;
|
|
|
102 |
}
|
|
|
103 |
}
|
|
|
104 |
|
|
|
105 |
#scorm_nav {
|
|
|
106 |
.yui3-button-disabled {
|
|
|
107 |
display: none;
|
|
|
108 |
}
|
|
|
109 |
}
|
|
|
110 |
|
|
|
111 |
#page-mod-scorm-player #scormpage #scorm_toc_title {
|
|
|
112 |
margin-bottom: 10px;
|
|
|
113 |
font-size: $font-size-sm;
|
|
|
114 |
}
|
|
|
115 |
|
|
|
116 |
#page-mod-scorm-player #scormpage div.yui3-g-r {
|
|
|
117 |
letter-spacing: normal;
|
|
|
118 |
word-spacing: normal;
|
|
|
119 |
}
|
|
|
120 |
|
|
|
121 |
.rui-scorm-exit-btn {
|
|
|
122 |
position: fixed;
|
|
|
123 |
top: $navbar-height + 10px;
|
|
|
124 |
right: 30px;
|
|
|
125 |
z-index: $zindex-fixed;
|
|
|
126 |
}
|
|
|
127 |
|
|
|
128 |
#page-mod-scorm-player #scormpage #toctree {
|
|
|
129 |
margin-top: -10px;
|
|
|
130 |
}
|
|
|
131 |
|
|
|
132 |
#scorm_content {
|
|
|
133 |
margin-bottom: $page-padding-global;
|
|
|
134 |
}
|