diff --git a/app/templates/order.html b/app/templates/order.html index c0a9f80..6f1d8d2 100644 --- a/app/templates/order.html +++ b/app/templates/order.html @@ -65,7 +65,7 @@

Add item to order

{% for dish in order.location.dishes %} -
+ {{ form.csrf_token }} @@ -187,7 +187,7 @@
-

Ordering at {{ order.location_name }}

+

About {{ order.location_name }}

{% if order.location.telephone %}
Telephone
@@ -338,8 +338,7 @@ section.single_column { grid-template-columns: unset; } .description { - color: #888; - margin-left: 1em; + margin-bottom: 10px; } header { margin-bottom: 25px; @@ -461,20 +460,74 @@ summary { line-height: 1.2; margin: 0.6em 0; } -summary .dish_name { - white-space: nowrap; -} summary .dish_name, summary:before { align-self: flex-start; +} +details[open] summary .dish_name { + font-weight: bold; +} +details[open] { + background-color: var(--gray5); + margin-left: -10px; + margin-right: -10px; + margin-bottom: 5px; + padding-left: 10px; + padding-right: 10px; + padding-bottom: 10px; +} + +.select2-container--default .select2-selection--multiple .select2-selection__rendered { + padding: 0 3px; +} +.select2-container .select2-selection--multiple { + min-height: 20px; + line-height: 1; +} +.select2-container .select2-search--inline .select2-search__field { + margin-top: 3px; +} +.select2-container--default .select2-selection--multiple .select2-selection__choice { + margin-top: 4px; +} +.select2-container li { + margin: 0; +} +.select2-selection--multiple .select2-search.select2-search--inline .select2-search__field:not(:focus) { + border-color: transparent; + box-shadow: none; } {% endblock %} {% block scripts %} {{ super() }} - +{% endif %} {% endblock %}