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%;
|
2020-04-21 15:33:53 +02:00
|
|
|
overflow: hidden;
|
2020-04-02 14:36:49 +02:00
|
|
|
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-04-03 16:11:25 +02:00
|
|
|
background-color: #eee;
|
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-04-20 10:47:52 +02:00
|
|
|
height: 0; /* strange bug some browser need this to be working ok */
|
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-04-21 15:33:53 +02:00
|
|
|
height: auto;
|
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-21 15:33:53 +02:00
|
|
|
height: auto;
|
2020-03-22 10:17:54 +01:00
|
|
|
}
|
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 {
|
2020-04-17 09:00:45 +02:00
|
|
|
margin-bottom: 39px; /* Leave space for the bottom toolbar on mobile */
|
2020-03-22 10:17:54 +01:00
|
|
|
}
|
2020-04-02 14:36:49 +02:00
|
|
|
}
|