From 2ebee964cab10a4b00cb56c073e765b9b30559e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Tue, 29 Nov 2022 20:27:27 +0100 Subject: [PATCH] search: reset placeholder and use generic colors #405 --- static/css/ie.css | 8 +++++++- static/css/theme.css | 10 ++++++++++ static/css/variant.css | 5 ----- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/static/css/ie.css b/static/css/ie.css index 30315c5e68..dd61e27071 100644 --- a/static/css/ie.css +++ b/static/css/ie.css @@ -516,7 +516,13 @@ display: none; } - .searchform input:-ms-input-placeholder{ + .searchbox input:-ms-input-placeholder { color: rgba( 255, 255, 255, .4 ); + opacity: 1; + } + + .searchform input:-ms-input-placeholder { + color: rgba( 134, 134, 134, .666 ); + opacity: 1; } } diff --git a/static/css/theme.css b/static/css/theme.css index bb3250c497..101e21e4b0 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -134,6 +134,11 @@ th { font-weight: 300; } +.searchbox input::placeholder { + color: rgba( 255, 255, 255, .4 ); + opacity: unset; +} + #content-wrapper { display: flex; flex-direction: column; @@ -1582,6 +1587,11 @@ input[type="search"]::-webkit-search-results-decoration { display: none; } margin-inline-end: .5rem; } +.searchform input::placeholder { + color: rgba( 134, 134, 134, .666 ); + opacity: unset; +} + .searchform .btn { display: inline-flex; } diff --git a/static/css/variant.css b/static/css/variant.css index 922cdecdc3..18a018a3e7 100644 --- a/static/css/variant.css +++ b/static/css/variant.css @@ -416,8 +416,3 @@ pre .copy-to-clipboard-button:hover { background-color: var(--INTERNAL-MAIN-BG-color) !important; border-bottom-color: var(--INTERNAL-MAIN-BG-color) !important; } - -.searchform input::placeholder { - color: var(--INTERNAL-MAIN-color); - filter: grayscale(1) contrast(10000) opacity(.4); -}