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

Background Color in 1.0.1-763-g8b23f07

Report bugs here

Background Color in 1.0.1-763-g8b23f07

Postby rambobender » Thu May 23, 2013 7:22 pm

Apologies if this has already been mentioned.

On the newest release of GoldenDict (1.0.1-763-g8b23f07), the program seems to override the article-style.css settings for the background color. In the Modern, Lingvo, and Babylon display styles, the entire article is now colored white. In the other settings, a tiny border of the background color can still be seen.

Is there a new command that is now required for the article-style.css, or is this a result of the fix to #297? If so, can you please allow article-style.css to override the background color in the next version? Staring at a white screen absolutely kills my eyes.

Thanks!
rambobender
 
Posts: 3
Joined: Thu May 23, 2013 7:01 pm

Re: Background Color in 1.0.1-763-g8b23f07

Postby Tvangeste » Thu May 23, 2013 8:16 pm

Please try to add !important at the end of the rule that sets the background in your css file. Something like this:
Code: Select all
background: gray !important;

Does that fix the problem?

The change was done in order to prevent some broken dictionaries to change backgrounds, etc.
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: Background Color in 1.0.1-763-g8b23f07

Postby rambobender » Fri May 24, 2013 7:54 pm

Hi, thanks for your response, but that doesn't seem to work. I still get an all-white background.
rambobender
 
Posts: 3
Joined: Thu May 23, 2013 7:01 pm

Re: Background Color in 1.0.1-763-g8b23f07

Postby Tvangeste » Fri May 24, 2013 8:16 pm

Here's what I have to adjust the color:

Code: Select all
html
{
  background: lightgray !important;
}

body
{
  background: lightgray !important;
}

.gdarticle
{
  background: lightgray !important;
}
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: Background Color in 1.0.1-763-g8b23f07

Postby rambobender » Sat May 25, 2013 3:53 pm

That worked!

I use GoldenDict on a daily basis, so this was very important to me. Thanks very very much both for the fix and for all the work on the program!
rambobender
 
Posts: 3
Joined: Thu May 23, 2013 7:01 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 9 guests