Thursday, June 21, 2012

EPIServer context menu font color issue

The context menu (right click menu) in EPiServer 6 is (as you might have noticed) some kind of grey with the menu item's font color being white. That is, of everything is as it should be.
But f you have built a couple of CMS6 sites you've probably run into the issue of the context menu font color getting black instead of the normal white, which will make the items in the menu pretty much unreadable for the average human eye.

If you want your context menu to be readable again you probably wanna set it back to white or some other color with better contrast against that grayish color of the background. So, how can accomplish that then?Well, dont worry! Of course Nansen comes to your rescue and here is a quick fix:

/* -----------EPi contextmenyhack ------------------- */
.ContextMenuItem, .ContextMenuItem-Active, .ContextMenuItemDisabled, .ContextMenuItemDisabled-Active { color: #fff; }
/* ------------------------------ */

Thanx to @codingbug (aka Goose)

Would be nice if EPiserver fixed this and the context menu positioning bug in Chrome...

Monday, June 11, 2012

NDC - inspirational and educational

NDC this year was the fifth since the start 2008 and my first. It started out awesomely with a terrific key note speech by Aral Balkan about the importance of designing for the human, and continued in the same fashion with excellent talks by Hadi Hariri and Robert C. Martin, some interesting points about the vulnerability of compiled .NET applications by Jon McCoy and a first look (for me, that is) on the Metro design principles by Laurent Bugnion.

All this was very inspiring and the first day kick-started the conference in great fashion. The real highlight, however, was the talk by Damian Edwards on the SignalR framework. An excellent async framework for building real-time .NET applications. It provides a simple means of pushing information from the server to all connected clients, a task which has so far been quite hard to accomplish. SignalR abstracts away most of the networking and heavy lifting required and leaves you with a clean and simple API to build whatever application you want.

Another thing that I found very interesting was the new Github client for Windows that Phil Haack introduced in his GitHub talk. It's a streamlined WPF app that simplifies the use of GitHub repositories and gives you a nice GUI in which to handle your source code.

In between those two tech heavy talks I managed to sneak in some UX with Billy Hollis where he taught us to "unlock the invisible cage". Second to Damian Edwards this was my favourite talk of the whole conference!

Further more we had a look at the new async features of Visual Studio 11, REST with ASP.NET MVC and why and how to really care about code quality.

All in all probably the best conference I've been to. Ever!

Friday, June 8, 2012

Greetings from NDC Oslo

Greetings from the fifth annual Norwegian Developers Conference. Myself, Robert Linde, Andreas Oldeskog, Kalle Allvar Gaus and Jenny Atmer are currently here and have attended several really interesting sessions with brilliant speakers. Unfortunately there will not be much time to blog about what we've seen while we're here but we hope to compensate for that when we get back. Meanwhile you can enjoy this really awesome keynote from Aral Balkan.