-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
540 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.min.js.map] | ||
insert_final_newline = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,4 +31,4 @@ vnode.js | |
vnode.js.map | ||
modules | ||
helpers | ||
es | ||
es |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,4 +30,4 @@ build/Release | |
node_modules | ||
|
||
# Vim | ||
*.swp | ||
*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,74 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | ||
<meta charset="utf-8"> | ||
<title>Carousel</title> | ||
<script type="text/javascript" src="build.js"></script> | ||
<style type="text/css"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | ||
<meta charset="utf-8"> | ||
<title>Carousel</title> | ||
<script type="text/javascript" src="build.js"></script> | ||
<style type="text/css"> | ||
div.view { | ||
margin: 10px; | ||
margin: 10px; | ||
} | ||
h1 { | ||
font-size: 24px; | ||
color: #505000; | ||
font-size: 24px; | ||
color: #505000; | ||
} | ||
svg { | ||
display: block; | ||
margin-bottom: 10px; | ||
border: 1px solid gray; | ||
display: block; | ||
margin-bottom: 10px; | ||
border: 1px solid gray; | ||
} | ||
g#carousel { | ||
-webkit-transition: -webkit-transform 1s ease; | ||
transition: transform 1s ease; | ||
-webkit-transition: -webkit-transform 1s ease; | ||
transition: transform 1s ease; | ||
} | ||
polygon { | ||
stroke: #808000; | ||
transition: fill 0.5s linear; | ||
stroke: #808000; | ||
transition: fill 0.5s linear; | ||
} | ||
polygon#yellow { | ||
fill: rgba(255,255,0,0.4); | ||
fill: rgba(255,255,0,0.4); | ||
} | ||
polygon#yellow:hover, polygon#yellow:active { | ||
fill: yellow; | ||
fill: yellow; | ||
} | ||
polygon#green { | ||
fill: rgba(0,128,0,0.4); | ||
fill: rgba(0,128,0,0.4); | ||
} | ||
polygon#green:hover, polygon#green:active { | ||
fill: green; | ||
fill: green; | ||
} | ||
polygon#magenta { | ||
fill: rgba(255,0,255,0.4); | ||
fill: rgba(255,0,255,0.4); | ||
} | ||
polygon#magenta:hover, polygon#magenta:active { | ||
fill: magenta; | ||
fill: magenta; | ||
} | ||
polygon#red { | ||
fill: rgba(255,0,0,0.4); | ||
fill: rgba(255,0,0,0.4); | ||
} | ||
polygon#red:hover, polygon#red:active { | ||
fill: red; | ||
fill: red; | ||
} | ||
polygon#cyan { | ||
fill: rgba(0,255,255,0.4); | ||
fill: rgba(0,255,255,0.4); | ||
} | ||
polygon#cyan:hover, polygon#cyan:active { | ||
fill: cyan; | ||
fill: cyan; | ||
} | ||
polygon#blue { | ||
fill: rgba(0,0,255,0.4); | ||
fill: rgba(0,0,255,0.4); | ||
} | ||
polygon#blue:hover, polygon#blue:active { | ||
fill: blue; | ||
fill: blue; | ||
} | ||
button { | ||
font-size: 15px; | ||
margin: 0 0.7em 0.7em 0; | ||
font-size: 15px; | ||
margin: 0 0.7em 0.7em 0; | ||
} | ||
</style> | ||
</style> | ||
</head> | ||
<body> | ||
<div id="container"></div> | ||
<div id="container"></div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.