diff --git a/app/assets/stylesheets/avatars.css b/app/assets/stylesheets/avatars.css index 9ee11487d..d3ba51fbf 100644 --- a/app/assets/stylesheets/avatars.css +++ b/app/assets/stylesheets/avatars.css @@ -18,7 +18,7 @@ object-fit: cover; } - + .avatar { + .card & + .avatar { margin-inline-start: -0.8em; } } diff --git a/app/assets/stylesheets/events.css b/app/assets/stylesheets/events.css index 731b8a065..7b2d79385 100644 --- a/app/assets/stylesheets/events.css +++ b/app/assets/stylesheets/events.css @@ -24,9 +24,12 @@ background-color: var(--color-bg); border-radius: 2em; display: inline-flex; + font-size: 0.8em; inset: calc(var(--grid-lines) - 1em) auto -1em; - padding: 0.3em 1.3em 0.3em; + line-height: 1.5; + padding: 0.3em 1.3em; position: absolute; + text-transform: uppercase; transform: translateX(-50%); z-index: 2; } @@ -59,7 +62,7 @@ .event { --column-gap: 0.7ch; --panel-border-color: transparent; - --panel-border-radius: 0.5em; + --panel-border-radius: 0.2em; --panel-padding: 0.6em 1.2em 0.6em 0.6em; --panel-size: auto; @@ -89,7 +92,7 @@ background-color: var(--color-container); font-size: 0.9em; - padding: 2em 0 1em; + padding: 1.5em 0 1em; text-transform: uppercase; } @@ -97,7 +100,6 @@ align-self: start; display: grid; font-weight: 600; - margin-block: var(--grid-lines); } .event__title { @@ -110,8 +112,8 @@ display: grid; gap: calc(var(--grid-lines) * 2); justify-items: center; - margin: var(--grid-lines); - padding: var(--grid-lines); + margin: var(--grid-lines) var(--grid-lines) calc(var(--grid-lines) * 6) var(--grid-lines); + padding: 0 var(--grid-lines); .event { grid-column-start: unset !important; diff --git a/app/assets/stylesheets/notifications.css b/app/assets/stylesheets/notifications.css index 5f6026a71..a9f9fd93e 100644 --- a/app/assets/stylesheets/notifications.css +++ b/app/assets/stylesheets/notifications.css @@ -4,7 +4,7 @@ block-size: var(--height); inline-size: var(--size); - inset: auto var(--inline-space) var(--block-space-half) auto; + inset: auto auto var(--block-space-half) var(--inline-space); padding: var(--block-space-half) var(--inline-space); position: fixed; z-index: 1; @@ -99,6 +99,8 @@ } .notification__content { + --border-radius: 0.2em; + color: var(--color-ink); @media (prefers-color-scheme: dark) { diff --git a/app/assets/stylesheets/pins.css b/app/assets/stylesheets/pins.css index f2c38435f..db989035d 100644 --- a/app/assets/stylesheets/pins.css +++ b/app/assets/stylesheets/pins.css @@ -4,7 +4,7 @@ block-size: var(--height); inline-size: var(--size); - inset: auto auto var(--block-space-half) var(--inline-space); + inset: auto var(--inline-space) var(--block-space-half) auto; padding: var(--block-space-half) var(--inline-space); position: fixed; z-index: 1; @@ -101,6 +101,7 @@ .pin__content { color: var(--color-ink); border: 1px solid; + border-radius: 0.2em; .notificiations-list--read & { border: 1px solid var(--color-subtle); diff --git a/app/views/bubbles/_messages.html.erb b/app/views/bubbles/_messages.html.erb index 5a8eeea0e..1e72e908d 100644 --- a/app/views/bubbles/_messages.html.erb +++ b/app/views/bubbles/_messages.html.erb @@ -4,10 +4,11 @@ <%= render bubble.messages, cached: true %> <%= render "comments/new", bubble: bubble %> -
- Watching this… -
- <%= render partial: "bubbles/watches/watcher", collection: bubble.watchers.sorted_with_user_first(Current.user) %> +
+ Subscribers +

<%= pluralize(bubble.watchers.count, "person") %> will be notified when someone comments on this.

+
+ <%= render partial: "bubbles/watches/watcher", collection: bubble.watchers.sorted_with_user_first(Current.user) %>
<% end %> diff --git a/app/views/bubbles/pins/_pin.html.erb b/app/views/bubbles/pins/_pin.html.erb index d3a37ffe0..f9fc46b0e 100644 --- a/app/views/bubbles/pins/_pin.html.erb +++ b/app/views/bubbles/pins/_pin.html.erb @@ -6,10 +6,17 @@ data: { action: "click->dialog#close", turbo_frame: "_top" } do %>
<%= pin.bubble.title %> -
- <%= pin.bubble.bucket.name %> - <%= "· #" if pin.bubble.tags.any? %> - <%= pin.bubble.tags.map(&:title).join(", ") %> +
+
+ <%= pin.bubble.bucket.name -%> + <%= " · #" if pin.bubble.tags.any? -%><%= pin.bubble.tags.map(&:title).join(", ") -%> +
+ + <% if pin.bubble&.stage %> +
+ <%= pin.bubble&.stage&.name %> +
+ <% end %>
<% end %> diff --git a/app/views/bubbles/pins/_tray.html.erb b/app/views/bubbles/pins/_tray.html.erb index 7bbeddec0..2b410f688 100644 --- a/app/views/bubbles/pins/_tray.html.erb +++ b/app/views/bubbles/pins/_tray.html.erb @@ -13,7 +13,7 @@ <% end %>
- <%= tag.button type: "button", class: "pin-tray__all_action btn flex-item-justify-start shadow", data: { action: "click->dialog#close"} do %> + <%= tag.button type: "button", class: "pin-tray__all_action btn flex-item-justify-end shadow", data: { action: "click->dialog#close"} do %> <%= image_tag "pinned.svg", aria: { hidden: true }, size: 24 %> See all pins <% end %> diff --git a/app/views/events/_filter.html.erb b/app/views/events/_filter.html.erb index ca9cf4854..75800a556 100644 --- a/app/views/events/_filter.html.erb +++ b/app/views/events/_filter.html.erb @@ -1,7 +1,9 @@ <% presenter = BucketFilterPresenter.new(@buckets, params, cookies) %>
-