|
| 1 | +/*********************************************** |
| 2 | + Media query variables |
| 3 | +***********************************************/ |
| 4 | + |
| 5 | +/* media queries */ |
| 6 | +$mobileFont: 'only screen and (max-width: 600px)'; |
| 7 | +$mobile: 'only screen and (max-width: 767px)'; |
| 8 | +// $mobile: 'only screen and (max-width: 899px)'; |
| 9 | +$smallMobile: 'only screen and (max-width: 320px)'; |
| 10 | +$mediumMobile: 'only screen and (max-width: 374px)'; |
| 11 | +$tablet: 'only screen and (min-width: 768px) and (max-width: 1199px)'; |
| 12 | +$tabletPortrait: 'only screen and (min-width: 768px) and (max-width: 991px)'; |
| 13 | +$tabletPortraitDown: 'only screen and (max-width: 991px)'; |
| 14 | +$tabletLandscape: 'only screen and (min-width: 992px) and (max-width: 1199px)'; |
| 15 | +$smallDesktop: 'only screen and (min-width: 992px)'; |
| 16 | +$tabletLandscapeDown: 'only screen and (max-width: 1199px)'; |
| 17 | +$desktop: 'only screen and (min-width: 1200px)'; |
| 18 | +$notMobile: 'only screen and (min-width: 768px)'; |
| 19 | +$laptop: 'only screen and (min-width: 1200px) and (max-width: 1440px)'; |
| 20 | +$laptopDown: 'only screen and (max-width: 1440px)'; |
| 21 | +$laptopTablet: 'only screen and (min-width: 768px) and (max-width: 1440px)'; |
| 22 | +$laptopTabletLandscape: 'only screen and (min-width: 992px) and (max-width: 1440px)'; |
| 23 | +$largeDesktop: 'only screen and (min-width: 1441px)'; |
| 24 | +$largeDesktopDown: 'only screen and (max-width: 1599px)'; |
| 25 | +$xlDesktop: 'only screen and (min-width: 1600px)'; |
| 26 | +$xlDesktopDown: 'only screen and (max-width: 1919px)'; |
| 27 | +$xxlDesktop: 'only screen and (min-width: 1920px)'; |
| 28 | + |
| 29 | +$xxxlDesktop: 'only screen and (min-width: 2000px)'; |
| 30 | +$dekstopDownForCampaigns: 'only screen and (max-width: 1250px)'; |
| 31 | + |
| 32 | +/* media queries for header */ |
| 33 | +$tabletForHeader: 'only screen and (min-width: 768px) and (max-width: 1230px)'; |
| 34 | +$tabletLandscapeForHeader: 'only screen and (min-width: 992px) and (max-width: 1230px)'; |
| 35 | +$tabletLandscapeDownForHeader: 'only screen and (max-width: 1230px)'; |
| 36 | +$desktopForHeader: 'only screen and (min-width: 1231px)'; |
| 37 | +$laptopForHeader: 'only screen and (min-width: 1231px) and (max-width: 1440px)'; |
| 38 | + |
| 39 | + |
| 40 | +:root { |
| 41 | + --wml-carousel-mobile-font: #{$mobileFont}; |
| 42 | + --wml-carousel-mobile: #{$mobile}; |
| 43 | + --wml-carousel-small-mobile: #{$smallMobile}; |
| 44 | + --wml-carousel-medium-mobile: #{$mediumMobile}; |
| 45 | + --wml-carousel-tablet: #{$tablet}; |
| 46 | + --wml-carousel-tablet-portrait: #{$tabletPortrait}; |
| 47 | + --wml-carousel-tablet-portrait-down: #{$tabletPortraitDown}; |
| 48 | + --wml-carousel-tablet-landscape: #{$tabletLandscape}; |
| 49 | + --wml-carousel-small-desktop: #{$smallDesktop}; |
| 50 | + --wml-carousel-tablet-landscape-down: #{$tabletLandscapeDown}; |
| 51 | + --wml-carousel-desktop: #{$desktop}; |
| 52 | + --wml-carousel-not-mobile: #{$notMobile}; |
| 53 | + --wml-carousel-laptop: #{$laptop}; |
| 54 | + --wml-carousel-laptop-down: #{$laptopDown}; |
| 55 | + --wml-carousel-laptop-tablet: #{$laptopTablet}; |
| 56 | + --wml-carousel-laptop-tablet-landscape: #{$laptopTabletLandscape}; |
| 57 | + --wml-carousel-large-desktop: #{$largeDesktop}; |
| 58 | + --wml-carousel-large-desktop-down: #{$largeDesktopDown}; |
| 59 | + --wml-carousel-xl-desktop: #{$xlDesktop}; |
| 60 | + --wml-carousel-xl-desktop-down: #{$xlDesktopDown}; |
| 61 | + --wml-carousel-xxl-desktop: #{$xxlDesktop}; |
| 62 | + --wml-carousel-xxxl-desktop: #{$xxxlDesktop}; |
| 63 | + --wml-carousel-dekstop-down-for-campaigns: #{$dekstopDownForCampaigns}; |
| 64 | + --wml-carousel-tablet-for-header: #{$tabletForHeader}; |
| 65 | + --wml-carousel-tablet-landscape-for-header: #{$tabletLandscapeForHeader}; |
| 66 | + --wml-carousel-tablet-landscape-down-for-header: #{$tabletLandscapeDownForHeader}; |
| 67 | + --wml-carousel-desktop-for-header: #{$desktopForHeader}; |
| 68 | + --wml-carousel-laptop-for-header: #{$laptopForHeader}; |
| 69 | +} |
0 commit comments