From a57414307e3d11f230e9953fbc4d641cecceb024 Mon Sep 17 00:00:00 2001 From: meow Date: Mon, 6 Jun 2022 01:00:20 +0300 Subject: [PATCH] CSS. Small IE11 fixes --- assets/css/default.css | 10 +++++++--- assets/css/search.css | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/assets/css/default.css b/assets/css/default.css index 61b7819fc..c360e9824 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -204,7 +204,8 @@ img.thumbnail { margin: 1px; border: 1px solid; - border-color: #0000 #0000 #CCC #0000; + border-color: rgba(0,0,0,0); + border-bottom-color: #CCC; border-radius: 0; box-shadow: none; @@ -214,7 +215,8 @@ img.thumbnail { .searchbar input[type="search"]:focus { margin: 0 0 0.5px 0; border: 2px solid; - border-color: #0000 #0000 #FED #0000; + border-color: rgba(0,0,0,0); + border-bottom-color: #FED; } /* https://stackoverflow.com/a/55170420 */ @@ -234,7 +236,7 @@ input[type="search"]::-webkit-search-cancel-button { } .user-field div { - width: initial; + width: auto; } .user-field div:not(:last-child) { @@ -527,3 +529,5 @@ p, /* Center the "invidious" logo on the search page */ #logo > h1 { text-align: center; } + +:-ms-input-placeholder { color: #888; } diff --git a/assets/css/search.css b/assets/css/search.css index 5ca141d00..448a7512e 100644 --- a/assets/css/search.css +++ b/assets/css/search.css @@ -68,7 +68,7 @@ fieldset, legend { .filter-options label { margin: 0 10px; } -#filters-apply { text-align: end; } +#filters-apply { text-align: right; } /* Error message */