Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Commit

Permalink
migration to Snap.svg
Browse files Browse the repository at this point in the history
  • Loading branch information
violy committed Mar 16, 2015
1 parent 8b4a62c commit 5424aea
Show file tree
Hide file tree
Showing 11 changed files with 534 additions and 1,816 deletions.
3 changes: 3 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

335 changes: 198 additions & 137 deletions .idea/workspace.xml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"bootstrap-sass": "~3.3.3",
"underscore": "~1.8.2",
"jquery-mousewheel": "~3.1.12",
"jquery.svg": "*",
"jquery.finger": "~0.1.2",
"font-awesome": "~4.3.0"
"font-awesome": "~4.3.0",
"Snap.svg": "~0.3.0"
}
}
15 changes: 5 additions & 10 deletions css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -8655,34 +8655,29 @@ button.close {
stroke-miterlimit: 0;
}
/* line 33, ../sass/_curriculum.scss */
#svg #items .icon text {
#svg #items .icon text, #svg #items .icon text tspan {
cursor: default;
text-anchor: middle;
alignment-baseline: central;
font-family: 'FontAwesome';
}
/* line 40, ../sass/_curriculum.scss */
/* line 37, ../sass/_curriculum.scss */
#svg #items .icon.lightbulb-o text {
font-size: 1.5em;
}
/* line 47, ../sass/_curriculum.scss */
/* line 44, ../sass/_curriculum.scss */
#svg #debug use {
fill: #000;
}
/* line 53, ../sass/_curriculum.scss */
/* line 50, ../sass/_curriculum.scss */
#svg #dates-lines .horizontal .year {
-webkit-transform: translate(20px, 0);
-ms-transform: translate(20px, 0);
-o-transform: translate(20px, 0);
transform: translate(20px, 0);
}
/* line 58, ../sass/_curriculum.scss */
/* line 55, ../sass/_curriculum.scss */
#svg .year {
font-size: 28px;
font-weight: 700;
font-family: "Raleway", sans-serif;
text-anchor: middle;
alignment-baseline: middle;
}

/* line 1, ../sass/_main.scss */
Expand Down
10 changes: 10 additions & 0 deletions images/date-wrapper.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 1 addition & 16 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link href="css/ie.css" media="screen, projection" rel="stylesheet" type="text/css"/>
<![endif]-->
<link href='http://fonts.googleapis.com/css?family=Raleway:700,900,400' rel='stylesheet' type='text/css'>
<script src="js/bower.min.js"></script>
<script src="js/bower.js"></script>
<script src="js/cv.js"></script>

</head>
Expand All @@ -19,21 +19,6 @@ <h1>Arthur Violy</h1>
<div class="headlines"><h2>Programme</h2> <h2>Designe</h2> <h2>Enseigne</h2></div>
</header>
<svg id="svg" xmlns="http://www.w3.org/2000/svg" viewBox="-240 -240 480 480">
<defs id="defs">
<circle id="c" r="7.5"></circle>
<path id="track_right" d="M0 480L0 20 A 20 20 0 0 0 -20 0 L-480 0"></path>
<path id="track_left" d="M0 480 L0 20 A 20 20 0 0 1 20 0 L 480 0"></path>
<g id="date-block">
<path fill="#FFFFFF" d="M100,14.5c0,1.378-1.122,2.5-2.5,2.5h-73c-1.378,0-2.5-1.122-2.5-2.5v-29c0-1.378,1.122-2.5,2.5-2.5h73 c1.378,0,2.5,1.122,2.5,2.5V14.5z"/>
<path d="M97.5-22h-73c-4.136,0-7.5,3.364-7.5,7.5V-4H9.163C7.619-7.53,4.1-10,0-10c-5.523,0-10,4.477-10,10s4.477,10,10,10 c4.1,0,7.619-2.47,9.163-6H17v10.5c0,4.136,3.364,7.5,7.5,7.5h73c4.136,0,7.5-3.364,7.5-7.5v-29C105-18.636,101.636-22,97.5-22zM100,14.5c0,1.378-1.122,2.5-2.5,2.5h-73c-1.378,0-2.5-1.122-2.5-2.5v-29c0-1.378,1.122-2.5,2.5-2.5h73c1.378,0,2.5,1.122,2.5,2.5V14.5z"/>
</g>
</defs>
<g id="stage">
<!--<circle id="center-mark" r="50"></circle>-->
<g id="items"></g>
<g id="dates-lines"></g>
</g>
<g id="debug"></g>
</svg>
</body>
</html>
Loading

0 comments on commit 5424aea

Please sign in to comment.