text-align: right
input, textarea
- border-radius 3px
- color: theme('colors.grey.dark')
- padding 12px 10px
- border 1px solid #fff
- display: block
- width: 100%
+ @apply block w-full outline-none border border-grey-100 text-grey-dark rounded p-3
&:focus
border-color: theme('colors.grey.250')
@apply flex-grow
&-input
- @apply px-2 py-2 font-display text-2xl w-full appearance-none
+ @apply px-2 py-2 font-display text-2xl w-full appearance-none border-2 border-grey-100
&:focus
- @apply outline-none border-t border-r border-l border-grey-200
+ @apply outline-none border-grey-200
.header-search-box &
- @apply bg-grey-100
+ @apply bg-grey-100 border-grey-100
&[aria-expanded=true]
- @apply bg-white
+ @apply bg-white border-grey-200
+below(450px)
@apply text-base
&-result-list
- @apply border-l border-r border-b border-grey-200 shadow-lg
+ @apply bg-white border-l-2 border-r-2 border-b-2 border-grey-200 shadow-lg
z-index: 20 !important
+ transform: translateY(-2px) // To cover border on bottom of input
&-result
- @apply bg-white px-2 py-4 border-b border-grey-200
+ @apply px-4 py-4 border-b border-grey-200
&:last-child
@apply border-none
<div id="contact-form">
<div class="ajax-form flex flex-col max-w-half">
@if($page->get('form_intro'))
- <p class="form-info text-navy">{{$page->get('form_intro')}}</p>
+ <div class="form-info text-navy">@markdown($page->get('form_intro'))</div>
@endif
<form class="text-navy mailform" action="{{ $action ?? '/ajax/mailform' }}" method="post"
data-confirmation="{{$page->get('form_confirmation')??__('Votre message a bien été envoyé')}}" novalidate>