Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

CSS Snippet to show 'New!' in categories list (NOT unread count)

AaronWebsteyAaronWebstey ✭✭✭
edited January 2015 in Vanilla 2.0 - 2.8

Is background colour not enough of an indicator for you? I use this in my theme's custom.css to show a 'New!' notifier, similar to the yellow 'X new' one on the Recent Discussions page.

.CategoryList .Unread::after {
  content: "New!";
  position: absolute;
  top: 13px;
  right: 30px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  background: #FF0;
  color: #000;
  font-size: 9px;
  font-weight: bold;
  padding: 3px;
  line-height: 1;
  white-space: nowrap;
}

Comments

Sign In or Register to comment.