-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathindex.html
More file actions
164 lines (151 loc) · 6.28 KB
/
index.html
File metadata and controls
164 lines (151 loc) · 6.28 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
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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<title>Flat Color Picker, responsive (support mobile) flat UI color picker by takien.com</title>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="css/flatcolorpicker.css" rel="stylesheet" type="text/css" />
<style>
.quick-links {
min-height: 30px;
margin: 30px 0 0 0;
padding: 5px 20px;
list-style: none;
text-align: center;
overflow: hidden;
}
.quick-links:first-child {
min-height: 0;
}
.quick-links li {
display: inline;
margin: 0 8px;
color: #999;
}
.quick-links .github-btn,
.quick-links .tweet-btn,
.quick-links .follow-btn,
.quick-links .gplus-btn,
.quick-links .fb-btn,
.quick-links .github-fork-btn {
position: relative;
top: 5px;
}
</style>
</head>
<body>
<a href="https://github.com/takien/FlatColorPicker"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
<div class="container">
<h1>Flat color picker <span class="small">v0.2</span></h1>
<p>
Flat color picker for Bootstrap.
</p>
<hr>
<form>
<input type="text" class="form-control flatcolorpicker" title="Pick color" data-placement="bottom" placeholder="#FFFFFF" value="#FFFFFF">
</form>
<ul class="quick-links">
<li class="fb-btn">
<fb:like layout="button_count" send="false" href="https://www.facebook.com/takien"></fb:like>
</li>
<li class="follow-btn">
<a href="https://twitter.com/cektkp" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @cektkp</a>
</li>
<li class="tweet-btn">
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://takien.github.io/FlatColorPicker/" data-count="horizontal" data-via="cektkp" data-related="cektkp:Creator of modalDengkul.js">Tweet</a>
</li>
<li class="gplus-btn">
<g:plusone url="http://takien.github.io/FlatColorPicker/" size="medium"></g:plusone>
</li>
<li class="github-fork-btn">
<iframe src="http://ghbtns.com/github-btn.html?user=takien&repo=FlatColorPicker&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="95" height="20"></iframe>
</li>
</ul><!--quick-links-->
<h2>Features</h2>
<ul>
<li>Flat color</li>
<li>Responsive</li>
<li>Displays recent selection</li>
<li>Color search/filter</li>
<li>Displays color name, HEX code and RGB</li>
<li>Lightweight</li>
</ul>
<h2>Todo</h2>
<ul>
<li>Turn on/off features</li>
<li>May be add possibility to attach color picker on button other than input</li>
<li>More options</li>
<li>Documentation</li>
</ul>
<h2>Dependencies</h2>
<ul>
<li>jQuery</li>
<li>Bootstrap CSS</li>
<li>Bootstrap JS (including Popover)</li>
<li>jQuery xcolor plugin</li>
</ul>
<h2>Screenshots</h2>
<img style="border:1px solid #ccc;max-width:100%" src="img/flat-color-picker.jpg" alt="Flat color picker jQuery Bootstrap"/>
<h2>Demo</h2>
<p>Seriously? See most top of this page.</p>
<h2>Lincense</h2>
<p>MIT License (http://opensource.org/licenses/MIT)</p>
<h2>Credits</h2>
<ul>
<li>http://flatuicolors.com/ (color reference) </li>
<li>http://www.flatuicolorpicker.com/ (color reference) </li>
<li>http://jsbin.com/ (Yes, I created this using JSbin.com editor) </li>
<li>https://github.com/infusion/jQuery-xcolor (jQuery xcolor plugin) </li>
</ul>
<h2>Docs</h2>
<p>Libraries</p>
<pre>
<script src="//code.jquery.com/jquery.min.js"></script>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="js/flatcolorpicker.js"></script>
<link href="css/flatcolorpicker.css" rel="stylesheet" type="text/css" />
</pre>
<p>Form input</p>
<pre>
<input type="text" class="form-control flatcolorpicker" title="Pick color" data-placement="bottom">
</pre>
<h2>Download</h2>
<p><a href="https://github.com/takien/FlatColorPicker/releases" target="_blank">https://github.com/takien/FlatColorPicker/releases</a></p>
</div>
<footer style="margin-top:100px;margin-bottom:100px">
<div class="container">
<p>© 2014 - by <a href="http://takien.com" target="_blank">Takien.com</a></p>
</div>
</footer>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="js/jquery.xcolor.min.js"></script>
<script src="js/flatcolorpicker.js"></script>
<script>
jQuery(document).ready(function($) {
$('.flatcolorpicker').flatcolorpicker({
});
});
</script>
<!--for docs purpose only :p-->
<div id="fb-root"></div>
<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=394280927787";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<!-- Place this render call where appropriate -->
<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>
</body>
</html>