|
0
|
1 |
/* Styles for the button */ |
|
|
2 |
|
|
|
3 |
.yui-menubutton { |
|
|
4 |
margin: 10px; |
|
|
5 |
display: inline-block; |
|
|
6 |
text-decoration: none; |
|
|
7 |
color: #000; |
|
|
8 |
border-width: 1px 0; |
|
|
9 |
border-style: solid; |
|
|
10 |
border-color: #808080; |
|
|
11 |
background-color: #fff; |
|
|
12 |
} |
|
|
13 |
|
|
|
14 |
.yui-menubutton:focus { |
|
|
15 |
background-color: #B3D4FF; |
|
|
16 |
} |
|
|
17 |
|
|
|
18 |
.yui-menubutton span { |
|
|
19 |
border-width: 0 1px; |
|
|
20 |
border-style: solid; |
|
|
21 |
border-color: #808080; |
|
|
22 |
margin: 0 -1px; |
|
|
23 |
_margin: 0; /* Negative margins don't work correctly in IE 6, so |
|
|
24 |
don't use them. */ |
|
|
25 |
display: block; |
|
|
26 |
} |
|
|
27 |
|
|
|
28 |
.yui-menubutton span span { |
|
|
29 |
border: solid 1px #ccc; |
|
|
30 |
margin: 0; |
|
|
31 |
padding: 2px 20px 2px 4px; |
|
|
32 |
background: url(menu-button-arrow.png) right center no-repeat; |
|
|
33 |
} |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
/* Styles for the menu */ |
|
|
37 |
|
|
|
38 |
.yui-buttonmenu-content { |
|
|
39 |
font-size: 93%; /* 12px */ |
|
|
40 |
line-height: 1.5; /* 18px */ |
|
|
41 |
*line-height: 1.45; /* For IE */ |
|
|
42 |
border: solid 1px #808080; |
|
|
43 |
background: #fff; |
|
|
44 |
padding: 3px 0; |
|
|
45 |
} |
|
|
46 |
|
|
|
47 |
.yui-buttonmenu-content ul { |
|
|
48 |
margin: 0; |
|
|
49 |
padding: 0; |
|
|
50 |
} |
|
|
51 |
|
|
|
52 |
.yui-buttonmenu-content li { |
|
|
53 |
list-style-type: none; |
|
|
54 |
padding: 0 20px; |
|
|
55 |
} |
|
|
56 |
|
|
|
57 |
.yui-buttonmenu-content input { |
|
|
58 |
background-color: transparent; |
|
|
59 |
border: 0; |
|
|
60 |
color: #000; |
|
|
61 |
*overflow: visible; /* Remove superfluous padding on <BUTTON>s in IE. */ |
|
|
62 |
padding: 0; |
|
|
63 |
} |
|
|
64 |
|
|
|
65 |
.yui-menuitem-active { |
|
|
66 |
background-color: #B3D4FF; |
|
|
67 |
} |
|
|
68 |
|
|
|
69 |
.yui-menu-shadow { |
|
|
70 |
position: absolute; |
|
|
71 |
z-index: -1; |
|
|
72 |
top: 2px; |
|
|
73 |
left: -3px; |
|
|
74 |
background-color: #000; |
|
|
75 |
opacity: .12; |
|
|
76 |
filter: alpha(opacity=12); /* For IE since it doesn't implement the |
|
|
77 |
CSS3 "opacity" property. */ |
|
|
78 |
padding: 1px 3px 0 3px; |
|
|
79 |
width: 100%; |
|
|
80 |
height: 100%; |
|
|
81 |
} |