use & instead of @ to refer component name

now it's consistent with sass
style fixes
support hashmap as class
style fixes