From 4f5b79bbc6cffea61d358ce93dd59bd3c3737f45 Mon Sep 17 00:00:00 2001 From: Nicolas Turlais Date: Sun, 19 Jul 2015 13:54:45 +0200 Subject: [PATCH] improved demo --- bower.json | 2 +- dist/css/chocolat.css | 8 +++++--- dist/images/fullscreen-black.png | Bin 0 -> 658 bytes dist/index.html | 32 +++++++++++++++++++------------ dist/js/jquery.chocolat.js | 6 +++--- dist/js/jquery.chocolat.min.js | 2 +- package.json | 2 +- src/css/chocolat.css | 8 +++++--- src/images/fullscreen-black.png | Bin 0 -> 658 bytes src/js/jquery.chocolat.js | 6 +++--- 10 files changed, 39 insertions(+), 27 deletions(-) create mode 100644 dist/images/fullscreen-black.png create mode 100644 src/images/fullscreen-black.png diff --git a/bower.json b/bower.json index b109325..c329420 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "chocolat", - "version": "0.4.7", + "version": "0.4.8", "main": [ "dist/css/chocolat.css", "dist/js/jquery.chocolat.js" diff --git a/dist/css/chocolat.css b/dist/css/chocolat.css index 3991176..12dc2dc 100644 --- a/dist/css/chocolat.css +++ b/dist/css/chocolat.css @@ -104,6 +104,7 @@ html, body, div, span{ height:50px; overflow: hidden; z-index: 17; + margin-bottom: 10px; } .chocolat-wrapper .chocolat-close{ width:50px; @@ -119,14 +120,15 @@ html, body, div, span{ bottom:0; left: 0; right: 0; - line-height:50px; - height:50px; + line-height:40px; + height:40px; font-size:12px; z-index: 17; padding-left: 15px; padding-right: 15px; background: rgba(0, 0, 0, 0.2); text-align: right; + margin-top: 10px; } .chocolat-wrapper .chocolat-set-title{ display: inline-block; @@ -144,7 +146,7 @@ html, body, div, span{ } .chocolat-wrapper .chocolat-fullscreen{ width: 16px; - height: 50px; + height: 40px; background: url(../images/fullscreen.png) 50% 50% no-repeat; display: block; margin:auto; diff --git a/dist/images/fullscreen-black.png b/dist/images/fullscreen-black.png new file mode 100644 index 0000000000000000000000000000000000000000..14c2f63e3a51e22910ced6624671125c257bfaba GIT binary patch literal 658 zcmV;D0&V??P)KLZ*U+0v@6o#Kk zBy~|skq9maHzpVb!A%szeAFnH;fC8TlHlg{&NR8$`@v*xZFhqH4E+Z#x^m|~@B=Bh z_D6`z#6^szN*C?3dS~Xmobz%9%J006+AeKEk~$mo+Hx=)$+gd{Be=?au7%MwSKE(w z06f3j3Vfybi-4cs5CA8)JipuGe5^;gbs(z16K$puh-bj77cO@oz5`Xe6LdiQ05--e zdUr+J!EgknOF(tJ(ARjGpDr!D|DP|)O23rd6951J literal 0 HcmV?d00001 diff --git a/dist/index.html b/dist/index.html index 583b58d..ec0c4b3 100644 --- a/dist/index.html +++ b/dist/index.html @@ -8,6 +8,8 @@ Chocolat — demo