]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Refactored the reveal-modal-style mixin 4696/head
authorJoe Workman <joe@workmanmail.com>
Sat, 15 Mar 2014 02:12:42 +0000 (19:12 -0700)
committerJoe Workman <joe@workmanmail.com>
Sat, 15 Mar 2014 02:12:42 +0000 (19:12 -0700)
commit201078cebb347a96f4c7c3445175b522a0c70545
tree1e0b95c0cacf4791039231001bfa1069b087766d
parent46c208518de8ce6d0656dc76129401da4b0aa675
Refactored the reveal-modal-style mixin

The previous version of this mixin required that you define a ton of parameters each time you wanted to apply a style. When the mixin is first called in order to apply the default styles, those default styles are passed as parameters. Therefore in subsequent calls, you are only passing the particular attribute that you want to override.

This new version of the mixing seems to remove a small amount of duplicate styles that were not needed.

I made this a separate commit in case this reflector was not desired but you still wanted to accept the new radius, round and collapse classes.
scss/foundation/components/_reveal.scss