forked from OpenNeo/impress
Matchu
059644f847
Add some unobtrusive white background for contrast, show it when the Turbo frame is loading too, add a spinner cursor, and fix a silliness of how we put the `position: absolute` stuff into the component-y part of the hanger spinner instead of this specific use case lol oops!
13 lines
No EOL
393 B
Text
13 lines
No EOL
393 B
Text
.outfit-viewer
|
|
.loading-indicator= render partial: "hanger_spinner"
|
|
- outfit.visible_layers.each do |swf_asset|
|
|
%outfit-layer{
|
|
data: {
|
|
"asset-id": swf_asset.id,
|
|
"zone": swf_asset.zone.label,
|
|
},
|
|
}
|
|
- if swf_asset.canvas_movie?
|
|
%iframe{src: swf_asset_path(swf_asset) + "?playing"}
|
|
- else
|
|
= image_tag swf_asset.image_url, alt: "" |