main.css 2.04 KB
@import url(https://www.layuicdn.com/layui/css/layui.css);
@import url('./ztree.css');
@import url('./layui.css');
@import url('./employee.css');
html, body {
    height: 100%;
}

#app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

header {
    height: 48px;
    flex-shrink: 0;
}
main::-webkit-scrollbar {
    display: none;
  }
.header {
    height: 100%;
    background: #fff;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    padding: 0 38px;
}

.header-nav {
    display: flex;
    align-items: center;
}

.header-nav .header-nav-item {
    width: 90px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    background-color: #F7F7F7;
    font-size: 14px;
    font-weight: 400;
    color: #37383A;
    border: 1px solid #F7F7F7;
}

.header-nav .header-nav-item a {
    color: #37383A;
}

.header-nav .header-nav-item.active, .header-nav .header-nav-item:hover {
    background-color: #fff;
}

.header-nav .header-nav-item.active a, .header-nav .header-nav-item:hover a {
    color: #3D94FF;
}

.header-nav .header-nav-item:nth-child(1) {
    border-radius: 4px 0 0 4px;
}

.header-nav .header-nav-item:nth-child(3) {
    border-radius: 0 4px 4px 0;
}

.header-user {}

.header-user .layui-nav {
    background-color: transparent;
}

.header-user .layui-nav .layui-nav-item {
    line-height: 48px;
}

.header-user .layui-nav .layui-nav-item .layui-nav-child {
    top: 48px;
    left: 25px;
}

.header-user .layui-nav .layui-nav-item a {
    color: #262626;
}

.header-user .layui-nav .layui-nav-item a i.layui-nav-more {
    right: -20px;
    color: #8C8C8C;
}

main {
    flex: 1;
    min-height: calc(100% - 60px - 30px);
    overflow: auto;
    background-color: #f8f8f8;
}

footer {
    height: 30px;
    flex-shrink: 0;
}

.footer {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #37383A;
}

.pr-parent-ul {
    display: flex;
}

.op0 {
    opacity: 0;
}

.op1 {
    opacity: 1;
}
.footer-close {
    text-align: center;
}