From 5b9d123e1cf7547bc4a9138687d43c7e2adfbac0 Mon Sep 17 00:00:00 2001 From: Joe Wreschnig Date: Tue, 7 Oct 2014 01:00:07 +0200 Subject: [PATCH] Adjust HTML and shrink canvas. --- .../images/icons.iconset/icon_32x32@2x.png | Bin 2766 -> 0 bytes src/index.html | 39 +++++++++--------- src/main.css | 2 +- src/main.js | 2 +- src/yuu/data/yuu.css | 5 +++ 5 files changed, 27 insertions(+), 21 deletions(-) delete mode 100644 src/data/images/icons.iconset/icon_32x32@2x.png diff --git a/src/data/images/icons.iconset/icon_32x32@2x.png b/src/data/images/icons.iconset/icon_32x32@2x.png deleted file mode 100644 index 4c61cdded94290ab580619f08583aed015ad04be..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2766 zcmV;<3NiJGP)j&J zQCr(uY;A{`N~=;v1Vse~8ET!XZA2+1A`lWm2w5}eRnxu|KL3uB35d72$T1l zIrHwjbLZT1e&7Dx17wgv1{q|KK?WIQkin1y4b_eJuUsj?JhY|XzjCD}hB5)nOyYkq z6`33w06jINl$y`y)6S+j1%ts8>(O;x5>aYx;(u8O5h?97p3?!i$?*xeu8Vj)o|=%D z(`Q&-uUDF;DSLZ+t<-vK+dh@BJODWPj7nag3hGnY^6NUqY+D0h1CT_t06?xL^fEzW z90P(`k(9DeXmm6di){pO>;8J0KP(?l#sR43WHuvBhzunr|YBQw*4A_N&vzzJdhr!YszjG zS5_`S%!;Ek+JX9yYn@jQyrk)x{%hN@f0!nr>q+}I1A%~f{q@&J#*G^{Opu^oKK6^q zWn&iQj>sy+!H#{XX{rXZLQ*(304AbU%>3gd2`6cSHi!*jI*!t%EHrKV2ml^8ZX9jj zz8w`66?pXVM?}GqDVUmfHJBAVnh%GM9Z)sRZ=o~N5lVBuk^q1uOO`~}u3ej(NF;>E zkf#(oKMrl13JebO6wy!-uf= zrmt!X%Bx699lA82OP#!$A8`wj+UA`A&;%eba^%SGGEgaqu1K1M_=E|hq|d-YNz`y8 z6sjY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T% zZwVs3Jrao|C9VU|q!8ZHU@$l_KObYVvq412@p_RT2%vJr2sDI3&i8lh(2|+x`9S~x zIF7>rEC6c&yfL|`XzPkObH*1BAD(9^1!9Jj5`qXmO+&WN$9`Q00nns`Atj{GhyLBW z2>=92Jp&;y?YVv>w~KlEZ2qYy0DdklXQ-p8mYFeQXD@1xvkI8b@N;( zFF!XXl$1QbwV~nNE%o(eNQuuzhAcO?;CgRs@z;(|K(%R zs5N!eC{d7|O@bME();_pUcB4VqV9b8Ws2H%y+_j?wp_O_o$EU*hZ=%`far}zRdH@^ zu(hk}egF?$GJ3Ro%cM#6jFJ+~BPF^`lj}nvUcGCV(b(M$pRO;8+xE6p=jpt!6TBYJ zK(ZGC=oCbpTf>k&x0u1%*1Y6zVTOtfGRPo<3^K?dgQ1Fl1DEWX UFCJzJw*UYD07*qoM6N<$g0(9c@c;k- diff --git a/src/index.html b/src/index.html index 2abf2a8..686b5e5 100644 --- a/src/index.html +++ b/src/index.html @@ -7,25 +7,26 @@ content='user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1, minimal-ui'> - - - - - - - - - - - - - - - - + content=black-translucent> + + + + + + + + + + + + + + + + + diff --git a/src/main.css b/src/main.css index 423a1a0..5436780 100644 --- a/src/main.css +++ b/src/main.css @@ -437,7 +437,7 @@ input { #yuu-canvas { margin: 1em auto; width: 100%; - height: 20em; + height: 12em; position: static; border: solid rgba(206, 132, 242, 0.5) 2px; border-radius: 2em; diff --git a/src/main.js b/src/main.js index 15e4bfa..801a5f2 100644 --- a/src/main.js +++ b/src/main.js @@ -49,7 +49,7 @@ var FollowScene = yT(yuu.Scene, { inputs: { resize: function () { - var base = new yuu.AABB(-1.5, -1.5, 1.5, 1.5); + var base = new yuu.AABB(-0.5, -0.5, 0.5, 0.5); var vp = base.matchAspectRatio(yuu.viewport); this.layer0.resize(vp.x0, vp.y0, vp.w, vp.h); }, diff --git a/src/yuu/data/yuu.css b/src/yuu/data/yuu.css index 4e2eb23..a7b3354 100644 --- a/src/yuu/data/yuu.css +++ b/src/yuu/data/yuu.css @@ -196,6 +196,10 @@ pre#yuu-licensing { -webkit-transition: -webkit-transform 0.3s, opacity 0.3s; } +noscript .yuu-overlay { + display: block; +} + /* Overlays are focusable but should not show it - they are always somewhere in the event tree when visible. */ .yuu-overlay:focus { @@ -294,6 +298,7 @@ input[type=checkbox][data-yuu-command]:focus + label[for] { input[type=range][data-yuu-command] { -webkit-appearance: none; background-color: gray; + width: 95%; } input[type=range][data-yuu-command]::-moz-range-track { -- 2.30.2