This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package Molajo | |
* @copyright 2012 Amy Stephen. All rights reserved. | |
* @license GNU GPL v 2, or later and MIT, see License folder | |
* | |
* Place in the root of your website - execute it - and copy the results into your .gitignore | |
*/ | |
$current_path = __DIR__; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//----- Global variables------------- | |
$mr-grid-width: 1200px !default; // The wrapper/container size$mr-gutter-width: 20px !default; // The amount of margin between columns | |
$mr-em-base: 16px !default; | |
$mr-convert-to: "%" !default; | |
//---------------------------------- | |
@function -mr-grid-col-width($cols, $grid-width:$mr-grid-width, $grid-total-cols:$mr-grid-total-column, $gutter-width: $mr-gutter-width){ | |
//$cols The number of columns used to create the current elements width. | |
@return ($grid-width / $grid-total-cols) * $cols - $gutter-width; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Padding stuff */ | |
.col { | |
@include box-sizing('border-box'); | |
padding-left: $columnPadding / 2; | |
padding-right: $columnPadding / 2; | |
&[class*="collection"], | |
&.parent { | |
padding-left: 0; | |
padding-right: 0; | |
/* Experimental */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="full parent col"> | |
<div class="third col"> </div> | |
<div class="third col"> </div> | |
<div class="third col"> </div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="full parent col"> | |
<div class="third parent col"> | |
<div class="third col"> </div> | |
<div class="third col"> </div> | |
<div class="third col"> </div> | |
</div> | |
<div class="third parent col"> | |
<div class="third col"> </div> | |
<div class="third col"> </div> | |
<div class="third col"> </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="full parent col"> | |
<div class="half col"> </div> | |
<div class="half parent col"> | |
<div class="persistent third col"> </div> | |
<div class="persistent third col"> </div> | |
<div class="persistent third col"> </div> | |
</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//----- Global variables------------- | |
$mr-grid-width: 1200px !default; // The wrapper/container size$mr-gutter-width: 20px !default; // The amount of margin between columns | |
$mr-em-base: 16px !default; | |
$mr-convert-to: "%" !default; | |
//---------------------------------- | |
@function -mr-grid-col-width($cols, $grid-width:$mr-grid-width, $grid-total-cols:$mr-grid-total-column, $gutter-width: $mr-gutter-width){ | |
//$cols The number of columns used to create the current elements width. | |
@return ($grid-width / $grid-total-cols) * $cols - $gutter-width; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Form Filter - jQuery plugin for filtering datasets | |
* | |
* Copyright (c) Babs Gösgens | |
* | |
* Licensed under the MIT license: | |
* http://www.opensource.org/licenses/mit-license.php | |
* | |
* Version: 1.0 | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Set in case this module is used outside PG Framework | |
$base-line-height: 24px !default; | |
// Set in case this module is used outside PG Framework | |
$reset-box-model: true !default; | |
// Set a max width on a root container of your choice, the content will not stretch beyond this width. | |
// The root container can be positioned left or center, for alternate position you can provide your own behavior. | |
$root-selector: ".root"; | |
$root-max-width: 1152px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin column-behavior($apply-border-box: $apply-border-box, $column-float: $column-float) | |
{ | |
@if $column-float { | |
display: block; | |
float: left; | |
} | |
@else { | |
@include inline-block(top); | |
@if $negative-right-margin { | |
margin-right: $negative-right-margin !important; |
OlderNewer