From 669afd5dcb6de38d7df213ad05f626fe37f217c0 Mon Sep 17 00:00:00 2001 From: shibao Date: Tue, 15 Feb 2022 23:20:18 -0500 Subject: [PATCH] transition shadows --- lib/cannery_web/components/ammo_group_card.ex | 3 ++- lib/cannery_web/components/container_card.ex | 3 ++- lib/cannery_web/components/invite_card.ex | 3 ++- lib/cannery_web/components/tag_card.ex | 3 ++- lib/cannery_web/components/user_card.ex | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/lib/cannery_web/components/ammo_group_card.ex b/lib/cannery_web/components/ammo_group_card.ex index 88f4fcc..59cd2dc 100644 --- a/lib/cannery_web/components/ammo_group_card.ex +++ b/lib/cannery_web/components/ammo_group_card.ex @@ -14,7 +14,8 @@ defmodule CanneryWeb.Components.AmmoGroupCard do
<%= live_redirect to: Routes.ammo_group_show_path(Endpoint, :show, @ammo_group), class: "mb-2 link" do %> diff --git a/lib/cannery_web/components/container_card.ex b/lib/cannery_web/components/container_card.ex index fb190d4..2f73f55 100644 --- a/lib/cannery_web/components/container_card.ex +++ b/lib/cannery_web/components/container_card.ex @@ -11,7 +11,8 @@ defmodule CanneryWeb.Components.ContainerCard do
<%= live_redirect to: Routes.container_show_path(Endpoint, :show, @container), diff --git a/lib/cannery_web/components/invite_card.ex b/lib/cannery_web/components/invite_card.ex index 7b1f8f9..f293f88 100644 --- a/lib/cannery_web/components/invite_card.ex +++ b/lib/cannery_web/components/invite_card.ex @@ -9,7 +9,8 @@ defmodule CanneryWeb.Components.InviteCard do def invite_card(assigns) do ~H"""
+ border border-gray-400 rounded-lg shadow-lg hover:shadow-md + transition-all duration-300 ease-in-out">

<%= @invite.name %>

diff --git a/lib/cannery_web/components/tag_card.ex b/lib/cannery_web/components/tag_card.ex index d4b5471..15a393d 100644 --- a/lib/cannery_web/components/tag_card.ex +++ b/lib/cannery_web/components/tag_card.ex @@ -10,7 +10,8 @@ defmodule CanneryWeb.Components.TagCard do

<%= @user.email %>