diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2021-04-28 16:07:21 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-04-28 16:22:37 +0200 |
| commit | 70cc196e2d933a9a458ec43bf81d8475a57b26df (patch) | |
| tree | 17e72e3ff2d8c4d36bb94e2247e090a6e5be6b36 /searx/static/themes/__common__ | |
| parent | 7f2dc530b266c4fa14ebb556cc196237e1d16eec (diff) | |
[fix] new_issue.html: drop inline style attributes (CSP conformance)
Inline styles are blocked by default with Content Security Policy (CSP). Move
the inline styles from 'new_issue.html' to::
searx/static/themes/__common__/less/new_issue.less
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static/themes/__common__')
| -rw-r--r-- | searx/static/themes/__common__/less/new_issue.less | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/searx/static/themes/__common__/less/new_issue.less b/searx/static/themes/__common__/less/new_issue.less new file mode 100644 index 000000000..339d4ce47 --- /dev/null +++ b/searx/static/themes/__common__/less/new_issue.less @@ -0,0 +1,14 @@ +.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; +} +.github-issue-button:hover { + background-color: #2ea043; +} |