element stylesheet refactoring (wip)