mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 18:42:33 +02:00
[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>
This commit is contained in:
parent
7f2dc530b2
commit
70cc196e2d
6 changed files with 20 additions and 39 deletions
14
searx/static/themes/__common__/less/new_issue.less
Normal file
14
searx/static/themes/__common__/less/new_issue.less
Normal file
|
@ -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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue