2020-04-02 14:36:49 +02:00
|
|
|
html, body {
|
2020-03-22 10:17:54 +01:00
|
|
|
width: 100%;
|
2020-04-02 14:36:49 +02:00
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-03-22 10:17:54 +01:00
|
|
|
}
|
2020-04-02 14:36:49 +02:00
|
|
|
body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
#editbar {
|
|
|
|
height: auto;
|
2020-03-22 10:17:54 +01:00
|
|
|
}
|
2020-04-02 14:36:49 +02:00
|
|
|
#editorcontainerbox {
|
|
|
|
flex: 1 auto;
|
|
|
|
position: relative; /* for nested popup to use absolute positionning */
|
2020-03-22 10:17:54 +01:00
|
|
|
|
2020-04-02 14:36:49 +02:00
|
|
|
/* For sticky chat */
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2020-03-22 10:17:54 +01:00
|
|
|
}
|
2020-04-02 14:36:49 +02:00
|
|
|
#editorcontainerbox #editorcontainer {
|
|
|
|
display: flex; /* transfer flex properties to nested elements, here the iframe */
|
2020-03-22 10:17:54 +01:00
|
|
|
height: 100%;
|
2020-04-02 14:36:49 +02:00
|
|
|
flex: 1 auto;
|
|
|
|
}
|
|
|
|
#editorcontainerbox #editorcontainer iframe {
|
2020-03-22 10:17:54 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
2020-04-02 14:36:49 +02:00
|
|
|
#editorcontainerbox .sticky-container { /* container for #users, #chat, #toc (table of content) and so on... */
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 200px;
|
|
|
|
max-width: 40%;
|
|
|
|
flex-shrink: 0;
|
2020-03-22 10:17:54 +01:00
|
|
|
}
|
2020-04-02 14:36:49 +02:00
|
|
|
#editorcontainerbox .sticky-container:not(.stikyUsers):not(.stickyChat) {
|
|
|
|
width: 0; /* hide when the container is empty */
|
2020-03-22 10:17:54 +01:00
|
|
|
}
|
2020-04-02 14:36:49 +02:00
|
|
|
|
2020-03-22 10:17:54 +01:00
|
|
|
@media only screen and (max-width: 720px) {
|
2020-04-02 14:36:49 +02:00
|
|
|
#editorcontainerbox {
|
|
|
|
margin-bottom: 37px; /* Leave space for the bottom toolbar on mobile */
|
2020-03-22 10:17:54 +01:00
|
|
|
}
|
2020-04-02 14:36:49 +02:00
|
|
|
}
|