summaryrefslogtreecommitdiff
path: root/searx/static
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-05-16 19:35:49 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-05-17 21:23:27 +0200
commit3e9ad7ae0c5d520e88bf686de9038d22907876f7 (patch)
tree1b0f8b57310d31044ecab5406b152e784f2fdf37 /searx/static
parent34859d0e5872499c72fcaebb67ca57f95beb9864 (diff)
downloadsearxng-3e9ad7ae0c5d520e88bf686de9038d22907876f7.tar.gz
searxng-3e9ad7ae0c5d520e88bf686de9038d22907876f7.zip
[fix] make /stats more CSP compliant - github issue form
Hide textarea from github issue form:: ./__common__/new_issue.html:6: <textarea name="body" style="display: none;">{{- '' -}} BTW: fix indentation. Reported-by: https://github.com/searxng/searxng/issues/57 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static')
-rw-r--r--searx/static/themes/__common__/less/new_issue.less25
1 files changed, 15 insertions, 10 deletions
diff --git a/searx/static/themes/__common__/less/new_issue.less b/searx/static/themes/__common__/less/new_issue.less
index 339d4ce47..175bd3cec 100644
--- a/searx/static/themes/__common__/less/new_issue.less
+++ b/searx/static/themes/__common__/less/new_issue.less
@@ -1,14 +1,19 @@
.github-issue-button {
- display: block;
- padding: 8px 16px;
- font-family: sans-serif;
- font-size: 16px;
- color: white;
- background-color: #238636 !important; /* important is needed cause to an !important in logicodev-dark */
- border: #2ea043;
- border-radius: 10px !important;
- box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;
+ display: block;
+ padding: 8px 16px;
+ font-family: sans-serif;
+ font-size: 16px;
+ color: white;
+ background-color: #238636 !important; /* important is needed cause to an !important in logicodev-dark */
+ border: #2ea043;
+ border-radius: 10px !important;
+ box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;
}
+
.github-issue-button:hover {
- background-color: #2ea043;
+ background-color: #2ea043;
+}
+
+.issue-hide {
+ display: none;
}