//
// Media print specific styles
// --------------------------------------------------

@media print {
  #top-menu,
  #header,
  #main-menu,
  #sidebar,
  #footer,
  #wiki_add_attachment,
  .hide-when-print,
  .contextual,
  .other-formats {
    display: none;
  }

  .pagination {
    .pages,
    .per-page {
      display: none;
    }
  }

  #main {
    display: block;
    overflow: visible !important; // stylelint-disable-line declaration-no-important
    background: $white;
  }

  #content {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible !important; // stylelint-disable-line declaration-no-important
    border: 0;
    background: $white;
  }

  .autoscroll {
    overflow-x: visible;
  }

  a {
    // stylelint-disable declaration-no-important
    padding: 0 !important;
    background-color: transparent !important;
    color: $black !important;

    &::before,
    &::after {
      display: none !important;
    }

    &.issue.closed {
      text-decoration: line-through;
    }
  }

  table.list {
    tr {
      background-color: transparent;
    }

    th,
    td {
      border: 1px solid $gray-500;
      background-color: transparent;

      &.buttons {
        padding: 0;

        a {
          display: none;
        }
      }
    }
  }
}
