/
index.html
98 lines (89 loc) · 4.07 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!doctype html>
<html lang='en'>
<head>
<meta charset='utf-8' />
<title>cssarrowplease</title>
<link href='http://fonts.googleapis.com/css?family=Terminal+Dosis:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/app.css" />
</head>
<body>
<a href="http://github.com/hojberg/cssarrowplease"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://a248.e.akamai.net/assets.github.com/img/30f550e0d38ceb6ef5b81500c64d970b7fb0f028/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6f72616e67655f6666373630302e706e67" alt="Fork me on GitHub"></a>
<div id='content' class='clr'>
<div class='preview_and_configuration'>
<div class='preview'>
<div class='arrow_box'>
<h1 class='logo'>css arrow please!</h1>
</div>
</div>
<form class='configuration'>
<h2>Arrow configuration</h2>
<div class='clr'>
<ol class='section'>
<li>
<label>Position</label>
<select class='position'>
<option value='top'>Top</option>
<option value='right'>Right</option>
<option value='bottom'>Bottom</option>
<option value='left'>Left</option>
</select>
</li>
<li>
<label>Size</label>
<input class='size' /><span class='unit'>px</span>
</li>
<li>
<label>Color</label>
<input class='base_color color {hash:true,caps:false}' />
</li>
</ol>
<ol class='section'>
<li>
<label>Border width</label>
<input class='border_width' /><span class='unit'>px</span>
</li>
<li>
<label>Border color</label>
<input class='border_color color {hash:true,caps:false}' />
</li>
</ol>
</div>
</form>
</div>
<code class='result_code' readonly='readonly'></code>
</div>
<footer id='footer'>
© 2012 By <a href='http://icreateui.com'>Simon Højberg</a>
·
Follow me on twitter: <a href='https://twitter.com/shojberg'>@shojberg</a>
·
Checkout the source on <a href='https://github.com/hojberg/cssarrowplease'>github</a>
·
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://cssarrowplease.com" data-text="Simple way to create CSS arrows for tooltips and the like" data-via="shojberg">Tweet</a>
</footer>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'></script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<script type="text/javascript" src="js/vendor/jscolor/jscolor.js"></script>
<link rel="stylesheet" type="text/css" href="js/vendor/jscolor/jscolor.css">
<script src='js/lib/models/arrow.js'></script>
<script src='js/lib/views/arrow_configuration_view.js'></script>
<script src='js/lib/views/arrow_preview_view.js'></script>
<script src='js/lib/views/arrow_css_view.js'></script>
<script src='js/lib/app.js'></script>
<script>
$(document).ready(function () {
new CSSArrowPlease.App().render();
});
</script>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-30519406-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>