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

audio/mpeg(.mp3) & video/mpeg(.mpeg/.mpg) #2155

Closed
CodeLyokoXtEAM opened this issue Aug 18, 2017 · 4 comments
Closed

audio/mpeg(.mp3) & video/mpeg(.mpeg/.mpg) #2155

CodeLyokoXtEAM opened this issue Aug 18, 2017 · 4 comments
Labels

Comments

@CodeLyokoXtEAM
Copy link
Contributor

.elfinder-cwd-icon-audio-mpeg:after,
.elfinder-cwd-icon-audio-mpeg          { background: url('../img/items/mp3-audio-icon-big.ico') no-repeat; }

.elfinder-cwd-icon-video-mpeg:after,
.elfinder-cwd-icon-video-mpeg { background: url('../img/items/MPEG-video-icon-big.ico') no-repeat; }

this code doesn't work & only available for both .elfinder-cwd-icon-mpeg

@nao-pon
Copy link
Member

nao-pon commented Aug 19, 2017

@CodeLyokoXtEAM The icon has classes elfinder-cwd-icon-[type] and elfinder-cwd-icon-[sub type]. so video/mpeg has elfinder-cwd-icon-video and elfinder-cwd-icon-mpeg.

@CodeLyokoXtEAM
Copy link
Contributor Author

CodeLyokoXtEAM commented Aug 19, 2017

if use 'elfinder-cwd-icon-video' all video including .avi .mp4 .wma .etc icon are same.
But I have different icon for each files.
image

if use 'elfinder-cwd-icon-mpeg' .mp3 file is gone to mpeg icon
So How I can change without mixing .mp3 & .mpeg & other audio/video icons?

@nao-pon
Copy link
Member

nao-pon commented Aug 19, 2017

Please learn to control to priority of CSS. :-)

e.g.

.elfinder-cwd-icon-audio.elfinder-cwd-icon-mpeg:after,
.elfinder-cwd-icon-audio.elfinder-cwd-icon-mpeg          { background: url('../img/items/mp3-audio-icon-big.ico') no-repeat; }

.elfinder-cwd-icon-video.elfinder-cwd-icon-mpeg:after,
.elfinder-cwd-icon-video.elfinder-cwd-icon-mpeg { background: url('../img/items/MPEG-video-icon-big.ico') no-repeat; }

@CodeLyokoXtEAM
Copy link
Contributor Author

CodeLyokoXtEAM commented Aug 19, 2017

Thanks. Got it. 👍

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

No branches or pull requests

2 participants