New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

pronounce icon

General discussion

pronounce icon

Postby mmmmmm » Tue Jan 22, 2013 11:46 am

Can you update pronounce icon? , I don't like it.
mmmmmm
 
Posts: 110
Joined: Sat Jan 22, 2011 7:47 pm

Re: pronounce icon

Postby Tvangeste » Tue Jan 22, 2013 12:03 pm

mmmmmm wrote:Can you update pronounce icon? , I don't like it.

Nobody likes it, it seems :)

Well, at least for the sound icons inside the articles there are some CSS tricks to replace them.

Here's what I have in my article-style.css file to provide a custom sound icon:

Code: Select all
.dsl_s_wav img, .lsa_play img {
    display: none;
}

.dsl_s_wav a, .lsa_play td:nth-of-type(1) a {
    display: inline-block;
    width: 17px;
    height: 16px;
    background: url('file:///control_play_lingvo.png') no-repeat center;
    vertical-align: text-bottom;
}


And it looks like this (I borrowed the icon from Lingvo):
Image

But I agree that the original icon is ugly and looks dated (from 1990-s :) ).
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: pronounce icon

Postby Tvangeste » Tue Jan 22, 2013 12:08 pm

Just in case, I've filed a bug for this:
https://github.com/goldendict/goldendict/issues/182
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: pronounce icon

Postby mmmmmm » Tue Jan 22, 2013 12:51 pm

Thank you,
but nothing change after I used this .css code
is there .png or what ?
mmmmmm
 
Posts: 110
Joined: Sat Jan 22, 2011 7:47 pm

Re: pronounce icon

Postby Tvangeste » Tue Jan 22, 2013 1:03 pm

Yes, you need to supply your own png file with the specified name and put it at the same folder where your CSS file is.
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: pronounce icon

Postby mmmmmm » Tue Jan 22, 2013 2:14 pm

I can't edit my .css brother


here is free icons

http://findicons.com/icon/238013/kblogger?id=393483


You can search there
mmmmmm
 
Posts: 110
Joined: Sat Jan 22, 2011 7:47 pm

Re: pronounce icon

Postby Tvangeste » Tue Jan 22, 2013 3:38 pm

mmmmmm wrote:I can't edit my .css brother

If there is no article-style.css file in your configuration folder, you'd have to create it. The configuration folder location can be obtained via Menu->Help->Configuration Folder.
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: pronounce icon

Postby mmmmmm » Tue Jan 22, 2013 4:11 pm

It is clear and simple but my file name was article-style.css.css
this is the wrong .
mmmmmm
 
Posts: 110
Joined: Sat Jan 22, 2011 7:47 pm

Re: pronounce icon

Postby eneji » Tue Jan 22, 2013 5:56 pm

eneji
 
Posts: 11
Joined: Sat Feb 11, 2012 4:06 pm

Re: pronounce icon

Postby pesgd » Tue Jan 22, 2013 6:21 pm

that is a neat icon!

I suppose I still need to work out the right resolution, here´s how it will (won´t) show up on my GD:
Image

yayyy, now it works!
Image

i´m using the 16x16 icon, thank you mmmmm, eneji and tvangeste :)
pesgd
 
Posts: 56
Joined: Wed Dec 19, 2012 3:10 am

Next

Return to General

Who is online

Users browsing this forum: No registered users and 126 guests

cron