Closed (outdated)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2011 at 22:10 UTC
Updated:
20 Jul 2026 at 18:03 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
wjaspers commentedHere's my ctools/includes/stylizer.inc file as it stands.
The new properties as mentioned above won't work without putting the contents of the attached pane-css3.zip into "panels/plugins/style_bases/pane".
I'm also working on a css3 style for regions.
NOTE: The stylizer.inc I've attached is NOT a patch. When i'm finished tuning this, I'll generate one.
Comment #2
wjaspers commentedAdded: CSS3 colums, text-shadow, box-resize; transform: skew, rotation, scale. I think that will be all for now.
My stylizer.inc is included below, as well as my CSS3 Pane Panel base style. I still have to build a CSS3 region pane.
Otherwise, this all works.
My code generates vendor specific output first, and then the W3C recommended format, so everything should work across most browsers trying to accomplish some CSS3.
Whoops: Column rule color doesn't grab the color property-will be fixed.
Comment #3
wjaspers commentedHere's the Region CSS3 style base, and a fixed Stylizer.inc.
Comment #4
wjaspers commentedComment #5
wjaspers commentedforgot to include the patch file itself.
Should I submit patches for the style bases here or in the Panels queue?
Comment #6
merlinofchaos commentedPanels queue, but please link.
I'm doing some serious CTools work this week so I should look at this patch in detail within the next few days.
Comment #7
wjaspers commentedLink to Style bases for Pane_CSS3 and Region_CSS3: http://drupal.org/node/1134092
Comment #8
tim.plunkettRerolled the patches, but this a HUGE addition. Not so sure it's worth it.
1 files changed, 739 insertions(+), 9 deletions(-)Comment #9
wjaspers commentedWHOA. Thanks for re-rolling this.
I agree with you, especially after seeing some nonos in my prior patches, inaccurate comments/documentation, and things I'd probably do differently today.
We might be able to drop things like vendor prefixes, as generic support across the major browsers seems to have covered most of it. If I'm not mistaken, additional support for some of these things can be provided through javascript libraries.
Just out of curiosity, were these features helpful, or more of a just-looking-to-see-if-it-works?
Comment #10
tim.plunkettOh I didn't actually test this. Just queue farming.
I agree about the vendor prefixes. Which removes a lot of the complexity here.
Comment #11
philsward commentedKind of curious where this stands? I would love to see some CSS3 love added to stylizer myself, though I am at the mercy of manually coding each region by hand (can't help in the programming area).
I was just browsing the issue queue to see if there is a reason ctools creates a gazillion files for rounded corner and box-shadow images and ran across this.
Creating a .tar.gz backup of my file structure takes about 6-7 min and it's nothing but ctools temp files for the stylizer images :-/ Moving this to the CSS3 method would be nice for getting rid of the dozen or so requests for each file download.
Comment #13
chris matthews commentedThe 7 year old patch in #8 to stylizer.inc still applies to the latest ctools 7.x-1.x-dev, but still needs to be officially reviewed and tested by the community.
Comment #14
philsward commented@Chris2 Just tried it out and unless I'm missing something, it doesn't work as expected.
The problem with stylizers way of dealing with rounded corners back when stylizer was created, was to more-or-less handle IE6. Every edge, every corner is a .png file. Back then, rounded corners and box-shadows were in a proposed state for css3 even though major browsers accepted some form of them. Fastforward a decade and we have HTML5 + CSS3 which have rounded corners and box shadows officially supported. We really don't need the old .png method for backwards compatibility anymore.
After installing the patch and when setting a pane to "Rounded Corners", I would expect the pane to have the styling accomplished through css, not the old way of PNGs. I'm still seeing the PNGs. Maybe you can point me in the right direction? Otherwise, the patch doesn't work the way I nor most people might expect it to :-/
I think more folks would have used stylizer if it were up-to-date but since D7 is gone in 3 years and a lot of folks are jumping to D8 and panels is officially defunct in D8, I honestly don't see the need to keep this issue open anymore. I quit using stylizer years ago when CSS3 officially dropped due to the lack of forward compatibility that was hopefully supposed to be addressed by this issue. I just code the panes myself by hand now and I have a feeling most folks do too.
I do know one older gentleman who does still use stylizer, so maybe it's all-for-not by fixing this properly and getting rid of the outdated png method which generates a crazy amount of files. I got tired of backing up MB worth of stylizer pngs which was my motivation to dump it altogether.
I'm good to help test, but won't be any help on the patches.
Comment #15
japerryDrupal 7 is no longer supported, closing.