-
Notifications
You must be signed in to change notification settings - Fork 358
Expand file tree
/
Copy pathindex.html
More file actions
114 lines (103 loc) · 4.64 KB
/
index.html
File metadata and controls
114 lines (103 loc) · 4.64 KB
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!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 positions'>
<li>
<label>Position</label>
<label><input type="radio" name="position" value="top" class="position" /> Top</label>
<label><input type="radio" name="position" value="right" class="position" /> Right</label>
<label><input type="radio" name="position" value="bottom" class="position" /> Bottom</label>
<label><input type="radio" name="position" value="left" class="position" /> Left</label>
</li>
</ol>
<ol class='section'>
<li>
<label for='size'>Size</label>
<input class='size' id='size' /><span class='unit'>px</span>
</li>
<li>
<label for='color'>Color</label>
<input class='base_color color {hash:true,caps:false}' id='color' />
</li>
</ol>
<ol class='section'>
<li>
<label for='border_width'>Border width</label>
<input class='border_width' id='border_width' /><span class='unit'>px</span>
</li>
<li>
<label for='border_color'>Border color</label>
<input class='border_color color {hash:true,caps:false}' id='border_color' />
</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 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 defer = (function (document, script) {
var urls = [],
firstScript = document.getElementsByTagName(script)[0];
return function (url, callback) {
var inc;
if (url && urls.indexOf(url) === -1) {
inc = document.createElement(script);
inc.async = true;
inc.src = url;
inc.onload = callback || function () {};
firstScript.parentNode.insertBefore(inc, firstScript);
}
}
}(document, 'script'));
window.onload = function () {
defer(('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js');
defer('//platform.twitter.com/widgets.js');
};
})();
</script>
</body>
</html>