global.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. @charset "utf-8";
  2. @import "base/material";
  3. @import "base/mixins";
  4. $tablet: 769px !default;
  5. $desktop: 980px !default;
  6. $widescreen: 1180px !default;
  7. $grid-breakpoints: (
  8. 'xs': 0,
  9. 'sm': 600px,
  10. 'md': 960px,
  11. 'lg': 1280px - 16px,
  12. 'xl': 1920px - 16px
  13. ) !default;
  14. $display-breakpoints: (
  15. 'print-only': 'only print',
  16. 'screen-only': 'only screen',
  17. 'xs-only': 'only screen and (max-width: #{map-get($grid-breakpoints, 'sm') - 1})',
  18. 'sm-only': 'only screen and (min-width: #{map-get($grid-breakpoints, 'sm')}) and (max-width: #{map-get($grid-breakpoints, 'md') - 1})',
  19. 'sm-and-down': 'only screen and (max-width: #{map-get($grid-breakpoints, 'md') - 1})',
  20. 'sm-and-up': 'only screen and (min-width: #{map-get($grid-breakpoints, 'sm')})',
  21. 'md-only': 'only screen and (min-width: #{map-get($grid-breakpoints, 'md')}) and (max-width: #{map-get($grid-breakpoints, 'lg') - 1})',
  22. 'md-and-down': 'only screen and (max-width: #{map-get($grid-breakpoints, 'lg') - 1})',
  23. 'md-and-up': 'only screen and (min-width: #{map-get($grid-breakpoints, 'md')})',
  24. 'lg-only': 'only screen and (min-width: #{map-get($grid-breakpoints, 'lg')}) and (max-width: #{map-get($grid-breakpoints, 'xl') - 1})',
  25. 'lg-and-down': 'only screen and (max-width: #{map-get($grid-breakpoints, 'xl') - 1})',
  26. 'lg-and-up': 'only screen and (min-width: #{map-get($grid-breakpoints, 'lg')})',
  27. 'xl-only': 'only screen and (min-width: #{map-get($grid-breakpoints, 'xl')})'
  28. ) !default;