forked from learnweb/moodle-mod_collabora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
74 lines (71 loc) · 1.42 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/* collabora should be in fullscreen if it is opened in a modal dialog */
.collaboramodal.modal.in {
width: 100%;
max-width: 100%;
height: 100%;
margin: 0;
padding: 0;
left: 0;
top: 0;
}
.collaboramodal.modal.in .modal-body {
position: absolute;
width: 100%;
max-width: 100%;
height: 100%;
min-height: 100%;
}
.collaboramodal .modal-dialog {
width: 100%;
max-width: 100%;
height: 100%;
margin: 0;
padding-left: 0;
padding-right: 0;
}
.collaboramodal .modal-header {
padding-top: 0;
padding-bottom: 0;
}
.collaboramodal .modal-content {
width: 100%;
height: auto;
min-height: 100%;
border-radius: 0;
}
.collaboramodal iframe {
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
}
#page-mod-collabora-view.pagelayout-embedded #page {
padding-left: 0;
}
.collabora-frame.embedded {
position: fixed;
height: auto;
min-height: calc(100% - 25px);
}
/* Some rules for non boost themes like clean */
.collaboramodal.legacy iframe {
height: 99%;
width: 99%;
position: absolute;
top: 0;
left: 0;
}
.collaboramodal.legacy.modal.in {
top: 0;
z-index: 5000; /* The navbar in clean has z-index: 4030 */
height: 92%;
width: 100%;
}
.collaboramodal.legacy.modal.in .modal-body {
position: absolute;
width: 99%;
max-width: 100%;
height: 100%;
min-height: 100%;
}