Sha256: 3599939b868c9f88539bbc74cbdfc2443e3684722ea696d07655017941f3c8fa

Contents?: true

Size: 1.42 KB

Versions: 3

Compression:

Stored size: 1.42 KB

Contents

// stylelint-disable declaration-no-important

// Utilities for common `display` values

@each $breakpoint in map-keys($grid-breakpoints) {
  @include media-breakpoint-up($breakpoint) {
    $infix: breakpoint-infix($breakpoint);

    .d#{$infix}-block {
      display: block !important;
    }

    .d#{$infix}-flex {
      display: flex !important;
    }

    .d#{$infix}-inline {
      display: inline !important;
    }

    .d#{$infix}-inline-block {
      display: inline-block !important;
    }

    .d#{$infix}-inline-flex {
      display: inline-flex !important;
    }

    .d#{$infix}-none {
      display: none !important;
    }

    .d#{$infix}-table {
      display: table !important;
    }

    .d#{$infix}-table-cell {
      display: table-cell !important;
    }

    .d#{$infix}-table-row {
      display: table-row !important;
    }
  }
}

// Utilities for toggling `display` in print

@media print {
  .d-print-block {
    display: block !important;
  }

  .d-print-flex {
    display: flex !important;
  }

  .d-print-inline {
    display: inline !important;
  }

  .d-print-inline-block {
    display: inline-block !important;
  }

  .d-print-inline-flex {
    display: inline-flex !important;
  }

  .d-print-none {
    display: none !important;
  }

  .d-print-table {
    display: table !important;
  }

  .d-print-table-cell {
    display: table-cell !important;
  }

  .d-print-table-row {
    display: table-row !important;
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
material-sass-4.1.1 assets/stylesheets/material/utilities/_display.scss
material-sass-4.1.0 assets/stylesheets/material/utilities/_display.scss
material-sass-4.0.0 assets/stylesheets/material/utilities/_display.scss