128 lines
2.0 KiB
CSS
128 lines
2.0 KiB
CSS
html, body, .wrapper {
|
|
height: 100% !important;
|
|
}
|
|
|
|
.wrapper {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.main-header {
|
|
position: fixed;
|
|
width: 100%;
|
|
}
|
|
|
|
.edit-container {
|
|
min-height: 52px;
|
|
background-color: #f9f9f9;
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
margin-top: 60px;
|
|
}
|
|
|
|
.edit-container section.content {
|
|
min-height: 100%;
|
|
width: 100%;
|
|
padding: 0;
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.content .pane {
|
|
position: relative;
|
|
padding: 0;
|
|
}
|
|
|
|
#codePane {
|
|
height: 100%;
|
|
box-shadow: 2px 0px 6px #cccccc;
|
|
}
|
|
|
|
.codePaneTool {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 40px;
|
|
line-height: 24px;
|
|
z-index: 800;
|
|
background-color: white;
|
|
padding: 8px 22px;
|
|
box-shadow: 0 2px 10px #dddddd;
|
|
}
|
|
|
|
#editor {
|
|
font-family: Consolas, monaco, 'Courier New', Courier, monospace;
|
|
position: absolute;
|
|
top: 42px;
|
|
bottom: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
line-height: 18px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
#previewPane {
|
|
height: 100%;
|
|
}
|
|
|
|
#innerPage {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
}
|
|
|
|
.editorBtn {
|
|
display: inline-block;
|
|
width: 60px;
|
|
height: 24px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
color: #0083CB;
|
|
float: right;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.editorBtn:hover {
|
|
font-weight: bold;
|
|
}
|
|
|
|
#showCodeBtn {
|
|
cursor: pointer;
|
|
z-index: 900;
|
|
position: absolute;
|
|
bottom: 4px;
|
|
right: 0;
|
|
width: 70px;
|
|
height: 45px;
|
|
line-height: 45px;
|
|
margin: 4px;
|
|
text-align: center;
|
|
background-color: rgba(60, 141, 188, 0.8);
|
|
color: #fff;
|
|
}
|
|
|
|
#showCodeBtn:hover {
|
|
background-color: rgba(60, 141, 188, 1.0);
|
|
}
|
|
|
|
@media screen and (max-width: 992px) {
|
|
#codePane {
|
|
display: none;
|
|
}
|
|
|
|
.codePaneTool {
|
|
padding: 8px 68px 8px 20px;
|
|
}
|
|
}
|
|
|
|
.ace_scrollbar::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
.ace_scrollbar::-webkit-scrollbar-thumb {
|
|
border-radius: 12px;
|
|
background: #e7e7e7;
|
|
-webkit-box-shadow: inset 0 0 6px #d1cfcf;
|
|
} |