- style: (spot = null, opacity = 20) ->\r
- r = {\r
- position: 'absolute', \r
- 'z-index': @get('z'), \r
- top: Pettanr.to_s(@div_y()) + '%', \r
- left: Pettanr.to_s(@div_x()) + '%', \r
- width: Pettanr.to_s(@div_width()) + '%', \r
- height: Pettanr.to_s(@div_height()) + '%', \r
- 'background-color': '#' + ('000000' + Pettanr.to_s(@get('code'))).slice(-6)\r
- }\r
- @merge_opacity(r, opacity) if spot and spot != this\r
- r\r