aboutsummaryrefslogtreecommitdiff
path: root/_scss/imports/scss/_MenuUI.scss
blob: e821e5cc171124c6cf7761f5e22f73d6ebae598b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// <copyright>
// This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
// No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
// (c) Copyright 2011 Motorola Mobility, Inc.  All Rights Reserved.
// </copyright>

/*
 * MenuUI.scss
 * Styles governing the main dropdown menu.
 * Note that colors and font definitions go in 
 * _scss/themes/themename/_colors.scss and _scss/themes/themename/_fonts.scss
 */
.menuBar {
    width:100%;
    border-style: solid;
    border-width: 1px;
    height: 22px;
    color: $color-menu-text;
    background: $color-menu-bg;
    border-color: $color-menu-border;
}

.menuBar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    float: left;
    cursor: default;
}

.menuBar li {
    font-size: 9pt;
    padding: 4px 10px;
    display: block;
    position: relative;
    background : $color-menu-bg;
    color : $color-menu-text;
}

.menuBar li li {
    width: 10em;
}
.menuBar li:hover {
    background : $color-menu-hilite-bg;
    color : $color-menu-hilite-text;
}

.menuBar li:active {
    background : $color-menu-active-bg;
}

/*Styles for positioning and display
Supports fly-out of sub-menus two levels deep only */

.menuBar ul ul {
    position: absolute;
    z-index: 500;
}

.menuBar ul ul ul {
    position: absolute;
    top: 0;
    left: 100%;
}

nav.menuBar ul ul,
nav.menuBar ul li:hover ul ul,
nav.menuBar ul ul li:hover ul ul {
    display: none;
}

nav.menuBar ul li:hover ul,
nav.menuBar ul ul li:hover ul,
nav.menuBar ul ul ul li:hover ul {
    display: block;
}