123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- html, body, .wrapper {
- height: 100% !important;
- }
- .wrapper {
- overflow: hidden;
- }
- .main-header {
- position: fixed;
- width: 100%;
- top:0;
- }
- .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: 20px;
- right: 10px;
- padding: 0 10px;
- min-width: 54px;
- height: 30px;
- line-height: 30px;
- margin: 4px;
- text-align: center;
- background-color: rgba(34, 45, 50, 0.7);
- color: #fff;
- }
- #showCodeBtn:hover {
- background-color: rgba(34, 45, 50, 0.9);
- }
- @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;
- }
|