Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
0361d23b
Commit
0361d23b
authored
Mar 18, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新版本提示
parent
8d64e132
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
1 deletion
+35
-1
links.css
dist/css/links.css
+2
-0
links.less
dist/css/links.less
+22
-0
index.html
dist/index.html
+11
-1
No files found.
dist/css/links.css
View file @
0361d23b
...
...
@@ -3,3 +3,5 @@
#github-url
:after
{
content
:
' '
;
display
:
block
;
position
:
absolute
;
width
:
130px
;
height
:
130px
;
background
:
url(../img/github_mark.png)
no-repeat
5px
4px
}
#github-url
a
{
display
:
block
;
position
:
absolute
;
top
:
40px
;
font-size
:
18px
;
width
:
300px
;
height
:
40px
;
padding
:
10px
0
10px
20px
;
line-height
:
40px
;
color
:
#000
;
left
:
120px
;
border-radius
:
0
25px
25px
0
;
background-color
:
#fff
}
#about
{
position
:
absolute
;
bottom
:
10px
;
right
:
10px
;
height
:
24px
;
line-height
:
24px
;
color
:
#888
;
font-family
:
Arial
;
font-size
:
13px
;
font-weight
:
normal
;
margin
:
0
;
text-shadow
:
0
1px
1px
#000
}
#about
a
{
color
:
#888
}
#about
a
:hover
{
color
:
#fff
}
#km-version
.new-version
{
position
:
relative
;
padding-right
:
30px
}
#km-version
.new-version
:after
{
content
:
'NEW'
;
color
:
#ff0
;
position
:
absolute
;
top
:
-10px
;
right
:
-5px
;
display
:
block
;
background
:
#f00
;
padding
:
0
5px
;
border-radius
:
4px
;
text-shadow
:
none
;
box-shadow
:
-1px
1px
3px
rgba
(
0
,
0
,
0
,
0.3
);
-webkit-transform
:
scale
(
.6
);
-moz-transform
:
scale
(
.6
);
-ms-transform
:
scale
(
.6
);
transform
:
scale
(
.6
)}
dist/css/links.less
View file @
0361d23b
...
...
@@ -80,4 +80,26 @@
color: white;
}
}
}
#km-version.new-version {
position: relative;
padding-right: 30px;
}
#km-version.new-version:after {
content: 'NEW';
color: yellow;
position: absolute;
top: -10px;
right: -5px;
display: block;
background: red;
padding: 0 5px;
border-radius: 4px;
text-shadow: none;
box-shadow: -1px 1px 3px rgba(0,0,0,.3);
-webkit-transform: scale(.6);
-moz-transform: scale(.6);
-ms-transform: scale(.6);
transform: scale(.6);
}
\ No newline at end of file
dist/index.html
View file @
0361d23b
...
...
@@ -27,7 +27,7 @@
<a
href=
"https://github.com/fex-team/kityminder.git"
target=
"_blank"
>
Fork me on Github
</a>
</div>
<p
id=
"about"
>
Powered by f-cube,
<a
href=
"http://fex.baidu.com"
target=
"_blank"
>
FEX
</a>
|
KityMinder
<a
id=
"km-version"
href=
"https://github.com/fex-team/kityminder/blob/dev/CHANGELOG.md"
target=
"blank"
></a>
,
Powered by f-cube,
<a
href=
"http://fex.baidu.com"
target=
"_blank"
>
FEX
</a>
|
<a
href=
"https://github.com/fex-team/kityminder/issues/new"
target=
"_blank"
>
Report a Bug
</a>
|
<a
href=
"mailto:kity@baidu.com"
target=
"_blank"
>
Contact Us
</a>
</p>
...
...
@@ -36,5 +36,15 @@
<script>
// create km instance
window
.
km
=
KM
.
getKityMinder
(
'kityminder'
);
$
(
function
()
{
var
lastVersion
=
localStorage
.
lastKMVersion
;
$
(
'#km-version'
).
text
(
'v'
+
KM
.
version
);
if
(
lastVersion
!=
KM
.
version
)
{
$
(
'#km-version'
).
addClass
(
'new-version'
);
localStorage
.
lastVersion
=
KM
.
version
;
}
});
</script>
</html>
\ No newline at end of file
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