-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathddmegamenu.css
102 lines (85 loc) · 1.96 KB
/
ddmegamenu.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
/* ######### Shared basic style for mega drop down menu DIV ######### */
.mega{
width:300px; /*default width of mega menu*/
padding:10px;
position:absolute;
visibility:hidden;
border:2px solid black;
border-top-width:1px;
background:white;
-webkit-box-shadow: 5px 5px 5px #c8c8c8; /*css 3 shadows*/
-moz-box-shadow: 5px 5px 5px #c8c8c8;
box-shadow: 5px 5px 5px #c8c8c8;
}
.mega .column{ /*each link column within a mega menu*/
float:left;
width:49%;
}
.mega a{
text-decoration:none;
}
.mega a[rel]:after{ /*add "down.png" to anchor links, or those with a rel attribute */
content:" " url(images/down.png);
}
.mega .column ul{
margin:0;
margin-left:5px;
padding:0;
list-style:none;
}
.mega .column ul li{
margin-bottom:3px;
}
.mega .ulmenu{ /*style any UL within mega menu with class="ulmenu"*/
margin:0;
padding:0;
border:1px solid gray;
border-bottom-width:0;
list-style:none;
}
.mega .ulmenu a{
display:block;
border-bottom:1px solid gray;
padding:5px;
}
.mega .ulmenu a:hover{
background:lightyellow;
}
/* ######### Style for Solid Block Mega Menu ######### */
.solidblocktheme{ /*additional mega drop down menu style for this theme*/
border:5px solid #cd0000;
padding:0; /*remove default padding inside mega menu*/
}
.solidblocktheme p, .solidblocktheme .column{
padding:5px; /*add padding inside p and .column elements within mega menu*/
width:auto;
}
.solidblockmenu{
margin: 0;
padding: 0;
float: left;
font: bold 13px Arial;
width: 100%;
overflow: hidden;
margin-bottom: 1em;
border: 1px solid #625e00;
border-width: 1px 0;
background: black url(/images/blockdefault.gif) center center repeat-x;
}
.solidblockmenu li{
display: inline;
}
.solidblockmenu li a{
float: left;
color: white;
padding: 9px 11px;
text-decoration: none;
border-right: 1px solid white;
}
.solidblockmenu li a:visited{
color: white;
}
.solidblockmenu li a:hover, .solidblockmenu li a.selected{ /*Selected Tab style*/
color: white;
background: transparent url(/images/blockactive.gif) center center repeat-x;
}