@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;

      &:hover {
        color: @primary-color;
        cursor: pointer;
      }
    }
  }

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

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

  &-mobile {
    flex: 1;
  }
}
