Edition/view mode, fix tournament update

This commit is contained in:
Claude Brisson
2023-11-26 10:36:52 +01:00
parent 7374414ec4
commit 5c1dc2d59d
6 changed files with 128 additions and 22 deletions

View File

@@ -198,6 +198,12 @@
text-align: center;
}
.form-actions {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
input[type="number"] {
padding: 0.2em 0.1em 0.2em 1em;
vertical-align: baseline;

View File

@@ -0,0 +1,22 @@
@layer pairgoth {
#tournament-infos {
input, select, .edit {
display: none;
}
&.edit {
input, select, .edit {
display: initial;
}
.info, #edit {
display: none;
}
}
}
div.field:not(.hidden) {
display: flex;
flex-flow: column nowrap;
justify-content: space-between;
margin: 1px;
background-color: #eeeeee;
}
}