Permalink
Browse files

๐Ÿ‘ท build v1.0.0

  • Loading branch information...
1 parent e8979cc commit f24232e4d9988ef5af672e780b818bd92b5230b2 @desandro desandro committed Nov 17, 2016
Showing with 1,283 additions and 5 deletions.
  1. +1 โˆ’1 bower.json
  2. +83 โˆ’0 dist/huebee.css
  3. +4 โˆ’0 dist/huebee.min.css
  4. +1,111 โˆ’0 dist/huebee.pkgd.js
  5. +12 โˆ’0 dist/huebee.pkgd.min.js
  6. +64 โˆ’0 gulpfile.js
  7. +1 โˆ’1 huebee.css
  8. +7 โˆ’3 package.json
View
@@ -3,7 +3,7 @@
"authors": [
"David DeSandro <desandrocodes@gmail.com>"
],
- "description": "color picker",
+ "description": "1-click color picker",
"main": [
"huebee.js",
"huebee.css"
View
@@ -0,0 +1,83 @@
+/*! Huebee v1.0.0
+http://huebee.buzz
+---------------------------------------------- */
+
+.huebee {
+ position: absolute;
+ z-index: 1;
+ transform: translateY(0px);
+ transition: opacity 0.15s, transform 0.15s;
+}
+
+.huebee.is-hidden {
+ opacity: 0;
+ transform: translateY(10px);
+}
+
+.huebee.is-static-open {
+ position: relative;
+ z-index: auto;
+}
+
+.huebee__container {
+ position: absolute;
+ left: 0;
+ top: 5px;
+ padding: 10px;
+ background: #EEE;
+ border-radius: 5px;
+ box-shadow: 0 5px 10px hsla(0, 0%, 0%, 0.3);
+}
+
+.huebee.is-static-open .huebee__container {
+ position: relative;
+ display: inline-block;
+ left: auto;
+ top: auto;
+ box-shadow: none;
+}
+
+.huebee__canvas {
+ display: block;
+ cursor: pointer;
+}
+
+.huebee__cursor {
+ width: 15px;
+ height: 15px;
+ position: absolute;
+ left: 0px;
+ top: 0px;
+ box-sizing: content-box;
+ border: 3px solid white;
+ border-radius: 5px;
+ pointer-events: none;
+}
+
+.huebee__cursor.is-hidden { opacity: 0; }
+
+.huebee__close-button {
+ display: block;
+ position: absolute;
+ width: 24px;
+ height: 24px;
+ top: -9px;
+ right: -9px;
+ border-radius: 12px;
+ background: #222;
+}
+
+.huebee__close-button__x {
+ stroke: white;
+ stroke-width: 3;
+ stroke-linecap: round;
+}
+
+.huebee__close-button:hover {
+ background: white;
+ cursor: pointer;
+}
+
+.huebee__close-button:hover .huebee__close-button__x {
+ stroke: #222;
+}
View
@@ -0,0 +1,4 @@
+/*! Huebee v1.0.0
+http://huebee.buzz
+---------------------------------------------- */
+.huebee{position:absolute;z-index:1;transform:translateY(0);transition:opacity .15s,transform .15s}.huebee.is-hidden{opacity:0;transform:translateY(10px)}.huebee.is-static-open{position:relative;z-index:auto}.huebee__container{position:absolute;left:0;top:5px;padding:10px;background:#EEE;border-radius:5px;box-shadow:0 5px 10px hsla(0,0%,0%,.3)}.huebee.is-static-open .huebee__container{position:relative;display:inline-block;left:auto;top:auto;box-shadow:none}.huebee__canvas{display:block;cursor:pointer}.huebee__cursor{width:15px;height:15px;position:absolute;left:0;top:0;box-sizing:content-box;border:3px solid #fff;border-radius:5px;pointer-events:none}.huebee__cursor.is-hidden{opacity:0}.huebee__close-button{display:block;position:absolute;width:24px;height:24px;top:-9px;right:-9px;border-radius:12px;background:#222}.huebee__close-button__x{stroke:#fff;stroke-width:3;stroke-linecap:round}.huebee__close-button:hover{background:#fff;cursor:pointer}.huebee__close-button:hover .huebee__close-button__x{stroke:#222}
Oops, something went wrong.

0 comments on commit f24232e

Please sign in to comment.