Skip to content

Commit e5881ee

Browse files
committed
JDMenu
完成,出现bug,主菜单被删除
1 parent 2934d69 commit e5881ee

File tree

124 files changed

+31295
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+31295
-24
lines changed

.idea/workspace.xml

Lines changed: 133 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

JDMenu/css/base.css

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
.wrap{
2+
position: relative;
3+
width: 200px;
4+
left: 50px;
5+
top: 50px;
6+
}
7+
8+
ul{
9+
padding: 15px 0;
10+
margin: 0;
11+
list-style: none;
12+
background: #6c6669;
13+
color: #ffffff;
14+
border-right-width: 0;
15+
}
16+
17+
li{
18+
display: block;
19+
height:30px;
20+
line-height: 30px;
21+
padding-left: 12px;
22+
cursor: pointer;
23+
font-size: 14px;
24+
position: relative;
25+
}
26+
27+
li.active{
28+
background: #999395;
29+
}
30+
31+
li span:hover{
32+
color: #c81623;
33+
}
34+
35+
.none {
36+
display: none;
37+
}
38+
39+
#sub{
40+
width: 600px;
41+
position: absolute;
42+
border:1px solid #f7f7f7;
43+
background: #f7f7f7;
44+
-webkit-box-shadow: 2px 0 5px rgba(0, 0, 0, .3);
45+
-moz-box-shadow: 2px 0 5px rgba(0, 0, 0, .3);
46+
box-shadow: 2px 0 5px rgba(0, 0, 0, .3);
47+
left: 200px;
48+
top: 0;
49+
box-sizing: border-box;
50+
margin:0;
51+
padding: 10px;
52+
}
53+
54+
.sub_content a {
55+
font-size: 12px;
56+
color: #666;
57+
text-decoration: none;
58+
}
59+
60+
.sub_content dd a {
61+
border-left: 1px solid #e0e0e0;
62+
padding: 0 10px;
63+
margin: 4px 0;
64+
}
65+
66+
.sub_content dl {
67+
overflow:hidden;
68+
}
69+
70+
.sub_content dt {
71+
float: left;
72+
width: 70px;
73+
font-weight:bold;
74+
clear:left;
75+
position: relative;
76+
}
77+
78+
.sub_content dd {
79+
float: left;
80+
margin: 5px;
81+
border-top: 1px solid #eee;
82+
margin-bottom: 5px;
83+
}
84+
85+
.sub_content dt i{
86+
width: 4px;
87+
height: 14px;
88+
font: 400 9px/14px consolas;
89+
position: absolute;
90+
right: 5px;
91+
top: 5px;
92+
}

0 commit comments

Comments
 (0)