Attn: Theme and Module developers, major change in CSS class and id selectors

thumb
thumb's picture

Joined: 2004-05-26
Posts: 202
Posted: Sun, 2009-10-04 16:24

Sorry to spring this on everyone so late in the development cycle. The core team decided that the CSS class and id name format needed to be updated. I just pushed an update that changed our naming format from

gSelectorName to g-selector-name

We're working on a shared CSS style sheet with commonly used styles and further documentation outlining naming convention details is on it's way. Stay tuned. In the meantime, here are a few key changes:

#gContent > #g-content
#gBanner > #g-banner
#gSidebar > #g-sidebar

.gDialog > .g-dialog
.gDialogLink > .g-dialog-link
.gPanelLink > .g-panel-link

.gBlock > .g-block
.gBlockContent > .g-block-content

.gError > .g-error

etc.

Support the Gallery project with a donation
--
2tbsp.com

Login or register to post comments
thumb
thumb's picture

Joined: 2004-05-26
Posts: 202
Posted: Sun, 2009-10-04 17:59

Oh, I should mention that I've gone through and updated contributed module CSS. If you're a contributor, please pull and check things out to be sure everything is as it should be.

UPDATE: Just pushed updates for all contributed modules. Please review the diff and test your module's functionality. I have not thoroughly reviewed these changes.

Login or register to post comments
griffinmt
griffinmt's picture

Joined: 2009-09-06
Posts: 126
Posted: Fri, 2009-10-16 02:22

Would any of this account for a change in the header causing the 'Logged in as' and 'Logout' to have slid all the way to the left (above logo.png) and in fact appearing twice??

Martyn T. Griffin

Login or register to post comments
thumb
thumb's picture

Joined: 2004-05-26
Posts: 202
Posted: Fri, 2009-10-16 02:33

Not likely. Which browser and platform? Are you using the Wind theme?

Support the Gallery project with a donation
--
2tbsp.com

Login or register to post comments
griffinmt
griffinmt's picture

Joined: 2009-09-06
Posts: 126
Posted: Fri, 2009-10-16 03:04

Attached is a clip from Chrome showing the new placement in Wind.

It is the same behavior in IE8 and FF 3.0.14

BTW I just reloaded the latest experimental f5dd8d4 to make sure I was up to date.

Martyn T. Griffin

AttachmentSize
header.jpg4.37 KB
Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 16315
Posted: Fri, 2009-10-16 04:21

I don't see that behavior. in Chromium/IE and FF
Please start a new thread with a url.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
izvir

Joined: 2009-07-28
Posts: 4
Posted: Mon, 2009-11-09 21:42

Hello,
So far, themes from Beta version to Beta version (and now pre-RC1) were not compatible. When will be the time to start developing a theme that will work with final 3 version (for personal use, nothing special)? Are there any changes for the theme engine expected till the final 3 release?

Best regards,
Izvir

Login or register to post comments
thumb
thumb's picture

Joined: 2004-05-26
Posts: 202
Posted: Tue, 2009-11-10 02:49

@izvir There should be very little changed in the core CSS between now and the final 3.0 release. I think it's safe to dig in.

Support the Gallery project with a donation
--
2tbsp.com

Login or register to post comments