Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
solo
Commits
907c9a70
Commit
907c9a70
authored
Jul 04, 2016
by
Van
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
article menu
parent
85a476cb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
68 deletions
+64
-68
src/main/webapp/skins/next/css/main.css
src/main/webapp/skins/next/css/main.css
+19
-38
src/main/webapp/skins/next/css/next.css
src/main/webapp/skins/next/css/next.css
+14
-8
src/main/webapp/skins/next/js/next.js
src/main/webapp/skins/next/js/next.js
+30
-22
src/main/webapp/skins/next/macro-comments.ftl
src/main/webapp/skins/next/macro-comments.ftl
+1
-0
No files found.
src/main/webapp/skins/next/css/main.css
View file @
907c9a70
...
@@ -1035,40 +1035,25 @@ body {
...
@@ -1035,40 +1035,25 @@ body {
.sidebar-panel-active
{
.sidebar-panel-active
{
display
:
block
;
display
:
block
;
}
}
.post-toc
{
ul
.b3-solo-list
{
overflow
:
hidden
;
position
:
relative
;
}
.post-toc-empty
{
font-size
:
14px
;
color
:
#666
;
}
.post-toc
ol
{
overflow
:
auto
;
overflow
:
auto
;
margin
:
0
;
margin
:
20px
0
;
padding
:
0
10px
10px
;
padding
:
0
10px
10px
;
text-align
:
left
;
text-align
:
left
;
list-style
:
none
;
list-style
:
none
;
font-size
:
14px
;
font-size
:
14px
;
text-align
:
left
;
}
}
.post-toc
ol
a
{
.b3-solo-list
li
{
list-style
:
none
;
}
.b3-solo-list
ul
a
{
color
:
#999
;
color
:
#999
;
}
}
.
post-toc
o
l
a
:hover
{
.
b3-solo-list
u
l
a
:hover
{
color
:
#ccc
;
color
:
#ccc
;
}
}
.post-toc
.nav
.nav-child
{
display
:
none
;
}
.post-toc
.nav
.active
>
.nav-child
{
display
:
block
;
}
.post-toc
.nav
.active-current
>
.nav-child
{
display
:
block
;
}
.post-toc
.nav
.active-current
>
.nav-child
>
.nav-item
{
display
:
block
;
}
.post-toc
.nav
.active
>
a
{
.post-toc
.nav
.active
>
a
{
color
:
#ccc
;
color
:
#ccc
;
}
}
...
@@ -1078,20 +1063,6 @@ body {
...
@@ -1078,20 +1063,6 @@ body {
.post-toc
.nav
.active-current
>
a
:hover
{
.post-toc
.nav
.active-current
>
a
:hover
{
color
:
#87daff
;
color
:
#87daff
;
}
}
.post-toc-indicator
{
height
:
20px
;
text-align
:
center
;
color
:
#fff
;
font-size
:
14px
;
}
.post-toc-indicator-top
{
opacity
:
0
;
margin-top
:
10px
;
}
.post-toc-indicator-bottom
{
position
:
absolute
;
width
:
100%
;
}
.footer
{
.footer
{
font-size
:
14px
;
font-size
:
14px
;
color
:
#999
;
color
:
#999
;
...
@@ -2292,6 +2263,16 @@ ul li {
...
@@ -2292,6 +2263,16 @@ ul li {
.site-search
input
:focus
{
.site-search
input
:focus
{
opacity
:
1
;
opacity
:
1
;
}
}
.page-post-detail
.post-title
,
.page-post-detail
.post-meta
{
text-align
:
center
;
}
.page-post-detail
.post-title
:before
{
display
:
none
;
}
.page-post-detail
.post-meta
{
margin-bottom
:
60px
;
}
.pagination
{
.pagination
{
margin
:
120px
0
0
;
margin
:
120px
0
0
;
text-align
:
left
;
text-align
:
left
;
...
...
src/main/webapp/skins/next/css/next.css
View file @
907c9a70
...
@@ -89,8 +89,8 @@ ul.comments {
...
@@ -89,8 +89,8 @@ ul.comments {
left
:
69px
;
left
:
69px
;
}
}
.comments
.post-meta
{
#comments
.comments
.post-meta
{
margin
-top
:
0
;
margin
:
0
;
}
}
#captcha
,
#captcha
,
...
@@ -99,21 +99,27 @@ ul.comments {
...
@@ -99,21 +99,27 @@ ul.comments {
display
:
inline-block
;
display
:
inline-block
;
vertical-align
:
inherit
;
vertical-align
:
inherit
;
}
}
.post-meta
{
#commentValidate
,
#commentValidateReply
{
vertical-align
:
middle
;
}
#comments
.post-meta
{
font-family
:
"Open Sans"
,
"Microsoft Yahei"
,
Helvetica
;
font-family
:
"Open Sans"
,
"Microsoft Yahei"
,
Helvetica
;
color
:
#9eabb3
;
color
:
#9eabb3
;
}
}
.post-meta
a
{
#comments
.post-meta
a
{
color
:
#9EABB3
;
color
:
#9EABB3
;
text-decoration
:
none
;
text-decoration
:
none
;
border-bottom-width
:
0
;
border-bottom-width
:
0
;
}
}
.post-meta
a
:hover
{
#comments
.post-meta
a
:hover
{
text-decoration
:
underline
;
text-decoration
:
underline
;
}
}
.post-meta
time
{
#comments
.post-meta
time
{
border-left
:
1px
solid
#d5dbde
;
border-left
:
1px
solid
#d5dbde
;
display
:
inline-block
;
display
:
inline-block
;
font-size
:
13px
;
font-size
:
13px
;
...
@@ -123,7 +129,7 @@ ul.comments {
...
@@ -123,7 +129,7 @@ ul.comments {
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
.post-author
{
#comments
.post-author
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
display
:
block
;
display
:
block
;
position
:
absolute
;
position
:
absolute
;
...
@@ -140,7 +146,7 @@ ul.comments {
...
@@ -140,7 +146,7 @@ ul.comments {
box-shadow
:
#E7EEF2
0
0
0
1px
;
box-shadow
:
#E7EEF2
0
0
0
1px
;
}
}
.post-author
a
{
#comments
.post-author
a
{
background-size
:
cover
;
background-size
:
cover
;
background-position
:
center
center
;
background-position
:
center
center
;
width
:
68px
;
width
:
68px
;
...
...
src/main/webapp/skins/next/js/next.js
View file @
907c9a70
...
@@ -24,28 +24,36 @@
...
@@ -24,28 +24,36 @@
* @description next 皮肤脚本
* @description next 皮肤脚本
* @static
* @static
*/
*/
$
(
'
.sidebar-toggle
'
).
click
(
function
()
{
var
NexT
=
{
var
$sidebar
=
$
(
'
#sidebar
'
);
init
:
function
()
{
if
(
$
(
this
).
hasClass
(
'
sidebar-active
'
))
{
$
(
'
.sidebar-toggle
'
).
click
(
function
()
{
$
(
this
).
removeClass
(
'
sidebar-active
'
);
var
$sidebar
=
$
(
'
#sidebar
'
);
if
(
$
(
this
).
hasClass
(
'
sidebar-active
'
))
{
$
(
'
body
'
).
animate
({
$
(
this
).
removeClass
(
'
sidebar-active
'
);
'
padding-right
'
:
0
});
$sidebar
.
animate
({
width
:
0
},
function
()
{
$sidebar
.
hide
();
});
}
else
{
$
(
'
body
'
).
animate
({
$
(
this
).
addClass
(
'
sidebar-active
'
);
'
padding-right
'
:
0
$sidebar
.
show
();
});
$
(
'
body
'
).
animate
({
$sidebar
.
animate
({
'
padding-right
'
:
320
width
:
0
});
},
function
()
{
$sidebar
.
animate
({
$sidebar
.
hide
();
width
:
320
});
}
else
{
$
(
this
).
addClass
(
'
sidebar-active
'
);
$sidebar
.
show
();
$
(
'
body
'
).
animate
({
'
padding-right
'
:
320
});
$sidebar
.
animate
({
width
:
320
});
}
});
});
},
initArticle
:
function
()
{
$
(
'
.sidebar-inner
'
).
html
(
$
(
'
.b3-solo-list
'
));
}
}
});
};
\ No newline at end of file
NexT
.
init
();
\ No newline at end of file
src/main/webapp/skins/next/macro-comments.ftl
View file @
907c9a70
...
@@ -145,6 +145,7 @@
...
@@ -145,6 +145,7 @@
};
};
(function () {
(function () {
page.load();
page.load();
NexT.initArticle();
// emotions
// emotions
page.replaceCommentsEm("#comments .comment-content");
page.replaceCommentsEm("#comments .comment-content");
<#nested>
<#nested>
...
...
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