'billing_address': {
'label': "Adresse de facturation",
'type': 'textarea',
- 'rows': 3,
+ 'rows': 2,
'required': false
},
'message': {
'label': "Message",
'type': 'textarea',
- 'rows': 6,
+ 'rows': 3,
'required': false
},
},
content += `<div class="fonctions">
<a href="#/closeview" class="close-cart">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5.06 8.71" xml:space="preserve"><path fill="none" stroke="#000" stroke-miterlimit="10" d="m4.71 8.35-4-4 4-4"/></svg>
Compléter ma sélection
</a>
<a href="#" class="validate-cart" data-validate-cart>
</div><!-- .details-columns -->
<div class="details-footer fonctions">
<a href="#/cart" class="back-to-cart">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5.06 8.71" xml:space="preserve"><path fill="none" stroke="#000" stroke-miterlimit="10" d="m4.71 8.35-4-4 4-4"/></svg>
- Retourner à ma Sélection
+ Retour à ma Sélection
</a>
- <a href="#" class="send-cart" data-send-cart>Envoyer ma commande</a>
+ <a href="#" class="send-cart" data-send-cart>Envoyer ma demande</a>
</div><!-- .details-footer -->
<div class="server-response" style="display:none"><!-- placeholder for AJAX response --></div>
</div><!-- .inner-content -->
.fonctions {
display: flex;
align-items: center;
- justify-content: space-between;
+ justify-content: flex-end;
+ gap: 1em;
padding: 2em 0;
// Reorganise footer for better display and wrapping
@media @breakpoint_table {
- gap: 1.5em;
flex-wrap: wrap;
flex-direction: row-reverse;
justify-content: flex-start;
background-color: @menu-background;
color: #fff;
white-space: nowrap;
+ margin: 0;
@media @breakpoint_table {
flex: 1; // Allows items to grow to maximise width
.back-to-cart, .close-cart {
background-color: transparent !important;
- color: #000 !important;
+ border: 2px solid currentColor;
+ color: @menu-background !important;
display: inline-flex;
- font-size: 0.75em;
+ font-weight: bold;
align-items: center;
margin: 0;
- padding-left: 0;
justify-content: center;
@media @breakpoint_table {
order: 3; // Switch position (since we're in flex-direction: row-reverse)
}
+ }
- svg {
- height: 1em;
- margin-right: 1.5em;
- }
+ .server-response {
+ max-width: 50ch;
+ margin: 2em auto 0;
}
}