Identifying a colour on stylesheet?

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
User avatar
davethecat
Registered User
Posts: 71
Joined: Sun Jan 26, 2014 7:26 pm

Identifying a colour on stylesheet?

Post by davethecat »

Hello,

I wonder if anyone could advise please - I have searched for hours for this, and can't find it...

We upgraded to 3.2.4 yesterday, and now need to re-instate our usual colours on our board. I've been going through styles/prosilver/theme/colours.css identifying and changing the colour codes, but I am stumped on one - I just can't seem to locate it. It's the main background colour on the board menu page, (see screenshot). Does anyone know what colour code that is - or which line on the stylesheet it is - or even if that particular colour is on a different stylesheet maybe?

If anyone knows, I would be grateful, thanks!

(sorry - just realised I probably should have posted this in the styles forum, but can't see how to move it now?)
Attachments
blue-background.jpg
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Identifying a colour on stylesheet?

Post by canonknipser »

Did you try the web developer tools which are part of nearly any main browser? Eg. in Firefox you reach them by pressing F12.
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
milaf
Registered User
Posts: 5
Joined: Sat Dec 08, 2018 5:07 pm

Re: Identifying a colour on stylesheet?

Post by milaf »

It's not a color, this is why is hard to reach.
It's a Gradient, lines 321-325
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Identifying a colour on stylesheet?

Post by david63 »

milaf wrote: Wed Dec 12, 2018 2:24 pm It's not a color, this is why is hard to reach.
It's a Gradient, lines 321-325
It makes no difference as to whether it is a gradient or not the inspector in the browser's developer tools will show you exactly which line of which file it is coming from.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26502
Joined: Fri Aug 29, 2008 9:49 am

Re: Identifying a colour on stylesheet?

Post by Mick »

Q: Is that gradient colouring still created with a .gif or is there new .css magic going on?
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
mrgoldy
Former Team Member
Posts: 1394
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs
Contact:

Re: Identifying a colour on stylesheet?

Post by mrgoldy »

Code: Select all

/*
--------------------------------------------------------------
Colours and backgrounds for content.css
-------------------------------------------------------------- */

ul.forums {
	background-color: #EEF5F9; /* Old browsers */ /* FF3.6+ */
	background-image: -webkit-linear-gradient(top, #D2E0EB 0%, #EEF5F9 100%);
	background-image: linear-gradient(to bottom, #D2E0EB 0%,#EEF5F9 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#D2E0EB', endColorstr='#EEF5F9',GradientType=0 ); /* IE6-9 */
}
Developer tools or just right lick on it and "inspect".
phpBB Studio / Member of the Studio

Contributing: You can do it too! Including testing Pull Requests (PR).
phpBB Development and Testing made easy.
User avatar
davethecat
Registered User
Posts: 71
Joined: Sun Jan 26, 2014 7:26 pm

Re: Identifying a colour on stylesheet?

Post by davethecat »

Thanks so much for the help & advice. I have just changed those two gradient colours and all is fine now.
Cheers!!
User avatar
Hanakin
Front-End Dev Team Lead
Front-End Dev Team Lead
Posts: 1065
Joined: Wed Dec 30, 2009 8:14 am
Name: Michael Miday
Contact:

Re: Identifying a colour on stylesheet?

Post by Hanakin »

Mick wrote: Wed Dec 12, 2018 3:48 pm Q: Is that gradient colouring still created with a .gif or is there new .css magic going on?
there are no images anymore other than some icons
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26502
Joined: Fri Aug 29, 2008 9:49 am

Re: Identifying a colour on stylesheet?

Post by Mick »

Cheers 👍🏼

Making gif gradients was a real pita, been up all night getting them right in the past.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
Post Reply

Return to “[3.2.x] Styles Support & Discussion”