Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Украсить "заменить файл" #28

Open
eukraina opened this issue Mar 7, 2017 · 1 comment
Open

Украсить "заменить файл" #28

eukraina opened this issue Mar 7, 2017 · 1 comment

Comments

@eukraina
Copy link

eukraina commented Mar 7, 2017

Предложу в исходниках улучшить поле "заменить файл" - то что есть сейчас автоматом подтягивает стили браузера и ос и выглядит местами не красиво.

<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; }

@eukraina
Copy link
Author

eukraina commented Mar 7, 2017

Это выглядит всюду идентично.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant