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
b54b09c7
Commit
b54b09c7
authored
Aug 10, 2016
by
D
Committed by
GitHub
Aug 10, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12141 from b3log/1.5.0-dev
1.5.0 dev
parents
5f6ecbff
494f86e8
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
112 additions
and
54 deletions
+112
-54
.gitignore
.gitignore
+0
-1
CHANGE_LOGS.html
CHANGE_LOGS.html
+6
-0
pom.xml
pom.xml
+1
-1
src/main/java/org/b3log/solo/SoloServletListener.java
src/main/java/org/b3log/solo/SoloServletListener.java
+2
-2
src/main/java/org/b3log/solo/model/Option.java
src/main/java/org/b3log/solo/model/Option.java
+2
-2
src/main/java/org/b3log/solo/processor/InitProcessor.java
src/main/java/org/b3log/solo/processor/InitProcessor.java
+1
-4
src/main/java/org/b3log/solo/service/UpgradeService.java
src/main/java/org/b3log/solo/service/UpgradeService.java
+2
-2
src/main/resources/local.properties
src/main/resources/local.properties
+13
-13
src/main/webapp/CHANGE_LOGS.html
src/main/webapp/CHANGE_LOGS.html
+6
-0
src/main/webapp/js/admin/latkeAdmin.js
src/main/webapp/js/admin/latkeAdmin.js
+37
-19
src/main/webapp/js/admin/latkeAdmin.min.js
src/main/webapp/js/admin/latkeAdmin.min.js
+1
-1
src/main/webapp/skins/mobile/skin.properties
src/main/webapp/skins/mobile/skin.properties
+2
-2
src/main/webapp/skins/next/css/next.min.css
src/main/webapp/skins/next/css/next.min.css
+15
-0
src/main/webapp/skins/next/footer.ftl
src/main/webapp/skins/next/footer.ftl
+2
-0
src/main/webapp/skins/next/js/next.min.js
src/main/webapp/skins/next/js/next.min.js
+15
-0
src/main/webapp/skins/yilia/skin.properties
src/main/webapp/skins/yilia/skin.properties
+1
-1
src/test/resources/skins/next/skin.properties
src/test/resources/skins/next/skin.properties
+6
-6
No files found.
.gitignore
View file @
b54b09c7
...
@@ -14,6 +14,5 @@
...
@@ -14,6 +14,5 @@
src/main/webapp/skins/*
src/main/webapp/skins/*
!src/main/webapp/skins/mobile
!src/main/webapp/skins/mobile
!src/main/webapp/skins/yilia
!src/main/webapp/skins/next
!src/main/webapp/skins/next
**/.DS_Store
**/.DS_Store
CHANGE_LOGS.html
View file @
b54b09c7
...
@@ -5,6 +5,12 @@
...
@@ -5,6 +5,12 @@
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
</head>
</head>
<body>
<body>
<h2>
Release 1.5.0 - Aug 10, 2016
</h2>
<ul>
<li><a
href=
"https://github.com/b3log/solo/issues/12130"
>
12130 MySQL 数据导出 SQL 文件
</a>
<span
style=
'background: #02e10c !important;color:#FFFFFF !important;padding: 1px 4px;'
>
feature
</span></li>
<li><a
href=
"https://github.com/b3log/solo/issues/12128"
>
12128 JDBC 驱动反注册
</a>
<span
style=
'background: #fc2929 !important;color:#FFFFFF !important;padding: 1px 4px;'
>
bug
</span></li>
<li><a
href=
"https://github.com/b3log/solo/issues/12140"
>
12140 新皮肤 next
</a>
<span
style=
'background: #eb6420 !important;color:#FFFFFF !important;padding: 1px 4px;'
>
skin
</span></li>
</ul>
<h2>
Release 1.4.0 - Jun 28, 2016
</h2>
<h2>
Release 1.4.0 - Jun 28, 2016
</h2>
<ul>
<ul>
<li><a
href=
"https://github.com/b3log/solo/issues/12060"
>
12060 前台皮肤切换
</a>
<span
style=
'background: #02e10c !important;color:#FFFFFF !important;padding: 1px 4px;'
>
feature
</span></li>
<li><a
href=
"https://github.com/b3log/solo/issues/12060"
>
12060 前台皮肤切换
</a>
<span
style=
'background: #02e10c !important;color:#FFFFFF !important;padding: 1px 4px;'
>
feature
</span></li>
...
...
pom.xml
View file @
b54b09c7
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<artifactId>
solo
</artifactId>
<artifactId>
solo
</artifactId>
<packaging>
war
</packaging>
<packaging>
war
</packaging>
<name>
Solo
</name>
<name>
Solo
</name>
<version>
1.
4
.0
</version>
<version>
1.
5
.0
</version>
<description>
<description>
A blogging system written in Java, feel free to create your or your team own blog. 一个用 Java 实现的博客系统,为你或你的团队创建个博客吧。
A blogging system written in Java, feel free to create your or your team own blog. 一个用 Java 实现的博客系统,为你或你的团队创建个博客吧。
</description>
</description>
...
...
src/main/java/org/b3log/solo/SoloServletListener.java
View file @
b54b09c7
...
@@ -60,7 +60,7 @@ import org.json.JSONObject;
...
@@ -60,7 +60,7 @@ import org.json.JSONObject;
* Solo Servlet listener.
* Solo Servlet listener.
*
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.8.2.1
4, Jun 28
, 2016
* @version 1.8.2.1
5, Aug 10
, 2016
* @since 0.3.1
* @since 0.3.1
*/
*/
public
final
class
SoloServletListener
extends
AbstractServletListener
{
public
final
class
SoloServletListener
extends
AbstractServletListener
{
...
@@ -68,7 +68,7 @@ public final class SoloServletListener extends AbstractServletListener {
...
@@ -68,7 +68,7 @@ public final class SoloServletListener extends AbstractServletListener {
/**
/**
* Solo version.
* Solo version.
*/
*/
public
static
final
String
VERSION
=
"1.
4
.0"
;
public
static
final
String
VERSION
=
"1.
5
.0"
;
/**
/**
* Logger.
* Logger.
...
...
src/main/java/org/b3log/solo/model/Option.java
View file @
b54b09c7
...
@@ -25,7 +25,7 @@ import org.json.JSONObject;
...
@@ -25,7 +25,7 @@ import org.json.JSONObject;
* This class defines option model relevant keys.
* This class defines option model relevant keys.
*
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.3.0.
1, Nov 20, 2015
* @version 1.3.0.
2, Aug 9, 2016
* @since 0.6.0
* @since 0.6.0
*/
*/
public
final
class
Option
{
public
final
class
Option
{
...
@@ -354,7 +354,7 @@ public final class Option {
...
@@ -354,7 +354,7 @@ public final class Option {
/**
/**
* Default skin directory name.
* Default skin directory name.
*/
*/
public
static
final
String
DEFAULT_SKIN_DIR_NAME
=
"
yilia
"
;
public
static
final
String
DEFAULT_SKIN_DIR_NAME
=
"
next
"
;
/**
/**
* Default language.
* Default language.
...
...
src/main/java/org/b3log/solo/processor/InitProcessor.java
View file @
b54b09c7
...
@@ -52,7 +52,7 @@ import org.json.JSONObject;
...
@@ -52,7 +52,7 @@ import org.json.JSONObject;
* Solo initialization service.
* Solo initialization service.
*
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.2.0.
9, Apr 15
, 2016
* @version 1.2.0.
10, Aug 9
, 2016
* @since 0.4.0
* @since 0.4.0
*/
*/
@RequestProcessor
@RequestProcessor
...
@@ -152,11 +152,9 @@ public class InitProcessor {
...
@@ -152,11 +152,9 @@ public class InitProcessor {
}
}
final
JSONRenderer
renderer
=
new
JSONRenderer
();
final
JSONRenderer
renderer
=
new
JSONRenderer
();
context
.
setRenderer
(
renderer
);
context
.
setRenderer
(
renderer
);
final
JSONObject
ret
=
QueryResults
.
defaultResult
();
final
JSONObject
ret
=
QueryResults
.
defaultResult
();
renderer
.
setJSONObject
(
ret
);
renderer
.
setJSONObject
(
ret
);
try
{
try
{
...
@@ -180,7 +178,6 @@ public class InitProcessor {
...
@@ -180,7 +178,6 @@ public class InitProcessor {
}
}
final
Locale
locale
=
Locales
.
getLocale
(
request
);
final
Locale
locale
=
Locales
.
getLocale
(
request
);
requestJSONObject
.
put
(
Keys
.
LOCALE
,
locale
.
toString
());
requestJSONObject
.
put
(
Keys
.
LOCALE
,
locale
.
toString
());
initService
.
init
(
requestJSONObject
);
initService
.
init
(
requestJSONObject
);
...
...
src/main/java/org/b3log/solo/service/UpgradeService.java
View file @
b54b09c7
...
@@ -46,7 +46,7 @@ import org.json.JSONObject;
...
@@ -46,7 +46,7 @@ import org.json.JSONObject;
*
*
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="mailto:dongxu.wang@acm.org">Dongxu Wang</a>
* @author <a href="mailto:dongxu.wang@acm.org">Dongxu Wang</a>
* @version 1.2.0.
5, Jun 28
, 2016
* @version 1.2.0.
6, Aug 10
, 2016
* @since 1.2.0
* @since 1.2.0
*/
*/
@Service
@Service
...
@@ -111,7 +111,7 @@ public class UpgradeService {
...
@@ -111,7 +111,7 @@ public class UpgradeService {
/**
/**
* Old version.
* Old version.
*/
*/
private
static
final
String
FROM_VER
=
"1.
3
.0"
;
private
static
final
String
FROM_VER
=
"1.
4
.0"
;
/**
/**
* New version.
* New version.
...
...
src/main/resources/local.properties
View file @
b54b09c7
...
@@ -16,25 +16,25 @@
...
@@ -16,25 +16,25 @@
#
#
# Description: Solo local environment configurations.
# Description: Solo local environment configurations.
# Version: 1.1.
2.8, Jan 8
, 2016
# Version: 1.1.
3.8, Aug 10
, 2016
# Author: Liang Ding
# Author: Liang Ding
#
#
#### H2 runtime ####
#### H2 runtime ####
#runtimeDatabase=H2
runtimeDatabase
=
H2
#jdbc.username=root
#jdbc.password=
#jdbc.driver=org.h2.Driver
#jdbc.URL=jdbc:h2:~/b3log_solo_h2/db
#jdbc.pool=h2
#### MySQL runtime ####
runtimeDatabase
=
MYSQL
jdbc.username
=
root
jdbc.username
=
root
jdbc.password
=
jdbc.password
=
jdbc.driver
=
com.mysql.jdbc.Driver
jdbc.driver
=
org.h2.Driver
jdbc.URL
=
jdbc:mysql://localhost:3306/b3log?useUnicode=yes&characterEncoding=utf8
jdbc.URL
=
jdbc:h2:~/b3log_solo_h2/db
jdbc.pool
=
druid
jdbc.pool
=
h2
#### MySQL runtime ####
#runtimeDatabase=MYSQL
#jdbc.username=root
#jdbc.password=
#jdbc.driver=com.mysql.jdbc.Driver
#jdbc.URL=jdbc:mysql://localhost:3306/b3log?useUnicode=yes&characterEncoding=utf8
#jdbc.pool=druid
# The minConnCnt MUST larger or equal to 3
# The minConnCnt MUST larger or equal to 3
jdbc.minConnCnt
=
5
jdbc.minConnCnt
=
5
...
...
src/main/webapp/CHANGE_LOGS.html
View file @
b54b09c7
...
@@ -5,6 +5,12 @@
...
@@ -5,6 +5,12 @@
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
</head>
</head>
<body>
<body>
<h2>
Release 1.5.0 - Aug 10, 2016
</h2>
<ul>
<li><a
href=
"https://github.com/b3log/solo/issues/12130"
>
12130 MySQL 数据导出 SQL 文件
</a>
<span
style=
'background: #02e10c !important;color:#FFFFFF !important;padding: 1px 4px;'
>
feature
</span></li>
<li><a
href=
"https://github.com/b3log/solo/issues/12128"
>
12128 JDBC 驱动反注册
</a>
<span
style=
'background: #fc2929 !important;color:#FFFFFF !important;padding: 1px 4px;'
>
bug
</span></li>
<li><a
href=
"https://github.com/b3log/solo/issues/12140"
>
12140 新皮肤 next
</a>
<span
style=
'background: #eb6420 !important;color:#FFFFFF !important;padding: 1px 4px;'
>
skin
</span></li>
</ul>
<h2>
Release 1.4.0 - Jun 28, 2016
</h2>
<h2>
Release 1.4.0 - Jun 28, 2016
</h2>
<ul>
<ul>
<li><a
href=
"https://github.com/b3log/solo/issues/12060"
>
12060 前台皮肤切换
</a>
<span
style=
'background: #02e10c !important;color:#FFFFFF !important;padding: 1px 4px;'
>
feature
</span></li>
<li><a
href=
"https://github.com/b3log/solo/issues/12060"
>
12060 前台皮肤切换
</a>
<span
style=
'background: #02e10c !important;color:#FFFFFF !important;padding: 1px 4px;'
>
feature
</span></li>
...
...
src/main/webapp/js/admin/latkeAdmin.js
View file @
b54b09c7
...
@@ -2444,7 +2444,7 @@ admin.register["page-list"] = {
...
@@ -2444,7 +2444,7 @@ admin.register["page-list"] = {
*
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.
0.0.8, May 28, 2013
* @version 1.
1.0.8, Jul 27, 2016
*/
*/
/* oterhs 相关操作 */
/* oterhs 相关操作 */
...
@@ -2454,42 +2454,61 @@ admin.others = {
...
@@ -2454,42 +2454,61 @@ admin.others = {
*/
*/
init
:
function
()
{
init
:
function
()
{
$
(
"
#tabOthers
"
).
tabs
();
$
(
"
#tabOthers
"
).
tabs
();
$
.
ajax
({
$
.
ajax
({
url
:
latkeConfig
.
servePath
+
"
/console/reply/notification/template
"
,
url
:
latkeConfig
.
servePath
+
"
/console/reply/notification/template
"
,
type
:
"
GET
"
,
type
:
"
GET
"
,
cache
:
false
,
cache
:
false
,
success
:
function
(
result
,
textStatus
)
{
success
:
function
(
result
,
textStatus
)
{
$
(
"
#tipMsg
"
).
text
(
result
.
msg
);
$
(
"
#tipMsg
"
).
text
(
result
.
msg
);
if
(
!
result
.
sc
)
{
if
(
!
result
.
sc
)
{
$
(
"
#loadMsg
"
).
text
(
""
);
$
(
"
#loadMsg
"
).
text
(
""
);
return
;
return
;
}
}
$
(
"
#replayEmailTemplateTitle
"
).
val
(
result
.
replyNotificationTemplate
.
subject
);
$
(
"
#replayEmailTemplateTitle
"
).
val
(
result
.
replyNotificationTemplate
.
subject
);
$
(
"
#replayEmailTemplateBody
"
).
val
(
result
.
replyNotificationTemplate
.
body
);
$
(
"
#replayEmailTemplateBody
"
).
val
(
result
.
replyNotificationTemplate
.
body
);
$
(
"
#loadMsg
"
).
text
(
""
);
$
(
"
#loadMsg
"
).
text
(
""
);
}
}
});
});
},
},
/*
/*
* @description 移除未使用的标签。
* @description 移除未使用的标签。
*/
*/
removeUnusedTags
:
function
()
{
removeUnusedTags
:
function
()
{
$
(
"
#tipMsg
"
).
text
(
""
);
$
(
"
#tipMsg
"
).
text
(
""
);
$
.
ajax
({
$
.
ajax
({
url
:
latkeConfig
.
servePath
+
"
/console/tag/unused
"
,
url
:
latkeConfig
.
servePath
+
"
/console/tag/unused
"
,
type
:
"
DELETE
"
,
type
:
"
DELETE
"
,
cache
:
false
,
cache
:
false
,
success
:
function
(
result
,
textStatus
){
success
:
function
(
result
,
textStatus
)
{
$
(
"
#tipMsg
"
).
text
(
result
.
msg
);
$
(
"
#tipMsg
"
).
text
(
result
.
msg
);
}
});
},
/*
* @description 移除未使用的标签。
*/
exportSQL
:
function
()
{
$
(
"
#tipMsg
"
).
text
(
""
);
$
.
ajax
({
url
:
latkeConfig
.
servePath
+
"
/console/export/sql
"
,
type
:
"
GET
"
,
cache
:
false
,
success
:
function
(
result
,
textStatus
)
{
// AJAX 下载文件的话这里会发两次请求,用 sc 来判断是否是文件,如果没有 sc 说明文件可以下载(实际上就是 result)
if
(
!
result
.
sc
)
{
// 再发一次请求进行正式下载
window
.
location
=
latkeConfig
.
servePath
+
"
/console/export/sql
"
;
}
else
{
$
(
"
#tipMsg
"
).
text
(
result
.
msg
);
}
}
}
});
});
},
},
/*
/*
* 获取未使用的标签。
* 获取未使用的标签。
* XXX: Not used this function yet.
* XXX: Not used this function yet.
...
@@ -2499,13 +2518,13 @@ admin.others = {
...
@@ -2499,13 +2518,13 @@ admin.others = {
url
:
latkeConfig
.
servePath
+
"
/console/tag/unused
"
,
url
:
latkeConfig
.
servePath
+
"
/console/tag/unused
"
,
type
:
"
GET
"
,
type
:
"
GET
"
,
cache
:
false
,
cache
:
false
,
success
:
function
(
result
,
textStatus
)
{
success
:
function
(
result
,
textStatus
)
{
$
(
"
#tipMsg
"
).
text
(
result
.
msg
);
$
(
"
#tipMsg
"
).
text
(
result
.
msg
);
if
(
!
result
.
sc
)
{
if
(
!
result
.
sc
)
{
$
(
"
#loadMsg
"
).
text
(
""
);
$
(
"
#loadMsg
"
).
text
(
""
);
return
;
return
;
}
}
var
unusedTags
=
result
.
unusedTags
;
var
unusedTags
=
result
.
unusedTags
;
if
(
0
===
unusedTags
.
length
)
{
if
(
0
===
unusedTags
.
length
)
{
return
;
return
;
...
@@ -2513,21 +2532,20 @@ admin.others = {
...
@@ -2513,21 +2532,20 @@ admin.others = {
}
}
});
});
},
},
/*
/*
* @description 跟新回复提醒邮件模版
* @description 跟新回复提醒邮件模版
*/
*/
update
:
function
()
{
update
:
function
()
{
$
(
"
#loadMsg
"
).
text
(
Label
.
loadingLabel
);
$
(
"
#loadMsg
"
).
text
(
Label
.
loadingLabel
);
$
(
"
#tipMsg
"
).
text
(
""
);
$
(
"
#tipMsg
"
).
text
(
""
);
var
requestJSONObject
=
{
var
requestJSONObject
=
{
"
replyNotificationTemplate
"
:
{
"
replyNotificationTemplate
"
:
{
"
subject
"
:
$
(
"
#replayEmailTemplateTitle
"
).
val
(),
"
subject
"
:
$
(
"
#replayEmailTemplateTitle
"
).
val
(),
"
body
"
:
$
(
"
#replayEmailTemplateBody
"
).
val
()
"
body
"
:
$
(
"
#replayEmailTemplateBody
"
).
val
()
}
}
};
};
$
.
ajax
({
$
.
ajax
({
url
:
latkeConfig
.
servePath
+
"
/console/reply/notification/template
"
,
url
:
latkeConfig
.
servePath
+
"
/console/reply/notification/template
"
,
type
:
"
PUT
"
,
type
:
"
PUT
"
,
...
@@ -2537,16 +2555,16 @@ admin.others = {
...
@@ -2537,16 +2555,16 @@ admin.others = {
$
(
"
#tipMsg
"
).
text
(
result
.
msg
);
$
(
"
#tipMsg
"
).
text
(
result
.
msg
);
$
(
"
#loadMsg
"
).
text
(
""
);
$
(
"
#loadMsg
"
).
text
(
""
);
}
}
});
});
}
}
};
};
/*
/*
* 注册到 admin 进行管理
* 注册到 admin 进行管理
*/
*/
admin
.
register
.
others
=
{
admin
.
register
.
others
=
{
"
obj
"
:
admin
.
others
,
"
obj
"
:
admin
.
others
,
"
init
"
:
admin
.
others
.
init
,
"
init
"
:
admin
.
others
.
init
,
"
refresh
"
:
function
()
{
"
refresh
"
:
function
()
{
admin
.
clearTip
();
admin
.
clearTip
();
}
}
...
...
src/main/webapp/js/admin/latkeAdmin.min.js
View file @
b54b09c7
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/main/webapp/skins/mobile/skin.properties
View file @
b54b09c7
...
@@ -16,11 +16,11 @@
...
@@ -16,11 +16,11 @@
#
#
# Description: Mobile skin.
# Description: Mobile skin.
# Version: 1.0.0.1
3, Sep 16, 2015
# Version: 1.0.0.1
4, Aug 10, 2016
# Author: Liang Ding
# Author: Liang Ding
#
#
name
=
Mobile
name
=
Mobile
version
=
0.1.5
version
=
0.1.5
forSolo
=
1.
4
.0
forSolo
=
1.
5
.0
memo
=
\u
8bf7
\u
4e0d
\u8981\u
4ece
\u
90e8
\u
7f72
\u
76ee
\u
5f55
\u
4e2d
\u5220\u9664\u
8be5
\u
76ae
\u
80a4
\u
ff0c
\u5426\u5219\u
79fb
\u
52a8
\u
8bbe
\u5907\u
8bbf
\u
95ee
\u
65f6
\u
535a
\u
5ba2
\u
5c06
\u
4e0d
\u
53ef
\u7528\u3002
memo
=
\u
8bf7
\u
4e0d
\u8981\u
4ece
\u
90e8
\u
7f72
\u
76ee
\u
5f55
\u
4e2d
\u5220\u9664\u
8be5
\u
76ae
\u
80a4
\u
ff0c
\u5426\u5219\u
79fb
\u
52a8
\u
8bbe
\u5907\u
8bbf
\u
95ee
\u
65f6
\u
535a
\u
5ba2
\u
5c06
\u
4e0d
\u
53ef
\u7528\u3002
src/main/webapp/skins/next/css/next.min.css
View file @
b54b09c7
/**
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@charset
"utf-8"
;
a
,
body
{
color
:
#555
}
.post-body
,
ul
.comments
li
{
word-wrap
:
break-word
}
html
{
background-color
:
#f5f5f5
}
body
{
margin
:
0
;
font-family
:
Lato
,
"PingFang SC"
,
"Microsoft YaHei"
,
sans-serif
;
font-size
:
14px
;
background
:
#fff
}
a
{
text-decoration
:
none
;
border-bottom
:
1px
solid
#999
}
a
:active
,
a
:hover
{
outline
:
0
}
a
:hover
{
color
:
#222
;
border-bottom-color
:
#222
}
hr
{
margin
:
40px
0
;
height
:
3px
;
border
:
none
;
background-color
:
#ddd
;
background-image
:
repeating-linear-gradient
(
-45deg
,
#fff
,
#fff
4px
,
transparent
4px
,
transparent
8px
)}
blockquote
{
padding
:
0
15px
;
color
:
#666
;
border-left
:
4px
solid
#ddd
}
img
{
max-width
:
100%
;
height
:
auto
}
.fn-clear
:after
,
.fn-clear
:before
{
display
:
table
;
content
:
""
;
line-height
:
0
}
.fn-clear
:after
{
clear
:
both
;
line-height
:
0
}
.fn-left
{
float
:
left
}
.fn-right
{
float
:
right
}
.fn-none
{
display
:
none
}
@font-face
{
font-family
:
icomoon
;
src
:
url(fonts/icomoon.eot?a0psdo)
;
src
:
url(fonts/icomoon.eot?a0psdo#iefix)
format
(
'embedded-opentype'
),
url(fonts/icomoon.ttf?a0psdo)
format
(
'truetype'
),
url(fonts/icomoon.woff?a0psdo)
format
(
'woff'
),
url(fonts/icomoon.svg?a0psdo#icomoon)
format
(
'svg'
);
font-weight
:
400
;
font-style
:
normal
}
[
class
*=
" icon-"
],[
class
^=
icon-
]
{
font-family
:
icomoon
!important
;
speak
:
none
;
font-style
:
normal
;
font-weight
:
400
;
font-variant
:
normal
;
text-transform
:
none
;
line-height
:
1
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
}
.icon-register
:before
{
content
:
"\e973"
}
.icon-setting
:before
{
content
:
"\e994"
}
.icon-login
:before
{
content
:
"\ea13"
}
.icon-logout
:before
{
content
:
"\ea14"
}
.icon-rss
:before
{
content
:
"\e901"
}
.form
{
width
:
100%
;
margin-top
:
50px
}
.form
button
,
.form
input
,
.form
textarea
{
border
:
1px
solid
#CCC
;
background-color
:
#FAFAFA
;
border-radius
:
3px
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,
.075
)
inset
;
padding
:
7px
8px
;
width
:
100%
;
box-sizing
:
border-box
;
outline
:
0
}
.form
button
{
width
:
auto
}
.form
input
:focus
,
.form
textarea
:focus
{
background-color
:
#FFF
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,
.075
)
inset
,
0
0
5px
rgba
(
81
,
167
,
232
,
.5
);
border
:
1px
solid
#51A7E8
}
.error-msg
{
color
:
#9EABB3
;
margin-right
:
10px
}
.em00
,
.em01
,
.em02
,
.em03
,
.em04
,
.em05
,
.em06
,
.em07
,
.em08
,
.em09
,
.em10
,
.em11
,
.em12
,
.em13
,
.em14
{
cursor
:
pointer
;
background-image
:
url(../images/emotions/emotions-ease.png)
;
float
:
left
;
height
:
24px
;
margin-right
:
5px
;
width
:
24px
;
transition
:
all
.2s
ease-out
;
-webkit-transition
:
all
.2s
ease-out
;
-moz-transition
:
all
.2s
ease-out
}
.menu
.menu-item
a
,
.pagination
.next
,
.pagination
.page-number
,
.post-title-link
::before
,
.posts-collapse
.post-header
,
.posts-collapse
.post-header
::before
,
.sidebar-toggle-line
{
transition-duration
:
.2s
;
transition-timing-function
:
ease-in-out
;
transition-delay
:
0s
}
#emotions
span
:hover
{
transform
:
scale
(
1.2
)
rotate
(
360deg
);
-webkit-transform
:
scale
(
1.2
)
rotate
(
360deg
);
-moz-transform
:
scale
(
1.2
)
rotate
(
360deg
)}
.em01
{
background-position
:
-24px
0
}
.em02
{
background-position
:
-48px
0
}
.em03
{
background-position
:
-72px
0
}
.em04
{
background-position
:
-96px
0
}
.em05
{
background-position
:
0
-24px
}
.em06
{
background-position
:
-24px
-24px
}
.em07
{
background-position
:
-48px
-24px
}
.em08
{
background-position
:
-72px
-24px
}
.em09
{
background-position
:
-96px
-24px
}
.em10
{
background-position
:
0
-48px
}
.em11
{
background-position
:
-24px
-48px
}
.em12
{
background-position
:
-48px
-48px
}
.em13
{
background-position
:
-72px
-48px
}
.em14
{
background-position
:
-96px
-48px
}
.wrapper
{
width
:
700px
;
margin
:
0
auto
}
.main
{
position
:
relative
;
top
:
-50px
;
opacity
:
0
}
.header
{
background
:
#f5f5f5
;
margin-bottom
:
80px
;
padding
:
40px
45px
}
.logo-wrap
{
float
:
left
;
margin-left
:
-20px
;
overflow
:
hidden
;
top
:
0
;
opacity
:
0
}
.logo-line-after
,
.logo-line-before
{
display
:
block
;
overflow
:
hidden
;
margin
:
0
auto
;
width
:
75%
}
.logo-line-after
i
,
.logo-line-before
i
{
position
:
relative
;
display
:
block
;
height
:
2px
;
background
:
#222
;
left
:
-100%
}
.logo-line-after
i
{
left
:
auto
;
right
:
-100%
}
.logo-wrap
.site-title
{
font-size
:
22px
;
font-weight
:
bolder
;
opacity
:
0
;
top
:
-10px
;
position
:
relative
}
.logo-wrap
>
a
{
position
:
relative
;
display
:
inline-block
;
padding
:
2px
1px
;
color
:
#222
;
line-height
:
2
;
border-bottom
:
none
;
font-family
:
Lato
,
"PingFang SC"
,
"Microsoft YaHei"
,
sans-serif
}
.site-nav-toggle
{
display
:
none
}
.menu
.menu-item
,
.sidebar-toggle-line
{
display
:
inline-block
}
.menu
{
float
:
left
;
margin
:
5px
0
0
20px
;
padding
:
0
20px
;
opacity
:
0
}
.menu
.menu-item
a
{
padding
:
5px
10px
;
border
:
none
;
transition-property
:
background
}
.menu
.menu-item
a
:hover
{
background
:
#e1e1e1
}
.site-search
{
float
:
right
;
margin-top
:
15px
}
.site-search
input
{
padding
:
3px
3px
3px
18px
;
border
:
none
;
border-radius
:
0
;
width
:
140px
;
background
:
url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGhlaWdodD0iMTZweCIgaWQ9IkxheWVyXzEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMTYgMTYiIHdpZHRoPSIxNnB4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cGF0aCBkPSJNMTUuNywxNC4zbC0zLjEwNS0zLjEwNUMxMy40NzMsMTAuMDI0LDE0LDguNTc2LDE0LDdjMC0zLjg2Ni0zLjEzNC03LTctN1MwLDMuMTM0LDAsN3MzLjEzNCw3LDcsNyAgYzEuNTc2LDAsMy4wMjQtMC41MjcsNC4xOTQtMS40MDVMMTQuMywxNS43YzAuMTg0LDAuMTg0LDAuMzgsMC4zLDAuNywwLjNjMC41NTMsMCwxLTAuNDQ3LDEtMUMxNiwxNC43ODEsMTUuOTQ2LDE0LjU0NiwxNS43LDE0LjN6ICAgTTIsN2MwLTIuNzYyLDIuMjM4LTUsNS01czUsMi4yMzgsNSw1cy0yLjIzOCw1LTUsNVMyLDkuNzYyLDIsN3oiLz48L3N2Zz4=)
0
50%
no-repeat
;
background-size
:
12px
12px
;
outline
:
0
;
border-bottom
:
1px
solid
#999
;
opacity
:
.5
}
.site-search
input
:focus
{
opacity
:
1
}
.footer
{
margin-top
:
80px
;
padding
:
10px
20px
;
background
:
#f5f5f5
;
color
:
#666
;
line-height
:
2
}
.back-to-top
,
.sidebar-toggle
{
right
:
50px
;
z-index
:
1050
;
padding
:
5px
;
cursor
:
pointer
}
.sidebar-toggle
{
position
:
fixed
;
bottom
:
45px
;
width
:
15px
;
height
:
15px
;
background
:
#222
;
line-height
:
0
;
-webkit-transform
:
translateZ
(
0
)}
.sidebar-toggle-line
{
position
:
relative
;
vertical-align
:
top
;
height
:
2px
;
width
:
100%
;
background
:
#fff
;
margin-top
:
4px
}
.sidebar-toggle-line
:first-child
{
margin-top
:
0
}
.sidebar-toggle
:hover
.sidebar-toggle-line-first
{
width
:
50%
;
transform
:
rotateZ
(
-45deg
);
top
:
3px
}
.sidebar-toggle
:hover
.sidebar-toggle-line-middle
{
width
:
90%
}
.sidebar-toggle
:hover
.sidebar-toggle-line-last
{
width
:
50%
;
transform
:
rotateZ
(
45deg
);
top
:
-3px
}
.sidebar-toggle.sidebar-active
.sidebar-toggle-line-first
{
width
:
100%
;
transform
:
rotateZ
(
-45deg
);
top
:
6px
}
.sidebar-toggle.sidebar-active
.sidebar-toggle-line-middle
{
opacity
:
0
}
.sidebar-toggle.sidebar-active
.sidebar-toggle-line-last
{
width
:
100%
;
transform
:
rotateZ
(
45deg
);
top
:
-6px
}
.back-to-top
,
.sidebar
{
position
:
fixed
;
background
:
#222
;
-webkit-transform
:
translateZ
(
0
)}
.back-to-top
{
bottom
:
19px
;
width
:
15px
;
height
:
13px
;
color
:
#fff
}
.back-to-top
:before
{
display
:
block
;
content
:
" "
;
margin-top
:
2px
;
width
:
0
;
height
:
0
;
border-width
:
0
7px
8px
;
border-color
:
transparent
transparent
#fff
;
border-style
:
solid
}
.sidebar
{
width
:
320px
;
right
:
-320px
;
top
:
0
;
bottom
:
0
;
z-index
:
1040
;
box-shadow
:
inset
0
2px
6px
#000
;
padding
:
20px
10px
;
color
:
#999
;
text-align
:
center
;
box-sizing
:
border-box
}
.sidebar
a
{
color
:
#999
;
border-bottom-color
:
#555
}
.sidebar
a
:hover
{
color
:
#eee
}
.sidebar
.site-author-image
{
display
:
block
;
margin
:
20px
auto
0
;
max-width
:
96px
;
height
:
auto
;
border
:
2px
solid
#333
;
padding
:
2px
}
.sidebar
.site-author-name
{
margin
:
5px
0
0
;
color
:
#f5f5f5
}
.sidebar
.site-description
{
margin-top
:
5px
;
font-size
:
14px
;
color
:
#555
}
.sidebar
.feed-link
,
.sidebar
.links-of-author
{
margin-top
:
20px
}
.sidebar
.site-state-item
{
display
:
inline-block
;
padding
:
0
15px
;
border-left
:
1px
solid
#333
}
.sidebar
.site-state-item
:first-child
{
border-left
:
none
}
.sidebar
.site-state-item
a
{
border-bottom
:
none
}
.sidebar
.site-state-item-count
{
display
:
block
;
text-align
:
center
;
font-size
:
18px
}
.sidebar
.site-state-item-name
{
font-size
:
13px
}
.sidebar
.feed-link
a
{
display
:
inline-block
;
padding
:
3px
15px
;
color
:
#fc6423
;
border
:
1px
solid
#fc6423
;
border-radius
:
4px
}
.sidebar
.feed-link
a
:hover
{
color
:
#fff
;
background
:
#fc6423
}
.sidebar
.links-of-author
a
{
display
:
inline-block
;
vertical-align
:
middle
;
margin-right
:
10px
;
margin-bottom
:
10px
;
border-bottom-color
:
#555
;
font-size
:
13px
}
.sidebar
.links-of-author
a
:before
{
display
:
inline-block
;
vertical-align
:
middle
;
margin-right
:
3px
;
content
:
" "
;
width
:
4px
;
height
:
4px
;
border-radius
:
50%
;
background
:
#0dd5ff
}
.sidebar
.b3-solo-list
{
margin
:
20px
;
list-style
:
none
;
text-align
:
left
;
padding
:
0
;
font-size
:
14px
;
line-height
:
2
}
.posts-expand
.post-item
{
margin-top
:
120px
}
.posts-expand
.post-item
:first-child
{
margin-top
:
0
}
.post-title-link
{
display
:
inline-block
;
position
:
relative
;
color
:
#555
;
border-bottom
:
none
;
line-height
:
1.2
;
vertical-align
:
top
;
font-size
:
26px
;
font-weight
:
400
}
.post-title-link
::before
{
content
:
""
;
position
:
absolute
;
width
:
100%
;
height
:
2px
;
bottom
:
0
;
left
:
0
;
background-color
:
#000
;
visibility
:
hidden
;
transform
:
scaleX
(
0
)}
.post-title-link
:hover::before
{
visibility
:
visible
;
transform
:
scaleX
(
1
)}
.posts-expand
.post-meta
{
margin
:
3px
0
60px
;
color
:
#999
;
font-size
:
12px
}
.post-more-link
a
{
color
:
#666
;
border
:
none
;
border-bottom
:
2px
solid
#666
;
transition-property
:
border
}
.post-more-link
a
:hover
{
border-bottom-color
:
#222
}
.pagination
{
border-top
:
1px
solid
#eee
;
margin
:
120px
0
0
;
text-align
:
left
}
.post-header
,
.tag-cloud
{
text-align
:
center
}
.pagination
.next
,
.pagination
.page-number
{
display
:
inline-block
;
position
:
relative
;
top
:
-1px
;
margin
:
0
5px
;
padding
:
0
10px
;
line-height
:
30px
;
border-bottom
:
0
;
border-top
:
1px
solid
#eee
;
transition-property
:
border-color
}
.pagination
.next
:hover
,
.pagination
.page-number
:hover
{
border-top-color
:
#222
}
.pagination
.page-number.current
{
color
:
#fff
;
background
:
#ccc
;
border-top-color
:
#ccc
}
.post-body
img
{
box-sizing
:
border-box
;
margin
:
auto
}
.posts-expand
.post-tags
{
margin-top
:
40px
}
.posts-expand
.post-tags
a
{
padding
:
1px
5px
;
background
:
#f5f5f5
;
border-bottom
:
none
}
.posts-expand
.post-tags
a
:hover
{
background
:
#ccc
}
.posts-expand
.post-nav
{
margin-top
:
40px
;
overflow
:
hidden
;
padding
:
10px
;
white-space
:
nowrap
;
border-top
:
1px
solid
#eee
}
.post-nav-item
a
:hover
{
color
:
#222
;
border-bottom
:
none
}
.post-nav-item
a
{
position
:
relative
;
display
:
inline-block
;
line-height
:
25px
;
font-size
:
14px
;
color
:
#555
;
border-bottom
:
none
;
width
:
50%
}
ul
.comments
{
padding
:
0
;
list-style
:
none
;
margin-top
:
50px
;
position
:
relative
}
ul
.comments
li
{
padding
:
10px
;
white-space
:
normal
;
position
:
relative
;
border-bottom
:
#EBF2F6
1px
solid
}
ul
.comments
li
:hover
{
background-color
:
#F7F7F7
}
ul
.comments
.avatar-48
{
position
:
absolute
;
box-shadow
:
0
0
2px
#ddd
;
height
:
48px
;
width
:
48px
;
margin
:
8px
10px
0
0
;
border-radius
:
24px
}
ul
.comments
.comment-body
{
margin
:
8px
0
0
60px
;
min-height
:
50px
}
ul
.comments
li
.comment-body-ref
{
position
:
absolute
;
z-index
:
10
;
background-color
:
#EBF2F6
;
border
:
1px
solid
#d5dbde
;
width
:
80%
;
left
:
69px
}
.posts-collapse
.collection-title
::before
,
.posts-collapse
.post-header
::before
{
left
:
0
;
background
:
#bbb
;
border-radius
:
50%
;
content
:
" "
}
ul
.comments
.comment-meta
{
font-family
:
"Open Sans"
,
"Microsoft Yahei"
,
Helvetica
;
color
:
#9eabb3
;
font-size
:
13px
}
ul
.comments
.comment-meta
a
{
color
:
#9EABB3
;
text-decoration
:
none
;
border-bottom-width
:
0
}
ul
.comments
.post-meta
a
:hover
{
text-decoration
:
underline
}
ul
.comments
.comment-meta
time
{
border-left
:
1px
solid
#d5dbde
;
margin-left
:
8px
;
padding-left
:
12px
}
#captcha
,
#captchaReply
{
height
:
27px
;
vertical-align
:
inherit
}
.tag-cloud
ul
.tag-cloud-tags
{
padding-left
:
0
}
#tags
li
{
list-style
:
none
;
display
:
inline-block
;
margin
:
10px
}
#tags
.tags1
{
font-size
:
12px
;
color
:
#CCC
}
#tags
.tags2
{
font-size
:
16px
;
color
:
#999
}
#tags
.tags3
{
font-size
:
21px
;
color
:
#6f6f6f
}
#tags
.tags4
{
font-size
:
24px
;
color
:
#333
}
#tags
.tags5
{
font-size
:
30px
;
color
:
#111
}
.posts-collapse
.collection-title
::before
{
position
:
absolute
;
top
:
50%
;
margin-left
:
-4px
;
margin-top
:
-4px
;
width
:
8px
;
height
:
8px
}
.posts-collapse
.collection-title
{
position
:
relative
;
margin
:
60px
0
}
.posts-collapse
.collection-title
h2
{
margin-left
:
20px
}
.posts-collapse
.collection-title
small
{
color
:
#bbb
}
.posts-collapse
.post-header
::before
{
position
:
absolute
;
top
:
12px
;
width
:
6px
;
height
:
6px
;
margin-left
:
-4px
;
border
:
1px
solid
#fff
;
transition-property
:
background
}
.posts-collapse
.post-header
{
position
:
relative
;
transition-property
:
border
;
border-bottom
:
1px
dashed
#ccc
;
text-align
:
left
}
.posts-collapse
.post-header
:hover
{
border-bottom-color
:
#666
}
.posts-collapse
.post-header
:hover::before
{
background
:
#222
}
.posts-collapse
.post-time
{
position
:
absolute
;
font-size
:
12px
;
left
:
20px
;
top
:
8px
}
.posts-collapse
.post-title
{
margin-left
:
70px
;
font-size
:
16px
;
font-weight
:
400
;
font-family
:
Lato
,
"PingFang SC"
,
"Microsoft YaHei"
,
sans-serif
;
line-height
:
inherit
;
text-decoration
:
none
;
border-bottom
:
0
;
color
:
#666
}
.page-archive
.archive-page-counter
{
position
:
relative
;
top
:
7px
;
left
:
20px
;
margin-bottom
:
50px
;
display
:
block
}
.page-archive
.posts-collapse
.archive-move-on
{
position
:
absolute
;
top
:
11px
;
left
:
0
;
margin-left
:
-6px
;
width
:
10px
;
height
:
10px
;
opacity
:
.5
;
background
:
#555
;
border
:
1px
solid
#fff
;
border-radius
:
50%
}
.page-archive
.post-title
{
margin-left
:
20px
}
.page-archive
.posts-collapse
.post-header
::before
{
top
:
8px
}
.page-archive
.posts-collapse
::after
{
top
:
20px
;
left
:
0
;
margin-left
:
-2px
;
width
:
4px
;
height
:
100%
;
background
:
#f5f5f5
;
z-index
:
-1
;
content
:
" "
;
position
:
absolute
}
@media
(
max-width
:
700px
){
.b3-solo-list
{
margin
:
0
;
padding
:
0
}
.page-archive
.posts-collapse
.archive-move-on
{
margin-left
:
5px
}
.posts-collapse
{
margin-left
:
10px
}}
@media
(
max-width
:
500px
){
pre
{
word-wrap
:
break-word
;
word-break
:
break-all
;
white-space
:
normal
}
.page-archive
.archive-page-counter
{
margin-right
:
10px
}
.site-nav-toggle
{
display
:
block
;
margin-top
:
16px
}
.back-to-top
,
.header-line
,
.logo-line-after
,
.logo-line-before
,
.menu
,
.sidebar-toggle
,
.site-search
{
display
:
none
}
.header
{
margin-bottom
:
50px
;
padding
:
5px
0
}
.header-line
{
position
:
relative
;
top
:
52px
;
height
:
1px
;
width
:
100%
;
background-color
:
#ddd
}
.btn-bar
,
.menu
.menu-item
{
display
:
block
}
.header
.wrapper
{
padding
:
0
10px
}
.logo-wrap
.site-title
{
margin-left
:
10px
}
.wrapper
{
width
:
auto
;
margin
:
0
10px
}
.btn-bar
{
width
:
22px
;
height
:
2px
;
background
:
#555
;
border-radius
:
1px
}
.btn-bar
+
.btn-bar
{
margin-top
:
4px
}
.menu
{
width
:
100%
;
margin
:
0
0
0
-20px
;
padding
:
0
5px
;
line-height
:
26px
}
.footer
{
text-align
:
center
}}
@charset
"utf-8"
;
a
,
body
{
color
:
#555
}
.post-body
,
ul
.comments
li
{
word-wrap
:
break-word
}
html
{
background-color
:
#f5f5f5
}
body
{
margin
:
0
;
font-family
:
Lato
,
"PingFang SC"
,
"Microsoft YaHei"
,
sans-serif
;
font-size
:
14px
;
background
:
#fff
}
a
{
text-decoration
:
none
;
border-bottom
:
1px
solid
#999
}
a
:active
,
a
:hover
{
outline
:
0
}
a
:hover
{
color
:
#222
;
border-bottom-color
:
#222
}
hr
{
margin
:
40px
0
;
height
:
3px
;
border
:
none
;
background-color
:
#ddd
;
background-image
:
repeating-linear-gradient
(
-45deg
,
#fff
,
#fff
4px
,
transparent
4px
,
transparent
8px
)}
blockquote
{
padding
:
0
15px
;
color
:
#666
;
border-left
:
4px
solid
#ddd
}
img
{
max-width
:
100%
;
height
:
auto
}
.fn-clear
:after
,
.fn-clear
:before
{
display
:
table
;
content
:
""
;
line-height
:
0
}
.fn-clear
:after
{
clear
:
both
;
line-height
:
0
}
.fn-left
{
float
:
left
}
.fn-right
{
float
:
right
}
.fn-none
{
display
:
none
}
@font-face
{
font-family
:
icomoon
;
src
:
url(fonts/icomoon.eot?a0psdo)
;
src
:
url(fonts/icomoon.eot?a0psdo#iefix)
format
(
'embedded-opentype'
),
url(fonts/icomoon.ttf?a0psdo)
format
(
'truetype'
),
url(fonts/icomoon.woff?a0psdo)
format
(
'woff'
),
url(fonts/icomoon.svg?a0psdo#icomoon)
format
(
'svg'
);
font-weight
:
400
;
font-style
:
normal
}
[
class
*=
" icon-"
],[
class
^=
icon-
]
{
font-family
:
icomoon
!important
;
speak
:
none
;
font-style
:
normal
;
font-weight
:
400
;
font-variant
:
normal
;
text-transform
:
none
;
line-height
:
1
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
}
.icon-register
:before
{
content
:
"\e973"
}
.icon-setting
:before
{
content
:
"\e994"
}
.icon-login
:before
{
content
:
"\ea13"
}
.icon-logout
:before
{
content
:
"\ea14"
}
.icon-rss
:before
{
content
:
"\e901"
}
.form
{
width
:
100%
;
margin-top
:
50px
}
.form
button
,
.form
input
,
.form
textarea
{
border
:
1px
solid
#CCC
;
background-color
:
#FAFAFA
;
border-radius
:
3px
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,
.075
)
inset
;
padding
:
7px
8px
;
width
:
100%
;
box-sizing
:
border-box
;
outline
:
0
}
.form
button
{
width
:
auto
}
.form
input
:focus
,
.form
textarea
:focus
{
background-color
:
#FFF
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,
.075
)
inset
,
0
0
5px
rgba
(
81
,
167
,
232
,
.5
);
border
:
1px
solid
#51A7E8
}
.error-msg
{
color
:
#9EABB3
;
margin-right
:
10px
}
.em00
,
.em01
,
.em02
,
.em03
,
.em04
,
.em05
,
.em06
,
.em07
,
.em08
,
.em09
,
.em10
,
.em11
,
.em12
,
.em13
,
.em14
{
cursor
:
pointer
;
background-image
:
url(../images/emotions/emotions-ease.png)
;
float
:
left
;
height
:
24px
;
margin-right
:
5px
;
width
:
24px
;
transition
:
all
.2s
ease-out
;
-webkit-transition
:
all
.2s
ease-out
;
-moz-transition
:
all
.2s
ease-out
}
.menu
.menu-item
a
,
.pagination
.next
,
.pagination
.page-number
,
.post-title-link
::before
,
.posts-collapse
.post-header
,
.posts-collapse
.post-header
::before
,
.sidebar-toggle-line
{
transition-duration
:
.2s
;
transition-timing-function
:
ease-in-out
;
transition-delay
:
0s
}
#emotions
span
:hover
{
transform
:
scale
(
1.2
)
rotate
(
360deg
);
-webkit-transform
:
scale
(
1.2
)
rotate
(
360deg
);
-moz-transform
:
scale
(
1.2
)
rotate
(
360deg
)}
.em01
{
background-position
:
-24px
0
}
.em02
{
background-position
:
-48px
0
}
.em03
{
background-position
:
-72px
0
}
.em04
{
background-position
:
-96px
0
}
.em05
{
background-position
:
0
-24px
}
.em06
{
background-position
:
-24px
-24px
}
.em07
{
background-position
:
-48px
-24px
}
.em08
{
background-position
:
-72px
-24px
}
.em09
{
background-position
:
-96px
-24px
}
.em10
{
background-position
:
0
-48px
}
.em11
{
background-position
:
-24px
-48px
}
.em12
{
background-position
:
-48px
-48px
}
.em13
{
background-position
:
-72px
-48px
}
.em14
{
background-position
:
-96px
-48px
}
.wrapper
{
width
:
700px
;
margin
:
0
auto
}
.main
{
position
:
relative
;
top
:
-50px
;
opacity
:
0
}
.header
{
background
:
#f5f5f5
;
margin-bottom
:
80px
;
padding
:
40px
45px
}
.logo-wrap
{
float
:
left
;
margin-left
:
-20px
;
overflow
:
hidden
;
top
:
0
;
opacity
:
0
}
.logo-line-after
,
.logo-line-before
{
display
:
block
;
overflow
:
hidden
;
margin
:
0
auto
;
width
:
75%
}
.logo-line-after
i
,
.logo-line-before
i
{
position
:
relative
;
display
:
block
;
height
:
2px
;
background
:
#222
;
left
:
-100%
}
.logo-line-after
i
{
left
:
auto
;
right
:
-100%
}
.logo-wrap
.site-title
{
font-size
:
22px
;
font-weight
:
bolder
;
opacity
:
0
;
top
:
-10px
;
position
:
relative
}
.logo-wrap
>
a
{
position
:
relative
;
display
:
inline-block
;
padding
:
2px
1px
;
color
:
#222
;
line-height
:
2
;
border-bottom
:
none
;
font-family
:
Lato
,
"PingFang SC"
,
"Microsoft YaHei"
,
sans-serif
}
.site-nav-toggle
{
display
:
none
}
.menu
.menu-item
,
.sidebar-toggle-line
{
display
:
inline-block
}
.menu
{
float
:
left
;
margin
:
5px
0
0
20px
;
padding
:
0
20px
;
opacity
:
0
}
.menu
.menu-item
a
{
padding
:
5px
10px
;
border
:
none
;
transition-property
:
background
}
.menu
.menu-item
a
:hover
{
background
:
#e1e1e1
}
.site-search
{
float
:
right
;
margin-top
:
15px
}
.site-search
input
{
padding
:
3px
3px
3px
18px
;
border
:
none
;
border-radius
:
0
;
width
:
140px
;
background
:
url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGhlaWdodD0iMTZweCIgaWQ9IkxheWVyXzEiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDE2IDE2OyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMTYgMTYiIHdpZHRoPSIxNnB4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cGF0aCBkPSJNMTUuNywxNC4zbC0zLjEwNS0zLjEwNUMxMy40NzMsMTAuMDI0LDE0LDguNTc2LDE0LDdjMC0zLjg2Ni0zLjEzNC03LTctN1MwLDMuMTM0LDAsN3MzLjEzNCw3LDcsNyAgYzEuNTc2LDAsMy4wMjQtMC41MjcsNC4xOTQtMS40MDVMMTQuMywxNS43YzAuMTg0LDAuMTg0LDAuMzgsMC4zLDAuNywwLjNjMC41NTMsMCwxLTAuNDQ3LDEtMUMxNiwxNC43ODEsMTUuOTQ2LDE0LjU0NiwxNS43LDE0LjN6ICAgTTIsN2MwLTIuNzYyLDIuMjM4LTUsNS01czUsMi4yMzgsNSw1cy0yLjIzOCw1LTUsNVMyLDkuNzYyLDIsN3oiLz48L3N2Zz4=)
0
50%
no-repeat
;
background-size
:
12px
12px
;
outline
:
0
;
border-bottom
:
1px
solid
#999
;
opacity
:
.5
}
.site-search
input
:focus
{
opacity
:
1
}
.footer
{
margin-top
:
80px
;
padding
:
10px
20px
;
background
:
#f5f5f5
;
color
:
#666
;
line-height
:
2
}
.back-to-top
,
.sidebar-toggle
{
right
:
50px
;
z-index
:
1050
;
padding
:
5px
;
cursor
:
pointer
}
.sidebar-toggle
{
position
:
fixed
;
bottom
:
45px
;
width
:
15px
;
height
:
15px
;
background
:
#222
;
line-height
:
0
;
-webkit-transform
:
translateZ
(
0
)}
.sidebar-toggle-line
{
position
:
relative
;
vertical-align
:
top
;
height
:
2px
;
width
:
100%
;
background
:
#fff
;
margin-top
:
4px
}
.sidebar-toggle-line
:first-child
{
margin-top
:
0
}
.sidebar-toggle
:hover
.sidebar-toggle-line-first
{
width
:
50%
;
transform
:
rotateZ
(
-45deg
);
top
:
3px
}
.sidebar-toggle
:hover
.sidebar-toggle-line-middle
{
width
:
90%
}
.sidebar-toggle
:hover
.sidebar-toggle-line-last
{
width
:
50%
;
transform
:
rotateZ
(
45deg
);
top
:
-3px
}
.sidebar-toggle.sidebar-active
.sidebar-toggle-line-first
{
width
:
100%
;
transform
:
rotateZ
(
-45deg
);
top
:
6px
}
.sidebar-toggle.sidebar-active
.sidebar-toggle-line-middle
{
opacity
:
0
}
.sidebar-toggle.sidebar-active
.sidebar-toggle-line-last
{
width
:
100%
;
transform
:
rotateZ
(
45deg
);
top
:
-6px
}
.back-to-top
,
.sidebar
{
position
:
fixed
;
background
:
#222
;
-webkit-transform
:
translateZ
(
0
)}
.back-to-top
{
bottom
:
19px
;
width
:
15px
;
height
:
13px
;
color
:
#fff
}
.back-to-top
:before
{
display
:
block
;
content
:
" "
;
margin-top
:
2px
;
width
:
0
;
height
:
0
;
border-width
:
0
7px
8px
;
border-color
:
transparent
transparent
#fff
;
border-style
:
solid
}
.sidebar
{
width
:
320px
;
right
:
-320px
;
top
:
0
;
bottom
:
0
;
z-index
:
1040
;
box-shadow
:
inset
0
2px
6px
#000
;
padding
:
20px
10px
;
color
:
#999
;
text-align
:
center
;
box-sizing
:
border-box
}
.sidebar
a
{
color
:
#999
;
border-bottom-color
:
#555
}
.sidebar
a
:hover
{
color
:
#eee
}
.sidebar
.site-author-image
{
display
:
block
;
margin
:
20px
auto
0
;
max-width
:
96px
;
height
:
auto
;
border
:
2px
solid
#333
;
padding
:
2px
}
.sidebar
.site-author-name
{
margin
:
5px
0
0
;
color
:
#f5f5f5
}
.sidebar
.site-description
{
margin-top
:
5px
;
font-size
:
14px
;
color
:
#555
}
.sidebar
.feed-link
,
.sidebar
.links-of-author
{
margin-top
:
20px
}
.sidebar
.site-state-item
{
display
:
inline-block
;
padding
:
0
15px
;
border-left
:
1px
solid
#333
}
.sidebar
.site-state-item
:first-child
{
border-left
:
none
}
.sidebar
.site-state-item
a
{
border-bottom
:
none
}
.sidebar
.site-state-item-count
{
display
:
block
;
text-align
:
center
;
font-size
:
18px
}
.sidebar
.site-state-item-name
{
font-size
:
13px
}
.sidebar
.feed-link
a
{
display
:
inline-block
;
padding
:
3px
15px
;
color
:
#fc6423
;
border
:
1px
solid
#fc6423
;
border-radius
:
4px
}
.sidebar
.feed-link
a
:hover
{
color
:
#fff
;
background
:
#fc6423
}
.sidebar
.links-of-author
a
{
display
:
inline-block
;
vertical-align
:
middle
;
margin-right
:
10px
;
margin-bottom
:
10px
;
border-bottom-color
:
#555
;
font-size
:
13px
}
.sidebar
.links-of-author
a
:before
{
display
:
inline-block
;
vertical-align
:
middle
;
margin-right
:
3px
;
content
:
" "
;
width
:
4px
;
height
:
4px
;
border-radius
:
50%
;
background
:
#0dd5ff
}
.sidebar
.b3-solo-list
{
margin
:
20px
;
list-style
:
none
;
text-align
:
left
;
padding
:
0
;
font-size
:
14px
;
line-height
:
2
}
.posts-expand
.post-item
{
margin-top
:
120px
}
.posts-expand
.post-item
:first-child
{
margin-top
:
0
}
.post-title-link
{
display
:
inline-block
;
position
:
relative
;
color
:
#555
;
border-bottom
:
none
;
line-height
:
1.2
;
vertical-align
:
top
;
font-size
:
26px
;
font-weight
:
400
}
.post-title-link
::before
{
content
:
""
;
position
:
absolute
;
width
:
100%
;
height
:
2px
;
bottom
:
0
;
left
:
0
;
background-color
:
#000
;
visibility
:
hidden
;
transform
:
scaleX
(
0
)}
.post-title-link
:hover::before
{
visibility
:
visible
;
transform
:
scaleX
(
1
)}
.posts-expand
.post-meta
{
margin
:
3px
0
60px
;
color
:
#999
;
font-size
:
12px
}
.post-more-link
a
{
color
:
#666
;
border
:
none
;
border-bottom
:
2px
solid
#666
;
transition-property
:
border
}
.post-more-link
a
:hover
{
border-bottom-color
:
#222
}
.pagination
{
border-top
:
1px
solid
#eee
;
margin
:
120px
0
0
;
text-align
:
left
}
.post-header
,
.tag-cloud
{
text-align
:
center
}
.pagination
.next
,
.pagination
.page-number
{
display
:
inline-block
;
position
:
relative
;
top
:
-1px
;
margin
:
0
5px
;
padding
:
0
10px
;
line-height
:
30px
;
border-bottom
:
0
;
border-top
:
1px
solid
#eee
;
transition-property
:
border-color
}
.pagination
.next
:hover
,
.pagination
.page-number
:hover
{
border-top-color
:
#222
}
.pagination
.page-number.current
{
color
:
#fff
;
background
:
#ccc
;
border-top-color
:
#ccc
}
.post-body
img
{
box-sizing
:
border-box
;
margin
:
auto
}
.posts-expand
.post-tags
{
margin-top
:
40px
}
.posts-expand
.post-tags
a
{
padding
:
1px
5px
;
background
:
#f5f5f5
;
border-bottom
:
none
}
.posts-expand
.post-tags
a
:hover
{
background
:
#ccc
}
.posts-expand
.post-nav
{
margin-top
:
40px
;
overflow
:
hidden
;
padding
:
10px
;
white-space
:
nowrap
;
border-top
:
1px
solid
#eee
}
.post-nav-item
a
:hover
{
color
:
#222
;
border-bottom
:
none
}
.post-nav-item
a
{
position
:
relative
;
display
:
inline-block
;
line-height
:
25px
;
font-size
:
14px
;
color
:
#555
;
border-bottom
:
none
;
width
:
50%
}
ul
.comments
{
padding
:
0
;
list-style
:
none
;
margin-top
:
50px
;
position
:
relative
}
ul
.comments
li
{
padding
:
10px
;
white-space
:
normal
;
position
:
relative
;
border-bottom
:
#EBF2F6
1px
solid
}
ul
.comments
li
:hover
{
background-color
:
#F7F7F7
}
ul
.comments
.avatar-48
{
position
:
absolute
;
box-shadow
:
0
0
2px
#ddd
;
height
:
48px
;
width
:
48px
;
margin
:
8px
10px
0
0
;
border-radius
:
24px
}
ul
.comments
.comment-body
{
margin
:
8px
0
0
60px
;
min-height
:
50px
}
ul
.comments
li
.comment-body-ref
{
position
:
absolute
;
z-index
:
10
;
background-color
:
#EBF2F6
;
border
:
1px
solid
#d5dbde
;
width
:
80%
;
left
:
69px
}
.posts-collapse
.collection-title
::before
,
.posts-collapse
.post-header
::before
{
left
:
0
;
background
:
#bbb
;
border-radius
:
50%
;
content
:
" "
}
ul
.comments
.comment-meta
{
font-family
:
"Open Sans"
,
"Microsoft Yahei"
,
Helvetica
;
color
:
#9eabb3
;
font-size
:
13px
}
ul
.comments
.comment-meta
a
{
color
:
#9EABB3
;
text-decoration
:
none
;
border-bottom-width
:
0
}
ul
.comments
.post-meta
a
:hover
{
text-decoration
:
underline
}
ul
.comments
.comment-meta
time
{
border-left
:
1px
solid
#d5dbde
;
margin-left
:
8px
;
padding-left
:
12px
}
#captcha
,
#captchaReply
{
height
:
27px
;
vertical-align
:
inherit
}
.tag-cloud
ul
.tag-cloud-tags
{
padding-left
:
0
}
#tags
li
{
list-style
:
none
;
display
:
inline-block
;
margin
:
10px
}
#tags
.tags1
{
font-size
:
12px
;
color
:
#CCC
}
#tags
.tags2
{
font-size
:
16px
;
color
:
#999
}
#tags
.tags3
{
font-size
:
21px
;
color
:
#6f6f6f
}
#tags
.tags4
{
font-size
:
24px
;
color
:
#333
}
#tags
.tags5
{
font-size
:
30px
;
color
:
#111
}
.posts-collapse
.collection-title
::before
{
position
:
absolute
;
top
:
50%
;
margin-left
:
-4px
;
margin-top
:
-4px
;
width
:
8px
;
height
:
8px
}
.posts-collapse
.collection-title
{
position
:
relative
;
margin
:
60px
0
}
.posts-collapse
.collection-title
h2
{
margin-left
:
20px
}
.posts-collapse
.collection-title
small
{
color
:
#bbb
}
.posts-collapse
.post-header
::before
{
position
:
absolute
;
top
:
12px
;
width
:
6px
;
height
:
6px
;
margin-left
:
-4px
;
border
:
1px
solid
#fff
;
transition-property
:
background
}
.posts-collapse
.post-header
{
position
:
relative
;
transition-property
:
border
;
border-bottom
:
1px
dashed
#ccc
;
text-align
:
left
}
.posts-collapse
.post-header
:hover
{
border-bottom-color
:
#666
}
.posts-collapse
.post-header
:hover::before
{
background
:
#222
}
.posts-collapse
.post-time
{
position
:
absolute
;
font-size
:
12px
;
left
:
20px
;
top
:
8px
}
.posts-collapse
.post-title
{
margin-left
:
70px
;
font-size
:
16px
;
font-weight
:
400
;
font-family
:
Lato
,
"PingFang SC"
,
"Microsoft YaHei"
,
sans-serif
;
line-height
:
inherit
;
text-decoration
:
none
;
border-bottom
:
0
;
color
:
#666
}
.page-archive
.archive-page-counter
{
position
:
relative
;
top
:
7px
;
left
:
20px
;
margin-bottom
:
50px
;
display
:
block
}
.page-archive
.posts-collapse
.archive-move-on
{
position
:
absolute
;
top
:
11px
;
left
:
0
;
margin-left
:
-6px
;
width
:
10px
;
height
:
10px
;
opacity
:
.5
;
background
:
#555
;
border
:
1px
solid
#fff
;
border-radius
:
50%
}
.page-archive
.post-title
{
margin-left
:
20px
}
.page-archive
.posts-collapse
.post-header
::before
{
top
:
8px
}
.page-archive
.posts-collapse
::after
{
top
:
20px
;
left
:
0
;
margin-left
:
-2px
;
width
:
4px
;
height
:
100%
;
background
:
#f5f5f5
;
z-index
:
-1
;
content
:
" "
;
position
:
absolute
}
@media
(
max-width
:
700px
){
.b3-solo-list
{
margin
:
0
;
padding
:
0
}
.page-archive
.posts-collapse
.archive-move-on
{
margin-left
:
5px
}
.posts-collapse
{
margin-left
:
10px
}}
@media
(
max-width
:
500px
){
pre
{
word-wrap
:
break-word
;
word-break
:
break-all
;
white-space
:
normal
}
.page-archive
.archive-page-counter
{
margin-right
:
10px
}
.site-nav-toggle
{
display
:
block
;
margin-top
:
16px
}
.back-to-top
,
.header-line
,
.logo-line-after
,
.logo-line-before
,
.menu
,
.sidebar-toggle
,
.site-search
{
display
:
none
}
.header
{
margin-bottom
:
50px
;
padding
:
5px
0
}
.header-line
{
position
:
relative
;
top
:
52px
;
height
:
1px
;
width
:
100%
;
background-color
:
#ddd
}
.btn-bar
,
.menu
.menu-item
{
display
:
block
}
.header
.wrapper
{
padding
:
0
10px
}
.logo-wrap
.site-title
{
margin-left
:
10px
}
.wrapper
{
width
:
auto
;
margin
:
0
10px
}
.btn-bar
{
width
:
22px
;
height
:
2px
;
background
:
#555
;
border-radius
:
1px
}
.btn-bar
+
.btn-bar
{
margin-top
:
4px
}
.menu
{
width
:
100%
;
margin
:
0
0
0
-20px
;
padding
:
0
5px
;
line-height
:
26px
}
.footer
{
text-align
:
center
}}
\ No newline at end of file
src/main/webapp/skins/next/footer.ftl
View file @
b54b09c7
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
${footerContent}
${footerContent}
Powered by <a href="http://b3log.org" target="_blank">B3log 开源</a> •
Powered by <a href="http://b3log.org" target="_blank">B3log 开源</a> •
<a href="http://b3log.org/services/#solo" target="_blank">Solo</a> ${version}
<a href="http://b3log.org/services/#solo" target="_blank">Solo</a> ${version}
<div class="fn-right">Theme by <a href="http://iissnan.com/" target="_blank">IIssNan</a> & <a href="http://vanessa.b3log.org" target="_blank">Vanessa</a>.</div>
</div>
</div>
</footer>
</footer>
<div class="back-to-top" onclick="Util.goTop()"></div>
<div class="back-to-top" onclick="Util.goTop()"></div>
...
...
src/main/webapp/skins/next/js/next.min.js
View file @
b54b09c7
/*
* Copyright (c) 2010-2016, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var
NexT
=
{
init
:
function
(){
$
(
"
.sidebar-toggle
"
).
click
(
function
(){
var
i
=
$
(
"
.sidebar
"
);
$
(
this
).
hasClass
(
"
sidebar-active
"
)?(
$
(
this
).
removeClass
(
"
sidebar-active
"
),
$
(
"
body
"
).
animate
({
"
padding-right
"
:
0
}),
i
.
animate
({
right
:
-
320
})):(
$
(
this
).
addClass
(
"
sidebar-active
"
),
$
(
"
body
"
).
animate
({
"
padding-right
"
:
320
}),
i
.
animate
({
right
:
0
}))}),
$
(
"
.site-nav-toggle
"
).
click
(
function
(){
$
(
"
.site-nav
"
).
slideToggle
()}),
$
(
document
).
ready
(
function
(){
setTimeout
(
function
(){
$
(
"
.logo-wrap
"
).
css
(
"
opacity
"
,
1
),
$
(
"
.logo-line-before i
"
).
animate
({
left
:
"
0
"
},
function
(){
$
(
"
.site-title
"
).
css
(
"
opacity
"
,
1
).
animate
({
top
:
0
},
function
(){
$
(
"
.menu
"
).
css
(
"
opacity
"
,
1
).
animate
({
"
margin-top
"
:
"
15px
"
}),
$
(
"
.main
"
).
css
(
"
opacity
"
,
1
).
animate
({
top
:
"
0
"
})})}),
$
(
"
.logo-line-after i
"
).
animate
({
right
:
"
0
"
})},
500
)})},
initArticle
:
function
(){
$
(
"
.b3-solo-list li
"
).
length
>
0
&&
$
(
window
).
width
()
>
700
&&
(
$
(
"
.sidebar
"
).
html
(
$
(
"
.b3-solo-list
"
)),
$
(
"
.sidebar-toggle
"
).
click
())}};
NexT
.
init
();
var
NexT
=
{
init
:
function
(){
$
(
"
.sidebar-toggle
"
).
click
(
function
(){
var
i
=
$
(
"
.sidebar
"
);
$
(
this
).
hasClass
(
"
sidebar-active
"
)?(
$
(
this
).
removeClass
(
"
sidebar-active
"
),
$
(
"
body
"
).
animate
({
"
padding-right
"
:
0
}),
i
.
animate
({
right
:
-
320
})):(
$
(
this
).
addClass
(
"
sidebar-active
"
),
$
(
"
body
"
).
animate
({
"
padding-right
"
:
320
}),
i
.
animate
({
right
:
0
}))}),
$
(
"
.site-nav-toggle
"
).
click
(
function
(){
$
(
"
.site-nav
"
).
slideToggle
()}),
$
(
document
).
ready
(
function
(){
setTimeout
(
function
(){
$
(
"
.logo-wrap
"
).
css
(
"
opacity
"
,
1
),
$
(
"
.logo-line-before i
"
).
animate
({
left
:
"
0
"
},
function
(){
$
(
"
.site-title
"
).
css
(
"
opacity
"
,
1
).
animate
({
top
:
0
},
function
(){
$
(
"
.menu
"
).
css
(
"
opacity
"
,
1
).
animate
({
"
margin-top
"
:
"
15px
"
}),
$
(
"
.main
"
).
css
(
"
opacity
"
,
1
).
animate
({
top
:
"
0
"
})})}),
$
(
"
.logo-line-after i
"
).
animate
({
right
:
"
0
"
})},
500
)})},
initArticle
:
function
(){
$
(
"
.b3-solo-list li
"
).
length
>
0
&&
$
(
window
).
width
()
>
700
&&
(
$
(
"
.sidebar
"
).
html
(
$
(
"
.b3-solo-list
"
)),
$
(
"
.sidebar-toggle
"
).
click
())}};
NexT
.
init
();
\ No newline at end of file
src/main/webapp/skins/yilia/skin.properties
View file @
b54b09c7
...
@@ -22,5 +22,5 @@
...
@@ -22,5 +22,5 @@
name
=
yilia
name
=
yilia
version
=
1.0.0
version
=
1.0.0
forSolo
=
1.
4
.0
forSolo
=
1.
5
.0
memo
=
http://litten.github.io/
memo
=
http://litten.github.io/
src/test/resources/skins/
yilia
/skin.properties
→
src/test/resources/skins/
next
/skin.properties
View file @
b54b09c7
#
#
# Copyright (c) 2010-201
5, b3log.org
# Copyright (c) 2010-201
6, b3log.org & hacpai.com
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# you may not use this file except in compliance with the License.
...
@@ -15,12 +15,12 @@
...
@@ -15,12 +15,12 @@
#
#
#
#
# Description:
yilia
skin.
# Description:
next
skin.
# Version: 0.1.
0.0, Nov 1, 2015
# Version: 0.1.
1.0, Jun 29, 2016
# Author: Liyuan Li
# Author: Liyuan Li
#
#
name
=
yilia
name
=
next
version
=
1.0.0
version
=
1.0.0
forSolo
=
1.
2
.0
forSolo
=
1.
5
.0
memo
=
http
://litten.github.io/
memo
=
http
s://github.com/iissnan/hexo-theme-next
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