-
Notifications
You must be signed in to change notification settings - Fork 31
/
branchingQuestion.css
122 lines (105 loc) · 2.29 KB
/
branchingQuestion.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
.h5p-branching-question-container {
transition: height 2s;
padding-top: 5em;
display: flex;
overflow: auto;
}
.h5p-branching-question {
background-color: #FFFFFF;
padding: 1em;
display: flex;
margin: auto;
position: relative;
}
.h5p-multichoice-wrapper {
margin-top: 1em;
overflow-y: auto;
width: 100%;
}
.h5p-branching-question-title {
font-size: 1.1em;
font-weight: 300;
margin-left: 1.2em;
}
.h5p-branching-question-title p {
margin-top: 0;
text-align: left;
}
.h5p-branching-question-alternative {
background: #F1F1F1;
min-height: 2.5em;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.2em 2.5em 0.2em 1.250em;
margin: 0.5em;
border-radius: 6px;
border: solid 0.042em;
border-color: #cfcfd1;
cursor: pointer;
word-break: break-word;
width: 98%;
font-size: 16px;
line-height: 1.5em;
position: relative;
}
.h5p-branching-question-alternative:hover {
background: #e8e8e8;
border-color: #cfcfcf;
}
.h5p-branching-question-alternative:active {
background: #dedede;
border-color: #bdbdbd;
}
.h5p-branching-question-alternative::after {
font-family: 'H5PFontAwesome4';
content: '\f061';
position: absolute;
right: 2em;
}
.h5p-branching-question-alternative p {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.h5p-branching-question-icon {
position: absolute;
width: 150px;
height: auto;
top: -80px;
left: 10px;
}
.h5p-branching-question .h5p-feedback-default {
text-align: center;
}
.h5p-branching-question .h5p-feedback-default h1 {
line-height: 1em;
}
.h5p-branching-question .h5p-feedback-has-image {
display: flex;
text-align: left;
padding: 0;
margin-left: 0;
}
.h5p-branching-question .h5p-branching-question.h5p-feedback-image {
display: flex;
align-items: center;
justify-content: center;
padding: 0;
margin: 0;
max-width: 30%;
}
.h5p-branching-question .h5p-branching-question.h5p-feedback-image img {
width: 100%;
-webkit-box-shadow: 5px 7px 17px 0px rgba(0,0,0,0.2);
-moz-box-shadow: 5px 7px 17px 0px rgba(0,0,0,0.2);
box-shadow: 5px 7px 17px 0px rgba(0,0,0,0.2);
}
.h5p-branching-question .h5p-feedback-content {
padding-left: 1em;
margin-left: 1em;
display: block;
overflow-y: auto;
}
.h5p-branching-question .h5p-feedback-content h2 {
font-size: 1em;
}