phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

[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.1/Ascreaus followed by 3.2/Arsia.

[CSS3] box-shadow in styles

Postby Meis2M » Sun Jul 15, 2012 10:16 am

[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
Meis2M
Registered User
 
Posts: 213
Joined: Fri Apr 23, 2010 10:18 am

Re: [CSS3] box-shadow in styles

Postby DionDesigns » Mon Jul 16, 2012 6:20 am

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
DionDesigns
Registered User
 
Posts: 46
Joined: Sat Apr 21, 2012 4:29 am
Location: Uncertain due to momentum

Re: [CSS3] box-shadow in styles

Postby Vinny » Mon Jul 16, 2012 5:38 pm

This is for styles authors, I see no purpose to add that to the default styles.
User avatar
Vinny
Styles Team
Styles Team
 
Posts: 91
Joined: Thu May 20, 2010 4:01 am
Location: Brazil


Return to [3.x] Discussion

Who is online

Users browsing this forum: No registered users and 13 guests