﻿
/*菜单区域*/
.menu-area {
    width: 100px;
    height: calc(100vh - 80px);
    /*float: left;*/
    /*background-color: #ffffff;*/
    position: relative;
    z-index: 2;
    overflow: hidden;
    overflow-y: scroll;
    flex-shrink: 0;
}
.menu-area .hot{
    color:yellow !important;
}
/*下拉菜单自定义样式*/
.site-dropdown,
.site-dropdown .layui-menu, .site-dropdown .layui-panel {
    border: 1px solid #cccccc;
    margin:0;
}
.site-dropdown .layui-menu-item-divider{margin:0;padding:0 !important;}
.site-dropdown .layui-menu li{
    padding:0px 10px;
    width:100% !important;
}
.site-dropdown .layui-menu-body-panel{
    margin-left:0;
}
/*导航样式调整*/
.menu-area a {
    padding: 8px 8px 8px !important;
}
.menu-area .layui-nav-tree{
    width:100%;
    background-color:transparent;
}
.menu-area .layui-nav-tree a{
    height:auto;
    line-height:20px;
}
.menu-area .layui-nav-tree .layui-nav-more{
    right:5px;
    padding:8px 0 !important;
}
/*左侧菜单部分滚动条样式*/
.menu-area::-webkit-scrollbar {
    width: 5px;
}

.menu-area::-webkit-scrollbar-thumb {
    border-radius: 20px;
    -webkit-box-shadow: inset 0 0 5px #fff;
    background: #D8D8D8;
}

.menu-area::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px #fff;
    border-radius: 0;
    background: #fff;
}

#advertises-menu .nav-link {
    color: #bbb !important;
}
#service-menu{border-bottom:0;}
#service-menu .nav-link {
    color: #bbb !important;
}

/*素材区域*/
.source-area {
    width: 372px;
    max-width: 372px;
    height: calc(100vh - 80px);
    /*float: left;*/
    background-color: #ffffff;
    margin-left: 1px;
    position: relative;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    flex-shrink: 0;
    z-index:1;
}
.source-area .layui-tab{
    margin:0;
}
.source-area .layui-tab-content{
    padding:0;
}

.source-area .layui-nav {
    padding:0;
    background:#ffffff;
    /*border-bottom:1px solid #cccccc;*/
}
.source-area .layui-nav .layui-nav-item{
    line-height:30px;
}
.source-area .layui-nav .layui-nav-item a{
    padding:0 10px;
    color:#000000;
}
.source-area .layui-nav-child{
    top:30px;
}
.source-area .layui-nav .layui-this:after, .layui-nav-bar{
    background-color:unset !important;
}
/*样式中心*/
#styleBox {
    height: calc(100vh - 180px);
}
/*一键排版*/
/*#formatBox {
    height: calc(100vh - 122px);
}*/
#brushFormatBox {
    height: calc(100vh - 122px);
    padding: 10px;
}
#userFormatBox {
    height: calc(100vh - 150px);
}
/*个人样式*/
#userStyleBox {
    height: calc(100vh - 122px);
}
/*收藏样式*/
#userCollStyleBox {
    height: calc(100vh - 122px);
}
/*最近使用*/
#userUseBox {
    height: calc(100vh - 122px);
}
/*收藏样式*/
#layoutsBox {
    height: calc(100vh - 122px);
}
/*分开使用*/
#brushTplBox {
    height: calc(100vh - 122px);
    padding: 10px;
}
/*分开使用*/
#formatTplBox {
    height: calc(100vh - 122px);
    padding: 10px;
}
/*剪贴记录*/
#clipboardBox {
    height: calc(100vh - 122px);
    padding: 10px;
}
/*模板中心*/
#templateBox {
    height: calc(100vh - 186px);
}
/*收藏模板*/
#userCollTplBox {
    height: calc(100vh - 122px);
}
/*最近使用模板*/
#userUsedTplBox {
    height: calc(100vh - 122px);
}
/*我的图库*/
#galleyBox {
    height: calc(100vh - 230px);
}
/*团队图库*/
#teamGalleyBox {
    height: calc(100vh - 270px);
}
/*系统图库*/
#sysPicBox {
    height: calc(100vh - 162px);
}

/*草稿箱*/
#artBox {
    height: calc(100vh - 200px);
}
/*团队文章*/
#teamArtBox {
    height: calc(100vh - 235px);
}
/*回收站*/
#recycleBox {
    height: calc(100vh - 170px);
}
#pexelBox {
    height: calc(100vh - 162px);
}

.sourceDiv {
    overflow:hidden;
    overflow-y: scroll;
}

.sourceDiv::-webkit-scrollbar {
    width: 5px;
}

.sourceDiv::-webkit-scrollbar-thumb {
    border-radius: 20px;
    -webkit-box-shadow: inset 0 0 5px #fff;
    background: #D8D8D8;
}

.sourceDiv::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px #fff;
    border-radius: 0;
    background: #fff;
}
.pack-up {
    position: absolute;
    border: 2px solid #cccccc;
    width: 30px;
    height: 30px;
    line-height: 27px;
    text-align: center;
    color: #cccccc;
    border-radius: 50%;
    top: 50%;
    right: -38px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
}

/*素材打开收起功能及动画效果*/
.pack-up:hover {
    color: #2d2e3d;
    border-color: #2d2e3d;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes sourcehide {
    from {
        margin-left: 1px;
    }
    to {
        margin-left: -372px;
    }
}

/* Standard syntax */
@keyframes sourcehide {
    from {
        margin-left: 1px;
    }
    to {
        margin-left: -372px;
    }
}

