piece_justificative: style links as buttons, and improve layout

This commit is contained in:
Pierre de La Morinerie 2019-02-18 18:00:37 +01:00
parent 62ef02183c
commit ae5e8810a5
3 changed files with 35 additions and 24 deletions

View file

@ -0,0 +1,17 @@
@import "../constants";
.piece-justificative-actions {
display: flex;
}
.piece-justificative-action {
margin-right: $default-spacer;
.button {
text-transform: lowercase;
}
}
.piece-justificative-input.hidden {
display: none;
}

View file

@ -100,9 +100,9 @@
input[type=date],
input[type=number],
input[type=tel],
input[type=file],
textarea,
select {
select,
.piece-justificative {
display: block;
margin-bottom: 2 * $default-padding;
@ -111,10 +111,6 @@
}
}
.direct-upload {
margin-bottom: 2 * $default-padding;
}
.add-row {
margin-bottom: 2 * $default-padding;
}