@hn-greenColor: #00b278;

.hnlayout {
  :global {
    .panda-console-base-global-page-header-header {
      padding-left: 0;
    }
    .panda-console-base-global-page-header-header-logo {
      width: 140px;
      padding-left: 0;
      & > img {
        width: auto !important;
        height: 36px;
        margin: 0 auto;
      }
    }
    .panda-console-base-global-page-header {
      background-color: @hn-greenColor;
      & > img {
        display: none;
      }
    }
    .panda-console-base-layout-slider {
      flex: 0 0 140px;
      width: 140px;
      min-width: 140px;
      max-width: 140px;
      overflow: hidden;
      background-color: #fff;
    }
    .panda-console-base-layout-slider-menu-item-active {
      background-color: @hn-greenColor;
      .panda-console-base-layout-slider-menu-item-text {
        color: #fff;
      }
    }
    .panda-console-base-layout-slider-menu-item-text {
      color: #7c7c7a;
    }
    .panda-console-base-divider-horizontal {
      border: none !important;
    }
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab:hover svg path,
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab:hover svg rect,
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab:hover svg circle {
      fill: @hn-greenColor !important;
      stroke: @hn-greenColor !important;
    }
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab:hover img {
      filter: drop-shadow(10px 0px @hn-greenColor);
    }
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab:hover .menu-item-name {
      color: @hn-greenColor;
    }
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab:hover .panda-console-base-tabs-tab-btn {
      color: @hn-greenColor;
    }
    .panda-console-base-menu-item-children
      :global
      .panda-console-base-tabs-tab
      .panda-console-base-tabs-tab-btn
      .panda-console-base-dropdown-trigger
      div
      div {
      width: 100%;
      height: 100%;
    }
    .panda-console-base-menu-item-children .menu-item {
      float: left;
    }
    .panda-console-base-menu-item-children :global(.panda-console-base-tabs-tab) {
      display: flex !important;
    }
    .panda-console-base-menu-item-children :global(.panda-console-base-tabs-tab-btn) {
      position: relative;
      display: flex;
      align-items: center;
      color: #737983;
      transform: scale(0.92);
    }
    .panda-console-base-menu-item-children
      :global(.panda-console-base-tabs-tab.panda-console-base-tabs-tab-active .panda-console-base-tabs-tab-btn) {
      color: @hn-greenColor !important;
      svg {
        path,
        rect,
        circle,
        .cls-1 {
          fill: hsla(0, 0%, 100%, 0.65) !important;
        }
      }
    }
    .panda-console-base-menu-item-children :global(.panda-console-base-tabs-tab-btn > div > div) {
      display: flex;
    }
    .panda-console-base-menu-item-children :global(.panda-console-base-tabs-nav::before) {
      border-bottom: none !important;
    }
    .panda-console-base-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);
    }
    .panda-console-base-menu-item-children .menu-item-name:hover {
      color: @hn-greenColor;
    }
    .panda-console-base-menu-item-children :global .panda-console-base-divider-vertical {
      left: 20px;
      margin: 0 1px !important;
    }
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-nav-operations .ant-tabs-nav-more {
      margin-right: 0px !important;
    }
    .panda-console-base-menu-item-children :global(.panda-console-base-tabs-ink-bar) {
      background: @hn-greenColor !important;
    }
    .panda-console-base-menu-item-children :global(.panda-console-base-tabs-tab-active) {
      color: @hn-greenColor !important;
    }
    .panda-console-base-menu-item-children :global(.panda-console-base-tabs-tab-active .menu-item-name) {
      color: @hn-greenColor !important;
    }
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab-active svg path,
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab-active svg rect,
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab-active svg circle {
      fill: @hn-greenColor !important;
      stroke: @hn-greenColor !important;
    }
    .panda-console-base-menu-item-children :global .panda-console-base-tabs-tab-active img {
      filter: drop-shadow(10px 0px @hn-greenColor);
    }
    .panda-console-base-panel-min-mainPane-visible {
      background-color: #fff;
    }
    .panda-console-base-panel-min-mainPane-main-left .menu-categories .categorie-name span {
      color: #737983;
    }
    .panda-console-base-panel-min-mainPane-main-left .menu-categories .categorie-name.btn:hover span {
      color: #333;
    }
    .panda-console-base-layout-slider-menu-item:hover span {
      color: #333;
    }
    .panda-console-base-panel-min-mainPane-main-left .menu-categories .categorie-name.active {
      background: none;
      span {
        color: @hn-greenColor;
      }
    }
    .panda-console-base-pro-basicLayout-content {
      margin: 0;
    }
    .panda-console-base-pro-sider-links {
      position: fixed;
      bottom: 0;
      z-index: 999;
      display: none;
      width: 50px;
    }
    .panda-console-base-pro-sider-logo {
      display: none;
    }
    .panda-console-base-layout-slider-menu-item {
      height: 36px;
    }
    .panda-console-base-layout-slider-menu-item a {
      flex-direction: row;
      width: 100%;
      margin: 0 auto;
      margin-top: 4px;
      margin-right: 16px;
      padding-left: 16px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      & > img {
        width: 18px;
        height: 18px;
        margin-top: 4px;
        opacity: 1;
      }
      & > span {
        margin-left: 4px;
      }
    }
    .panda-console-base-menu {
      ul {
        .panda-console-base-menu-item-only-child {
          padding-left: 26px !important;
        }
      }
    }
    .test-icon {
      width: 100%;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      .my-svg {
        display: inline-block;
        width: 18px;
        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: 4px;
        color: #7c7c7a;
      }
    }

    .panda-console-base-pro-menu-item-title {
      display: inline-block;
      overflow: hidden;
      text-align: left;
      text-overflow: ellipsis;
      vertical-align: bottom;
    }
    .hight-active {
      color: @hn-greenColor;
      // background: @hn-greenColor;
      // background: #00b278;
      border-radius: 5px;
      .my-desc {
        color: #00b278;
      }
      svg path,
      svg rect,
      svg circle {
        fill: @hn-greenColor !important;
        stroke: @hn-greenColor !important;
      }
    }
    .panda-console-base-pro-sider {
      background: #fff;
      // .panda-console-base-menu-submenu-arrow{
      //   color:#7a7a7a;
      // }
      .panda-console-base-menu.panda-console-base-menu-dark
        .panda-console-base-menu-submenu-title
        .panda-console-base-menu-submenu-arrow::before {
        background: #7a7a7a !important;
      }
      .panda-console-base-menu.panda-console-base-menu-dark
        .panda-console-base-menu-submenu-title
        .panda-console-base-menu-submenu-arrow::after {
        background: #7a7a7a !important;
      }
      .panda-console-base-menu-dark .panda-console-base-menu-inline.panda-console-base-menu-sub {
        background: #fff;
      }
    }
  }
}
