Since 1/4 of her money is $40, then Leila originally had $40 x 4 = $<<40*4=160>>160.
$160 - $40 = $<<160-40=120>>120 was left after buying a sweater.
Since she is left with $20, Leila spent $120 - $20 = $<<120-20=100>>100 on jewelry.
Therefore, she spent $100 - $40 = $<<100-40=60>>60 more for jewelry than on a sweater.
#### 60