From cb5d1af46f3962a4b54d6a80e601537cf00372e0 Mon Sep 17 00:00:00 2001 From: tophf Date: Thu, 12 Aug 2021 14:30:52 +0300 Subject: [PATCH] attenuate --- popup/search.css | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/popup/search.css b/popup/search.css index 362d790a..39c1eb22 100644 --- a/popup/search.css +++ b/popup/search.css @@ -228,16 +228,17 @@ body.search-results-shown { cursor: help; } -[data-error] { - border: var(--pad) solid red; +[data-error], +[data-error]:hover { + border: calc(var(--pad) / 2) solid red; border-radius: var(--pad); - padding: 0; + padding: calc(var(--pad) / 2); + background: hsl(0, 90%, 80%); } [data-error]::after { content: attr(data-error); display: block; - background: red; - color: yellow; + color: hsl(0, 100%, 8%); font-weight: bold; padding-top: var(--pad); hyphens: auto; @@ -245,6 +246,9 @@ body.search-results-shown { [data-error] .search-result-description { display: none; } +[data-error] .search-result-meta { + background: hsla(0, 100%, 90%, .80); +} .search-results-nav { flex-direction: row;