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

.visual-workbench-create-panel {
  flex: none;
  width: 360px;
  background: white;
  border-left: 1px solid @border-color-split;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 1;

  &-title {
    flex: none;
    color: @heading-color;
    font-size: 24px;
    font-weight: 500;
    padding: @padding-lg @padding-lg 0 @padding-lg;
    position: relative;
    .bsicon {
      color: #242541;
      float: right;
      cursor: pointer;
    }
  }
  &-defined-icon {
    display: inline-block;
    padding: 2px 8px;
    width: 58px;
    height: 24px;
    background: #e8efff;
    border-radius: 2px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #165dff;
    position: relative;
    top: -4px;
    margin-left: 8px;
  }

  &-content {
    flex: 1;
    padding: @padding-lg;
    overflow-y: auto;
  }

  &-detail {
    padding: @padding-md;
    background: #fafafb;
    border: 1px solid @border-color-base;
    border-radius: 4px;
    margin-top: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    & > span {
      color: @primary-color;
      margin: 0 4px;
    }
  }

  &-foot {
    height: 64px;
    line-height: 64px;
    border-top: 1px solid @border-color-split;
    text-align: right;
    padding: 0 @padding-lg;
  }

  &-confirm {
    .ant-modal-title .bsicon {
      margin-right: 8px;
      color: @warning-color;
    }

    .ant-modal-header {
      padding-bottom: 0;
    }
  }
}
