improved file picker

This commit is contained in:
surtur 2020-04-16 00:59:06 +02:00
parent e4625e1fdc
commit 58d4ddc1c9
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 16 additions and 3 deletions

@ -70,4 +70,14 @@ nav {
} }
.card-body > .raow > .col:last-child { .card-body > .raow > .col:last-child {
border-bottom: 0; border-bottom: 0;
}
#inputGroupFile01 {
background-color: lightskyblue;
}
#filepicker {
color: white;
font-weight: bold;
}
#filepicker:hover {
cursor: pointer;
} }

@ -138,11 +138,14 @@
<div class="card" id="dokumenty"> <div class="card" id="dokumenty">
<h5 class="card-header" id="dokumenty-header"> <h5 class="card-header" id="dokumenty-header">
<div class="row" id="nopaddingplz"> <div class="row" id="nopaddingplz">
<div class="col-md-4"> <div class="col-md-3">
<h4>Dokumenty</h4> <h4>Dokumenty</h4>
</div> </div>
<div class="col ml-auto"> <div class="col-md-5 ml-auto">
<a class="col-lg-3 btn btn-block ml-auto" style="color: white;" href="#" role="button">Připojit soubor</a> <!-- <a class="col-lg-3 btn btn-block ml-auto" style="color: white;" href="#" role="button">Připojit soubor</a> -->
<span class="glyphicon glyphicon-plus"></span><label class="col-lg-4 btn btn-block ml-auto" id="filepicker">
+ Připojit soubor<input type="file" hidden>
</label>
</div> </div>
</div> </div>
</h5> </h5>