Helpwanted: CSS Developer for WP/G2 Project
ozgreg
Joined: 2003-10-18
Posts: 1378 |
Posted: Sun, 2005-05-01 08:05 |
Technically this is G2 Customization, hope the moderator team will not mind this post. Progress is progressing rapidly for the WPG2 plug in, however we need some help in the form of a CSS developer who will cleanup the CSS stylesheets for the Wordpress Theme / Layout in Gallery2. If you are interested please register and reply to this topic -> http://wpg2.ozgreg.com/viewtopic.php?p=173#173 |
|
Posts: 32509
ozgreg, why not contact the author of the siriux theme?
Posts: 1378
I tried and did not get an answer.. I like the siriux theme clean look (I find Matrix tooo busy for me) however it lacks the admin / edit drop down boxes which are critical to G2. We also have had a had a few issues with the way the .inc still calls matrix templates and the way the admin is displayed (it is missing tabs etc) so we walked away from it and instead will implement a hybrid between matrix and siriux, mostly based on the matrix functionality with the siruix more simple look.
Posts: 7994
Nico did express an interest in doing more work on Siriux; I'll point him at this thread.
In the meantime, I've refactored the siriux layout so that it no longer depends on matrix at all. And it's now got a whole lot less PHP code so it's mostly template modifications. Take a look at the latest version.
Posts: 118
Ok, I just upgraded my Gallery to the current CVS version (gets better every time ) and had a look at the Siriux theme. While trying to adjust it to look as I want it to look I found some things:
- The imagemap navigation is missing (maybe due to some old code that made it into CVS)
- My own look for H3 and H4 (and some other elements) gets overwritten by the theme's CSS and there is no change to avoid this
So I guess it would be nice if there was a way to override *every* CSS definition to give web authors the possibility to adjust this theme to their sites.
By the way:
I'm currently using a very tricky combination to get rid of Gallery's own Matrix style in the "user" view, because it changed my default fonts and colors.
I'd like to have the following:
- Matrix (and other G2) CSS styles are included if (and only if) the admin page is displayed
- The "viewer" sees *no* g2 styles, just the Theme's CSS and the style defined in the global templates.
How can I do this?
Posts: 8601
What you're finding is that I changed many of the wordpress css class names to G2 theme classes so the layout appears somewhat ok in a standalone G2. However, I think it makes a lot of sense to have G2 layouts that are designed for embedding in other applications and are themed by those apps instead of by G2.
Perhaps you can update siriux layout to either have separate tpls that it uses when embedded in wordpress or some template variables to alter which class names get used by the tpl... what do you think? Then you can tailor the layout to look great in wordpress but still have something usable in standalone G2.
Posts: 32509
+1 for creating layouts for embedding. It's seems to be nearly impossible to have a layout (css) that works well in standalone and embedded.
Posts: 118
Well, it's not embedded in WordPress in my case, but a "lookalike" done by global.tpl and a global CSS file.
What I wanted to say is that CSS in general should be customizable, which is why I put the CSS file into the templates folder in my first version.
Posts: 8601
I don't follow.. why isn't the css customizable? If you mean because layout.css is in the layout dir instead of inside the templates dir, this doesn't matter.. you can still create a local/layout.css in the templates dir. But I can see how this could be confusing since people are used to creating templates/local.. maybe we should move all layout css/js back to templates dir.