From d7d51f673fc06dfe65025fc164388d3515037be0 Mon Sep 17 00:00:00 2001 From: zzz Date: Fri, 29 Sep 2023 17:30:40 -0400 Subject: [PATCH] i2psnark: Search box CSS tweaks when iframed (Gitlab #448) thx drzed for assistance --- apps/i2psnark/resources/themes/dark/snark.css | 5 +++++ apps/i2psnark/resources/themes/light/snark.css | 5 +++++ apps/i2psnark/resources/themes/ubergine/snark.css | 5 +++++ apps/i2psnark/resources/themes/vanilla/snark.css | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/apps/i2psnark/resources/themes/dark/snark.css b/apps/i2psnark/resources/themes/dark/snark.css index 7394bbd705..7a2522332f 100644 --- a/apps/i2psnark/resources/themes/dark/snark.css +++ b/apps/i2psnark/resources/themes/dark/snark.css @@ -231,6 +231,11 @@ _:-ms-lang(x), .snarknavbar { right: 9px; } +.iframed #search { + top: 9px; + right: 5px; +} + #searchbox { background: #000 url(/themes/console/images/buttons/search.png) 7px center no-repeat !important; margin: 2px 4px 2px 24px !important; diff --git a/apps/i2psnark/resources/themes/light/snark.css b/apps/i2psnark/resources/themes/light/snark.css index fad322d4ad..1bd4e4b2ff 100644 --- a/apps/i2psnark/resources/themes/light/snark.css +++ b/apps/i2psnark/resources/themes/light/snark.css @@ -236,6 +236,11 @@ button::-moz-focus-inner, input::-moz-focus-inner { right: 6px; } +.iframed #search { + top: 6px + right: 2px; +} + #searchbox { background: #f8f8ff url(/themes/console/images/buttons/search.png) 7px center no-repeat !important; margin: 2px 4px 2px 24px !important; diff --git a/apps/i2psnark/resources/themes/ubergine/snark.css b/apps/i2psnark/resources/themes/ubergine/snark.css index f1874006c0..8789cce143 100644 --- a/apps/i2psnark/resources/themes/ubergine/snark.css +++ b/apps/i2psnark/resources/themes/ubergine/snark.css @@ -236,6 +236,11 @@ _:-ms-lang(x), .snarkNav:last-child[href="/i2psnark/"] { right: 3px; } +.iframed #search { + top: 8px; + right: 4px; +} + #searchbox { background: #212 url(/themes/console/images/buttons/search.png) 7px center no-repeat !important; margin: 2px 4px 2px 24px !important; diff --git a/apps/i2psnark/resources/themes/vanilla/snark.css b/apps/i2psnark/resources/themes/vanilla/snark.css index 154a5ac8f7..88bc14d54d 100644 --- a/apps/i2psnark/resources/themes/vanilla/snark.css +++ b/apps/i2psnark/resources/themes/vanilla/snark.css @@ -279,6 +279,11 @@ _:-ms-lang(x), .snarkNav:link, .snarkNav:visited { right: 3px; } +.iframed #search { + top: 9px; + right: 2px; +} + #searchbox { background: #efe6e0 url(/themes/console/images/buttons/search.png) 7px center no-repeat !important; margin: 2px 4px 2px 24px !important;