From 7de5ee734d868a9c65c596af9cb3d06f098fcf85 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 25 Nov 2025 15:13:57 +0100 Subject: [PATCH] FEATURE introducing the component --- resources/css/blocks/notice-panel.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 resources/css/blocks/notice-panel.css diff --git a/resources/css/blocks/notice-panel.css b/resources/css/blocks/notice-panel.css new file mode 100644 index 0000000..c64a687 --- /dev/null +++ b/resources/css/blocks/notice-panel.css @@ -0,0 +1,21 @@ +.notice-panel { + @apply bg-white border-primary border-2 p-8 text-primary; + + &__content { + @apply flex gap-4; + + .icon { + @apply bg-carhop-green-700 shrink-0 w-12 h-12 flex items-center justify-center; + &:before { + content: ''; + @apply block w-8 h-8 bg-no-repeat bg-center bg-contain; + background-image: url('../resources/img/icons/carhop-icon-index-panel.svg'); + /* background-image: url('../resources/img/icons/icon-losange.svg'); */ + } + } + + > .innerblocks > :last-child { + @apply !pb-0; + } + } +}