gridstrap 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/stylesheets/inc/_build.scss +3 -3
 - data/stylesheets/inc/_mixins.scss +21 -21
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 39c54a64d300e53c727eb21056d372e2560ef363
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 397f02dea322d7fe9b9cd801f79883010f28f8d0
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 7d0614cef0ca91169cd5f15c23a8478b43ebd135e7a50e2d40f71a67d848112275dd62f0548fba7d063f3eb57bea3335835d3c7c5147521eb5efe0b709c41883
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 7b25763303341c1618d2b178f28e292c7bd6c13209173dcc92fa721f2a6aacc855283b4b0db2b93a8f5d5b2981232ca920a099c00594715c6fe69c902eb15792
         
     | 
    
        data/stylesheets/inc/_build.scss
    CHANGED
    
    | 
         @@ -26,13 +26,13 @@ 
     | 
|
| 
       26 
26 
     | 
    
         | 
| 
       27 
27 
     | 
    
         
             
            @mixin gridstrap($responsive: "none", $fluid: true, $cols: 0, $gutter: 0) {
         
     | 
| 
       28 
28 
     | 
    
         
             
            	@if $cols != 0 {
         
     | 
| 
       29 
     | 
    
         
            -
            		$gridstrap-cols: $cols 
     | 
| 
      
 29 
     | 
    
         
            +
            		$gridstrap-cols: $cols;
         
     | 
| 
       30 
30 
     | 
    
         
             
            	}
         
     | 
| 
       31 
31 
     | 
    
         
             
            	@if $gutter != 0 {
         
     | 
| 
       32 
     | 
    
         
            -
            		$gridstrap-gutter: $gutter 
     | 
| 
      
 32 
     | 
    
         
            +
            		$gridstrap-gutter: $gutter;
         
     | 
| 
       33 
33 
     | 
    
         
             
            	}
         
     | 
| 
       34 
34 
     | 
    
         | 
| 
       35 
     | 
    
         
            -
            	$gridstrap-fluid: $fluid 
     | 
| 
      
 35 
     | 
    
         
            +
            	$gridstrap-fluid: $fluid;
         
     | 
| 
       36 
36 
     | 
    
         | 
| 
       37 
37 
     | 
    
         
             
            	// Base Grid Setup
         
     | 
| 
       38 
38 
     | 
    
         
             
            	@include gridstrap-base;
         
     | 
| 
         @@ -15,38 +15,38 @@ 
     | 
|
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
            @mixin gridstrap-use($uses...) {
         
     | 
| 
       17 
17 
     | 
    
         
             
            	// Default all to false
         
     | 
| 
       18 
     | 
    
         
            -
            	$gridstrap-use-span:   false 
     | 
| 
       19 
     | 
    
         
            -
            	$gridstrap-use-of:     false 
     | 
| 
       20 
     | 
    
         
            -
            	$gridstrap-use-offset: false 
     | 
| 
       21 
     | 
    
         
            -
            	$gridstrap-use-push:   false 
     | 
| 
       22 
     | 
    
         
            -
            	$gridstrap-use-pull:   false 
     | 
| 
       23 
     | 
    
         
            -
            	$gridstrap-use-rtl:    false 
     | 
| 
      
 18 
     | 
    
         
            +
            	$gridstrap-use-span:   false;
         
     | 
| 
      
 19 
     | 
    
         
            +
            	$gridstrap-use-of:     false;
         
     | 
| 
      
 20 
     | 
    
         
            +
            	$gridstrap-use-offset: false;
         
     | 
| 
      
 21 
     | 
    
         
            +
            	$gridstrap-use-push:   false;
         
     | 
| 
      
 22 
     | 
    
         
            +
            	$gridstrap-use-pull:   false;
         
     | 
| 
      
 23 
     | 
    
         
            +
            	$gridstrap-use-rtl:    false;
         
     | 
| 
       24 
24 
     | 
    
         | 
| 
       25 
25 
     | 
    
         
             
            	// If first $use isn"t "all"...
         
     | 
| 
       26 
26 
     | 
    
         
             
            	@if nth($uses, 1) != "all" {
         
     | 
| 
       27 
27 
     | 
    
         
             
            		// Loop through and set matched options to true
         
     | 
| 
       28 
28 
     | 
    
         
             
            		@each $use in $uses {
         
     | 
| 
       29 
29 
     | 
    
         
             
            			@if $use == "span" {
         
     | 
| 
       30 
     | 
    
         
            -
            				$gridstrap-use-span:   true 
     | 
| 
      
 30 
     | 
    
         
            +
            				$gridstrap-use-span:   true;
         
     | 
| 
       31 
31 
     | 
    
         
             
            			} @else if $use == "of" {
         
     | 
| 
       32 
     | 
    
         
            -
            				$gridstrap-use-of:   true 
     | 
| 
      
 32 
     | 
    
         
            +
            				$gridstrap-use-of:   true;
         
     | 
| 
       33 
33 
     | 
    
         
             
            			} @else if $use == "offset" {
         
     | 
| 
       34 
     | 
    
         
            -
            				$gridstrap-use-offset:   true 
     | 
| 
      
 34 
     | 
    
         
            +
            				$gridstrap-use-offset:   true;
         
     | 
| 
       35 
35 
     | 
    
         
             
            			} @else if $use == "move" {
         
     | 
| 
       36 
     | 
    
         
            -
            				$gridstrap-use-push:   true 
     | 
| 
       37 
     | 
    
         
            -
            				$gridstrap-use-pull:   true 
     | 
| 
      
 36 
     | 
    
         
            +
            				$gridstrap-use-push:   true;
         
     | 
| 
      
 37 
     | 
    
         
            +
            				$gridstrap-use-pull:   true;
         
     | 
| 
       38 
38 
     | 
    
         
             
            			} @else if $use == "rtl" {
         
     | 
| 
       39 
     | 
    
         
            -
            				$gridstrap-use-rtl:   true 
     | 
| 
      
 39 
     | 
    
         
            +
            				$gridstrap-use-rtl:   true;
         
     | 
| 
       40 
40 
     | 
    
         
             
            			}
         
     | 
| 
       41 
41 
     | 
    
         
             
            		}
         
     | 
| 
       42 
42 
     | 
    
         
             
            	} @else {
         
     | 
| 
       43 
43 
     | 
    
         
             
            		// Make all true
         
     | 
| 
       44 
     | 
    
         
            -
            		$gridstrap-use-span:   true 
     | 
| 
       45 
     | 
    
         
            -
            		$gridstrap-use-of:     true 
     | 
| 
       46 
     | 
    
         
            -
            		$gridstrap-use-offset: true 
     | 
| 
       47 
     | 
    
         
            -
            		$gridstrap-use-push:   true 
     | 
| 
       48 
     | 
    
         
            -
            		$gridstrap-use-pull:   true 
     | 
| 
       49 
     | 
    
         
            -
            		$gridstrap-use-rtl:    true 
     | 
| 
      
 44 
     | 
    
         
            +
            		$gridstrap-use-span:   true;
         
     | 
| 
      
 45 
     | 
    
         
            +
            		$gridstrap-use-of:     true;
         
     | 
| 
      
 46 
     | 
    
         
            +
            		$gridstrap-use-offset: true;
         
     | 
| 
      
 47 
     | 
    
         
            +
            		$gridstrap-use-push:   true;
         
     | 
| 
      
 48 
     | 
    
         
            +
            		$gridstrap-use-pull:   true;
         
     | 
| 
      
 49 
     | 
    
         
            +
            		$gridstrap-use-rtl:    true;
         
     | 
| 
       50 
50 
     | 
    
         
             
            	}
         
     | 
| 
       51 
51 
     | 
    
         
             
            }
         
     | 
| 
       52 
52 
     | 
    
         | 
| 
         @@ -60,13 +60,13 @@ 
     | 
|
| 
       60 
60 
     | 
    
         | 
| 
       61 
61 
     | 
    
         
             
            @mixin gridstrap-sizes($sm: 0, $md: 0, $lg: 0) {
         
     | 
| 
       62 
62 
     | 
    
         
             
            	@if $sm != 0{
         
     | 
| 
       63 
     | 
    
         
            -
            		$gridstrap-container-sm: $sm 
     | 
| 
      
 63 
     | 
    
         
            +
            		$gridstrap-container-sm: $sm;
         
     | 
| 
       64 
64 
     | 
    
         
             
            	}
         
     | 
| 
       65 
65 
     | 
    
         
             
            	@if $md != 0{
         
     | 
| 
       66 
     | 
    
         
            -
            		$gridstrap-container-md: $md 
     | 
| 
      
 66 
     | 
    
         
            +
            		$gridstrap-container-md: $md;
         
     | 
| 
       67 
67 
     | 
    
         
             
            	}
         
     | 
| 
       68 
68 
     | 
    
         
             
            	@if $lg != 0{
         
     | 
| 
       69 
     | 
    
         
            -
            		$gridstrap-container-lg: $lg 
     | 
| 
      
 69 
     | 
    
         
            +
            		$gridstrap-container-lg: $lg;
         
     | 
| 
       70 
70 
     | 
    
         
             
            	}
         
     | 
| 
       71 
71 
     | 
    
         
             
            }
         
     | 
| 
       72 
72 
     | 
    
         |