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 | |
if ( ! function_exists( "sanitize_html_classes" ) && function_exists( "sanitize_html_class" ) ) { | |
/** | |
* sanitize_html_class works just fine for a single class | |
* Some times le wild <span class="blue hedgehog"> appears, which is when you need this function, | |
* to validate both blue and hedgehog, | |
* Because sanitize_html_class doesn't allow spaces. | |
* | |
* @uses sanitize_html_class |
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
// So this is an alternative way to do the Twitter bootstrap. | |
// The thing is that - this really takes A LOT OF rewriting the twitter bootstrap code. | |
// This is still work in progress, but I'd like to know if someone might consider this useful later on :) | |
// p.s. At this point I'm __really__ enjoying the @if and @else statements for the first time :) | |
@mixin nav_pills($extend: false) { | |
@include clearfix; | |
> li { float:left;} | |
> li > a { | |
@include nav_flatten; |
NewerOlder