From 48677128d61890a146b78edd63a756015c391701 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Tue, 24 Dec 2019 15:46:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/page/VNC.css | 22 ++++++++++++++---- .../src/modules/page/images/float_switch.jpg | Bin 1303 -> 1003 bytes .../modules/page/images/test/float_switch.jpg | Bin 0 -> 1303 bytes .../react/src/modules/tpm/jupyter/index.scss | 2 +- 4 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 public/react/src/modules/page/images/test/float_switch.jpg diff --git a/public/react/src/modules/page/VNC.css b/public/react/src/modules/page/VNC.css index d59d91121..1180baf76 100644 --- a/public/react/src/modules/page/VNC.css +++ b/public/react/src/modules/page/VNC.css @@ -1,11 +1,12 @@ .float_button { - background-image: url(./images/float_switch.jpg); - height: 112px; + background-image: url(images/float_switch.jpg); + height: 141px; width: 38px; position: absolute; left: -38px; top: 32%; cursor: pointer; + padding-top: 15px; } .float_button .text { position: relative; @@ -17,8 +18,8 @@ } .jupyter_float_button { - background-image: url(./images/float_switch.jpg); - height: 112px; + background-image: url(images/float_switch.jpg); + height: 141px; width: 38px; position: absolute; right: 0px; @@ -26,6 +27,7 @@ cursor: pointer; left:auto; z-index: 99999999; + padding-top: 15px; } .jupyter_float_button .text { @@ -37,6 +39,16 @@ user-select: none; } +@keyframes mymove +{ + from {right:0px;} + to {right:330px;} +} + .newjupyter_float_button{ - right: 330px; + /*right: 330px;*/ + /*animation-duration:2s;*/ + /*infinite*/ + animation:mymove 0.35s; + animation-fill-mode:forwards; } \ No newline at end of file diff --git a/public/react/src/modules/page/images/float_switch.jpg b/public/react/src/modules/page/images/float_switch.jpg index 12fc6f8788b42a66affd16e81914f5f2202b23be..3e526259786290dcbdf5b20308b4220341de771e 100644 GI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