main.css 6.92 KB
@import url('https://img02.glsx.com.cn/layui/css/layui.css');
@import url('./ztree.css');
@import url('./layui.css');
@import url('./employee.css');
html, body {
    height: 100%;
    font-family:PingFang-Regular;
}
@font-face {
    font-family:'PingFang-Regular';   
    src: url("../font/PingFang-Regular.ttf");  
}
#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{
    margin-top: 16px;
}
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;
}
.createBtn{
    display: flex;
    align-items: center;
}
.createBtn span{
    margin-left: 2px;
}
.footer-close {
    text-align: center;
    width: 100%;
    background-color: #fff;
    position: fixed;
    bottom: 0;
    left:0;
    height: 64px;
    line-height: 64px;
}
.footer-close button{
    width: 68px;
    height: 40px;
    padding: 0;
}
.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;
  }
  .removeCheckBg  .layui-form-checked:hover span { 
       /* .layui-form-checked span, */
      background-color: #fff;
  }
  /* 修改下拉框和输入框链接的圆角 */
  .updateCircleAngle{   
    border-top-left-radius: 0;
    border-bottom-left-radius:0 ;
    border-left: none;
  }
  #updateCircleAngle{
    border-top-left-radius: 0;
    border-bottom-left-radius:0 ;
    border-left: none; 
  }
  .updateSelectAngle .layui-select-title .layui-input{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    
  }
  /* .detail .wrapper-tree */
  /*滚动条样式 detail .wrapper-tree layui-table-main */
  .wrapper-tree::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    /* display: none; */
  }

  /*正常情况下滑块的样式*/

.wrapper-tree::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
  }
  /*鼠标悬浮在该类指向的控件上时滑块的样式*/

 .wrapper-tree::-webkit-scrollbar-thumb {
   /* background-color: rgba(0, 0, 0, 0.2); */
    background: #e9e8ff; 

    border-radius: 10px;

    box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
  }

  /*鼠标悬浮在滑块上时滑块的样式*/

   /* &::-webkit-scrollbar-thumb:hover {
     background-color: rgba(0, 0, 0, 0.4);

     box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
  } */

  /*正常时候的主干部分*/

  .wrapper-tree::-webkit-scrollbar-track {
    border-radius: 10px;

    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);

    background-color: white;
  }

  /*ztree*/
  .ztree::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    /* display: none; */
  }

  /*正常情况下滑块的样式*/

.ztree::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
  }
  /*鼠标悬浮在该类指向的控件上时滑块的样式*/

 .ztree::-webkit-scrollbar-thumb {
   /* background-color: rgba(0, 0, 0, 0.2); */
    background: #e9e8ff; 

    border-radius: 10px;

    box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
  }

  /*鼠标悬浮在滑块上时滑块的样式*/

   /* &::-webkit-scrollbar-thumb:hover {
     background-color: rgba(0, 0, 0, 0.4);

     box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
  } */

  /*正常时候的主干部分*/

  .ztree::-webkit-scrollbar-track {
    border-radius: 10px;

    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);

    background-color: white;
  }