Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
5bc99d3b
Commit
5bc99d3b
authored
Aug 02, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
6b34d327
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
16 deletions
+9
-16
public.css
public/resource/css/public.css
+7
-14
public.js
public/resource/js/public.js
+2
-2
No files found.
public/resource/css/public.css
View file @
5bc99d3b
...
@@ -139,7 +139,7 @@ a:hover{
...
@@ -139,7 +139,7 @@ a:hover{
}
}
.open
>
a
#icon_more_menu
{
.open
>
a
#icon_more_menu
{
width
:
9px
;
width
:
9px
;
height
:
7
px
;
height
:
14
px
;
margin-left
:
10px
;
margin-left
:
10px
;
float
:
right
;
float
:
right
;
margin-top
:
2px
;
margin-top
:
2px
;
...
@@ -182,18 +182,6 @@ a:hover{
...
@@ -182,18 +182,6 @@ a:hover{
/*width: 100%;*/
/*width: 100%;*/
width
:
136px
;
width
:
136px
;
}
}
.sidebar-nav
li
:before
{
background-color
:
#ff9419
;
content
:
''
;
height
:
100%
;
left
:
0
;
position
:
absolute
;
top
:
0
;
/*-webkit-transition: width 0.2s ease-in;
transition: width 0.2s ease-in;*/
width
:
0px
;
z-index
:
-1
;
}
.sidebar-nav
.dropdown-menu
li
:before
{
.sidebar-nav
.dropdown-menu
li
:before
{
background
:
rgba
(
255
,
148
,
25
,
0.1
)
!important
;
background
:
rgba
(
255
,
148
,
25
,
0.1
)
!important
;
}
}
...
@@ -211,6 +199,9 @@ a:hover{
...
@@ -211,6 +199,9 @@ a:hover{
font-weight
:
700
;
font-weight
:
700
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.sidebar-nav
.dropdown-menu
li
a
{
padding
:
13px
0
13px
;
}
.sidebar-nav
.open
a
{
.sidebar-nav
.open
a
{
font-weight
:
400
;
font-weight
:
400
;
...
@@ -233,7 +224,9 @@ a:hover{
...
@@ -233,7 +224,9 @@ a:hover{
margin
:
0
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
position
:
relative
;
position
:
relative
;
width
:
100%
;
width
:
136px
;
left
:
0
;
top
:
0
;
}
}
.sidebar-nav
li
a
:hover
,
.sidebar-nav
li
a
:hover
,
.sidebar-nav
li
a
:active
,
.sidebar-nav
li
a
:active
,
...
...
public/resource/js/public.js
View file @
5bc99d3b
...
@@ -99,11 +99,11 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
...
@@ -99,11 +99,11 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
if
(
$
.
trim
(
_this
.
html
()).
indexOf
(
"隐藏"
)
!=-
1
){
if
(
$
.
trim
(
_this
.
html
()).
indexOf
(
"隐藏"
)
!=-
1
){
$
(
'#sidebar-wrapper'
).
hide
();
$
(
'#sidebar-wrapper'
).
hide
();
_this
.
html
(
'显示<img src="/resource/image/icon_down_hide@2x.png" class="text-icon-hide"/>'
);
_this
.
html
(
'显示<img src="/resource/image/icon_down_hide@2x.png" class="text-icon-hide"/>'
);
// $("#page-content-wrapper").css("width","88
%");//内容显示大小
$
(
"#page-content-wrapper"
).
css
(
"width"
,
"100
%"
);
//内容显示大小
}
else
{
}
else
{
$
(
'#sidebar-wrapper'
).
show
();
$
(
'#sidebar-wrapper'
).
show
();
_this
.
html
(
'隐藏<img src="/resource/image/icon_down@2x.png" class="text-icon-hide"/>'
);
_this
.
html
(
'隐藏<img src="/resource/image/icon_down@2x.png" class="text-icon-hide"/>'
);
// $("#page-content-wrapper").css("width","88
%");//内容显示大小
$
(
"#page-content-wrapper"
).
css
(
"width"
,
"86
%"
);
//内容显示大小
}
}
});
});
//显示操作里的按钮
//显示操作里的按钮
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment