Skip to content

Commit

Permalink
Merge pull request lipis#14 from bequadrat/master
Browse files Browse the repository at this point in the history
Make directories for different formats more flexible
  • Loading branch information
lipis committed May 5, 2014
2 parents 9a16787 + 59779c8 commit eb67c99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions less/flag-icon-base.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@

.flag-icon(@country) {
.flag-icon-@{country} {
background-image: ~"url(@{flag-icon-css-path}/4x3/@{country}.svg)";
background-image: ~"url(@{flag-icon-css-path}@{flag-icon-rect-path}/@{country}.svg)";
&.flag-icon-squared {
background-image: ~"url(@{flag-icon-css-path}/1x1/@{country}.svg)";
background-image: ~"url(@{flag-icon-css-path}@{flag-icon-square-path}/@{country}.svg)";
}
}
}
2 changes: 2 additions & 0 deletions less/variabless.less
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
@flag-icon-css-path: '../flags';
@flag-icon-rect-path: '/4x3';
@flag-icon-square-path: '/1x1';

0 comments on commit eb67c99

Please sign in to comment.