From 851fadce5d590ff50991948968ca9bdb48e3308b Mon Sep 17 00:00:00 2001 From: A1300399510 Date: Wed, 18 Dec 2024 15:37:14 +0800 Subject: [PATCH] no message --- css/common.css | 12 +++++++----- css/common.less | 14 +++++++++----- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/css/common.css b/css/common.css index 17ee9a3..6c616b8 100644 --- a/css/common.css +++ b/css/common.css @@ -73,9 +73,12 @@ body { margin-right: 5px; padding: 0 20px; position: relative; + transition: all 0.1s; } .base .left.input-active { border: 1px solid #c4c7ce; + border-radius: 0 0 10px 10px; + border-top: none; } .base .left .text { font-family: "PingFangSC-Regular", "PingFang SC", sans-serif; @@ -92,19 +95,18 @@ body { } .base .left .hint-list { position: absolute; - width: 750px; + width: 450px; height: 0; max-height: 400px; - bottom: 54px; + bottom: 43px; left: -1px; background-color: #ffffff; - border-radius: 0 0 10px 10px; + border-radius: 10px 10px 0 0; z-index: 10; overflow: auto; animation: hintShow 0.3s forwards; border: 0px solid #c4c7ce; - border-top: none; - box-shadow: 0px 5px 5px #dfdfdf; + border-bottom: none; } @keyframes hintShow { 0% { diff --git a/css/common.less b/css/common.less index 2d097f6..069c62c 100644 --- a/css/common.less +++ b/css/common.less @@ -87,9 +87,12 @@ body { margin-right: 5px; padding: 0 20px; position: relative; + transition: all 0.1s; &.input-active { border: 1px solid #c4c7ce; + border-radius: 0 0 10px 10px; + border-top: none; } .text { @@ -110,19 +113,20 @@ body { .hint-list { position: absolute; - width: 750px; + // width: 750px; + width: 450px; height: 0; max-height: 400px; - bottom: 54px; + bottom: 43px; left: -1px; background-color: rgba(255, 255, 255, 1); - border-radius: 0 0 10px 10px; + border-radius: 10px 10px 0 0; z-index: 10; overflow: auto; animation: hintShow 0.3s forwards; border: 0px solid #c4c7ce; - border-top: none; - box-shadow: 0px 5px 5px #dfdfdf; + border-bottom: none; + // box-shadow: 0px 5px 5px #dfdfdf; @keyframes hintShow { 0% {