diff --git a/NodeTypes/Content/ContactForm/ContactForm.fusion b/NodeTypes/Content/ContactForm/ContactForm.fusion index 7ba73f54..73979003 100644 --- a/NodeTypes/Content/ContactForm/ContactForm.fusion +++ b/NodeTypes/Content/ContactForm/ContactForm.fusion @@ -7,28 +7,22 @@ prototype(Neos.Demo:Content.ContactForm) < prototype(Neos.Neos:ContentComponent) namespace = 'contact' process { content = afx` -
` schema { diff --git a/Resources/Private/Fusion/Presentation/Template/Base/Base.pcss b/Resources/Private/Fusion/Presentation/Template/Base/Base.pcss index b2dc8670..a8972e31 100644 --- a/Resources/Private/Fusion/Presentation/Template/Base/Base.pcss +++ b/Resources/Private/Fusion/Presentation/Template/Base/Base.pcss @@ -43,9 +43,20 @@ outline-color: theme(colors.light); } - /* .prose .neos-contentcollection :where(p, figure):first-child { - margin-top: 0; - } */ + button[type="submit"] { + min-width: theme(spacing.32); + background-color: theme(colors.light); + padding: theme(spacing.2) theme(spacing.4); + border: none; + color: theme(colors.white); + transition: background-color theme(transitionDuration.DEFAULT) + theme(transitionTimingFunction.DEFAULT); + + &:hover, + &:focus { + background-color: theme(colors.dark); + } + } @media print { h1, @@ -79,3 +90,9 @@ } } } + +@layer utilities { + :is(.form-input, .form-multiselect, .form-select, .form-textarea):focus { + --tw-ring-color: theme(colors.light); + } +} diff --git a/tailwind.config.js b/tailwind.config.js index 79e1d8c2..382a678a 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -100,6 +100,9 @@ module.exports = { light: 'rgb(var(--color-light) /