From ed29c7c8ae57b361f0ec926e90eeb8c7aec21611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Wed, 23 Nov 2022 17:50:12 +0100 Subject: [PATCH] theme: move IE specific stuff to fallback CSS #402 --- static/css/ie.css | 13 +++++++++++++ static/css/theme.css | 11 ----------- static/css/variant.css | 5 +++++ 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/static/css/ie.css b/static/css/ie.css index 1c295e55d7..a1fc417cde 100644 --- a/static/css/ie.css +++ b/static/css/ie.css @@ -510,4 +510,17 @@ .showFooter { display: block; } + + .select-style select::-ms-expand { + /* hide the triangle */ + display: none; + } + + .searchbox input:-ms-input-placeholder { + color: rgba( 255, 255, 255, .4 ); + } + + .searchform input:-ms-input-placeholder{ + color: rgba( 255, 255, 255, .4 ); + } } diff --git a/static/css/theme.css b/static/css/theme.css index d207560e7b..2c291ee676 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -134,7 +134,6 @@ th { font-weight: 300; } -.searchbox input:-ms-input-placeholder, .searchbox input::placeholder { color: rgba( 255, 255, 255, .4 ); } @@ -1406,10 +1405,6 @@ rapi-doc::part(section-endpoint-head-method) { outline: none; } -.select-style select::-ms-expand { - display: none; -} - .select-style :hover { cursor: pointer; } @@ -1591,12 +1586,6 @@ input[type="search"]::-webkit-search-results-decoration { display: none; } margin-inline-end: .5rem; } -.searchform input:-ms-input-placeholder, -.searchform input::placeholder { - color: var(--INTERNAL-MAIN-color); - filter: grayscale(1) contrast(10000) opacity(.4); -} - .searchform .btn { display: inline-flex; } diff --git a/static/css/variant.css b/static/css/variant.css index 18a018a3e7..922cdecdc3 100644 --- a/static/css/variant.css +++ b/static/css/variant.css @@ -416,3 +416,8 @@ 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); +}