Commit Graph

14 Commits

Author SHA1 Message Date
Macdonald, Zak
7c5420119c Committing SASS and Less sources compiled by the build process. 2015-06-28 20:33:26 -07:00
Macdonald, Zak
cd77695e1b SASS refactor, changes outlined below:
**functions.scss**
- added convenience functions
  - `fudge` fudge a number from 0-6 decimal places
  - `unitless` simple hack to parse a number from a unit

**icons.scss**
- removed explicit definitions in favor of a loop iterating `$fa-var-glyphs`

**mixins.scss**
- removed requirement to pass `$rotation` to `@fa-icon-rotate`, it is now calculated
  - calculation required since `$fa-rotation-increment` is configurable, meaning not every rotation may adhere to 90 degree increments requiring $rotation

**rotated-flipped.scss**
- rotations are now calculated by a loop iterating `$fa-rotation-increment`
- the ie fix is now calculated using a loop iterating only the rotation selectors requiring intervention
  - this is required now that `$fa-rotation-increment` eists

**sizes.scss**
- sizes are now calculated by a loop iterating `$fa-var-scales`
  - this new method supports the existing `.fa-lg` selector, as well as introducing: `.fa-xsm` (33%), `.fa-sm` (66%x), `.fa-default` (100%), `.fa-xlg` (166%)
- multipliers are now calculated by a loop iterating `$fa-var-multipliers`
  - this new method supports all existing multipliers (`.fa-2x`, `.fa-3x`, `.fa-4x`, `.fa-5x`)

**variables.scss**
- added variables:
  - deprecated explicit icon variables in favor of an array value (`$fa-var-glyphs`)
  - `$fa-rotation-increment`
  - `$fa-var-scales`
  - `$fa-var-multipliers`

**font-awesome.scss**
- added `functions.scss`

**misc.**
- minor code cleanup
2015-06-28 18:26:27 -07:00
Dave Gandy
0810752c86 adding new icons, transportation and gender categories 2015-01-20 12:56:00 -05:00
Geremia Taglialatela
c27c1a59b9 Added a variable to customise base font size
Closes #5128
2014-12-28 15:27:45 +01:00
Dave Gandy
791f220839 shortening font declaration, adding font-variant and text-rendering defaults 2014-08-21 15:25:45 -04:00
davegandy
f212bebf6c re-porting to scss, fixing some fa variable names 2013-10-23 00:24:08 -04:00
davegandy
448d3ddb7f re-writing & simplifying stacked icons, massive re-organization of less include files 2013-10-22 15:55:08 -04:00
davegandy
b52bb9b9b4 porting customizable css prefix to scss 2013-10-20 13:43:24 -04:00
davegandy
9bb033858c port to SCSS 2013-10-16 13:46:28 -04:00
Geremia Taglialatela
7f04830e12 Using recess property order (Fixes #1157)
Rebuilt assets
2013-08-21 13:18:37 +02:00
davegandy
a6f9df4e86 updating what's new page 2013-06-17 10:15:10 -04:00
LightGuard
3e6cc95001 Fixing division 2013-06-12 10:42:37 -06:00
davegandy
8033f2571f ported core.scss from scratch 2013-06-12 10:47:27 -04:00
davegandy
19aaed3ddd force jekyll to pass _foo.scss files through 2013-06-12 10:15:46 -04:00