@import '~@zgfe/business-lib/es/assets/styles/inner.less';

.visual-workbench {
  height: 100%;
  background: #fafafb;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  &-top {
    flex: none;
    height: 44px;
    line-height: 44px;
    font-size: @font-size-base;
    border-bottom: 1px solid @border-color-split;
    color: #5f6085;
    background: white;
    padding-left: @padding-lg;

    & > span {
      margin-right: @margin-md;
    }
  }

  &-main {
    flex: 1;
    display: flex;
    flex-direction: row;
    overflow: hidden;
  }

  &-center {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  &-mobile {
    flex: 1;
  }

  &-footer {
    flex: none;
    height: 64px;
    line-height: 64px;
    padding: 0 @padding-lg;
    background: white;
    border-top: 1px solid @border-color-split;
    position: relative;

    &-type {
      display: inline-block;
      height: 24px;
      line-height: 24px;
      text-align: center;
      background: #f6f6f6;
      color: @text-color;
      padding: 0 8px;
    }

    &-label {
      color: @text-color;
      margin: 0 @margin-sm 0 @margin-md;
    }

    &-path {
      color: #9aa1a9;
    }

    .ant-btn {
      position: absolute;
      right: @padding-lg;
      top: 50%;
      transform: translateY(-50%);
    }
  }
}
