@charset "UTF-8";

html {font-size: 14px;}

html, body {
    height: 100%;
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Tahoma, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 覆盖 bootstrap a 标签样式 */
.custom-file-label::after {
    content: "浏览";
}
a, a:hover {
    cursor: pointer;
    text-decoration: none;
}

/* 添加 bootstrap 3 中的 btn-default 样式 */
.btn-default {
    color: #555;
    background-color: #fff;
    border-color: #ccc
}
.btn-default.focus,.btn-default:focus {
    color: #333;
    background-color: #e6e6e6;
    border-color: #8c8c8c
}
.btn-default:hover {
    color: #fff;
    background-color: #1890ff;
    border-color: #1890ff
}
.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad
}
.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover {
    color: #fff;
    background-color: #d4d4d4;
    border-color: #8c8c8c
}
.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default {
    background-image: none
}
.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover {
    background-color: #fff;
    border-color: #ccc
}
.btn-default .badge {
    color: #fff;
    background-color: #333
}

img {
    max-width: 100%;
    border: 0
}

div, ul, li, p, a,
h1, h2, h3, h4, h5, h6,
section, fieldset, legend, label {
    padding: 0px;
    margin: 0px;
}
ul, ol {
    padding-left: 0;
    list-style-type: none;
}

pre {
    font-family: Consolas, Monaco, "Courier New", "Microsoft YaHei", monospace;
}

