@import '../base.scss';

.book-modal{
    .tab-pane{
        margin: 10px 0;
    }
    .select-tab{
        margin-bottom: 15px;
    }
   .nav-tabs>li>a{
        color:#333;
    }
    .thumbnail-add{
        margin:50px auto;
        text-align: center;
        width:90px;
    }
    .thumbnail-add .thumbnail{
        position:relative;
        margin-bottom: 1px;
        line-height:0;
    }
    .thumbnail-add .thumbnail .add-button{
        color:#ccc;
    }
    .thumbnail-add .fileinput-button{
        height: 80px;
        width: 80px;
        font-size:6em;
    }
    .show-image{
        text-align: center;
        .thumbnail{
            width:150px;
            height:150px;
            margin: 0 auto;
            line-height:0;
            >img{
                width:100%;
                height:100%;
            }
        }
    }
}
.backoff-btn{
    display:inline-block;
    width:30px;
    height: 29px;
    padding:0;
    >img{
        height:100%;
        width:100%;
    }   
} 

.catalog-title{
    background: #f8f8f8;
    position: relative;
    margin:0;
    font-size:$smallsize;
    font-weight:normal;
    padding:4px 10px;
    color:$gray-dark;
    border-bottom: 1px solid $gray-white;
}

.editor-publish{
    width: 90px;
    color: #fff;
    border: 1px solid $themecolor;
    background: $themecolor;
    &:hover, &:focus,&:active{
        background: darken($themecolor, 5%);
        color: #fff;
    }
    &.disabled{
        color: #eee;
        background: lighten($themecolor, 30%);
        border: 1px solid lighten($themecolor, 30%);
        &:hover, &:focus, &:active{
            color: #eee;
            background: lighten($themecolor, 30%);
            border: 1px solid lighten($themecolor, 30%);
        }
    }
}

@media (max-width: 840px){
    .doc-container{
        width: 840px;
    }
}
 
.dialog-import{
    label{
        padding: 7px 0;
    }
    textarea{
        border: 1px solid #ddd;
        border-radius: 0;
        height: 150px;
    }
    .checkbox{
        margin-left: 20px;
    }
}


.loading-backdrop{
    display:none;
    position:fixed;
    text-align:center;
    z-index:$max-zindex;
    top:0;
    left:0;
    right:0;
    bottom:0;
    opacity:.5;
    background:#fff;
    .fa{
        font-size:50px;
        display:inline-block;
        position:absolute;
        top:50%;
        margin-top:-25px;
    }
}

.center-text{
    text-align: center;
}

.dialog-import{
    padding: 15px;
    .nav-tabs{
        >li{
            margin-bottom: -2px;
            >a{
                color: #333;
            }
        }
    }
    .tab-content{
        margin-top: 20px;
    }
    label{
        font-weight: normal;
    }
    .modal-title{
        font-size: 18px;
        font-weight: normal;
        margin-bottom: 10px;
    }
}


