@import '~@/variable.less';
.header {
  position: fixed;
  z-index: 1000;
  top: 0px;
  right:0;
  height: 50px;
  padding: 5px 20px 0 20px;
  color: #fff;
  line-height: 40px;
  background: var(--xly-skin-header-color, #373c40);
  .dropdownContainer{
    float: right;
    .antDropdownLink{
      cursor: pointer;
      white-space: nowrap;
      word-break: break-all;
    }
    .dropdownDiv{
      white-space: nowrap;
    }
  }
}

.headerRight {
  position: relative;
  float: right;
}

.logo {
  float: left;
  font-size: 10px;
  color: #fff;
  padding-left: 35px;
  width: 137px;
  height: 40px;
  line-height: 45px;
  font-weight: 700;
  background: url(../assets/logo_pic.png) no-repeat 0 center;
}

.personCenter {
  //position: absolute;
  //right: 0;
  //top: 0;
  float: right;
  width: 180px;
  height: 40px;
}
.sysAbout{
  height: 260px;
}
.syslog{
  width: 100%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  img{
    width: 100px;
    height: 80px;
  }
}
.sysInfo{
  width: 100%;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  p{
    width: 100%;
  }
  .aboutleft{
    width: 50%;
    text-align: right;
  }
  .aboutRight{
    width: 50%;
    text-align: left;
  }
  .sysLine{
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
}

.search {
  position: absolute!important;
  top: 0;
  right: 263px;
  margin-top: 7px;
  height: 30px;
  line-height: 0;
  padding-left: 40px;
  float: right;
}

.search span:first-child {
  width: 200px;
}

.search span:first-child:hover {
  width: 300px!important;
  border: 1px solid #1890FF;
}

.search input {
  font-size: 12px;
  z-index: 2;
  box-sizing: border-box;
  padding: 4px 22px 4px 12px!important;
  width: 100%;
  height: 100%!important;
  outline: none;
  background: transparent;
  border: none;
  color: #fff;
  line-height: 16px;
}

.search input:focus {
  border: 0!important;
  box-shadow: none!important;
}

.search span:after {
  content: "";
  width: 1px;
  height: 16px;
  position: absolute;
  top: 5px;
  background: hsla(0,0%,100%,.15);
  right: 26px;
}

.search span span button {
  font-size: 12px;
  width: 26px;
  height: 26px!important;
  color: #e9e9e9;
  padding: 0!important;
}

.changeUserName label, .changePwd label {
  text-align: right!important;
}

.changeUserName form button, .changePwd form button {
  //width: 150px;
}

.changeUserName form div:last-child, .changePwd form div:last-child {
  margin-bottom: 0!important;
}

.content {
  position: relative;
  height: 100%;
  background-color: #F0F2F5;
  // z-index: 2;
  // height: calc(100vh - 10rem);
}


.footer {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 15px 25px;
  text-align: center;
  color: rgba(0, 0, 0, 0.45);
}

.iconMailOutlined{
  color: #fff;
  cursor: pointer;
}

:global {
  body {
    -webkit-font-smoothing: antialiased;
  }
  .ant-input-affix-wrapper {
    /* 搜索框 */
    font-size: 12px!important;
  }
  .ant-menu-submenu:hover {
    //border-bottom: 0!important;
    //background: #272b2f!important;
  }
  .ant-menu-horizontal {
    border-bottom: 0;
  }
  .ant-menu-horizontal > .ant-menu-submenu-open {
    //border-bottom: 0!important;
    //background: #272b2f!important;
  }
  .ant-menu-item:active, .ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
    background: transparent!important;
    color: #1890FF!important;
  }
  .ant-menu-vertical.ant-menu-sub, .ant-menu-vertical-left.ant-menu-sub, .ant-menu-vertical-right.ant-menu-sub{
    max-height: ~"calc(100vh - 100px)";
  }

  .code-box-demo {
    position: absolute;
    right: 45px;
    width: 360px;
    display: none;
    top: 52px;
    padding: 2px;
    overflow: hidden;
    background: #384152;
  }
  .sysSearchInput {
    width: 30px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 5px;
    >span {
      cursor: pointer;
      transform-origin: var(--transform-left, -8px) 2px;
      scale: 1.5;
    }
    >svg {
      cursor: pointer;
    } 
  }
  .sysSearchContent {
    padding: 0;
    .ant-popover-arrow {
      display: none;
    }
    // * {
    //   background: transparent;
    // }
  }
  .sysNewBox {
    //position: relative;
    width: 30px;
    height: 40px;
  }
  .sysNews {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    //position: absolute;
    //width: 300px;
    //height: 400px;
    >span {
      top: -2px;
    } 
  }
  // .sysNews:hover{
  //   .code-box-demo{
  //     display: block;
  //   }
  // }
  .card-container {
  }
  .card-container > .ant-tabs-card .ant-tabs-content {
    height: 120px;
    margin-top: -16px;
  }
  .card-container > .ant-tabs-card .ant-tabs-content > .ant-tabs-tabpane {
    padding: 16px;
    background: #384152;
  }
  .card-container > .ant-tabs-card > .ant-tabs-nav::before {
    display: none;
  }
  .card-container > .ant-tabs-card .ant-tabs-tab,
  .card-container > .ant-tabs-card .ant-tabs-tab {
    background: #384152;
    border-color: none!important;
    color: #fff;
    font-size: 14px;
  }
  .card-container > .ant-tabs-card .ant-tabs-tab-active,
  .card-container > .ant-tabs-card .ant-tabs-tab-active {
    background: #384152;
    border-color: #384152;
    border-bottom: none!important;
  }
  .card-container > .ant-tabs-card .ant-tabs-content {
    height: 120px;
    margin-top: -8px;
  }
  .card-container > .ant-tabs-card .ant-tabs-tab {
    background: transparent;
    //border-color: transparent;
    width: 116px !important;
    padding-left: 40px!important;
    padding-top: 10px;
    border: none!important;
  }
  .card-container > .ant-tabs-card .ant-tabs-content > .ant-tabs-tabpane {
    background: #465568;
    color: #fff;
  }
  .card-container > .ant-tabs-card .ant-tabs-tab-active {
    background: #465568;
    border-color: #465568;
  }
  .newsContent{
    display: flex;
    flex-direction: column;
  }
  .newsTitle{
    width: 100%;
    height: 70px;
  }
  .newsFoot {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    height: 30px;
    border-top: 1px solid #627184;
    align-items: center;
  }
}

.skinChangeModal {
  width: 100%;
  height: 250px;
  display: flex;
  flex-wrap: wrap;

  :global {
    .skinChangeOption {
      width: calc(25% - 10px);
      height: calc(33.33% - 10px);
      margin: 10px 5px 0 5px;
      cursor: pointer;
      background-color: #eaeaea;
      border-radius: 5px;
      display: flex;

      .skinChangeOptionLeft {
        width: 20%;
        height: 100%;

        .skinChangeOptionColor2 {
          width: 100%;
          height: 100%;
          border-top-left-radius: 5px;
          border-bottom-left-radius: 5px;
        }
      }

      .skinChangeOptionRight {
        width: 80%;
        height: 100%;

        .skinChangeOptionColor1 {
          width: 100%;
          height: 35%;
          border-top-right-radius: 5px;
        }

        .skinChangeChecked {
          background-color: #7db65a;
          width: 20px;
          height: 20px;
          border-radius: 50%;
          color: #FFF;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 14px;
          font-weight: bold;
          margin: 12% 0 0 40%;
        }
      }
    }
  }
}
