From 7f4989a039cf65a82b13d106acc6759c6ae470fc Mon Sep 17 00:00:00 2001 From: tangjiang <465264938@qq.com> Date: Thu, 2 Jan 2020 12:39:35 +0800 Subject: [PATCH] update test-code style --- public/react/src/modules/page/VNC.css | 27 +++++++ public/react/src/modules/page/VNCContainer.js | 24 ++++-- .../src/modules/page/main/ActionView.css | 2 + .../src/modules/page/main/CodeEvaluateView.js | 62 ++++++++------- .../page/main/CodeRepositoryViewContainer.js | 76 +++++++++++++------ 5 files changed, 130 insertions(+), 61 deletions(-) diff --git a/public/react/src/modules/page/VNC.css b/public/react/src/modules/page/VNC.css index 58a45d735..637cc3589 100644 --- a/public/react/src/modules/page/VNC.css +++ b/public/react/src/modules/page/VNC.css @@ -39,6 +39,7 @@ user-select: none; } + .btn_test_case, .btn_test_case_active{ display: inline-block; @@ -80,6 +81,32 @@ bottom: 4px; } +.blacktab_con_abs{ + position: absolute !important; + left: 150px; + right: 150px; + top: 0; + height: 34px; + background: gold; +} +.code_evalute_icon{ + position: absolute; + top: 0; + width: 56px; + height: 28px; + left: 50%; + margin-left: -28px; + background: rgba(42,58,79,1); + z-index: 10; + border-bottom-left-radius: 100px; + border-bottom-right-radius: 100px; + color: #fff; + text-align: center; + cursor: pointer; + opacity: .4; + transition: all .3s; +} + @keyframes mymove { from {right:0px;} diff --git a/public/react/src/modules/page/VNCContainer.js b/public/react/src/modules/page/VNCContainer.js index 30e439e8d..93da489d5 100644 --- a/public/react/src/modules/page/VNCContainer.js +++ b/public/react/src/modules/page/VNCContainer.js @@ -224,6 +224,10 @@ class VNCContainer extends Component { >