css: make all editor containers use the same background color
parent
e0f63a4a14
commit
0923cd3f21
|
@ -6,11 +6,13 @@
|
||||||
|
|
||||||
html.inner-editor {
|
html.inner-editor {
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
|
background-color: transparent !important;
|
||||||
}
|
}
|
||||||
#outerdocbody {
|
#outerdocbody {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
min-height: 100vh; /* take at least full height */
|
min-height: 100vh; /* take at least full height */
|
||||||
|
background-color: #F4F4F4;
|
||||||
}
|
}
|
||||||
#outerdocbody iframe {
|
#outerdocbody iframe {
|
||||||
flex: 1 auto;
|
flex: 1 auto;
|
||||||
|
@ -25,6 +27,7 @@ html.inner-editor {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
background-color: white;
|
||||||
}
|
}
|
||||||
#innerdocbody, #sidediv {
|
#innerdocbody, #sidediv {
|
||||||
padding-top: 10px; /* Both must have same top padding, so line number are aligned with the rows */
|
padding-top: 10px; /* Both must have same top padding, so line number are aligned with the rows */
|
||||||
|
@ -42,7 +45,7 @@ body.mozilla, body.safari {
|
||||||
padding-right: 1px; /* prevents the caret from disappearing on the longest line of the doc */
|
padding-right: 1px; /* prevents the caret from disappearing on the longest line of the doc */
|
||||||
}
|
}
|
||||||
html { cursor: text; } /* in Safari, produces text cursor for whole doc (inc. below body) */
|
html { cursor: text; } /* in Safari, produces text cursor for whole doc (inc. below body) */
|
||||||
span { cursor: auto; }
|
span { cursor: auto; line-height: 125%; }
|
||||||
|
|
||||||
|
|
||||||
/* -------------- */
|
/* -------------- */
|
||||||
|
@ -86,7 +89,7 @@ body.doesWrap:not(.noprewrap) > div {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
background-color: #eee;
|
background-color: transparent;
|
||||||
border-right: 1px solid #ccc;
|
border-right: 1px solid #ccc;
|
||||||
}
|
}
|
||||||
#sidedivinner {
|
#sidedivinner {
|
||||||
|
|
|
@ -14,6 +14,7 @@ body {
|
||||||
#editorcontainerbox {
|
#editorcontainerbox {
|
||||||
flex: 1 auto;
|
flex: 1 auto;
|
||||||
position: relative; /* for nested popup to use absolute positionning */
|
position: relative; /* for nested popup to use absolute positionning */
|
||||||
|
background-color: #eee;
|
||||||
|
|
||||||
/* For sticky chat */
|
/* For sticky chat */
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
|
|
||||||
<% e.begin_block("afterEditbar"); %><% e.end_block(); %>
|
<% e.begin_block("afterEditbar"); %><% e.end_block(); %>
|
||||||
|
|
||||||
<div id="editorcontainerbox">
|
<div id="editorcontainerbox" class="flex-layout">
|
||||||
|
|
||||||
<% e.begin_block("editorContainerBox"); %>
|
<% e.begin_block("editorContainerBox"); %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue