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
@mixin some-component-a { | |
.some-component { | |
display: inline; | |
body[lang='fr'] & div { | |
display: flex; | |
} | |
& div { | |
display: block; |
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
@mixin clearfix { | |
*zoom: 1; | |
&:after { | |
content: ""; | |
display: table; | |
clear: both; | |
} | |
} | |
@mixin generate-grid($cols, $width) { |
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
Tundra | Mirrorweave | |
---|---|---|
Underground Sea | Undermine | |
Badlands | Blightning | |
Taiga | Artifact Mutation | |
Savannah | Aura Mutation | |
Scrubland | Zealous Persecution | |
Volcanic Island | Prophetic Bolt | |
Bayou | Maelstrom Pulse | |
Tropical Island | Aether Mutation | |
Plateau | Master Warcraft |
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 | |
%li #{link_to "Home", root_path} | | |
%li #{link_to "Foo", foo_path} | | |
%li= link_to "Blog", blog_path |
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
$dark-button-style: | |
hover-border #abcdef, | |
hover-background #abcdef, | |
hover-text #abcdef, | |
hover-text-shadow #abcdef, | |
hover-gradient-1 #abcdef, | |
hover-gradient-2 #abcdef; | |
$light-button-style: | |
hover-border #abcdef, |
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
body { | |
foo: bottom; | |
foo: right; | |
foo: bottom right; | |
} |
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 | |
%li #{link_to "Link", "#"}, | |
%li #{link_to "Link", "#"}, | |
%li= link_to "Link", "#" |
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
border: 1px solid !border_default |
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
%p | |
Here is | |
%a{:href => 'http://www.example.com'}< | |
a link | |
\. Why won't the period fall right after the word 'link'? I can get it to work | |
%a{:href => 'http://www.example.com'}>< | |
like this | |
, but now there's no space between the word 'work' and the link. And, for an example in Rails, here is | |
= link_to 'another link', 'http://www.example.com' | |
\. I'm not sure how to get the |
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
#!/usr/bin/env ruby | |
# Alex's changes: | |
# * erector and erector_mixin | |
# * each template now includes a loop and a variable (this affects HAML quite a lot) | |
# * automated comparison and benchmarking | |
# * make sure variable is truly being interpolated | |
# # of iterations = 10000 | |
# user system total real |
NewerOlder