/
1-nav.css
106 lines (84 loc) · 2.83 KB
/
1-nav.css
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/**************** nav ***********************/
/* first element inside .top-nav. #hd .yui-top-nav .yuimenubar will ALWAYS be the ID, since we'll
never have more than one menubar on a single page */
#hd .yui-top-nav .yuimenubar {
padding-left:10px;
background:#576157;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
/* strip the padding placed by yui's style sheet*/
#hd .yui-top-nav .yuimenubar,
#hd .yui-top-nav .yuimenubar * {
border-width:0;
margin:0;
}
/* the menu bar's <li> list item*/
#hd .yui-top-nav .yuimenubar .yuimenubaritem {
}
#hd .yui-top-nav .yuimenubar .yuimenubaritem-hassubmenu {
}
/* the hover state of the menu bar's <li>*/
#hd .yui-top-nav .yuimenubar .yuimenubaritem-selected {
background:#808f5d;
}
#hd .yui-top-nav .yuimenubar .yuimenubaritemlabel-hassubmenu {
background-image:url(../images/menubaritem_submenuindicator.png);
background-position: 100% 50%;
background-repeat:no-repeat;
}
/* the <a> inside the <li>*/
#hd .yui-top-nav .yuimenubar .yuimenubaritemlabel {
color:#ffffff;
font-size:14px;
font-weight:bold;
padding:5px 20px 4px 10px;
cursor:pointer;
text-transform:uppercase;
}
#hd .yui-top-nav .yuimenubar .yuimenubaritemlabel-hassubmenu {
background-image:url(../images/menubaritem_submenuindicator.png);
background-position: 100% 50%;
background-repeat:no-repeat;
}
#hd .yui-top-nav .yuimenubar .yuimenubaritemlabel-hassubmenu-selected {
background-image:url(../images/menubaritem_submenuindicator_selected.png);
}
/* the hover state of the menu bar's <li>'s <a>*/
#hd .yui-top-nav .yuimenubar .yuimenubaritemlabel-selected {
color:#302f30;
}
/*** the drop down menus ***/
/* the drop down menu's sytlable wrapper*/
#hd .yui-top-nav .yuimenubar .yuimenu .bd {
border:1px solid #576157;
background:#98aa6f;
}
/* The drop menu's <li> (and all under it as well) */
#hd .yui-top-nav .yuimenubar .yuimenuitem {
background:none;
}
/* The hover state of the drop menu's <li> (and all under it as well) */
#hd .yui-top-nav .yuimenubar .yuimenuitem-selected {
background-color:#ffffff;
}
/* The drop menu's <li>'s <a> (and all under it as well) */
#hd .yui-top-nav .yuimenubar .yuimenuitemlabel {
padding-top:5px;
padding-bottom:5px;
text-transform:uppercase;
color:#ffffff;
}
/* The hover state of the drop menu's <li>'s <a> (and all under it as well) */
#hd .yui-top-nav .yuimenubar .yuimenuitemlabel-selected {
color:#302f30;
}
#hd .yui-top-nav .yuimenubar .yuimenuitemlabel-hassubmenu {
background-image:url(../images/menuitem_submenuindicator.png);
background-position: 100% 50%;
background-repeat:no-repeat;
}
#hd .yui-top-nav .yuimenubar .yuimenuitemlabel-hassubmenu-selected {
background-image:url(../images/menuitem_submenuindicator_selected.png);
}