summaryrefslogtreecommitdiff
path: root/searx/static/themes
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2020-06-23 21:43:32 +0200
committerAdam Tauber <asciimoo@gmail.com>2020-06-23 21:45:57 +0200
commitcc84566e0a828b84f81def47d710e2519469fb89 (patch)
tree6681f4d5b99c08faa76329e40a55b98134c1f314 /searx/static/themes
parentc83007a6bcd2a7f765e7655b91cc6714fbc4ab01 (diff)
downloadsearxng-cc84566e0a828b84f81def47d710e2519469fb89.tar.gz
searxng-cc84566e0a828b84f81def47d710e2519469fb89.zip
[enh] add visually hidden but accessible css class - #350
Diffstat (limited to 'searx/static/themes')
-rw-r--r--searx/static/themes/oscar/less/logicodev/search.less12
1 files changed, 11 insertions, 1 deletions
diff --git a/searx/static/themes/oscar/less/logicodev/search.less b/searx/static/themes/oscar/less/logicodev/search.less
index d65e30563..ff94bfefb 100644
--- a/searx/static/themes/oscar/less/logicodev/search.less
+++ b/searx/static/themes/oscar/less/logicodev/search.less
@@ -77,4 +77,14 @@ Ny0yNFQxMToxNTowMCswMjowMP7RDgQAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb
.search-margin {
margin-bottom: 0.6em;
-} \ No newline at end of file
+}
+
+.visually-hidden {
+ position: absolute !important;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
+ clip: rect(1px, 1px, 1px, 1px);
+ white-space: nowrap; /* added line */
+}