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
assets/css/*.less | |
assets/css/*/*.less | |
lessc assets/css/app.less app.css |
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
function format_number(number) { | |
// split integer and decimal parts | |
var parts = ('' + number).split('.'); | |
var significand = parts[0]; | |
// check if there is a decimal part | |
var decimal = typeof parts[1] !== 'undefined' ? parts[1] : false; | |
// reverse the integer part | |
var reversed = (significand).split('').reverse().join(''); |
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
/////////////////////////////////////////////////////////////////////////////// | |
// RESPONSIVE BREAKPOINTS | |
@xs: 640px; | |
@xs_plus_one: (@xs + 1px); | |
@sm: 768px; | |
@sm_plus_one: (@sm + 1px); | |
@md: 992px; | |
@md_plus_one: (@md + 1px); | |
@lg: 1200px; |
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
/* foreign.less */ | |
/* new file, "bridge" between imported styles and stylesheet */ | |
#export { | |
.styles() { | |
@import (less) "../../other-project/css/styles.css"; | |
} | |
} | |
/* old file */ |