From 21a1b580b484ebb33e2ac21d05abd948994fb577 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Mon, 1 Jul 2024 15:46:09 +0200 Subject: [PATCH] handling shortcuts style --- resources/css/blocks/shortcuts.css | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 resources/css/blocks/shortcuts.css diff --git a/resources/css/blocks/shortcuts.css b/resources/css/blocks/shortcuts.css new file mode 100644 index 0000000..31a0702 --- /dev/null +++ b/resources/css/blocks/shortcuts.css @@ -0,0 +1,27 @@ +.homegrade-blocks-shortcuts { + .wp-block-heading { + @apply uppercase text-neutral-700 + text-sm + tracking-wider + font-bold + mb-2; + } + .wp-block-button { + @apply inline-block; + .wp-block-button__link { + @apply flex items-center; + @apply !bg-secondary-light !text-secondary; + + &:before { + @apply mr-3 h-6 w-6 bg-no-repeat bg-contain bg-center; + content: ''; + heigth: 1.25rem; + width: 1.25rem; + display: inline-block; + background-image: url('../resources/img/graphic-assets/anchor.svg'); + } + } + } +} +.editor-styles-wrapper .wp-block-button:not(.is-style-outline) .wp-block-button__link { +}