demo.css 6.39 KB
*{ margin: 0; padding: 0; list-style: none; }
html,body{
    height: 100%;
    width: 100%;
}
#app{
    height: 100%;
    width: 100%;
    position: relative;
}
#appContainer{
    float: left;
    overflow: hidden;
    width: 100%;
    height: calc(100% - 80px);
}
#app #appLeft,
#app #appMian,
#app #appRight{
    height: 100%;
    position: relative;
    float: left;
}
#app #appFooter{
    position: relative;
    float: left;
    width: 100%;
    height: 80px;
}
#appLeft{
    background-color: #fff;
    width: 140px;
    overflow: auto;
}
#appRight{
    background-color: #fff;
    width: 320px;
}
#appMian{
    background-color: #fff;
    width: calc(100% - 140px - 320px);
}
#handleLM,
#handleMR{
    width: 2px;
    cursor: col-resize;
    /* Disable selection so it doesn't get annoying */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: moz-none;
    -ms-user-select: none;
    user-select: none;
    background-color: #F0F3F5;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
}
.handle-bar{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 11px;
    height: 70px;
    border: 1px solid #000;
    text-align: center;
    line-height: 70px;
    background-color: #dcdcdc;
    z-index: 1;
    cursor: col-resize;
}
.handle-bar:before,
.handle-bar:after{
    content: '|';
    display: block;
    position: absolute;
}
.handle-bar:before{
    left: 2px;
}
.handle-bar:after{
    right: 2px;
}
.tree-header{
    padding: 75px 15px 0 15px;
    font-size: 16px;
    color: #879499;
    font-weight: bold;
}
ul.ztree{
    background-color: transparent;
    width: 100%;
    height: 73%;
    padding: 10px 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    border: none;
}
ul.ztree li a{
    padding: 0;
    height: 24px;
    line-height: 24px;
    color: #859499;
}
.ztree li a.curSelectedNode{
    background-color: #FFE6B0;
    color: black;
    height: 24px;
    border: none; 
    opacity: 1; 
}
ul.ztree li span.button.switch{
    display: none;
}
ul.ztree li span.button.ico_open,
ul.ztree li span.button.ico_close,
ul.ztree li span.button.ico_docu{
    margin-top: 4px;
    margin-right: 2px; 
    vertical-align: top; 
}
ul.ztree li span.button.ico_open,
ul.ztree li span.button.ico_close{
    background: url(../img/icon-folder.png) no-repeat scroll center center transparent; 
}
ul.ztree li span.button.ico_docu{
    background: url(../img/icon-files-java.png) no-repeat scroll center center transparent; 
}

textarea[id^="tab"]{ display: none; }
textarea[id^="tab"].active{ display: block; }
.CodeMirror{ padding: 0; }

#appMainHeader{
    background-image: -webkit-linear-gradient(left, #1FB6FF 0%, #62DCF5 100%);
    background-image: linear-gradient(to right, #1FB6FF 0%, #62DCF5 100%);
    height: 60px;
    margin-left: -140px;
}
#appMainHeader{
    padding: 0 8px;
}
#appMainHeader .nav-tabs {
    border-bottom: none;
}

#appMainHeader .nav-tabs > li > a {
    margin-right: 0;
    line-height: 1.428571429;
    border: none !important;
    background: transparent !important;
    height: 60px;
    line-height: 60px;
    padding: 0 12px;
    color: #ADE6FD;
}

#appMainHeader .nav-tabs > li.active > a,
#appMainHeader .nav-tabs > li.active > a:hover,
#appMainHeader .nav-tabs > li.active > a:focus {
    color: #FFF;
}
#appMainHeader .iconfont{
    font-size: 20px;
    vertical-align: middle;
    margin-right: 6px;
}
#textarea{ height: calc(100% - 60px); }
#textarea #recordzone,
#textarea #recordzone>div,
#textarea #recordzone>div.CodeMirror,
#textarea #replayzone,
#textarea #replayzone>div,
#textarea #replayzone>div.CodeMirror{
    height: 100%;
}

#editorwrapper{
    height: 100%;
}
#editorwrapper .btn-group{
    margin: 16px 16px 14px 16px;
    width: 100%;
}
#editorwrapper .btn-group .btn{
    border-color: transparent;
    color: #1FB6FF;
}
#editorwrapper .btn-group .btn:first-child{
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
#editorwrapper .btn-group .btn:last-child{
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left-color: #ccc;
}

.editor-result{ 
    border-radius: 0;
    border: none;
    height: 100%;
}
.editor-result .result-header{
    padding: 16px 15px 13px 15px;
    height: 60px;
    background-color: #F0F3F5;
    border-radius: 0;
}
.editor-result .result-header .btn-group .btn{
    background-image: -webkit-linear-gradient(left, #1FB6FF 0%, #62DCF5 100%);
    background-image: linear-gradient(to right, #1FB6FF 0%, #62DCF5 100%);
    -webkit-transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) all !important;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) all !important;
    /*border-color: #F0F3F5;
    border-radius: 5px;*/
    border: none;
    color: #fff;
    padding-top: 5px;
    padding-bottom: 5px;
}
.editor-result .result-header .btn-group .btn[data-loading] {
    background-image: none;
    background-image: none;
    padding-right: 34px;
}
.editor-result .result-header .btn-group .ladda-spinner {
    position: absolute;
    z-index: 2;
    display: inline-block;
    width: 28px;
    height: 28px;
    top: 50%;
    right: 3px;
    margin-top: 0;
    opacity: 1;
    pointer-events: none;
    transform: translateY(-50%);
}
.editor-result .result-header #full-screen{
    margin: 0;
    background-image: linear-gradient(90deg, #1FB6FF 0%, #62DCF5 100%);
    border-radius: 100px;
    padding: 5px 9px;
    margin-right: 15px;
}
.editor-result .result-header #full-screen .iconfont{
    font-size: 10px;
}
.editor-result .result-tabs{
    height: 30px;
    border-radius: 30px;
    background-color: #62DCF5;
    margin-bottom: 24px;
}
.editor-result .result-tabs>li{
    width: 25%;
    margin-bottom: 0;
    text-align: center;
}
.editor-result .result-tabs>li>a,
.editor-result .result-tabs>li.active>a:hover{
    padding: 4px 15px;
    border: none;
    margin: 1px;
    border-radius: 15px;
    font-size: 14px;
    color: #fff;
    transition: all 0.3s ease;
}
.editor-result .result-tabs>li.active>a,
.editor-result .result-tabs>li.active>a:hover,
.editor-result .result-tabs>li>a:hover,
.editor-result .result-tabs>li.active>a:focus{
    color: #1FB6FF;
    background-color: #fff;
    box-shadow: 0px 0px 2px 0px #B3E5FF;
    border: none;
}
.editor-result .form-control{
    border: none;
    border-bottom: 1px solid #999;
    border-radius: 0;
}