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
a7073527
Commit
a7073527
authored
Mar 17, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
github-url
parent
fba52c76
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
70 additions
and
0 deletions
+70
-0
github.css
dist/css/github.css
+4
-0
github.less
dist/css/github.less
+61
-0
GitHub-Mark-120px-plus.png
dist/img/GitHub-Mark-120px-plus.png
+0
-0
index.html
dist/index.html
+5
-0
No files found.
dist/css/github.css
0 → 100644
View file @
a7073527
#github-url
{
position
:
absolute
;
width
:
130px
;
height
:
130px
;
right
:
-90px
;
top
:
60px
;
background-color
:
#fff
;
border-radius
:
65px
;
box-shadow
:
-3px
1px
10px
rgba
(
0
,
0
,
0
,
0.3
);
-webkit-transition
:
all
.2s
ease
;
-moz-transition
:
all
.2s
ease
;
-ms-transition
:
all
.2s
ease
;
transition
:
all
.2s
ease
;
opacity
:
.3
}
#github-url
:hover
{
-webkit-transform
:
translate
(
-280px
);
-moz-transform
:
translate
(
-280px
);
-ms-transform
:
translate
(
-280px
);
transform
:
translate
(
-280px
);
opacity
:
1
}
#github-url
:before
{
content
:
' '
;
display
:
block
;
position
:
absolute
;
width
:
300px
;
height
:
130px
;
left
:
65px
;
top
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0.001
)}
#github-url
:after
{
content
:
' '
;
display
:
block
;
position
:
absolute
;
width
:
130px
;
height
:
130px
;
background
:
url(../img/Github-Mark-120px-plus.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
}
dist/css/github.less
0 → 100644
View file @
a7073527
@bg: #FFF;
#github-url {
position: absolute;
width: 130px;
height: 130px;
right: -90px;
top: 60px;
background-color: @bg;
border-radius: 65px;
box-shadow: -3px 1px 10px rgba(0,0,0,.3);
-webkit-transition: all .2s ease;
-moz-transition: all .2s ease;
-ms-transition: all .2s ease;
transition: all .2s ease;
opacity: .3;
&:hover {
-webkit-transform: translate(-280px);
-moz-transform: translate(-280px);
-ms-transform: translate(-280px);
transform: translate(-280px);
opacity: 1;
}
&:before {
content: ' ';
display: block;
position: absolute;
width: 300px;
height: 130px;
left: 65px;
top: 0;
background: rgba(0,0,0,0.001);
}
&:after {
content: ' ';
display: block;
position: absolute;
width: 130px;
height: 130px;
background: url(../img/Github-Mark-120px-plus.png) no-repeat 5px 4px;
}
a {
display: block;
position: absolute;
top: 40px;
font-size: 18px;
width: 300px;
height: 40px;
padding: 10px 0 10px 20px;
line-height: 40px;
color: black;
left: 120px;
border-radius: 0 25px 25px 0;
background-color: @bg;
}
}
\ No newline at end of file
dist/img/GitHub-Mark-120px-plus.png
0 → 100644
View file @
a7073527
4.17 KB
dist/index.html
View file @
a7073527
...
...
@@ -17,6 +17,8 @@
<link
href=
"../themes/default/css/import.css"
type=
"text/css"
rel=
"stylesheet"
/>
<link
href=
"../dialogs/dialogs.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link
rel=
"stylesheet"
href=
"css/github.css"
/>
<script>
$
(
function
()
{
// create km instance
...
...
@@ -27,6 +29,9 @@
<body>
<div
id=
"kityminder"
onselectstart=
"return false"
></div>
<div
id=
"github-url"
>
<a
href=
"https://github.com/fex-team/kityminder.git"
target=
"_blank"
>
Fork me on Github
</a>
</div>
</body>
</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