Here is a basic patch that does two major things:
1.) Adds a special class for the current selected layout which can be used by themers for additional customization of the new choose layout screen
2.) Hides the layout selection widget in cases where there is only one category to choose from
| Comment | File | Size | Author |
|---|---|---|---|
| panels-layout-selection-improvement.patch | 5.24 KB | populist |
Comments
Comment #1
merlinofchaos commentedI cleaned this up a bit and committed. Using layout['theme'] to identify a layout is wrong, that doesn't necessarily match the name. $layout['name'] is always good, however.
It adds a class but there's no CSS tied to that class -- was that supposed to be in this patch?
Comment #2
populist commentedThe current-layout class was added for future theme/design improvements to that interface. The only CSS I could think of is to make that background have a different color, but that needs some more testing/standardization. Thanks for the commit!