13 lines
793 B
Plaintext
13 lines
793 B
Plaintext
<% bubble = event.summary.bubble %>
|
|
|
|
<%= link_to bucket_bubble_path(bubble.bucket, bubble),
|
|
class: "event panel shadow center center-block flex-inline align-center justify-start gap position-relative",
|
|
style: "--panel-border-radius: 0.7em; --panel-padding: 0.3em 0.6em; --panel-size: auto; --bubble-color: #{ bubble.color }; #{ bubble_rotation(bubble) }",
|
|
data: { controller: "animation", animation_play_class: "bubble--wobble", animation_play_on_load_value: "true", action: "mouseover->animation#play" } do %>
|
|
<div class="bubble__shape flex-item-no-shrink txt-large"></div>
|
|
<div class="flex flex-column min-width txt-small align-start">
|
|
<strong><%= bubble.title %></strong>
|
|
<span class="txt-small translucent"><%= bubble.bucket.name %></span>
|
|
</div>
|
|
<% end %>
|