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
/* | |
* There are a couple of places where we use GravityForms to do a file upload into a | |
* meta-data item of type "upload". The upload file type stores an attachment ID, | |
* whereas the Gravity Forms upload field stores a URL. | |
* | |
* This function is used to convert a URL in the meta-data item specified by the | |
* $field parameter to an attachment ID - creating the attachment as it goes. | |
* | |
* This function should be called from a callback hooked to gform_after_submission_[x] | |
* |
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
@mixin background-size($background-size) { | |
-webkit-background-size: $background-size; | |
-moz-background-size: $background-size; | |
-o-background-size: $background-size; | |
background-size: $background-size; | |
} |