1.修复菜单名太长无法显示的问题

2.增长菜单宽度
This commit is contained in:
chenjinsong
2018-10-18 18:05:13 +08:00
parent 1239920b9c
commit 2ec7c7a084
3 changed files with 53 additions and 59 deletions

View File

@@ -4,8 +4,8 @@
/* 以上实际使用若已初始化可删除 */
/* nav */
.nav{width: 220px;height: 100%;background: #263238;transition: all .3s;text-transform: capitalize;}
.nav a{display: block;overflow: hidden;padding-left: 10px;line-height: 46px;max-height: 46px;color: #ABB1B7;transition: all .3s;}
.nav{width: 210px;height: 100%;background: #263238;transition: all .3s;text-transform: capitalize;}
.nav a{display: block;overflow: hidden;padding-left: 10px;line-height: 46px;color: #ABB1B7;transition: all .3s;word-wrap:break-word;text-align: left;margin-right:10px;}
.nav a span{margin-left: 30px;}
.nav-item{position: relative;}
.nav-item + .nav-item{

View File

@@ -420,24 +420,17 @@ html, body {
_overflow-x:hidden;
_overflow-y:hidden;
}
.nav{
width:200px;
}
.nav a{
text-align: left;
}
.nav a span{
margin-left: 40px;
}
.middle_tab{
left: 180px;
left: 210px;
}
.middle_right{
left : 185px;
left : 215px;
}
@@ -571,7 +564,7 @@ html, body {
<table>
<tr valign="buttom" id="titles">
<td width="100%" height="18" background="<c:url value='/images/main_58.png'/>">
<div align="center" style="width: 180px;background-color: #a81e32">
<div align="center" style="width: 210px;background-color: #a81e32">
<span id="show" class="STYLE1"
style="color: rgb(242, 229, 229);cursor:pointer; font-weight: bold;width: 100%">▽i18n_main.text.show1_n81i▽</span>
</div>

View File

@@ -478,6 +478,7 @@ body {
var thisheight = $(document).height()*0.9;
var thiswidth = $(document).width()*0.9;
window.top.layer.open({
title: 'i18n_main.text.show1_n81i',
type: 1,
area: [thiswidth + 'px', thisheight + 'px'],
scrollbar: true,