.menu-overlay { background: black; opacity: 0.15; position: fixed; padding: 0px; margin: 0px; top: 0px; left: 0px; width: 100%; height: 100%; z-index: 1000; } .menu-container { position: absolute; width: 250px; background: white; padding: 1px; border: 1px solid #ddd; font-size: 12px; } .menu-container hr { height: 1px; border: none; border-top: 1px solid #ccc; padding: 0px; margin: 2px 0px; } a.menu-item { display: block; padding: 5px 7px; text-decoration: none; color: black; white-space: pre; } a.menu-item:hover { color: #44a; background: #eee; } a.menu-item.menu-expanded { background: #ddd; } a.menu-item img { border: none; } table.menu-item-layout td { vertical-align: middle; } .menu-section { padding: 2px 7px; background: #aaa; color: white; font-weight: bold; }