﻿/**/
:root {
    --empage-header-height: 67px;
}

.banner {
    height: 260px;
    background-image: url(/views/user/banner.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #fff;
    background-size: cover;
}

/*用户信息面板*/
.user-ibar {
    display: flex;
    align-items: center;
}

.user-panel {
    width: fit-content;
    display: flex;
    margin-left: 90px;
}

.user-avatar > img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: white solid 4px;
    box-shadow: 0 0 15px 0 rgba(0,0,0,0.15);
}

.user-info {
    align-self: center;
    margin-left: 20px;
}

    .user-info .user-nickname {
        margin: 0;
        font-size: 18px;
        font-weight: bold;
        color: #444;
    }

.user-intro {
    color: #555;
    font-size: 16px;
    margin-top: 6px;
}

.vip, .svip {
    margin-left: 5px;
    padding: 8px 10px;
    background: url(/res/comm/vip.png) center center no-repeat;
}
/*页面主体框架*/
main {
    background: #f4f4f4;
}

.body-wrapper {
    height: 100%;
    min-height: 500px;
    padding: 20px 0;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1480px;
    min-width: 960px;
}

.body-layout {
    height: 100%;
    display: grid;
    grid-template-columns: 264px 12px auto;
    align-items: start;
}

/*左侧导航菜单*/
.nav-menu, .empage-wrapper {
    height: 100%;
    background: white;
    border-radius: 8px;
    min-height: 860px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.05);
}

.nav-wrapper {
    position: relative;
}

.nav-wrapper, .nav-menu {
    width: 264px;
}

/*用户面板*/
.user-namepad {
    padding: 30px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
    /*用户头像*/
    .user-namepad > .user-avatar > img {
        width: 72px;
        height: 72px;
        box-shadow: 0 5px 5px 0 rgba(0,0,0,0.15);
    }

    .user-namepad > .user-nickname {
        margin: 8px 0 0 0;
        font-size: 16px;
        font-weight: bold;
        color: var(--deep-90);
    }

/*发布创作*/
.publish-warp {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

    .publish-warp > .btn-body {
        height: 52px;
        width: 214px;
        border-radius: 52px;
        display: grid;
        color: white;
        grid-template-columns: auto 50px;
        background: linear-gradient(to right,#0060ff,#00a2ff);
        box-shadow: 0 2px 8px 0px rgba(0,186,255,.5);
        cursor: pointer;
        transition: .5s;
        overflow: hidden;
    }

        .publish-warp > .btn-body:hover {
            box-shadow: 0 6px 20px -3px #00baff;
        }

        .publish-warp > .btn-body > div {
            transition: .5s;
            opacity: .85;
        }

            .publish-warp > .btn-body > div:hover {
                opacity: 1;
            }

        .publish-warp > .btn-body > .btn-default {
            padding: 0 0 3px 20px;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            opacity: .8;
            transition: .3s;
        }
            .publish-warp > .btn-body > .btn-default:hover {
                color: white;
                opacity: 1;
            }
            .publish-warp > .btn-body > .btn-default:visited {
                color: white;
            }
            .publish-warp > .btn-body > .btn-default:before {
                font-family: 'FontAwesome';
                content: '\f1d8';
                font-weight: bold;
                margin-right: 8px;
            }

        .publish-warp > .btn-body > .btn-more:before {
            font-family: 'FontAwesome';
            content: '\f0d7';
            font-weight: bold;
            margin-right: 10px;
            font-size: 18px;
        }

        .publish-warp > .btn-body > .btn-more:hover {
            background-color: #06aaff;
        }

.empage-wrapper {
    display: grid;
    grid-template-rows: var(--empage-header-height) auto;
}
/*导航菜单*/
.nav-items {
    width: 264px;
    padding: 10px 10px 50px 10px;
    box-sizing: border-box;
}

.nav-group:before {
    font-family: 'FontAwesome';
    margin-right: 5px;
}

.nav-group s {
    font-size: 0;
}

.nav-group.group-1:before {
    content: '\f15c';
}

.nav-group.group-2:before {
    content: '\f643';
}

.nav-group.group-3:before {
    content: '\f013';
}

/*点击列表项水波效果*/
.dx-inkripple-wave {
    background-color: rgba(47,95,183,.2);
}
/*菜单项内容样式*/
.nav-items .dx-list-item-content {
    padding: 8px 8px 8px 36px;
}

/*TagBox下拉菜单选择项样式*/
.dx-list-item-content {
    padding: 10px 10px 10px 16px;
}
/*TreeView选择项样式*/
.dx-treeview-item {
    padding: 8px 8px 8px 0px;
    min-height: unset;
    height: 38px;
}
/*TreeView选择项展开按钮样式*/
.dx-treeview-toggle-item-visibility {
    height: 38px;
    padding: 0 15px;
}


/*嵌入式页面主体*/
.empage-header {
    display: flex;
    justify-content: space-between;
    border-bottom: #efeaf6 solid 1px;
}
/*头部标签页*/
.empage-tabs {
    display: flex;
    padding: 0 20px;
    margin: 0 0 -3px 0;
}

    .empage-tabs > li {
        list-style: none;
        padding: 0;
        margin: 0
    }

        .empage-tabs > li::after {
            transition: all 0.25s ease-in-out;
            transform-origin: 50% 0;
            transform: scale3d(0,1,1);
        }

        .empage-tabs > li.active::after,
        .empage-tabs > li:hover::after {
            transform: scale3d(1,1,1);
        }

        .empage-tabs > li > a {
            color: var(--deep-60);
            display: block;
            padding: 25px 20px 15px;
            font-size: 18px;
            transition: .35s;
        }

        .empage-tabs > li:hover > a,
        .empage-tabs > li.active > a {
            color: var(--deep-80);
        }
/*头部功能区域*/
.empage-area {
    display: flex;
    margin-right: 10px;
}

    .empage-area a {
        padding: 0 15px;
        margin: 12px 5px;
        display: flex;
        align-items: center;
        color: #505968;
        font-size: 15px;
        transition: .32s;
        border-radius: 6px;
        border: solid 1px #e5e7eb;
        background-image: linear-gradient(rgb(255, 255, 255), rgb(243, 244, 246));
        box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 5px 0px;
    }

        .empage-area a:hover {
            box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 10px 0px;
        }
/*空页面内容*/
.page-empty {
    height: 500px;
    text-align: center;
    color: #888e90;
}

    .page-empty:before {
        font-family: 'FontAwesome';
        font-size: 130px;
        font-weight: 900;
        display: flex;
        color: #dddde280;
        justify-content: center;
        padding-top: 100px;
        align-items: center;
        padding-bottom: 20px;
    }

    .page-empty button {
        margin-top: 40px;
        border-radius: 6px;
        font-size: 18px;
        height: 42px;
        padding: 0 20px;
    }

    .page-empty.loading:before {
        content: '\e1d4';
    }

    .page-empty.courses:before {
        content: '\f19d';
    }

    .page-empty.messages:before {
        content: '\e1ba';
    }

    .page-empty.notes:before {
        content: '\e472';
    }

    .page-empty.questions:before {
        content: '\e14e';
    }

    .page-empty.blogs:before {
        content: '\e49a';
    }

    .page-empty.favors:before {
        content: '\e189';
    }

    .page-empty.schedule:before {
        content: '\e46e';
    }
