@import './../../theme/vars.scss';

$modalPrefixCls: #{$vender-prefix}-modal;
$ghostPrefixCls: #{$modalPrefixCls}-ghost;

.#{$ghostPrefixCls} {
  .#{$modalPrefixCls}-header {
    display: none;
  }

  .#{$modalPrefixCls}-closed {
    display: none;
  }

  .#{$modalPrefixCls}-content {
    padding: 30px 40px;
  }

  &-body {
    .#{$ghostPrefixCls}-title {
      font-size: $font-size-lg;
      font-weight: bold;
      color: $text-color;
    }

    .#{$ghostPrefixCls}-content {
      margin-top: 10px;
      margin-left: 42px;
      font-size: $font-size-base;
      color: $text-color;
    }
  }

  .#{$ghostPrefixCls}-btns {
    float: right;
    margin-top: 30px;

    button + button {
      margin-bottom: 0;
      margin-left: 10px;
    }
  }

  &.#{$ghostPrefixCls}-full {
    .#{$modalPrefixCls}-container {
      top: 0;
      left: 0;
      height: 100vh;
    }

    .#{$modalPrefixCls}-content {
      position: relative;
      width: 100%;
      height: 100%;
      max-height: 100%;
    }

    .#{$ghostPrefixCls}-btns {
      position: absolute;
      right: 40px;
      bottom: 30px;
    }
  }
}
