diff --git a/css/common.css b/css/common.css index ece8f21..dff6542 100644 --- a/css/common.css +++ b/css/common.css @@ -754,39 +754,3 @@ body { left: 0; z-index: -1; } -.hint-list { - position: absolute; - width: 100%; - height: 0; - max-height: 400px; - top: 48px; - left: 0; - background-color: #ffffff; - border-radius: 10px; - z-index: 10; - overflow: auto; - animation: hintShow 0.3s forwards; - border: 0px solid #c4c7ce; - border-top: none; - box-shadow: 0px 5px 5px #dfdfdf; -} -@keyframes hintShow { - 0% { - height: 0; - } - 100% { - border-width: 1px; - height: auto; - } -} -.hint-list .item { - color: #333333; - font-size: 14px; - padding: 10px; - cursor: pointer; - line-height: 30px; - display: block; -} -.hint-list .item:not(:last-of-type) { - border-bottom: 1px #e6e4e4 dotted; -} diff --git a/css/common.less b/css/common.less index 20918b2..bbfb637 100644 --- a/css/common.less +++ b/css/common.less @@ -856,43 +856,4 @@ body { z-index: -1; } -.hint-list { - position: absolute; - width: 100%; - height: 0; - max-height: 400px; - top: 48px; - left: 0; - background-color: rgba(255, 255, 255, 1); - border-radius: 10px; - z-index: 10; - overflow: auto; - animation: hintShow 0.3s forwards; - border: 0px solid #c4c7ce; - border-top: none; - box-shadow: 0px 5px 5px #dfdfdf; - @keyframes hintShow { - 0% { - height: 0; - } - - 100% { - border-width: 1px; - height: auto; - } - } - - .item { - color: #333333; - font-size: 14px; - padding: 10px; - cursor: pointer; - line-height: 30px; - display: block; - - &:not(:last-of-type) { - border-bottom: 1px #e6e4e4 dotted; - } - } -} diff --git a/css/search.css b/css/search.css index db84b3f..dbf42f2 100644 --- a/css/search.css +++ b/css/search.css @@ -78,11 +78,11 @@ } .boxbox .body .left .input-box .hint-list { position: absolute; - width: 100%; + width: 750px; height: 0; max-height: 400px; - top: 48px; - left: 0; + top: 47px; + left: -1px; background-color: #ffffff; border-radius: 0 0 10px 10px; z-index: 10; @@ -104,7 +104,7 @@ .boxbox .body .left .input-box .hint-list .item { color: #333333; font-size: 14px; - padding: 10px; + padding: 10px 20px; cursor: pointer; line-height: 30px; display: block; diff --git a/css/search.less b/css/search.less index 6dc7c2e..742d45e 100644 --- a/css/search.less +++ b/css/search.less @@ -83,11 +83,11 @@ .hint-list { position: absolute; - width: 100%; + width: 750px; height: 0; max-height: 400px; - top: 48px; - left: 0; + top: 47px; + left: -1px; background-color: rgba(255, 255, 255, 1); border-radius: 0 0 10px 10px; z-index: 10; @@ -111,7 +111,7 @@ .item { color: #333333; font-size: 14px; - padding: 10px; + padding: 10px 20px; cursor: pointer; line-height: 30px; display: block;