md-dialog.fullscreen-dialog {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

$swift-ease-out-duration: 0;
$swift-ease-out-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
$swift-ease-out: all $swift-ease-out-duration $swift-ease-out-timing-function;

md-dialog {

  &.md-transition-in {
    opacity: 1;
    transition: $swift-ease-out;
    transform: translate(0, 0) scale(1.0);
    transition-duration: $transition-duration-s;
  }
  &.md-transition-out {
    opacity: 0;
    transition: $swift-ease-out;
    transform: translate(0, 100%) scale(0.2);
    transition-duration: $transition-duration-s;
  }

  @media(max-width: $layout-xs) {
    max-width: 95%;
    max-height: 95%;
  }

  .md-dialog-content {
    @media(max-width: $layout-xs) {
      padding: 10px;
    }
  }
}