Closed (won't fix)
Project:
Panels
Version:
5.x-2.0-rc1a
Component:
Plugins - styles
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Dec 2008 at 01:25 UTC
Updated:
3 May 2010 at 13:23 UTC
hey guy i found a way to easily add rounded border to panel here is an example the code to include in your style.css theme (drupal 5)
#borderradius {
color: #fff;
background-color: #720779;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border: 1px solid #ccc;
padding: 10px;
}
then put the id in your panel. for this example you ll put borderradius in the box css id (inside the panel)
and here is example and other code http://www.css3.info/preview/rounded-border/
Also does anyone knows how to do the same thing for internet explorer ?
or make it compliant to all browser?
Comments
Comment #1
socialnicheguru commentedsubscribing thanks!
how is this different from using the rounded corners option in the layout of panels?
Comment #2
wallbay1 commentedWell for me the bid difference is that you can add background color , border color easily
while the one on panel has only one style.
Comment #3
sdboyer commentedIf the full cross-browser compatibility problem can be solved, then I'd consider adding this to Panels as its own style plugin. It'd need to be sufficiently different in visual appearance from the original rounded corners style.
If this is to be added, though, then it needs to be done properly - no "add stuff to your theme's css files." All of that can be done from within the style plugin itself, albeit a little awkwardly. I'm hoping that the technique for doing so should be pretty self-evident if you work from the existing style plugin include files.
Comment #4
wallbay1 commentedSweet. I will wait for that feature. Panel is an awesome module. whoever did Panel is clearly a genius
Comment #5
mindgarden commentedVery cool!
How to achieve the same effect in IE?
Comment #6
avpadernoComment #7
stephthegeek commentedIt's possible but involves using an HTC file and potentially tweaking markup: http://www.htmlremix.com/curved-corner-border-radius-cross-browser/
Comment #9
esmerel commentedPanels 3 has significant changes from Panels 2. No features will be added to Panels 2.
Comment #10
wallbay1 commentedComment #11
avpadernoThe issue has been already marked as ; there is no need to close it.