From 9bec4dcae002f36aa23231da11cb03a156b40110 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周三, 30 4月 2025 16:24:16 +0800 Subject: [PATCH] 222 --- PipeLineLems/web/src/components/BaseInput/BaseInput.module.scss | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 57 insertions(+), 0 deletions(-) diff --git a/PipeLineLems/web/src/components/BaseInput/BaseInput.module.scss b/PipeLineLems/web/src/components/BaseInput/BaseInput.module.scss index 50e24ba..34bc3d4 100644 --- a/PipeLineLems/web/src/components/BaseInput/BaseInput.module.scss +++ b/PipeLineLems/web/src/components/BaseInput/BaseInput.module.scss @@ -31,6 +31,51 @@ display: flex; justify-content: flex-start; align-items: center; + + .input { + border-radius: 4px; + padding: 0 6px; + height: calc(100% - 6px); + border: 1px solid transparent; + padding: 0 6px; + transition: all 0.1s ease-in; + &:focus { + border: 1px solid #5a84ff; + } + } +} + +:global( + .arco-table-hover:not(.arco-table-dragging) + .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):hover + .arco-table-td:not(.arco-table-col-fixed-left):not( + .arco-table-col-fixed-right + ) + ) { + .hover { + display: block; + } + .hasHover { + // display: none; + } + .baseInput { + .input { + border-radius: 4px; + padding: 0 6px; + background: #fff; + border: 1px solid #d9d9d9; + &:focus { + border: 1px solid #5a84ff; + } + } + } +} +:global(.arco-table) { + .baseInput { + .input { + height: 30px; + } + } } :global(.information-table) { @@ -49,4 +94,16 @@ .hasHover { // display: none; } + .baseInput { + .input { + border-radius: 4px; + padding: 0 6px; + background: #fff; + height: calc(100% - 6px); + border: 1px solid #d9d9d9; + &:focus { + border: 1px solid #5a84ff; + } + } + } } -- Gitblit v1.9.3