[CSS3] box-shadow in styles

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.2.x. If you need support for phpBB 3.2.x please visit the 3.2.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Post Reply
User avatar
Meis2M
Registered User
Posts: 433
Joined: Fri Apr 23, 2010 10:18 am
Contact:

[CSS3] box-shadow in styles

Post by Meis2M »

[CSS3] box-shadow in styles

Hi. whats your idea about use box-shadow (css3) in styles sub2 and prosilver?
like:
box-shadow: 2px 2px 2px #666666;

this change is for prosilver i tested it and it will be so great:

Code: Select all

.navbar {
	padding: 0 10px;
	padding: 5px 10px 5px 10px;
	border-radius: 7px;
        box-shadow: 2px 2px 2px #666666;
}

.forabg {
	background: transparent none repeat-x 0 0;
	margin-bottom: 4px;
	padding: 5px;
	clear: both;
	border-radius: 7px;
        box-shadow: 2px 2px 2px #666666;
}

User avatar
DionDesigns
Registered User
Posts: 51
Joined: Sat Apr 21, 2012 4:29 am
Location: Uncertain due to momentum
Contact:

Re: [CSS3] box-shadow in styles

Post by DionDesigns »

I'm not a fan of outset box shadows on elements, though I suspect they would look really good on the poll bars.

Instead, I would use inset box shadows on selected elements. Here's an example:

Code: Select all

.navbar {
    background-color: #cdf;
    box-shadow: 0px 0px 15px #69e inset;
}

User avatar
Vinny
Style Customisations
Style Customisations
Posts: 129
Joined: Thu May 20, 2010 4:01 am
Location: Brazil
Contact:

Re: [CSS3] box-shadow in styles

Post by Vinny »

This is for styles authors, I see no purpose to add that to the default styles.

Post Reply