﻿:root {
    --empage-maxwidth: 1204px;
    --leftbar-width: 240px;
    --leftbar-handler-width: 8px;
}
/*边栏拖动调整布局开始*/
#main-container {
    width: 100%;
    height: 100%;
}
.page-wrapper {
    display: flex;
    height: 100%;
    box-sizing: border-box;
}
#bar-left {
    width: var(--leftbar-width);
    position: relative;
}

#layout-content {
    flex: auto;
    margin-bottom: 10px;
}
/*可拖动分割线效果*/
#left-handler {
    width: var(--leftbar-handler-width);
    height: 100%;
    display: flex;
    top: 0;
    right: 0;
    position: absolute;
    align-items: center;
    overflow: visible;
    z-index: 999;
}
    /*可拖动分割线鼠标悬停和鼠标按下拖动时效果*/
    #left-handler:hover,
    #left-handler.dragging {
/*        background: linear-gradient(270deg,rgba(0,0,0,0.05) 0%,transparent 100%);*/
    }
    /*当鼠标悬停或按下拖动或侧边栏关闭状态时显示箭头*/
    #left-handler:hover #folder,
    #left-handler.dragging #folder,
    #bar-left.fold #folder {
        opacity: 0.5 !important;
    }
#folder {
    width: 100%;
    cursor: default;
    color: #667280;
    font-weight: bold;
    position: absolute;
    z-index: 9999;
}
#left-wrapper {
    overflow: hidden;
    white-space: nowrap;
}
    #folder:before {
        font-family: 'FontAwesome';
        content: '\f0da';
    }
#bar-left::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    z-index: 990;
}
#bar-left.open::after {
    width: 12px;
    background: linear-gradient(270deg,rgba(0,0,0,0.035) 0%,transparent 100%);
}
#bar-left.fold::after {
    background-color: rgba(0,0,0,0.03);
    width: var(--leftbar-handler-width);
    border-radius: 0 0 0 8px;
}
#bar-left.fold:has(#left-handler:hover)::after {
    background-color: rgba(0,0,0,0.05);
}
/*可拖动分割线鼠标悬停和鼠标按下拖动时效果*/
#bar-left.open:has(#left-handler:hover)::after,
#bar-left.open:has(#left-handler.dragging)::after {
    background: linear-gradient(270deg,rgba(0,0,0,0.065) 0%,transparent 100%);
}

#bar-left.open #left-handler {
    cursor: w-resize;
}
#bar-left.open #folder:before {
    content: '\f0d9';
}
#bar-left.open #folder {
    opacity: 0;/*侧边栏展开状态默认不显示箭头*/
    left: -3px;
    padding: 16px 0 16px 3px;
    border-radius: 10px 0 0 10px;
}
#bar-left.fold #left-handler {
    cursor: default;
}

#bar-left.fold #folder {
    border-radius: 0 10px 10px 0;
    padding: 16px 5px 16px 0px;
}

#bar-left.fold #left-wrapper {
    display: none;
}
/*边栏拖动调整布局结束*/

.art-wrap {
    padding: 10px 15px;
    display: flex;
    transition: .5s;
}

    .art-wrap:hover {
        background-color: #eff2f9;
    }

.art-cover {
    margin-right: 10px;
}

    .art-cover > a {
        border-radius: 6px;
        display: block;
        overflow: hidden;
        background-color: silver;
        width: 140px;
        height: 90px;
        background-size: cover;
        background-repeat: no-repeat;
    }

.art-detail {
    flex: 1;
    flex-grow: 1;
    position: relative;
}

.art-header {
    display: grid;
    grid-template-columns: auto 130px;
}

.art-title {
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    min-width: 200px;
    display: flex;
    align-items: center;
}

    .art-title > a {
        color: black;
        transition: .3s;
    }

        .art-title > a:hover {
            color: var(--red-90);
        }
.art-time {
    font-size: 13px;
    color: silver;
    justify-self: end;
    transition: .35s;
}
.art-desc {
    color: gray;
    font-size: 14px;
    overflow: hidden;
    white-space: normal;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 3px;
    text-indent: 2em;
}

.art-crt {
    color: rgb(21, 177, 86);
    border: solid 1px rgb(21, 177, 86);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 900;
    padding: 2px 5px;
    margin-right: 5px;
}

    .art-crt.t1:before {
        content: '原创';
    }
.art-footer{
    display: flex;
    position: absolute;
    width: 100%;
    bottom: 0;
    font-size: 14px;
    justify-content: space-between;
}
.art-stat > span {
    padding: 0 5px;
    color: silver;
    transition: .35s;
}
.art-mager > a {
    padding: 2px 5px;
    margin: 0 3px;
    color: white;
    border-radius: 3px;
    opacity: 0;
    transition: .35s;
    background-color: #ff4350;
}
.art-mager > a:hover {
    opacity: 1 !important;
}
.art-wrap:hover .art-mager > a {
    opacity: 0.5;
}
.art-wrap:hover .art-stat > span, .art-wrap:hover .art-time {
    color: dimgray;
}

/*取消TreeList列头底部横线*/
.dx-treelist-headers,
.dx-treelist-rowsview,
.dx-treelist-headers .dx-treelist-table .dx-row > td {
    border: none;
}