-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.htm
executable file
·204 lines (194 loc) · 8.74 KB
/
index.htm
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE html>
<html itemscope itemtype="http://schema.org/CreativeWork">
<head>
<meta charset="utf-8" />
<!-- schema.org -->
<meta itemprop="name" content="CSSpatternz">
<meta itemprop="description" content="A CSS3 Pattern Generator. Create endless combos of CSS3 patterns and get the code to back it up.">
<!-- schema.org -->
<link href='http://fonts.googleapis.com/css?family=Michroma' rel='stylesheet' type='text/css'>
<title>CSS Patternz</title>
<link rel="stylesheet" href="css/jquery-ui-1.8.16.custom.css" />
<link rel="stylesheet" href="css/base.css" />
<!-- <link rel="stylesheet" href="css/shCore.css" /> -->
<script src="js/libs/modernizr.custom.js"></script>
<script src="js/libs/codemirror.js"></script>
<script src="js/libs/codemirrorcss.js"></script>
<style type="text/css" id="render"></style>
</head>
<body id="home">
<!-- <div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '251397934904082', // App ID
channelURL : '//www.csspatternz.com', // Channel File
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
oauth : true, // enable OAuth 2.0
xfbml : true // parse XFBML
});
// Additional initialization code here
};
// Load the SDK Asynchronously
(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));
</script> -->
<header>
<h1><a href="index.htm" title="Back to Pattern Generator"><span>CSS</span>patternz</a></h1>
<nav>
<a href="index.htm" class="current">Generator</a>
<a href="about.htm">About</a>
<a href="presets.htm">Presets</a>
</nav>
<a id="github" href="https://github.com/ahendy/css3patternz">Visit on GitHub</a>
<!-- <div id="social">
<div class="facebook-button">
<div class="fb-like" data-send="false" data-layout="button_count" data-width="80" data-show-faces="false"></div>
</div>
<div class="twitter-button">
<a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="CSSpatternz">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
</div>
<div class="googleplus-button">
<g:plusone size="tall" annotation="inline"></g:plusone>
</div>
</div> -->
</header>
<aside>
<div class="popups">
</div>
<div class="layersWrapper">
<div class="layer minimized" id="layerTemplate">
<div class="controls clearfix">
<div class="sortHandle tip-trigger mobile clearfix"><span class="tip"><span class="tip-arrow"></span>Drag to sort layers</span></div>
<input class="layerName" />
<a href="#" class="suggest"></a>
<a href="#" class="remove button alt tip-trigger static"><span class="icon"></span><span class="tip"><span class="tip-arrow"></span>Remove Layer</span></a>
<!-- Temporary disabled. Too buggy to go to production
<a href="#" class="s duplicate button tip-trigger static">+<span class="tip"><span class="tip-arrow"></span>Duplicate Layer</span></a>
-->
<a href="#" class="minimize button tip-trigger static"><span class="icon"></span><span class="tip"><span class="tip-arrow"></span><span class="toggle-word">Maximize</span> Layer</span></a>
</div>
<div class="maniptool clearfix">
<div class="previewWrapper">
<label>Layer Preview:</label>
<div class="preview">
<div class="layerOutput"></div>
</div>
<div class="layerOptions">
<label class="type">Type: <select><option>Linear</option><option>Radial</option></select></label>
<label>Width: <input class="layerOptions-width" type="number" min="10" max="250" value="100"/></label>
<label>Height: <input class="layerOptions-height" type="number" min="10" max="250" value="100"/></label>
<label>Angle: <input class="layerOptions-angle" type="number" min="-360" max="3600" value="0"/></label>
</div>
</div>
<div class="clearfix"></div>
<label class="inspectrumLabel">Inspectrum</label>
<div class="inspectrum">
<div class="view"></div>
</div>
<div class="inspectrumEditor">
<div class="stripEditor">
<div class="pointers">
<div class="template hidden pointer">
<div class="arrow s"></div>
<div class="abstract"></div>
</div>
</div>
<div class="manipulate">
<div class="manipulate-overlay">
<p>Click a strip to enable</p>
</div>
<div class="topSection">
<div class="nextprev">
<a href="#" class="manipButton prev">Prev</a>
<a href="#" class="manipButton next">Next</a>
<a href="#" class="manipButton removeStrip tip-trigger static">X<span class="tip"><span class="tip-arrow"></span>Remove Strip</span></a>
</div>
<div class="color">
<div class="colorbox">
<input type="text" value="ffffff" class="colorPreview" />
</div>
</div>
</div>
<div class="body">
<div class="opacity">
<label>Opacity</label>
<input type="range" class="opacity" min="0" max="100" value="100"/>
<output>100</output>%
</div>
<div class="startend">
<label>Start: <input type="number" class="start"></label>
<label>Width: <input type="number" class="width"></label>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<input type="button" title="Add New Layer" value="Add New Layer" class="addLayer button" />
</aside>
<div id="pattern"></div>
<footer>
<div class="resize handle tip-trigger mobile"><span class="tip"><span class="tip-arrow"></span>Drag to Expand</span></div>
<div id="output-header">
<h2>Output Code:</h2>
<div class="options">
<h5>prefixes: </h5>
<label class="tip-trigger static"><span class="tip wide"><span class="tip-arrow"></span>Supports Safari Chrome and iOS</span><input type="checkbox" checked="checked" id="prefixCheckbox-webkit" />-webkit-</label>
<label class="tip-trigger static"><span class="tip"><span class="tip-arrow"></span>Supports Firefox</span><input type="checkbox" checked="checked" id="prefixCheckbox-moz" />-moz-</label>
<label class="tip-trigger static"><span class="tip"><span class="tip-arrow"></span>Supports IE9+</span><input type="checkbox" checked="checked" id="prefixCheckbox-ms" />-ms-</label>
<label class="tip-trigger static"><span class="tip"><span class="tip-arrow"></span>Supports Opera</span><input type="checkbox" checked="checked" id="prefixCheckbox-o" />-o-</label>
<label class="tip-trigger static"><span class="tip"><span class="tip-arrow"></span>W3C Standard</span><input type="checkbox" checked="checked" id="prefixCheckbox-w3c" />None(W3C)</label>
</div>
<input type="button" value="Save Preset" id="save" class="button" />
</div>
<div class="outputWrapper">
<textarea id="output"></textarea>
</div>
</footer>
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/libs/jquery-1.6.4.min.js"><\/script>')</script> -->
<script src="js/libs/jquery-1.7.1.min.js"></script>
<script src="js/libs/jquery-ui-1.8.16.custom.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<script src="js/ui.js"></script>
<!--[if lt IE 9 ]>
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
<![endif]-->
<!-- Begin Facebook Like
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=251397934904082";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
End Facebook Like -->
<!-- Begin Google+
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script> End Google+ -->
<div id="dialog-form" title="Save Preset">
<form>
<fieldset>
<label for="name">Name</label>
<input type="text" name="name" id="name" class="text ui-widget-content ui-corner-all" />
</fieldset>
</form>
</div>
<body>
</html>