forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: antiother on December 13, 2011, 06:48:07 pm

Title: how do you chage the colour of the "browse" button text??
Post by: antiother on December 13, 2011, 06:48:07 pm
Good day,


Regards,
antiother
Title: Re: how do you chage the colour of the "browse" button text??
Post by: antiother on December 13, 2011, 07:05:21 pm
(update on the situation!!)

It looks like I found the controlling css selector for this element.

I just added "colour: #000;" to the "div.fieldset" selector in the "style.css" file and the text now seems to be black like I was hoping for.

I appreciate your time if you read my question, but it looks like this one is solved. @antiother thanks you ^_^

Regards,
antiother
Title: Re: how do you chage the colour of the "browse" button text??
Post by: antiother on December 13, 2011, 07:18:26 pm
(update on the situation!!)

It looks like I found the controlling css selector for this element.

I just added "colour: #000;" to the "div.fieldset" selector in the "style.css" file and the text now seems to be black like I was hoping for.

I appreciate your time if you read my question, but it looks like this one is solved. @antiother thanks you ^_^

Regards,
antiother

Well, I hit ctrl+f5 and the button colour changed back to awful. HELP PLEASE!! I have the same problem again. Where do I edit to change the colour of this text??
Title: Re: how do you chage the colour of the "browse" button text??
Post by: antiother on December 13, 2011, 07:46:44 pm
HA!! fixed ^_^ I found the file I had to edit to change the colour!!

edit the line:
Code: [Select]
button_disabled_style = '.browse { font-family: Arial,Helvetica,sans-serif; color: #D0CFD0;}'; in the file: "upload.js" found at "gallery root directory > js > upload.js".

i changed the color property to #000 (shorthand hash value for black)

all solved :)) thanks again.

Regards,
antiother
Title: Re: how do you chage the colour of the "browse" button text??
Post by: Αndré on December 14, 2011, 10:44:33 am
The button style changes automatically as soon as you choose an album. As that button is disabled if no album is selected, it's displayed accordingly.

However, thanks for resolving your thread.
Title: Re: Re: how do you chage the colour of the "browse" button text??
Post by: JulioF on May 10, 2016, 01:34:45 am
I was encountering the same problem, using the "Curves" theme. Very difficult to read the text inside that button! And yes, I had an album open/selected.

Thanks to antiother for the info! Very helpful! Saved me much wasted time.

Sorry, André. The button is displayed in "disabled" mode regardless. Someone may want to fix this issue.

The button style changes automatically as soon as you choose an album. As that button is disabled if no album is selected, it's displayed accordingly.

However, thanks for resolving your thread.
Title: Re: how do you chage the colour of the "browse" button text??
Post by: Αndré on May 10, 2016, 09:30:31 am
The button is displayed in "disabled" mode regardless. Someone may want to fix this issue.

Today it doesn't work anymore, while it in 2011. Reason:

that happens since quite a while because of some changes with the Flash player (worked until Flash player 9 or so)


However, I'll consider to change the default button text color.
Title: Re: how do you chage the colour of the "browse" button text??
Post by: Αndré on May 10, 2016, 11:12:13 am
Changed default color of flash upload button in SVN revision 8844. Will be part of cpg1.5.42.
Title: Re: how do you chage the colour of the "browse" button text??
Post by: ron4mac on May 10, 2016, 02:09:15 pm
The flash upload 'browse' button UI has been corrected in CPG 1.6 as well.