
@import '../../global.less';

.estate {
  height: 100%;
  position: relative;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, .7);
}

.body {
  height: 100%;
}

.loading {
  height: 100%;
  text-align: center;
  line-height: 30;
  line-height: 80vh;
}

.content {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;

  :global {
    @banner-height: 200px;

    .banner {
      flex-shrink: 0;
      height: @banner-height;
      width: 100%;
      left: 0;
      top: 0;
      position: absolute;

      .image {
        height: @banner-height;
      }
    }

    .overlay {
      height: @header-height;
      overflow: hidden;
      filter: blur(6px);
    }

    .tab-indicator {
      margin-top: @banner-height;
      flex-shrink: 0;
      .ant-tabs-bar {
        margin: 0;
      }
      .ant-tabs-nav-scroll {
        text-align: center;
      }
    }

    .ant-tabs-tab-active, .ant-tabs-tab:active {
      color: @secondary-color;
    }
    .ant-tabs-ink-bar {
      background-color: @secondary-color;
    }

    .tab-content {
      flex-grow: 1;
      overflow: auto;
      padding: 10px 0 20px;
      line-height: 1.6;

      :global {
        .detail {
          margin: 0 10px;
        }
      }
    }
  }
}
