@import "../../../../../src/theme.less";

:host{
  background-color: #F0F2F5;
  width: 100%;
  height: calc(100vh - 48px);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  ::ng-deep .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab{
    height: 36px!important;
    line-height: 34px!important;
    padding: 0 12px!important;
  }
  ::ng-deep .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-nav-container{
    height: 36px!important;
  }
  ::ng-deep .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab{
    background: #E9EAEC;
  }
  ::ng-deep .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active{
    background: #fff;
  }

  .content{
    margin-top: 8px;
    display: flex;
    flex: 1;
    min-height: 0;
		overflow-x: hidden;
    height: 100%;
    .secondMenu{
      width: 175px;
      height: 100%;
      background-color: #fff;
      margin-right: 8px;
      flex-shrink: 0;
      .secondMenuItem{
        height: 44px;
        line-height: 44px;
        padding: 0 36px;
        border-bottom: 1px solid #E9E9E9;
        cursor: pointer;
        display: block;
        color: rgba(0,0,0,0.65);
        &.active{
          background-color: #E9F7E9;
          border-color: #E9F7E9;
          position: relative;
          &::after{
            content: '';
            position: absolute;
            right: 0;
            top: 0;
            width: 5px;
            height: 100%;
            background-color: @primary-color;
          }
        }
      }
    }
    .main{
      flex: 1;
      height: calc(100% - 36px);
      background-color: #fff;
      position: relative;
      top: 36px;
    }
  }
}
