Add icons for shortcuts

add icons for alert/info/success/warning/error
Fixed some bugs

1. the resize handler moving with the scroll bar of the container
2. add an option padding to set the padding of the content according to
differnt types
3. fixed when the onOpen callback called