Appearance mixin and fix for Firefox