forked from h5p/h5p-question
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexplainer.css
80 lines (66 loc) · 1.4 KB
/
explainer.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
.h5p-question-explanation {
/* Needed this to make it display in IE 11 */
position: relative;
}
.h5p-question-explanation-container {
margin: 0;
padding: 1em;
background: #FAFAFA;
}
.h5p-question-explanation-title {
font-size: 1.125em;
margin-bottom: 0.5em;
}
.h5p-question-explanation-list {
background: #FFFFFF;
border: 1px solid #e0e0e0;
overflow: auto;
overflow-x: hidden;
list-style: none;
padding: 0;
margin: 0;
}
.h5p-question-explanation-item {
padding: 0.5em;
margin: 0;
line-height: 1.2;
display: flex;
}
.h5p-question-explanation-item:not(:last-child) {
border-bottom: 1px solid #e0e0e0;
}
.h5p-question-explanation-status {
display: flex;
flex-shrink: 0;
width: 8em;
flex-wrap: wrap;
}
.h5p-question-explanation-correct,
.h5p-question-explanation-wrong {
display: inline-flex;
font-weight: bold;
margin-left: 0.5em;
font-size: 0.9em;
word-break: break-all;
/* Non standard for WebKit */
word-break: break-word;
}
.h5p-question-explanation-correct {
color: #265c42;
}
.h5p-question-explanation-wrong {
color: #b61c1e;
text-decoration: line-through;
}
.h5p-question-explanation-text {
display: inline-flex;
padding-left: 1em;
margin-left: 0.5em;
border-left: 1px solid #ddd;
}
.h5p-question-explanation-list::-webkit-scrollbar {
width: 0.4em;
}
.h5p-question-explanation-list::-webkit-scrollbar-thumb {
background-color: #e0e0e0;
}