@import '../variables.scss';
@import '../utils.scss';
@import './variables.scss';
@import '~@alifd/next/lib/core/index-noreset'; // next core style
@import '~@alifd/next/lib/dialog/scss/variable'; // next dialog variables
@import '~@alifd/next/lib/button/scss/variable'; // next button variables

#{$dialog-prefix} {
  &:not(&-quick) {
    min-width: 480px;
  }

  &-body {
    .#{$css-prefix}message {
      .#{$css-prefix}message-content {
        padding-left: 0;
        padding-right: 0;
      }
    }
  }

  &-footer {
    &.#{$css-prefix}align-center {
      display: flex;
      flex-direction: row;
      justify-content: center;

      #{$btn-prefix} {
        flex-grow: 1;
      }
    }

    &.#{$css-prefix}align-right {
      padding-right: $dialog-message-content-padding-left-right;
    }
  }

  &-quick {
    #{$dialog-prefix}-footer {
      padding: $b-design-qick-dialog-foot-padding;
    }
  }

  &-nofooter {
    #{$dialog-prefix}-body {
      margin-bottom: $b-design-qick-dialog-nofoot-margin-b;
    }
  }
}