This file contains 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
@import "colors"; | |
@import "buttons.scss"; | |
@import "compass/css3"; | |
@mixin tabs { | |
float: left; | |
width: 100%; | |
background: transparent; | |
margin: 0!important; | |
height: 43px; |
This file contains 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
// Block Grid | |
// Technique adapted from Foundation 5 for Bootstrap 3. | |
// https://github.com/zurb/foundation/blob/f755d8704123f86c281ede0b171881e2672f150d/scss/foundation/components/_block-grid.scss | |
// Original LESS Version by Christopher Mitchell (https://gist.github.com/ChrisTM) | |
// Converted to SCSS by Rasmus Jürs (https://github.com/Jursdotme) | |
[class*="block-grid-"] { | |
display: block; | |
margin: -($grid-gutter-width/2); | |
padding: 0; |
This file contains 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
<ul class="flags"> | |
<?php foreach($site->languages() as $lang): ?> | |
<li class="flag"><a href="<?php echo $page->url($lang->code()) ?>"> | |
<img src="<?php echo url('assets/images/flags/24/' . $lang . '.png') ?>"></a> | |
</li> | |
<?php endforeach ?> | |
</ul> |
This file contains 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 foreach (c::get('lang.available') as $lang): ?> | |
<a<?php if($lang == c::get('lang.current')) echo ' class="active"' ?> href="<?php echo url($page->uid(), $lang) ?>"> | |
<img src="<?php echo url('assets/images/flags/' . $lang . '.png') ?>" alt="" /><?php echo $lang ?> | |
</a> | |
<?php endforeach ?> |
NewerOlder