Created
November 12, 2009 15:40
Revisions
-
atinypixel revised this gist
Sep 17, 2010 . 1 changed file with 13 additions and 15 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,3 @@ =cf display: inline-block &:after @@ -12,19 +10,19 @@ height: 1px =support_hover _azimuth: expression(this.onmousedown = this.onmousedown || new Function("this.className += ' active'"), this.onmouseup = this.onmouseup || new Function("this.className = this.className.replace('active','')"), this.onmouseenter = this.onmouseenter || new Function("this.className += ' hover'"), this.onmouseleave = this.onmouseleave || new Function("this.className = this.className.replace('hover','')"), 'inherit') =border-radius($radius: "0") -moz-border-radius: $radius -webkit-border-radius: $radius =border-radius-custom($top_left: "0", $top_right: "0", $bottom_left: "0", $bottom_right: "0") -moz-border-radius-topleft: $top_left -moz-border-radius-topright: $top_right -moz-border-radius-bottomleft: $bottom_left -moz-border-radius-bottomright: $bottom_right -webkit-border-top-left-radius: $top_left -webkit-border-top-right-radius: $top_right -webkit-border-bottom-left-radius: $bottom_left -webkit-border-bottom-right-radius: $bottom_right -
atinypixel created this gist
Nov 12, 2009 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ /* A collection of mixins for the ruby sass interpreter. =cf display: inline-block &:after content: "." display: block height: 0 clear: both visibility: hidden * html & height: 1px =support_hover :_azimuth expression(this.onmousedown = this.onmousedown || new Function("this.className += ' active'"), this.onmouseup = this.onmouseup || new Function("this.className = this.className.replace('active','')"), this.onmouseenter = this.onmouseenter || new Function("this.className += ' hover'"), this.onmouseleave = this.onmouseleave || new Function("this.className = this.className.replace('hover','')"), 'inherit') =border-radius-all(!radius) :-moz-border-radius = !radius :-webkit-border-radius = !radius =border-radius(!top_left="0", !top_right="0", !bottom_left="0", !bottom_right="0") :-moz-border-radius-topleft = !top_left :-moz-border-radius-topright = !top_right :-moz-border-radius-bottomleft = !bottom_left :-moz-border-radius-bottomright = !bottom_right :-webkit-border-top-left-radius = !top_left :-webkit-border-top-right-radius = !top_right :-webkit-border-bottom-left-radius = !bottom_left :-webkit-border-bottom-right-radius = !bottom_right