Commit Graph

9 Commits

Author SHA1 Message Date
Macdonald, Zak
e5016e0468 Flip flopping loops, reverting last 'fix'. 2015-06-28 21:49:22 -07:00
Macdonald, Zak
6a81b209ca Minor fix to loops in Less. 2015-06-28 21:44:33 -07:00
Macdonald, Zak
c194cfe357 Updated Less: fixed loops in rotated-fixed.less, minor code formatting changes. 2015-06-28 21:31:26 -07:00
Macdonald, Zak
7c5420119c Committing SASS and Less sources compiled by the build process. 2015-06-28 20:33:26 -07:00
Macdonald, Zak
29580eb7c4 Minor bugfix. 2015-06-28 19:12:03 -07:00
Macdonald, Zak
4e952325ec Less refactor, changes outlined below:
**functions.less**
- added convenience functions
  - `fudge` fudge a number from 0-6 decimal places
  - `unitless` simple hack to parse a number from a unit

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

**mixins.less**
- 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.less**
- 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.less**
- 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.less**
- 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.less**
- added `functions.less`

**misc.**
- minor code cleanup
2015-06-28 18:43:06 -07:00
Jacek Hajduk
4ad8d81d71 fix Issue with fa-rotate-* in IE9 #3527 2014-05-27 10:20:44 +02:00
davegandy
e5a654cd01 fixing flipped icons in ie8 2013-10-22 23:40:21 -04:00
davegandy
448d3ddb7f re-writing & simplifying stacked icons, massive re-organization of less include files 2013-10-22 15:55:08 -04:00