This patch adds "sticky" tag to the class of sticky nodes, thus enabling different styling for them.

CommentFileSizeAuthor
chameleon.theme_.patch802 bytessnufkin
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dmitrig01’s picture

Version: 5.x-dev » 6.x-dev
Dries’s picture

Let's add some CSS for styling too?

snufkin’s picture

I tried to do some nice highlighting, but i am not yet satisfied with what i could come up with. However there is an issue I noticed: .node has no padding, which means that the post's title, and content is right at the edge of the .node box. If we use coloured background for the .sticky nodes, it will look quite bad, so this needs a more thorough CSS hacking.

Dries’s picture

Status: Needs review » Needs work

I committed your patch, but I'll leave this as 'code needs work' until we have the CSS too. Thanks for step #1 of this patch.

bdragon’s picture

Status: Needs work » Active

*POKE!*

Pasqualle’s picture

Project: Drupal core » Chameleon
Version: 6.x-dev » 7.x-1.x-dev
Component: other » Code
JohnAlbin’s picture

Status: Active » Fixed

No longer relavent.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.