.bgf2 { background-color: #F2F2F2; }
.bgw { background-color: white; }
.px10 { padding-left: 10px; padding-right: 10px; }
.c4 { color: #444; }

.mc, .main-color {color: #1890ff;}
.bc-f2 {background-color: #F2F2F2!important;}


/* root-box 为根容器 */
.root-box {
    min-height: 99.9%;
    position: relative;
    padding: 0;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    background-color: #F0F2F5;
}
.left-box {
    width: 200px;
    z-index: 100;
    height: 100%;
    position: fixed;
    overflow: hidden;
    background-color: #001529;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.right-box {
    padding-left: 200px;
    padding-bottom: 49px;
    padding-top: 49px;
    min-height: 285px;
}
.footer-box {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    line-height: 35px;
    font-size: 13px;
}
.footer-box a {
    font-family: Tahoma, Arial, "Helvetica Neue", Helvetica, sans-serif;
    color:#0009;
}

/* 左部滚动容器 */
.left-scroll-box {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    margin-right: -20px;
}
.left-scroll-box::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    background-color: #999;
}

.left-logo-box {
    height: 48px;
    transition-duration: 500ms;
    transition-property: background;
    transition-timing-function: ease;
}
.left-logo-box:hover {
    background: #1890ff;
    opacity: 1
}
.left-logo-box a {
    line-height: 48px;
    display: block;
    font-size: 20px;
    font-family: Tahoma, Arial, "Helvetica Neue", Helvetica, sans-serif;
    letter-spacing: 2px;
    color: white;
    padding-left: 40px;
}

.left-menu-box {
    background-color: #000c17;
    margin-top: 1px;
}
.left-menu {
    padding: 0px;
    margin: 0px;
}

.left-main-menu {
    line-height: 48px;
    display: block;
    cursor: pointer;
    position: relative;
    font-size: 15px;
    color: #d6d7d9;
    padding-left: 20px;
    border-left: #000c17 3px solid;
    letter-spacing: 1px;
}
.menu-icon {
    margin-right: 6px;
    font-size: 15px;
}
.menu-arrow {
    line-height: 48px;
    font-size: 18px;
    position: absolute;
    left: 168px;
    transition: transform .3s;
}

.left-menu a.active {
    color: #fff;
    background-color: #1890ff;
    border-left: #1890ff 3px solid;
}

.left-main-menu:hover,
.left-sub-menu a:hover {
    color: #fff;
    background-color: #1890ff!important;
    border-left: #1890ff 3px solid!important;
}
/* 主菜单右侧箭头旋转 180 度 */
.left-main-menu i.change {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.left-sub-menu {
    color: #bbb;
    color: #c1c6c8;
}
.left-sub-menu a {
    line-height: 40px;
    display: block;
    position: relative;
    padding-left: 46px;
    border-left: #000c17 3px solid;
    color: #c1c6c8;
    font-size: 14px;
}

/* 左侧 "系统管理" 菜单的图标添加一个 hover 动画 */
.left-main-menu:hover i.fa-cog {
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
}


/* 右侧头部容器 */
.header-box {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    line-height: 48px;
    font-size: 15px;
    position:fixed;
    left: 200px;
    top: 0;
    right: 0;
    padding: 0 15px;
    z-index: 1001;
    background-color: white;
    border-bottom: 1px solid #d6d6d6;
}
.header-box .crumb-box {flex: 1 1 auto;}
.header-box .user-box {flex: 0 1 auto;}

.crumb-box {
    padding-left: 8px;
}
.crumb-box span {
    color: #303133;
    font-size: 16px;
}
.crumb-box span.pathchar {
    margin: 0 8px;
    font-size: 17px;
}
.crumb-box i {
    font-size: 18px;
    vertical-align: text-bottom;
    margin-right: 3px;
}

.user-box a { cursor: pointer; }
.user-box a.user {
    display: inline-block;
    color: #333;
    padding: 0 10px;
    position: relative;
    top: -1px;
}
.user-box a.user:hover { background-color: #fff; }
.user-box a img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: inline-block;
    margin-right: 6px;
}
div.dropdown-menu {
    line-height: 32px;
}


/** 主体内容部分 **/
.main {
    position: relative;
    background-color: white;
    padding: 15px;
    margin: 15px 0;
}
.table-box {
    position: relative;
    margin-top: 15px;
}
.table-box .table {
    border: 1px solid #ddd;
    color: #666;
    margin-bottom: 0;
}
.table-box th.operation { text-align: right; }
.table-box td.operation {
    text-align: right;
    color: #1890ff;
    font-size: 13px;
}
.table-box .table thead th {
    vertical-align: inherit;
    background-color: #f6f6f6;
    border-bottom: 1px solid #e6e6e6;
    color: #666;
    padding: 8px;
    font-weight: bold;
}
.table-hover tbody tr:hover { background-color: #f5f5f5; }

.table-box th { color: #666; }
.table-box td,
.table-box td a { color: #505050; }
.table-box td.operation a { color: #1890ff; }


/* 分页 */
.pagination a {
    font-family: "Arial";
    color: #666;
}
.page-item.active .page-link {
    color: #fff;
    background-color: #1890ff;
    border-color: #1890ff;
}
nav.pagination-nav { position: relative; }
nav .page-total-row {
    position: absolute;
    top: 0;
    right: 5px;
    color: #333;
}
.page-item .page-link:focus {
    box-shadow: none !important;
    outline: none !important;
}


/* bootstrap switch */
.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #1890ff;
    background-color: #1890ff;
}
.custom-control-label:hover { cursor: pointer; }

#vue-content {
    padding-right: 15px;
    padding-left: 15px;
}

/* 与头部并列的提示信息 */
#vue-content div.tips-row {
    font-size: 13px;
    color:red;
    background-color: #fef3e2;
    line-height: 46px;
    margin-top: 15px;
    margin-bottom: 15px;
    padding-left: 10px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.2);
}
.main div.tips {
    font-size: 13px;
    color: #333;
    background-color: #fbfbfb;
    border: 1px solid #eee;
    line-height: 46px;
    margin-bottom: 20px;
    padding-left: 10px;
}

.panel {
    background-color: white;
    margin: 15px 0;
}
.panel-header {
    height: 48px;
    line-height: 48px;
    border-bottom: 1px solid #eee;
    padding: 0 15px;
    color: #333;
    font-size: 16px;
}
.panel-body {
    padding: 20px 0 0 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

/* 首页 */
.home-main { margin: 15px 0; }
.home-main .panel-body div {
    flex: 0 0 160px;
    margin: 0 0 20px 20px;
    height: 100px;
    background-color: #f9f9f9;
    border: #f0f0f0 1px solid;
    text-align: center;
}
.home-main .panel-body div span {
    display: block;
    line-height: 40px;
    margin-top: 8px;
    color: #666;
    font-size: 16px;
}
.home-main .panel-body div a {
    display: block;
    font-size: 26px;
    font-family: arial;
    color: #1890ff;
}

/* 让表格按内容撑开，列多时出现横向滚动 */
.table-box table { min-width: max-content; }
/* 固定右侧操作列 */
.sticky {
    position: sticky;
    right: 0;
    z-index: 2;
    background: #fff;
    background-clip: padding-box;
}
thead .sticky {
    z-index: 3;
    background: #f8f9fa;
}
.sticky::before {
    content: "";
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -12px;
    width: 12px;
    pointer-events: none;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
}
thead .sticky::before { top: 0; bottom: 0; }
