From 2c39ab01eaa55eefdb942e08de1214c8637ce829 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Tue, 30 Oct 2018 04:47:19 +0100 Subject: [PATCH] ZeroNet logo for fixbutton --- src/Ui/media/Fixbutton.coffee | 2 +- src/Ui/media/Wrapper.css | 2 +- src/Ui/media/all.css | 2 +- src/Ui/media/all.js | 11 ++--------- src/Ui/media/img/logo-white.png | Bin 0 -> 1366 bytes src/Ui/template/wrapper.html | 2 +- 6 files changed, 6 insertions(+), 13 deletions(-) create mode 100644 src/Ui/media/img/logo-white.png diff --git a/src/Ui/media/Fixbutton.coffee b/src/Ui/media/Fixbutton.coffee index 9e644a4e..954d2b56 100644 --- a/src/Ui/media/Fixbutton.coffee +++ b/src/Ui/media/Fixbutton.coffee @@ -11,7 +11,7 @@ class Fixbutton return true $(".fixbutton-bg").stop().animate({"scale": 0.6}, 300, "easeOutCubic") $(".fixbutton-burger").stop().animate({"opacity": 0, "left": -20}, 300, "easeOutCubic") - $(".fixbutton-text").stop().animate({"opacity": 1, "left": 0}, 300, "easeOutBack") + $(".fixbutton-text").stop().animate({"opacity": 0.9, "left": 0}, 300, "easeOutBack") ###$(".fixbutton-bg").on "click", -> diff --git a/src/Ui/media/Wrapper.css b/src/Ui/media/Wrapper.css index 96e90591..e7c0f54a 100644 --- a/src/Ui/media/Wrapper.css +++ b/src/Ui/media/Wrapper.css @@ -35,7 +35,7 @@ a { color: black } display: block; width: 80px; height: 80px; transition: background-color 0.2s, box-shadow 0.5s; transform: scale(0.6); margin-left: -20px; margin-top: -20px; /* 2x size to prevent blur on anim */ /*box-shadow: inset 105px 260px 0 -200px rgba(0,0,0,0.1);*/ /* box-shadow: inset -75px 183px 0 -200px rgba(0,0,0,0.1); */ } -.fixbutton-text { pointer-events: none; position: absolute; z-index: 999; width: 40px; backface-visibility: hidden; perspective: 1000px; line-height: 0; padding-top: 20px } +.fixbutton-text { pointer-events: none; position: absolute; z-index: 999; width: 40px; backface-visibility: hidden; perspective: 1000px; line-height: 0; padding-top: 5px; opacity: 0.9 } .fixbutton-burger { pointer-events: none; position: absolute; z-index: 999; width: 40px; opacity: 0; left: -20px; font-size: 40px; line-height: 0; font-family: Verdana, sans-serif; margin-top: 17px } .fixbutton-bg:hover { background-color: #AF3BFF } .fixbutton-bg:active { background-color: #9E2FEA; top: 1px; transition: none } diff --git a/src/Ui/media/all.css b/src/Ui/media/all.css index afe2d375..e5201abf 100644 --- a/src/Ui/media/all.css +++ b/src/Ui/media/all.css @@ -40,7 +40,7 @@ a { color: black } display: block; width: 80px; height: 80px; -webkit-transition: background-color 0.2s, box-shadow 0.5s; -moz-transition: background-color 0.2s, box-shadow 0.5s; -o-transition: background-color 0.2s, box-shadow 0.5s; -ms-transition: background-color 0.2s, box-shadow 0.5s; transition: background-color 0.2s, box-shadow 0.5s ; -webkit-transform: scale(0.6); -moz-transform: scale(0.6); -o-transform: scale(0.6); -ms-transform: scale(0.6); transform: scale(0.6) ; margin-left: -20px; margin-top: -20px; /* 2x size to prevent blur on anim */ /*box-shadow: inset 105px 260px 0 -200px rgba(0,0,0,0.1);*/ /* -webkit-box-shadow: inset -75px 183px 0 -200px rgba(0,0,0,0.1); -moz-box-shadow: inset -75px 183px 0 -200px rgba(0,0,0,0.1); -o-box-shadow: inset -75px 183px 0 -200px rgba(0,0,0,0.1); -ms-box-shadow: inset -75px 183px 0 -200px rgba(0,0,0,0.1); box-shadow: inset -75px 183px 0 -200px rgba(0,0,0,0.1) ; */ } -.fixbutton-text { pointer-events: none; position: absolute; z-index: 999; width: 40px; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -o-backface-visibility: hidden; -ms-backface-visibility: hidden; backface-visibility: hidden ; -webkit-perspective: 1000px; -moz-perspective: 1000px; -o-perspective: 1000px; -ms-perspective: 1000px; perspective: 1000px ; line-height: 0; padding-top: 20px } +.fixbutton-text { pointer-events: none; position: absolute; z-index: 999; width: 40px; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -o-backface-visibility: hidden; -ms-backface-visibility: hidden; backface-visibility: hidden ; -webkit-perspective: 1000px; -moz-perspective: 1000px; -o-perspective: 1000px; -ms-perspective: 1000px; perspective: 1000px ; line-height: 0; padding-top: 5px; opacity: 0.9 } .fixbutton-burger { pointer-events: none; position: absolute; z-index: 999; width: 40px; opacity: 0; left: -20px; font-size: 40px; line-height: 0; font-family: Verdana, sans-serif; margin-top: 17px } .fixbutton-bg:hover { background-color: #AF3BFF } .fixbutton-bg:active { background-color: #9E2FEA; top: 1px; -webkit-transition: none ; -moz-transition: none ; -o-transition: none ; -ms-transition: none ; transition: none } diff --git a/src/Ui/media/all.js b/src/Ui/media/all.js index 0db34ced..6e1a28c5 100644 --- a/src/Ui/media/all.js +++ b/src/Ui/media/all.js @@ -37,7 +37,6 @@ }).call(this); - /* ---- src/Ui/media/lib/Translate.coffee ---- */ @@ -49,7 +48,6 @@ }).call(this); - /* ---- src/Ui/media/lib/ZeroWebsocket.coffee ---- */ @@ -206,7 +204,6 @@ }).call(this); - /* ---- src/Ui/media/lib/jquery.cssanim.js ---- */ @@ -314,7 +311,6 @@ if (window.getComputedStyle(document.body).transform) { }).call(this); - /* ---- src/Ui/media/lib/jquery.easing.js ---- */ @@ -523,7 +519,7 @@ $.extend( $.easing, "left": -20 }, 300, "easeOutCubic"); return $(".fixbutton-text").stop().animate({ - "opacity": 1, + "opacity": 0.9, "left": 0 }, 300, "easeOutBack"); }); @@ -692,7 +688,6 @@ $.extend( $.easing, }).call(this); - /* ---- src/Ui/media/Notifications.coffee ---- */ @@ -828,7 +823,6 @@ $.extend( $.easing, }).call(this); - /* ---- src/Ui/media/Wrapper.coffee ---- */ @@ -1694,7 +1688,6 @@ $.extend( $.easing, }).call(this); - /* ---- src/Ui/media/WrapperZeroFrame.coffee ---- */ @@ -1744,4 +1737,4 @@ $.extend( $.easing, window.zeroframe = new WrapperZeroFrame(window.wrapper); -}).call(this); +}).call(this); \ No newline at end of file diff --git a/src/Ui/media/img/logo-white.png b/src/Ui/media/img/logo-white.png new file mode 100644 index 0000000000000000000000000000000000000000..3f28fb753ce8544a11a71013ae762d4c8ac3031f GIT binary patch literal 1366 zcmeAS@N?(olHy`uVBq!ia0vp^K0utw!3-pqYnaXfQd6iCQu05*MTX)!Aq##h%-gRSJ z@UOyU=SzAk54Rk0*s-BceyP`jyhAgOG0$muG&zDhQ}3IaWI*|jOH(YZl4d-8X2*Qz zi1G~48G&ZYj5a66w#r04bx1Vcro`wTvBpd(LB@nfahlF_*R&5e51KpJ9(k%=blD*1 z;`3!+>%*H&T>AB%#5PLV9%Z<`r(O9jr`N;Hwfxs-FP^ejZcVP%yop=qXU@8JNF#mM z?Dxy~j=hbMSsnK`=Kae`_Q$uZ+HU%37yZm+(L0nVk$>Z4b}#>PwYk?{MV@)Lzf3KE zfKj4hPk(-gC*cIUbhk;lHzK(xHZ?i0yZhm>&wP zk?PX0D>e4d)jT7&HzEFb)4kJMCLOw#9_w>9?E23F-SFZE-;act-}$QfmrLhG+jG?; zK?hH~dd0l7!O>ZjM@mj{nvmJ&b#tFKT+%r=F_<}h&BK$AuGp@T zisi{&mK;+5WAACc)i=YM?3ZWV7TI|Huicw&&2PqYN~Psq>!mHfxqgOxn9`y-7o(kx zA79aB+vsyhsw;Wv=M^73E=FV@T;4V}N?nXQ^99fTxi*U=rw6*ePb%AVcXPzj`5l^K z*~j)5l*v@_Z@z54>Y$X|V!dwFV{gvh>$$tkcv9vH&J9y8l~iBa^XQP~o`nL7GrNx- z;_H^XC*5UOetc!jCdDS!UDpn;IQT(Alu_Bh=kphCuht6z9hHgfmTQayB%Y;t==?vW zDRNj}H2dBJ*=bB{BH0|@V^r7d=k{McbD3s>Kz7~JDMD<#KNB?*9cBu6a~795tW3J9 zc3fkz*?DGQ)ctqJ6aD(+cVUiqLV=~o-MM^x+Y5N|l3s1MdhqGj=C+^8-+dq4+P*!U zS??N0S#^nkU%}Jk1{~r$8H*f`8*)7Nm-sHHonyJ}k@CqY#XYAMDmE#`halsM84kKtk3B8 z)KO}e-H&a)w^bLjtbfPf;=SgM@~PhpHPMW*;?ka79&ZEIxFq=suFfk@XcV&Fa%k6E zE^X^C8$PUaIO?A#kY8TP
-
0
+