Little more compact and cleaner form inputs

This commit is contained in:
Claude Brisson
2024-04-11 18:47:20 +02:00
parent 755bee7558
commit 555c27275b
3 changed files with 8 additions and 5 deletions

View File

@@ -199,7 +199,7 @@
/* UI fixes */ /* UI fixes */
.ui.form, .ui.segment, .ui.form .field > label { font-size: 1em; } .ui.form, .ui.segment, .ui.form .field > label { font-size: 1em; }
.ui.form .fields { } .ui.form .fields { margin-bottom: 0; }
span > input[type="radio"] { vertical-align: text-top; } span > input[type="radio"] { vertical-align: text-top; }
span > input[type="text"] { vertical-align: baseline; width: initial; } span > input[type="text"] { vertical-align: baseline; width: initial; }
span > input.date { vertical-align: baseline; width: 8em; } span > input.date { vertical-align: baseline; width: 8em; }
@@ -243,7 +243,7 @@
} }
.ui.form input[type=text], .ui.form input[type="number"], .ui.form select { .ui.form input[type=text], .ui.form input[type="number"], .ui.form select {
padding: 0.4em 0.2em; padding: 0.1em 0.2em;
} }
.ui.form input[type="number"], input.duration { .ui.form input[type="number"], input.duration {
text-align: center; text-align: center;
@@ -296,8 +296,9 @@
.roundbox { .roundbox {
border: solid 2px darkgray; border: solid 2px darkgray;
border-radius: 10px; border-radius: 10px;
margin: 1em; margin: 0.5em;
padding: 1em; padding: 0.5em;
background-color: #EEEEEE;
} }
#backdrop { #backdrop {

View File

@@ -36,7 +36,9 @@
flex-flow: column nowrap; flex-flow: column nowrap;
justify-content: space-between; justify-content: space-between;
margin: 1px; margin: 1px;
padding: 0.2em;
background-color: #eeeeee; background-color: #eeeeee;
align-items: flex-start;
&.centered { &.centered {
align-items: center; align-items: center;
} }

View File

@@ -47,7 +47,7 @@
<label>Location</label> <label>Location</label>
<div class="edit online"> <div class="edit online">
<label> <label>
<input name="online" type="checkbox" #if($tour && $tour.online) checked #end value="true"/>&nbsp;<b>online tournament</b> <input name="online" class="inline" type="checkbox" #if($tour && $tour.online) checked #end value="true"/>&nbsp;online tournament
</label> </label>
</div> </div>
<span class="info"></span> <span class="info"></span>