ode-csslib 4.0.13-develop-b2school.202306281712 → 4.1.1-dev.202308281558
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/fonts/generic-icons/generic-icons.svg +1 -0
- package/assets/fonts/generic-icons/generic-icons.ttf +0 -0
- package/assets/fonts/generic-icons/generic-icons.woff +0 -0
- package/dist/fonts/generic-icons/generic-icons.svg +1 -0
- package/dist/fonts/generic-icons/generic-icons.ttf +0 -0
- package/dist/fonts/generic-icons/generic-icons.woff +0 -0
- package/dist/index.css +3 -3
- package/dist/index.css.map +1 -1
- package/dist/version.txt +1 -1
- package/package.json +1 -1
- package/scss/_crisscross-mobile.scss +2 -2
- package/scss/specifics/calendar/_calendar.scss +1 -1
- package/scss/specifics/crre/fragments/_status-circle.scss +1 -1
- package/scss/specifics/formulaire/components/_edit-form.scss +51 -4
- package/scss/specifics/formulaire/components/_icon.scss +11 -0
- package/scss/specifics/formulaire/components/_respond-question.scss +39 -1
- package/scss/specifics/ressource-aggregator/_ressource-aggregator.scss +2 -2
package/dist/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
entcore-css-lib=4.
|
|
1
|
+
entcore-css-lib=4.1-dev-SNAPSHOT 28/08/2023 15:58:28
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ode-csslib",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.1-dev.202308281558",
|
|
4
4
|
"description": "Open Digital Education Legacy CSS framework",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"copy-fonts": "cpr node_modules/entcore-generic-icons/fonts/ assets/fonts/generic-icons/ -o",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
position: sticky;
|
|
14
14
|
background: linear-gradient(to bottom right, $formulaire-grey-lighter, $formulaire-grey-very-light) fixed;
|
|
15
15
|
z-index: 3;
|
|
16
|
-
top:
|
|
16
|
+
top: 0;
|
|
17
17
|
|
|
18
18
|
@media screen and (max-width: $formulaire-screen-tablet) {
|
|
19
19
|
top: 49px;
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
flex-direction: column;
|
|
31
31
|
align-content: space-between;
|
|
32
32
|
|
|
33
|
+
|
|
33
34
|
.question-item .domino:not(.disabled) > .grab,
|
|
34
35
|
.section-top:not(.disabled) > .grab {
|
|
35
36
|
cursor: grab;
|
|
@@ -117,6 +118,22 @@
|
|
|
117
118
|
display: flex;
|
|
118
119
|
align-items: center;
|
|
119
120
|
|
|
121
|
+
.form-image {
|
|
122
|
+
position: relative;
|
|
123
|
+
margin: 15px 10px 15px 10px;
|
|
124
|
+
i.i-close {
|
|
125
|
+
position: absolute;
|
|
126
|
+
top: -20px;
|
|
127
|
+
left: -20px;
|
|
128
|
+
margin: auto 1%;
|
|
129
|
+
}
|
|
130
|
+
&-upload {
|
|
131
|
+
display: flex;
|
|
132
|
+
width: 25%;
|
|
133
|
+
margin: 10px;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
120
137
|
select {
|
|
121
138
|
margin-left: 6%;
|
|
122
139
|
}
|
|
@@ -131,9 +148,6 @@
|
|
|
131
148
|
}
|
|
132
149
|
}
|
|
133
150
|
|
|
134
|
-
i.i-cancel {
|
|
135
|
-
margin: auto 1%;
|
|
136
|
-
}
|
|
137
151
|
}
|
|
138
152
|
|
|
139
153
|
textarea {
|
|
@@ -148,6 +162,39 @@
|
|
|
148
162
|
flex-direction: column;
|
|
149
163
|
align-items: center;
|
|
150
164
|
}
|
|
165
|
+
|
|
166
|
+
question-type-singleanswer, question-type-multipleanswer {
|
|
167
|
+
|
|
168
|
+
/* Ajuster la taille de <image-select> */
|
|
169
|
+
.image-select {
|
|
170
|
+
width: 100px;
|
|
171
|
+
height: 100px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/* Ajuster la taille de l'image dans la directive <image-select> */
|
|
175
|
+
.image-select .initialFloat.cell img {
|
|
176
|
+
width: 100px;
|
|
177
|
+
height: 100px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/* Ajuster la taille de l'image affichée dans la balise <img> */
|
|
181
|
+
img {
|
|
182
|
+
width: 100px;
|
|
183
|
+
height: 100px;
|
|
184
|
+
object-fit: cover;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.image-container {
|
|
188
|
+
position: relative;
|
|
189
|
+
width: 125px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.image-container .i-close {
|
|
193
|
+
position: absolute;
|
|
194
|
+
top: 0;
|
|
195
|
+
right: 0;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
151
198
|
}
|
|
152
199
|
|
|
153
200
|
.question-bottom, .section-bottom {
|
|
@@ -236,4 +236,15 @@ i {
|
|
|
236
236
|
font-family: 'formulaire-mdi';
|
|
237
237
|
content: "\F99A";
|
|
238
238
|
}
|
|
239
|
+
|
|
240
|
+
&.i-image::before {
|
|
241
|
+
font-family: 'formulaire-mdi';
|
|
242
|
+
content: "\F2E9";
|
|
243
|
+
color: $formulaire-orange;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
&.i-close::before {
|
|
247
|
+
font-family: 'formulaire-mdi';
|
|
248
|
+
content: "\F159";
|
|
249
|
+
}
|
|
239
250
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
&-main {
|
|
19
19
|
display: flex;
|
|
20
20
|
flex-direction: column;
|
|
21
|
-
font-size:
|
|
21
|
+
font-size: 14px;
|
|
22
22
|
|
|
23
23
|
textarea {
|
|
24
24
|
width: 100%;
|
|
@@ -50,6 +50,44 @@
|
|
|
50
50
|
justify-content: end !important;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
+
|
|
54
|
+
.image-container {
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: row;
|
|
57
|
+
justify-content: space-around;
|
|
58
|
+
flex-flow: wrap;
|
|
59
|
+
|
|
60
|
+
img {
|
|
61
|
+
width: 150px;
|
|
62
|
+
height: 150px;
|
|
63
|
+
object-fit: cover;
|
|
64
|
+
margin-top: 15px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
input[type="text"] {
|
|
68
|
+
margin-top: 10px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.choice-image {
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-direction: column;
|
|
74
|
+
margin-bottom: 15px;
|
|
75
|
+
|
|
76
|
+
.choice-text {
|
|
77
|
+
display: flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
|
|
80
|
+
.notCustomChoice {
|
|
81
|
+
height: 27.89px; // Too match the height of ODE inout text
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.customInput {
|
|
85
|
+
margin-top: 0;
|
|
86
|
+
margin-bottom: 0;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
53
91
|
}
|
|
54
92
|
|
|
55
93
|
.respond-question .section, .result-element .section {
|
|
@@ -33,13 +33,13 @@ body.mediacentre-v2 {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
section.main {
|
|
36
|
-
top:
|
|
36
|
+
top: 0px !important;
|
|
37
37
|
padding: 0 !important;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
@media (max-width: $tablette) {
|
|
41
41
|
section.main {
|
|
42
|
-
top:
|
|
42
|
+
top: 0px !important;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|