Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
纵之格
ShopXO
提交
d836aeef
ShopXO
项目概览
纵之格
/
ShopXO
通知
394
Star
16
Fork
11
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
d836aeef
编写于
2月 28, 2019
作者:
G
gongfuxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
菜单优化
上级
eed5ef50
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
17 addition
and
7 deletion
+17
-7
public/static/admin/default/css/common.css
public/static/admin/default/css/common.css
+14
-4
public/static/admin/default/js/index.js
public/static/admin/default/js/index.js
+3
-3
未找到文件。
public/static/admin/default/css/common.css
浏览文件 @
d836aeef
...
...
@@ -396,7 +396,7 @@ ul {margin-top:0;}
/*---right Content---*/
.content-right
{
overflow
:
auto
;
flex
:
1
;
-webkit-flex
:
1
;}
.content-right
.content
{
padding
:
10px
10px
0
10px
;}
.admin-sidebar-list
li
a
{
padding
:
0.6rem
0
0.6rem
1.6rem
;}
.admin-sidebar-list
li
a
{
padding
:
0.6rem
;}
.common-left-menu
a
:hover
{
background
:
rgba
(
118
,
119
,
120
,
0.1
);
}
.common-left-menu-active
{
background
:
rgba
(
118
,
119
,
120
,
0.3
)
!important
;
color
:
#fff
!important
;}
#ifcontent
{
border
:
0px
;
overflow-x
:
hidden
;}
...
...
@@ -435,7 +435,8 @@ ul {margin-top:0;}
}
.menu-mini
.nav-name
,
.menu-mini
.am-icon-angle-down
,
.menu-mini
.admin-sidebar-sub
{
display
:
none
}
.menu-mini
.admin-sidebar-list
li
a
{
padding-left
:
10px
}
.menu-mini
.nav-name
,
.menu-mini
.am-icon-angle-down
,
.menu-mini
.admin-sidebar-sub
{
display
:
none
}
.menu-mini
.admin-sidebar-list
li
{
text-align
:
center
;}
/**
* mini开关
...
...
@@ -445,9 +446,18 @@ ul {margin-top:0;}
/**
* mini小icon
*/
.menu-mini-container-tips
{
position
:
absolute
;
left
:
68px
;
top
:
0
;
padding
:
0
10px
;
width
:
auto
;
height
:
35px
;
line-height
:
35px
;
text-align
:
center
;
color
:
#fff
;
background-color
:
#4884ff
;
-webkit-box-shadow
:
0
0
5px
rgba
(
0
,
0
,
0
,
.2
);
-moz-box-shadow
:
0
0
5px
rgba
(
0
,
0
,
0
,
.2
);
box-shadow
:
0
0
5px
rgba
(
0
,
0
,
0
,
.2
);
font-weight
:
700
;
display
:
none
}
.menu-mini-container-tips
span
{
font-size
:
12px
}
.menu-mini-container-tips
.mui-mbar-tab-tip
,
.menu-mini-container-popup
.mui-mbar-tab-tip
{
position
:
absolute
;
width
:
16px
;
height
:
16px
;
line-height
:
16px
;
text-align
:
center
;
font-size
:
16px
;
font-family
:
"\5b8b\4f53"
;
top
:
10px
;
left
:
-8px
;
z-index
:
0
;
color
:
#4884ff
}
.menu-mini-container-tips
{
position
:
absolute
;
left
:
68px
;
top
:
0
;
padding
:
0
10px
;
width
:
auto
;
height
:
35px
;
line-height
:
35px
;
text-align
:
center
;
color
:
#fff
;
background-color
:
#4884ff
;
-webkit-box-shadow
:
0
0
5px
rgba
(
0
,
0
,
0
,
.2
);
-moz-box-shadow
:
0
0
5px
rgba
(
0
,
0
,
0
,
.2
);
box-shadow
:
0
0
5px
rgba
(
0
,
0
,
0
,
.2
);
font-weight
:
700
;
display
:
none
}
.menu-mini-container-tips
span
{
font-size
:
12px
}
.menu-mini-container-tips
.mui-mbar-tab-tip
,
.menu-mini-container-popup
.mui-mbar-tab-tip
{
position
:
absolute
;
width
:
16px
;
height
:
16px
;
line-height
:
16px
;
text-align
:
center
;
font-size
:
16px
;
font-family
:
"\5b8b\4f53"
;
top
:
10px
;
left
:
-8px
;
z-index
:
0
;
color
:
#4884ff
}
/**
* mini子菜单
*/
.menu-mini-container-popup
{
background
:
#36373c
;
position
:
absolute
;
left
:
68px
;
top
:
0
;
min-width
:
120px
;
height
:
auto
;
display
:
none
}
.menu-mini-container-popup
ul
{
margin
:
0
;
padding
:
0
}
.menu-mini-container-popup
ul
li
{
line-height
:
35px
;
list-style-type
:
none
}
.menu-mini-container-popup
ul
li
a
{
padding
:
0
10px
;
display
:
block
;
color
:
#fff
}
.menu-mini-container-popup
ul
li
a
:hover
{
background
:
rgba
(
118
,
119
,
120
,
0.1
)}
.menu-mini-container-popup
ul
li
a
span
{
font-size
:
12px
}
.menu-mini-container-popup
ul
li
:not
(
:last-child
)
{
border-bottom
:
1px
solid
#2e2e31
}
.menu-mini-container-popup
.mui-mbar-tab-tip
{
color
:
#36373c
}
\ No newline at end of file
.menu-mini-container-popup
{
background
:
#36373c
;
position
:
absolute
;
left
:
68px
;
top
:
0
;
min-width
:
120px
;
height
:
auto
;
display
:
none
}
.menu-mini-container-popup
ul
{
margin
:
0
;
padding
:
0
}
.menu-mini-container-popup
ul
li
{
line-height
:
35px
;
list-style-type
:
none
}
.menu-mini-container-popup
ul
li
a
{
padding
:
0
10px
;
display
:
block
;
color
:
#fff
}
.menu-mini-container-popup
ul
li
a
:hover
{
background
:
rgba
(
118
,
119
,
120
,
0.1
)}
.menu-mini-container-popup
ul
li
a
span
{
font-size
:
12px
}
.menu-mini-container-popup
ul
li
:not
(
:last-child
)
{
border-bottom
:
1px
solid
#2e2e31
}
.menu-mini-container-popup
.mui-mbar-tab-tip
{
color
:
#36373c
}
\ No newline at end of file
public/static/admin/default/js/index.js
浏览文件 @
d836aeef
...
...
@@ -77,11 +77,11 @@ $(function()
$
(
'
.menu-mini-container-tips
'
).
hide
();
if
(
status
==
0
)
{
$
(
this
).
animate
({
left
:
"
64
px
"
},
300
);
$
(
this
).
animate
({
left
:
"
59
px
"
},
300
);
$
(
this
).
removeClass
(
'
am-icon-angle-double-left
'
).
addClass
(
'
am-icon-angle-double-right
'
);
$
(
'
#admin-offcanvas
'
).
addClass
(
'
menu-mini
'
);
$
(
'
#admin-offcanvas
'
).
animate
({
width
:
"
60
px
"
},
300
);
$
(
'
#ifcontent
'
).
css
({
"
width
"
:
"
calc(100% -
60
px)
"
});
$
(
'
#admin-offcanvas
'
).
animate
({
width
:
"
55
px
"
},
300
);
$
(
'
#ifcontent
'
).
css
({
"
width
"
:
"
calc(100% -
55
px)
"
});
}
else
{
$
(
this
).
animate
({
left
:
"
189px
"
},
300
);
$
(
this
).
removeClass
(
'
am-icon-angle-double-right
'
).
addClass
(
'
am-icon-angle-double-left
'
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录