-
Notifications
You must be signed in to change notification settings - Fork 5
/
styles.css
51 lines (48 loc) · 2.21 KB
/
styles.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
/* stylelint-disable max-line-length */
/* Remove any border from the iFrame. */
.block_onlinesurvey #block_onlinesurvey_contentframe {
border: 0;
}
/* Set the basic size of the iFrame in compact and detailed view. */
.block_onlinesurvey #block_onlinesurvey_contentframe {
width: 100%;
}
.block_onlinesurvey #block_onlinesurvey_contentframe.block_onlinesurvey_compact {
height: 150px;
}
.block_onlinesurvey #block_onlinesurvey_contentframe.block_onlinesurvey_detailed.block_onlinesurvey_soap {
height: 60px;
}
.block_onlinesurvey #block_onlinesurvey_contentframe.block_onlinesurvey_detailed.block_onlinesurvey_lti {
height: 120px;
}
/* In the detailed view, increase the height as soon as there are surveys. */
.block_onlinesurvey_surveysexist.block_onlinesurvey_surveycount_1 #block_onlinesurvey_contentframe.block_onlinesurvey_detailed.block_onlinesurvey_soap {
height: 60px;
}
.block_onlinesurvey_surveysexist.block_onlinesurvey_surveycount_1 #block_onlinesurvey_contentframe.block_onlinesurvey_detailed.block_onlinesurvey_lti {
height: 110px;
}
.block_onlinesurvey_surveysexist.block_onlinesurvey_surveycount_2 #block_onlinesurvey_contentframe.block_onlinesurvey_detailed.block_onlinesurvey_soap {
height: 70px;
}
.block_onlinesurvey_surveysexist.block_onlinesurvey_surveycount_2 #block_onlinesurvey_contentframe.block_onlinesurvey_detailed.block_onlinesurvey_lti {
height: 165px;
}
.block_onlinesurvey_surveysexist.block_onlinesurvey_surveycount_3 #block_onlinesurvey_contentframe.block_onlinesurvey_detailed.block_onlinesurvey_soap {
height: 95px;
}
.block_onlinesurvey_surveysexist.block_onlinesurvey_surveycount_3 #block_onlinesurvey_contentframe.block_onlinesurvey_detailed.block_onlinesurvey_lti {
height: 220px;
}
.block_onlinesurvey_surveysexist.block_onlinesurvey_surveycount_gt3 #block_onlinesurvey_contentframe.block_onlinesurvey_detailed.block_onlinesurvey_soap {
height: 120px;
}
.block_onlinesurvey_surveysexist.block_onlinesurvey_surveycount_gt3 #block_onlinesurvey_contentframe.block_onlinesurvey_detailed.block_onlinesurvey_lti {
height: 275px;
}
/* Style the 'All surveys' button to open the modal. */
.block_onlinesurvey_allsurveys {
margin-top: 15px;
text-align: center;
}