Sha256: 74a541946a3b609636687cf0deca696a7e2c108803c457c790571a1121d6de41

Contents?: true

Size: 1.28 KB

Versions: 2

Compression:

Stored size: 1.28 KB

Contents

// =============
// EDGE PRINT
// =============

@if $include-print and not $user-mode {
  
/* ---------------------
  EDGE Print
  - HTML5 Boilerplate
--------------------- */

@include print {
  * {
    @if $override-color {
      color: #000 !important;  
    }
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    @if $override-color {
      color: #000 !important;
    }
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  // Don't show links for images, or javascript/internal links

  .ir a::after,
  a[href^="javascript:"]::after,
  a[href^="#"]::after,
  .button::after {
    content: "";
  }

  pre,
  blockquote {
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
  
  // set the page size
  
  h-row {
    min-width: $row-max-width + $column-gutter;

    h-row {
      min-width: 0;
    }
  } 
}

}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
edge_framework-2.1.1 assets/sass/edge/component/_print.scss
edge_framework-2.1.0 assets/sass/edge/component/_print.scss