main.css 4.23 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%;
    background-color: #F4F5FA;
    padding: 0 20px 0 40px;
}

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 20px;
}
.upload-img-box{
    margin-right: 10px;
    background-color: #f7f7f7;
}

.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: #F4F5FA;
    /* ie浏览器滚动条 */
    /* -ms-scroll-chaining: chained;
    -ms-overflow-style: none; */
}
/* .context-block {
    height: 100%;
} */
.search-block {
    /* padding: 8px 20px;   */
    position: relative;  
    background-color: #fff;
    /* margin: 8px 20px 0; */
    padding: 0 20px 0;
    height: 100%;
  }
main .table-page{
    /* background-color: #ffffff; */
    margin-top: 16px;
    /* margin:15px 20px;   */
    /* padding: 5px; */
}
main .table-page tr th:last-child .layui-table-cell{
    text-align: center;
}
main .input-downtips{
    color: #FF6D00;
}

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

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

.clearfix {
    zoom: 1;
  }
  .clearfix::after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }

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

.op0 {
    opacity: 0;
}

.op1 {
    opacity: 1;
}
.footer-close {
    text-align: center;
    width: 100%;
    background-color: #fff;
    position: fixed;
    bottom: 0;
    left:0;
    height: 64px;
    line-height: 64px;
}
.layui-tab-title {
    background-color: #F4F6FC;
    border-radius: 4px;
    border: none;
}
.layui-tab-title .layui-this:after {
    border: none;
}
.layui-tab-brief>.layui-tab-title .layui-this,
.layui-tab-title .layui-this {
    color: #5850FF;
    background-color: #fff;
}
.layui-tab-title .layui-this {
    transform: scale(0.97, 0.9);
}
.layui-tab-title,.layui-tree-box .layui-this {
    transform: scale(1);
}
.layui-tab-title li {
    width: 180px;
}
.layui-tab-content {
    /* margin-top: 20px; */
    /* background-color: #fff; */
}
.layui-tab-content .layui-form-pane .layui-form-label {
    background-color: #fff;
    border: none !important;
}
.layui-tree-box {
    padding: 10px;
    background-color: #F4F6FC;
}
.layui-tab-form {
    margin-top: 20px;
}
.layui-top-tab.layui-tab-brief>.layui-tab-title .layui-this {
    background-color: #F4F6FC;
}
.m-t-md {
    margin-top: 20px;
}
.layui-tab-content {
    position: relative;
  }
  .layui-no-data {
    width: 100%;
    height: 200px;
  }
  .layui-no-data .no-data {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    font-size: 14px;
    line-height: 22px;
    transform: translateY(-50%);
  }
  .layui-no-data .no-data div {
    margin-top: 12px;
  }