/* Chrome, Safari, Opera */
@-webkit-keyframes sourceshow {
    from {
        margin-left: -372px;
    }
    to {
        margin-left: 1px;
    }
}

/* Standard syntax */
@keyframes sourceshow {
    from {
        margin-left: -372px;
    }
    to {
        margin-left: 1px;
    }
}




/* Chrome, Safari, Opera */
@-webkit-keyframes globalareahide {
    from {
        margin-right:0;
    }

    to {
        margin-right: -300px;
    }
}

/* Standard syntax */
@keyframes globalareahide {
    from {
        margin-right: 0;
    }

    to {
        margin-right: -300px;
    }
}

/* Chrome, Safari, Opera */
@-webkit-keyframes globalareashow {
    from {
        margin-right: -300px;
    }

    to {
        margin-right: 0;
    }
}

/* Standard syntax */
@keyframes globalareashow {
    from {
        margin-right: -300px;
    }

    to {
        margin-right: 0;
    }
}


/*我的文章*/
.saveart-list {
    margin: 0;
    margin-right: 4px;
    position: relative;
    width:100%;
}
.saveart-list li {
    border: 1px solid #DDD;
    background-color: #fff;
    position: relative;
    width: 96%;
    height: auto;
    padding: 10px 10px 0;
    margin-top: 10px;
    text-align: inherit;
    overflow: hidden;
    line-height: 25px;
    font-size: 16px;
    margin:8px 2%;
}
.saveart-list li .article-content {
    float: left;
    width:100%;
}
.saveart-list li .article-content .article-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width:calc(100% - 30px);
}
/*.saveart-list li .layui-form-checkbox {
    position: absolute;
    top: 10px;
    right: 0;
}*/
.saveart-list li input[type=checkbox] {
    position: absolute;
    top: 10px;
    right: 10px;
    width:15px;
    height:15px;
}
.saveart-list li .article-content .intro {
    height: 60px;
    margin: 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.saveart-list li .article-content .time {
    display:flex;
    margin-top: 5px;
    font-size:12px;
}
.saveart-list li .article-content p {
    color: #666;
    font-size: 14px;
    line-height: 20px;
}
.saveart-list li .article-oper {
    padding: 0;
    text-align: justify;
}
.saveart-list li .article-oper-span {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-oper .edit-art {
    background: url(../../img/oper_icon/2021_ico31.png) left center no-repeat;
    padding-left: 16px !important;
}
.article-oper .remove-art {
    background: url(../../img/oper_icon/2021_ico19.png) left center no-repeat;
    padding-left: 16px !important;
}
.article-oper .preview-art {
    background: url(../../img/oper_icon/2021_ico32.png) left center no-repeat;
    padding-left: 16px !important;
}
.article-oper .history {
    background: url(../../img/oper_icon/2021_ico33.png) left center no-repeat;
    padding-left: 16px !important;
}
.article-oper .edit-cate {
    background: url(../../img/oper_icon/2021_ico34.png) left center no-repeat;
    padding-left: 16px !important;
}
.article-oper .share-art {
    background: url(../../img/oper_icon/2021_ico35.png) left center no-repeat;
    padding-left: 16px !important;
}

.article-oper .resume-art {
    background: url(../../img/oper_icon/2021_ico33.png) left center no-repeat;
    padding-left: 16px !important;
}
.article-oper .del-art {
    background: url(../../img/oper_icon/2021_ico19.png) left center no-repeat;
    padding-left: 16px !important;
}

.saveart-list li span a {
    font-size: 12px;
    color:#333;
}

/*隐藏菜单下拉箭头*/
.source-area .layui-nav .layui-nav-more {
    display: none;
}

/*VIP标徽*/
.svip-style {
    position: absolute;
    right: 0px;
    top: 0px;
    border-radius: 2px;
    color: #723B05;
    background: linear-gradient(0deg, #FFFBF2, #FFDC90);
    width: 60px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    display: inline-block;
}

.vip-style {
    position: absolute;
    right: 0px;
    top: 0px;
    border-radius: 2px;
    color: #FFFFFF;
    background: linear-gradient(0deg, #FE835D, #F7463E);
    width: 60px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    display: inline-block;
}

.free-style {
    position: absolute;
    right: 0px;
    top: 0px;
    border-radius: 2px;
    color: #FFFFFF;
    background: rgb(0 0 0 / 50%);
    width: 50px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    display: inline-block;
}

.delist-style {
    position: absolute;
    left: 0px;
    top: 0px;
    border-radius: 2px;
    color: #FFFFFF;
    background: rgb(0 0 0 / 50%);
    width: 50px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    display: inline-block;
}

.style-tag {
    color: #5f4a36;
    background-image: linear-gradient(to right,#f1ddc9,#e2c4a5);
    font-size: 12px;
    line-height: 20px;
    height: 20px;
    padding: 0 6px;
    display: inline-block;
    border-radius: 3px;
}


/*行业滚动条样式*/
.source-area dl{
    max-height: 320px;
    overflow: hidden;
    overflow-y: scroll;
}

.source-area dl::-webkit-scrollbar {
    width: 5px;
}

.source-area dl::-webkit-scrollbar-thumb {
    border-radius: 20px;
    -webkit-box-shadow: inset 0 0 5px #fff;
    background: #333333;
}

.source-area dl::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px #fff;
    border-radius: 0;
    background: #D8D8D8;
}

/*排序类型*/
.sorttype {
    display: flex;
    align-items: center;
}
.sorttype a{
    padding:2px 4px;
}
.sorttype .active{
    background-color:#eee;
    color:red !important;
}