From e5c9c17a9041462038c1c4ebc67e86cf283c31c9 Mon Sep 17 00:00:00 2001 From: Devil Date: Sun, 10 Jan 2021 18:25:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=A0=B7=E5=BC=8F=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/index/default/css/search.css | 36 +++++++++++++--------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/public/static/index/default/css/search.css b/public/static/index/default/css/search.css index 44e5c2709..1ce78ccda 100755 --- a/public/static/index/default/css/search.css +++ b/public/static/index/default/css/search.css @@ -75,19 +75,13 @@ } .map-text-items ul li.active { border: 1px solid #e23f36; - } .map-images-text-items ul li.active, -.map-images-text-items ul li:hover, -.map-text-items ul li.active, -.map-text-items ul li:hover { +.map-text-items ul li.active { border: 1px solid #e23f36; } .map-images-text-items ul li.active, -.map-images-text-items ul li:hover, -.map-text-items ul li.active, -.map-text-items ul li:hover, -.map-remove-submit:hover { +.map-text-items ul li.active { color: #e23f36; font-weight: bold; } @@ -103,9 +97,6 @@ color: #999; cursor: pointer; } -.map-item .map-more-submit:hover { - color: #666; -} #search-map .am-offcanvas-bar { background: #fff; } @@ -118,6 +109,19 @@ color: #333; } @media only screen and (min-width: 640px) { + .map-images-text-items ul li:hover, + .map-text-items ul li:hover { + border: 1px solid #e23f36; + } + .map-images-text-items ul li:hover, + .map-text-items ul li:hover, + .map-remove-submit:hover { + color: #e23f36; + font-weight: bold; + } + .map-item .map-more-submit:hover { + color: #666; + } #search-map { display: block; position: relative; @@ -245,16 +249,18 @@ font-size: 12px; text-decoration: none; } -.sort-nav a:hover, -.sort-nav a:focus { - color: #d2354c; -} .sort-nav li.active { background: #d2354c; } .sort-nav li.active a { color: #fff; } +@media only screen and (min-width: 640px) { + .sort-nav a:hover, + .sort-nav a:focus { + color: #d2354c; + } +} @media only screen and (max-width: 640px) { .sort-nav li { border-bottom: 1px solid #eee; } } -- GitLab