main.css 4.57 KB
* {
    box-sizing: border-box;
}

body {
    font: 13px Helvetica, Arial;
}
button{
    outline: none !important;
}

.live-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.header {
    text-align: center;
    border-bottom: 1px solid #c1c1c1;
    padding: 8px 0;
    background-image: -webkit-linear-gradient(left, #1FB6FF 0%, #62DCF5 100%);
    background-image: linear-gradient(to right, #1FB6FF 0%, #62DCF5 100%);
}

.header h1 {
    font-size: 18px;
    margin: 0;
    color: #FFF;
}

.live-code {
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 296px;
}

.live-code .CodeMirror {
    height: 100%;
    border-right: 1px solid #eee;
}

.live-console-wrap {
    width: 100%;
    background-color: #FFF;
    height: 200px;
    position: absolute;
    bottom: 60px;
    z-index: 999;
    overflow: hidden;
}

#toolbar {
    width: 100%;
    height: 40px;
    overflow: hidden;
    background-color: #F4F6F9;
    padding: 0 36px;
}

.result-tabs {
    overflow: hidden;
    margin: 5px 10px;
    color: #fff;
}

.text {
    color: #1FB6FF;
}

.result-tabs>li.active>a,
.result-tabs>li.active>a:hover,
.result-tabs>li>a:hover,
.result-tabs>li.active>a:focus {
    color: #FFF;
    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;
    box-shadow: 0px 0px 2px 0px #B3E5FF;
    border: none;
}

.result-tabs>li>a,
.result-tabs>li.active>a:hover {
    padding: 4px 21px;
    border: none;
    margin: 1px;
    border-radius: 15px;
    font-size: 14px;
    transition: all 0.1s ease;
}

.func {
    height: 36px;
    padding-top: 5px;
}

.stdin-wrap {
    margin: 0 48px;
    position: relative;
}

#stdin {
    position: absolute;
    left: 0;
    width: 100%;
}

.stdin-wrap:focus {
    outline: none;
}

.stdin-wrap input[type="text"] {
    font: 15px/24px "Lato", Arial, sans-serif;
    color: #333;
    width: 100%;
    box-sizing: border-box;
    letter-spacing: 1px;
    padding-left: 12px;
    outline: none;
}

.stdin-wrap .effect-2 {
    border: 0;
    padding: 12px 0 1px;
    border-bottom: 1px solid #ccc;
}

.stdin-wrap .effect-2 ~ .focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #62DCF5;
    transition: 1s;
}

.stdin-wrap .effect-2:focus ~ .focus-border {
    width: 100%;
    transition: 1s;
    left: 0;
}

.nav-tabs {
    border: none;
    float: left;
    border-bottom: 0;
}

.panel-body {
    padding: 0;
}

.compile-btn {
    border-radius: 24px;
    color: #FFF;
    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;
    box-shadow: 0px 0px 2px 0px #B3E5FF;
    border: none;
}

.btn {
    padding: 5px 18px;
    outline: none;
}

.fb {
    float: right;
    margin: 0 16px;
    cursor: pointer;
}

.fb img {
    width: 32px;
}

.live-ctrl {
    width: 100%;
    height: 60px;
    line-height: 60px;
    position: absolute;
    bottom: 0;
    z-index: 999;
    padding: 0 136px;
    background-color: #23383f;
    box-sizing: border-box;
}

#resultoutput{
    height: 164px;
    overflow-y: auto;
}

.ladda-button[data-style=expand-right] .ladda-spinner{
    right: 4px;
}
.ladda-button[data-style=expand-right][data-loading]{
    padding-right: 40px;
}
.ladda-button .ladda-spinner{
    top: 0;
}

.start-end{
    float: left;
}
.save-cancel{
    float: right;
}

.tip-wrap{
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    top: 0;
}
.tips{
    width: 320px;
    height: 176px;
    background: #999;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    // z-index: 999;
    text-align: center;
}
.tips .tip-header{}
.tips .tip-content{}
.tips .tip-btn{}

.countdown{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
}
.countdown h1{
    font-size: 360px;
    color: #fff;
    display: block;
    position: absolute;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: -35px;
}