@import '~~antd/es/style/variable.less';
@hn-greenColor: #00b278;
:global{
  .@{ant-prefix}-drawer-left.@{ant-prefix}-drawer-open{
    display: none;
  }
  .ant-drawer-left.ant-drawer-open{
    display: none;
  }
}
.hnlayout {
  :global {
    .@{ant-prefix}-menu-dark.@{ant-prefix}-menu-dark:not(.@{ant-prefix}-menu-horizontal) .@{ant-prefix}-menu-item-selected{
      background: transparent!important;
    }
    .@{ant-prefix}-global-page-header-header {
      padding-left: 0;
    }

    .@{ant-prefix}-global-page-header-header-logo {
      width: 140px;
      padding-left: 0;
      & > img {
        width: auto !important;
        height: 36px;
        margin: 0 auto;
      }
    }
    .@{ant-prefix}-global-page-header {
      background-color: @hn-greenColor;
      & > img {
        display: none;
      }
    }
    .@{ant-prefix}-layout-slider {
      flex: 0 0 140px;
      width: 140px;
      min-width: 140px;
      max-width: 140px;
      overflow: hidden;
      background-color: #fff;
    }
    .ant-layout-slider {
      flex: 0 0 140px;
      width: 140px;
      min-width: 140px;
      max-width: 140px;
      overflow: hidden;
      background-color: #fff;
    }
    .@{ant-prefix}-pro-sider .@{ant-prefix}-menu{
      background: transparent!important;
    }
    .@{ant-prefix}-pro-sider ul.@{ant-prefix}-menu{
      max-height: calc(100vh - 46px);
      overflow: auto;
    }
    .ant-menu.ant-menu-dark .ant-menu-sub {
      background-color: #fff !important;
    }
    .ant-menu.ant-menu-dark {
      background-color: #fff !important;
      padding:10px 0!important;
    }
    .ant-pro-sider-links{
      display: none!important;
    }
    .@{ant-prefix}-pro-sider-links{
      display: none!important;
    }
    .@{ant-prefix}-menu-inline > .@{ant-prefix}-menu-item{
      height: 40px;
      line-height: 40px;
      padding: 0 10px!important;
      margin-top: 0!important;
      margin-bottom: 0!important;
    }
    .ant-menu-inline > .ant-menu-item{
      height: 40px;
      line-height: 40px;
      padding: 0 10px!important;
      line-height: 40px;
      text-overflow: ellipsis;
      margin-top: 0!important;
      margin-bottom: 0!important;
    }
    .ant-menu-inline .ant-menu-submenu-title{
      height: 40px;
      line-height: 40px;
    }
    .ant-pro-sider-logo {
      display: none;
    }
    .ant-layout-sider{
      background-color: #fff;
    }
    .ant-layout-slider-pro-sider-links{
      display: none;
    }
    .ant-layout{
      min-height:100%!important;
    }
    .@{ant-prefix}-layout-slider-menu-item-active {
      background-color: @hn-greenColor;
      .@{ant-prefix}-layout-slider-menu-item-text {
        color: #fff;
      }
    }
    .ant-layout-slider-menu-item-active {
      background-color: @hn-greenColor;
      .ant-layout-slider-menu-item-text {
        color: #fff;
      }
    }
    .@{ant-prefix}-layout-slider-menu-item-text {
      color: #7c7c7a;
    }
    .ant-layout-slider-menu-item-text {
      color: #7c7c7a;
    }
    .@{ant-prefix}-divider-horizontal {
      border: none !important;
    }
    .ant-divider-horizontal {
      border: none !important;
    }
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab:hover svg path,
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab:hover svg rect,
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab:hover svg circle {
      fill: @hn-greenColor !important;
      stroke: @hn-greenColor !important;
    }
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab:hover img {
      filter: drop-shadow(10px 0px @hn-greenColor);
    }
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab:hover .menu-item-name {
      color: @hn-greenColor;
    }
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab:hover .@{ant-prefix}-tabs-tab-btn {
      color: @hn-greenColor;
    }
    .@{ant-prefix}-menu-item-children
      :global
      .@{ant-prefix}-tabs-tab
      .@{ant-prefix}-tabs-tab-btn
      .@{ant-prefix}-dropdown-trigger
      div
      div {
      width: 100%;
      height: 100%;
    }
    .@{ant-prefix}-menu-item-children .menu-item {
      float: left;
    }
    .@{ant-prefix}-menu-item-children :global(.@{ant-prefix}-tabs-tab) {
      display: flex !important;
    }
    .@{ant-prefix}-menu-item-children :global(.@{ant-prefix}-tabs-tab-btn) {
      position: relative;
      display: flex;
      align-items: center;
      color: #737983;
      transform: scale(0.92);
    }
    .@{ant-prefix}-menu-item-children
      :global(.@{ant-prefix}-tabs-tab.@{ant-prefix}-tabs-tab-active .@{ant-prefix}-tabs-tab-btn) {
      color: @hn-greenColor !important;
      svg {
        path,
        rect,
        circle,
        .cls-1 {
          // fill: hsla(0, 0%, 100%, 0.65) !important;
        }
      }
    }
    .@{ant-prefix}-menu-item-children :global(.@{ant-prefix}-tabs-tab-btn > div > div) {
      display: flex;
      position: absolute;
      width: 26px;
      height: 26px;
      top: -4px;
      left: -3px;
    }
    .@{ant-prefix}-menu-item-children :global(.@{ant-prefix}-tabs-nav::before) {
      border-bottom: none !important;
    }
    .@{ant-prefix}-menu-item-children .menu-item-name {
      margin-left: 8px;
      color: #737983;
      transition: border-color 0.3s, color 0.3s, padding 0.1s cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    .ant-menu-item-children .menu-item-name {
      margin-left: 8px;
      color: #737983;
      transition: border-color 0.3s, color 0.3s, padding 0.1s cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    .ant-menu-item-children .menu-item-name:hover {
      color: @hn-greenColor;
    }
    .@{ant-prefix}-menu-item-children .menu-item-name:hover {
      color: @hn-greenColor;
    }
    .ant-menu-item-children .menu-item-name:hover {
      color: @hn-greenColor;
    }
    .ant-menu-item-children :global .@{ant-prefix}-divider-vertical {
      left: 20px;
      margin: 0 1px !important;
    }
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-nav-operations .ant-tabs-nav-more {
      margin-right: 0px !important;
    }
    .@{ant-prefix}-menu-item-children :global(.@{ant-prefix}-tabs-ink-bar) {
      background: @hn-greenColor !important;
    }
    .@{ant-prefix}-menu-item-children :global(.@{ant-prefix}-tabs-tab-active) {
      color: @hn-greenColor !important;
    }
    .@{ant-prefix}-menu-item-children :global(.@{ant-prefix}-tabs-tab-active .menu-item-name) {
      color: @hn-greenColor !important;
    }
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab-active svg path,
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab-active svg rect,
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab-active svg circle {
      fill: @hn-greenColor !important;
      stroke: @hn-greenColor !important;
    }
    .@{ant-prefix}-menu-item-children :global .@{ant-prefix}-tabs-tab-active img {
      filter: drop-shadow(10px 0px @hn-greenColor);
    }
    .@{ant-prefix}-panel-min-mainPane-visible {
      background-color: #fff;
    }
    .@{ant-prefix}-panel-min-mainPane-main-left .menu-categories .categorie-name span {
      color: #737983;
    }
    .@{ant-prefix}-panel-min-mainPane-main-left .menu-categories .categorie-name.btn:hover span {
      color: #333;
    }
    .@{ant-prefix}-layout-slider-menu-item:hover span {
      color: #333;
    }
    .@{ant-prefix}-panel-min-mainPane-main-left .menu-categories .categorie-name.active {
      background: none;
      span {
        color: @hn-greenColor;
      }
    }
    .@{ant-prefix}-pro-basicLayout-content {
      margin: 0;
    }
    .@{ant-prefix}-pro-sider-links {
      display: none;
      position: fixed;
      bottom: 0;
      z-index: 999;
      display: none;
      width: 50px;
    }
    .@{ant-prefix}-layout-slider-pro-sider-links{
      display: none;
    }
    .@{ant-prefix}-pro-sider-logo {
      display: none;
    }
    .@{ant-prefix}-layout-sider {
      background: #fff;
    }
    .@{ant-prefix}-layout-slider-menu-item {
      height: 36px;
    }
    .@{ant-prefix}-layout-slider-menu-item a {
      flex-direction: row;
      width: 100%;
      margin: 0 auto;
      margin-top: 4px;
      margin-right: 16px;
      padding-left: 23px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      & > img {
        width: 18px;
        height: 18px;
        margin-top: 4px;
        opacity: 1;
      }
      & > span {
        margin-left: 4px;
      }
    }
    .@{ant-prefix}-menu {
      ul {
        .@{ant-prefix}-menu-item-only-child {
          padding-left: 12px !important;
          margin-top:0!important;
          margin-bottom: 0!important;
          .test-icon{
            padding: 0 10px 0 18px;
            
          }
          .@{ant-prefix}-menu-title-content{
            border-radius: 5px;
          }
        }
      }
    }
    .ant-layout-slider-menu-item {
      height: 36px;
    }
    .ant-layout-slider-menu-item a {
      flex-direction: row;
      width: 100%;
      margin: 0 auto;
      margin-top: 4px;
      margin-right: 16px;
      padding-left: 23px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      & > img {
        width: 18px;
        height: 18px;
        margin-top: 4px;
        opacity: 1;
      }
      & > span {
        margin-left: 4px;
      }
    }
    .ant-menu {
      ul {
        .ant-menu-item-only-child {
          padding-left: 12px !important;
          margin-top:0!important;
          margin-bottom: 0!important;
          .ant-menu-title-content{
            border-radius: 5px;
          }
          .test-icon{
            padding: 0 10px 0 18px;
          }
        }
      }
    }
    .test-icon {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      padding: 0 10px;
      color:#7a7a7a ;
      .my-svg {
        display: inline-block;
        width: 26px;
        height: 18px;
        color: #7a7a7a;
        svg {
          path,
          rect,
          circle,
          .cls-1 {
            fill: #7a7a7a;
            stroke: hsla(0, 0%, 100%, 0.65);
            stroke-width: 0;
            stroke-linecap: round;
            stroke-miterlimit: 10;
          }
        }
      }
      .my-img {
        display: inline-block;
        width: 18px;
        height: 18px;
        & > img {
          position: relative;
          top: 3px;
          width: 100%;
          height: 100%;
          vertical-align: baseline;
        }
      }
      .my-desc {
        margin-left: 2px;
        color: #7c7c7a;
      }
    }
    .test-icon:hover{
      color: @hn-greenColor;
      .my-desc {
        color: @hn-greenColor;
      }
      svg path,
      svg rect,
      svg circle {
        fill: @hn-greenColor !important;
        stroke: @hn-greenColor !important;
      }
    }
    .hight-active:hover{
      color:#fff ;
      .my-desc {
        color:  #fff;
      }
      svg path,
      svg rect,
      svg circle {
        fill: #fff !important;
        stroke: #fff !important;
      }
    }

    .@{ant-prefix}-pro-menu-item-title {
      display: inline-block;
      overflow: hidden;
      text-align: left;
      text-overflow: ellipsis;
      vertical-align: bottom;
    }
    .ant-pro-menu-item-title {
      display: inline-block;
      overflow: hidden;
      text-align: left;
      text-overflow: ellipsis;
      vertical-align: bottom;
    }
    .@{ant-prefix}-menu-submenu-title{
      padding-left: 10px!important;
      padding-right: 10px!important;

    }
    .ant-menu-submenu-title{
      padding-left: 10px!important;
      padding-right: 10px!important;
    }
    .hight-active {
      background: @hn-greenColor;
      border-radius: 5px;
      color:#fff ;
      .my-desc{
        color: #fff;
      }
      svg path,
      svg rect,
      svg circle {
        fill: #fff !important;
        stroke: #fff !important;
      }
    }
    .@{ant-prefix}-menu.@{ant-prefix}-menu-dark
      .@{ant-prefix}-menu-submenu-title
      .@{ant-prefix}-menu-submenu-arrow::before {
      background: #7a7a7a !important;
    }
    .@{ant-prefix}-menu.@{ant-prefix}-menu-dark
      .@{ant-prefix}-menu-submenu-title
      .@{ant-prefix}-menu-submenu-arrow::after {
      background: #7a7a7a !important;
    }
    .ant-menu-submenu-arrow::before,.ant-menu-submenu-arrow::after {
      background: #7a7a7a !important;
    }
    .@{ant-prefix}-menu-dark .@{ant-prefix}-menu-inline.@{ant-prefix}-menu-sub {
      background: #fff;
    }
    .@{ant-prefix}-pro-sider {
      background: #fff;
    }
    .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow,
    .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow {
      position: absolute;
      top: 50%;
      right: 16px;
      width: 10px;
      transition: transform .3s cubic-bezier(.645, .045, .355, 1)
    }

    .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow::after {
      position: absolute;
      width: 6px;
      height: 1.5px;
      background-image: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85));
      border-radius: 2px;
      transition: background .3s cubic-bezier(.645, .045, .355, 1), transform .3s cubic-bezier(.645, .045, .355, 1), top .3s cubic-bezier(.645, .045, .355, 1);
      content: ""
    }

    .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow::before {
      transform: rotate(45deg) translateY(-2px)
    }

    .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow::after {
      transform: rotate(-45deg) translateY(2px)
    }

    .ant-menu-submenu-vertical>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-inline>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-inline>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow::before {
      background: linear-gradient(to right, #13c2c2, #13c2c2)
    }

    .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow::before,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow::before {
      transform: rotate(45deg) translateY(-2px)
    }

    .ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow::after,
    .ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow::after {
      transform: rotate(-45deg) translateY(2px)
    }

    .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow::before {
      transform: rotate(-45deg) translateX(2px)
    }

    .ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow::after {
      transform: rotate(45deg) translateX(-2px)
    }

    .ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow {
      transform: translateY(-2px)
    }

    .ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow::after {
      transform: rotate(-45deg) translateX(-2px)
    }

    .ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow::before {
      transform: rotate(45deg) translateX(2px)
    }
    .ant-menu-submenu-inline>.ant-menu-submenu-title{
      position: relative;
    }
    .anticon-menu-fold{
      display: none;
    }
    .ant-menu-hidden {
      display: none
    }

  }
}