diff --git a/ihatemoney/static/css/main.css b/ihatemoney/static/css/main.css index 574baa38..8667f231 100644 --- a/ihatemoney/static/css/main.css +++ b/ihatemoney/static/css/main.css @@ -87,6 +87,16 @@ body { height: 100%; color: black; overflow-y: auto; + display: flex; + flex-direction: column; +} + +.sidebar_content { + flex: 1 1 auto; + overflow-y: auto; +} +.identifier { + margin-bottom: 15px; } @media (min-width: 768px) { @@ -94,6 +104,11 @@ body { position: fixed; padding-bottom: 4.5rem; } + + .identifier { + margin-bottom: 0; + } + } #add-member-form { @@ -241,14 +256,9 @@ footer .footer-left { } } -.identifier { - float: right; -} - -#new-bill, -.identifier { - margin-top: 16px; - margin-bottom: 16px; +#new-bill { + margin-top: 30px; + margin-bottom: 30px; } /* Avoid text color flickering when it loose focus as the modal appears */ @@ -441,6 +451,7 @@ tr:hover .extra-info { display: inline-block; border-bottom: 0.2em solid transparent; height: 1.2em; + width: 1.2em; /* protection for IE11 */ } .download-project .icon svg { @@ -453,3 +464,6 @@ tr:hover .extra-info { footer .icon svg { fill: white; } +.icon.icon-white { + fill: white; +} \ No newline at end of file diff --git a/ihatemoney/static/images/paper-plane.svg b/ihatemoney/static/images/paper-plane.svg new file mode 100644 index 00000000..cecb40f2 --- /dev/null +++ b/ihatemoney/static/images/paper-plane.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/ihatemoney/templates/forms.html b/ihatemoney/templates/forms.html index 57f9440b..a64e2055 100644 --- a/ihatemoney/templates/forms.html +++ b/ihatemoney/templates/forms.html @@ -1,4 +1,4 @@ -{% macro input(field, multiple=False, class='form-control', inline=False) -%} +{% macro input(field, multiple=False, class='form-control', inline=False, placeholder='') -%}
{{ field.description }}
@@ -119,8 +119,8 @@ {{ form.hidden_tag() }} {% include "display_errors.html" %}