-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Предложу в исходниках улучшить поле "заменить файл" - то что есть сейчас автоматом подтягивает стили браузера и ос и выглядит местами не красиво.
<input type="file" name="replacement" class="files-replace-file inputfile inputfile-3" data-id="{%=file.id%}" id="files-file{%=file.id%}"> <label for="files-file{%=file.id%}"><i class="fa fa-refresh fa-border _margin-right-10" aria-hidden="true"></i><span>{PHP.L.files_replace}…</span></label>
.inputfile { width: 0.1px; height: 0.1px; opacity: 0; overflow: hidden; position: absolute; z-index: -1; } .inputfile + label { max-width: 80%; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; display: inline-block; overflow: hidden; } .inputfile-3 + label { color: #0275d8; }
Metadata
Metadata
Assignees
Labels
No labels