Fixed SASS if statement for gradient background