Advertisement:

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004776SMF 2.1Templatepublic2011-06-26 20:262012-06-15 18:42
ReporterAntechinus 
PrioritynormalSeverityminorReproducibilityN/A
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0004776: Minor CSS tweaks for drop menus
Description1/ Should really have this added to highlight the chosen secton in admin,etc:

.dropmenu li li a.chosen
{
    font-weight: bold;
}

2/ Should also really have a >> indicator on second level links where there is a third level sub menu.

3/ Positioning and styling tweaks as per my variants, for better looks and usability. Don't forget to add them. :P

.dropmenu li ul
{
    z-index: 90;
    display: none;
    position: absolute;
    left: -6px;
    width: 17em;
    font-weight: normal;
    background: #fff url(../images/theme/menu_gfx.png) -30 -137px repeat-x;
    border: solid 1px #999;
    border-radius: 4px;
    box-shadow: 1px 2px 2px 1px #999;
    padding: 6px 0 2px 0;
}
.dropmenu li li
{
    width: 17em;
    margin: 0;
}
.dropmenu li li a span
{
    display: block;
    padding: 8px;
}
.dropmenu li ul ul
{
    margin: -2.4em 0 0 15em;
    padding: 2px 0;
}
Tags2.1
Attached Files

- Relationships

-  Notes
(0014487)
Spuds (SMF Friend)
2012-03-05 23:08

Added a subsections class to the menus (that have a subsection) to help with css styling (in place of the ...)

e.g.
.dropmenu li li.subsections
{
    background: url(../images/admin/subsection.gif) no-repeat 98% center;
}

this also gets appended to the additional_items class as "additional_items subsection"
(0014520)
Spuds (SMF Friend)
2012-03-15 22:43
edited on: 2012-03-30 08:50

Commit:a33e5645fcfb05ee78107104e5f0a253f243129e

* ! [Bug 4776] Minor CSS tweaks for drop menus. Adds some basic css(3) to the drop menus.

Commit:8162aabd14b6859feb1fb11c16fb917a74ed84b3

! Additional menu refinements and restructuring

MantisBT 1.2.8 (Modified)[^] Copyright © 2000 - 2010 Mantis Group