Blame view

assets/plugins/pricing-tables/partials/_layout.scss 672 Bytes
cf76164e6   Ting Chan   20190709
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  // breakpoints
     
  $S:     480px;   
  $M:     768px;     
  $L:     1170px;  
  $XL:    1500px;   
  
  // media queries
  
  @mixin MQ($canvas) {
    @if $canvas == S {
     @media only screen and (min-width: $S) { @content; } 
    }
    @else if $canvas == M {
     @media only screen and (min-width: $M) { @content; } 
    }
    @else if $canvas == L {
     @media only screen and (min-width: $L) { @content; } 
    }
    @else if $canvas == XL {
     @media only screen and (min-width: $XL) { @content; } 
    }
  }
  
  // super light grid - it works with the .cd-container class inside style.scss
  
  @mixin column($percentage, $float-direction:left) {
    width: 100% * $percentage;
    float: $float-direction;
  }