Compare commits

..

No commits in common. "d554355f9c9e939254f081a8d16e2d59974edb9d" and "cbcfda3726ea9d42c149ba656b87ae6482cff8eb" have entirely different histories.

5 changed files with 52 additions and 75 deletions

View File

@ -476,14 +476,8 @@ body {
.LP-Footer .LP-LinkList__List .LP-LinkList__Item .LP-Link:hover { .LP-Footer .LP-LinkList__List .LP-LinkList__Item .LP-Link:hover {
background-color: inherit; } background-color: inherit; }
.LP-Form { .LP-Form .LP-Form__Fieldset {
display: flex; border: none; }
flex-direction: column;
align-items: center; }
.LP-Form .LP-Form__Fieldset {
border: none;
max-width: 1200px;
min-width: 750px; }
.LP-Form .LP-Form__Fieldset .LP-Form__Legend { .LP-Form .LP-Form__Fieldset .LP-Form__Legend {
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -494,16 +488,16 @@ body {
flex-direction: row; flex-direction: row;
justify-content: space-between; } justify-content: space-between; }
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field { .LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field {
flex: 3 2 100px; flex: 3 1 100px;
padding: 6px 15px; } padding: 6px 15px; }
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--wider { .LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--wider {
flex: 5 2; } flex: 5 1; }
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--wide { .LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--wide {
flex: 4 2; } flex: 4 1; }
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--narrow { .LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--narrow {
flex: 2 1; } flex: 2 0; }
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--narrower { .LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--narrower {
flex: 1 2; } flex: 1 0; }
.LP-Form .LP-Form__Fieldset .LP-Form__Composition--buttons { .LP-Form .LP-Form__Fieldset .LP-Form__Composition--buttons {
justify-content: flex-end; } justify-content: flex-end; }
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Button { .LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Button {
@ -516,10 +510,6 @@ body {
font-family: Montserrat, Helvetica, sans-serif; font-family: Montserrat, Helvetica, sans-serif;
color: #565656; } color: #565656; }
@media (max-width: 750px) {
.LP-Form .LP-Form__Fieldset {
min-width: unset; } }
@media (max-width: 650px) { @media (max-width: 650px) {
.LP-Form .LP-Form__Fieldset .LP-Form__Composition--breakable { .LP-Form .LP-Form__Fieldset .LP-Form__Composition--breakable {
display: flex; display: flex;

View File

@ -38,15 +38,11 @@
</div> </div>
</div> </div>
<div class="LP-Form__Composition LP-Form__Composition--buttons"> <div class="LP-Form__Composition">
<div class="LP-Form__Field LP-Form__Button LP-Input"> <a href="{% url 'place_list' %}">
<button class="LP-Button">Create</button>
</div>
<div class="LP-Form__Field LP-Form__Button LP-Input">
<a class="LP-Link" href="{% url 'place_list' %}">
<button type="button" class="LP-Button LP-Button--cancel">Cancel</button> <button type="button" class="LP-Button LP-Button--cancel">Cancel</button>
</a> </a>
</div> <input type="submit" class="LP-Button" value="Abschicken"/>
</div> </div>
</fieldset> </fieldset>

View File

@ -38,15 +38,11 @@
</div> </div>
</div> </div>
<div class="LP-Form__Composition LP-Form__Composition--buttons"> <div class="LP-Form__Composition">
<div class="LP-Form__Field LP-Form__Button LP-Input"> <a href="{% url 'place_detail' pk=place.pk %}">
<button class="LP-Button">Update</button>
</div>
<div class="LP-Form__Field LP-Form__Button LP-Input">
<a class="LP-Link" href="{% url 'place_detail' pk=place.pk %}">
<button type="button" class="LP-Button LP-Button--cancel">Cancel</button> <button type="button" class="LP-Button LP-Button--cancel">Cancel</button>
</a> </a>
</div> <input type="submit" class="LP-Button" value="Submit"/>
</div> </div>
</fieldset> </fieldset>

View File

@ -18,11 +18,8 @@
</div> </div>
</div> </div>
<div class="LP-Form__Composition LP-Form__Composition--buttons"> <div class="LP-Form__Composition">
<div class="LP-Form__Field LP-Form__Button LP-Input"> <input type="submit" class="LP-Button" value="Login"/>
<button class="LP-Button">Login</button>
</div>
</div>
</div> </div>
</fieldset> </fieldset>

View File

@ -8,7 +8,7 @@
<form class="LP-Form" method="POST"> <form class="LP-Form" method="POST">
<fieldset class="LP-Form__Fieldset"> <fieldset class="LP-Form__Fieldset">
<legend class="LP-Form__Legend">Registration</legend> <legend class="LP-Form__Legend">Registrierung</legend>
{% csrf_token %} {% csrf_token %}
<div class="LP-Form__Composition LP-Form__Composition--breakable"> <div class="LP-Form__Composition LP-Form__Composition--breakable">
<div class="LP-Form__Field"> <div class="LP-Form__Field">
@ -35,10 +35,8 @@
</div> </div>
</div> </div>
<div class="LP-Form__Composition LP-Form__Composition--buttons"> <div class="LP-Form__Composition">
<div class="LP-Form__Field LP-Form__Button LP-Input"> <input type="submit" class="LP-Button" value="Registrieren"/>
<button class="LP-Button">Sign up</button>
</div>
</div> </div>
</fieldset> </fieldset>