Merge pull request 'refs #2596 drag and drop implementado' (!1119) from 2596-arrastrar-ficheros into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #1119
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
This commit is contained in:
Alexandre Riera 2022-11-10 07:41:58 +00:00
commit 817f231a29
2 changed files with 11 additions and 3 deletions

View File

@ -3,7 +3,7 @@
ng-transclude="prepend"
class="prepend">
</div>
<div class="infix">
<div class="infix" >
<div class="fix prefix"></div>
<div class="control">
<section
@ -13,8 +13,7 @@
</section>
<input
type="file"
accept="{{$ctrl.accept}}"
style="display: none;">
accept="{{$ctrl.accept}}">
</input>
</div>
<div class="fix suffix"></div>

View File

@ -4,4 +4,13 @@
.value {
cursor: pointer;
}
.control {
& > input[type=file] {
opacity: 0;
}
& > section {
position: absolute;
bottom: 0;
}
}
}