betterform
This commit is contained in:
parent
d146249a8a
commit
c1350314eb
2 changed files with 22 additions and 11 deletions
|
@ -74,14 +74,21 @@ textarea[name="description"] {
|
|||
}
|
||||
|
||||
.file-label {
|
||||
background-color: #4CAF50; /* Button color */
|
||||
color: white;
|
||||
background-color: #e9e9ed; /* Button color */
|
||||
color: rgb(0, 0, 0);
|
||||
border: 100cm;
|
||||
border-color: black;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
border-radius: 50px;
|
||||
cursor: pointer;
|
||||
margin-bottom: 10px; /* Space between button and file name */
|
||||
}
|
||||
|
||||
.file-label:hover {
|
||||
background-color: #bec3c9; /* Background color on hover */
|
||||
}
|
||||
|
||||
|
||||
.file-chosen {
|
||||
font-size: 14px;
|
||||
color: #555;
|
||||
|
|
|
@ -29,21 +29,25 @@
|
|||
</div>
|
||||
<div id="remainingForm" style="display: none;">
|
||||
<label>Nome</label>
|
||||
<br><input name="name" required type="text" />
|
||||
<br><br><label>Descrizione</label>
|
||||
<br><textarea name="description" required></textarea>
|
||||
<br><br><div class="file-upload">
|
||||
<input name="name" required type="text" />
|
||||
<br><br>
|
||||
<label>Descrizione</label>
|
||||
<textarea name="description" required></textarea>
|
||||
<br><br>
|
||||
<div class="file-upload">
|
||||
<input name="image" required type="file" id="file-input" class="file-input" accept="image/x-png,image/jpeg,image/jpg"/>
|
||||
<label for="file-input" class="file-label">Choose File</label><br><br>
|
||||
<span class="file-chosen"></span>
|
||||
<label for="file-input" class="file-label">Scegli File</label>
|
||||
<br><br>
|
||||
<span class="file-chosen"> </span>
|
||||
</div>
|
||||
<!-- <br><input
|
||||
<!-- <input
|
||||
name="image"
|
||||
required
|
||||
type="file"
|
||||
accept="image/x-png,image/jpeg,image/jpg"
|
||||
/> -->
|
||||
<br><button>Aggiungi Marker</button>
|
||||
<br>
|
||||
<button>Aggiungi Marker</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue