diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2020-05-15 10:16:49 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-05-15 10:16:49 +0200 |
| commit | ad208378bb78a35746db432011bcc08b4ffd708f (patch) | |
| tree | 50bf4ac67b83f2131864594e5618150ed37fa49d /searx/static | |
| parent | 4954e56b69201463b23e9a140832d5ff56c9ebcb (diff) | |
[fix] oscar theme, remove inline style attributes (CSP compliants)
Inline styles are blocked by default with Content Security Policy (CSP). Move
the rest of inline styles to CSS and correct the HTML template of the oscar
preference page.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static')
| -rw-r--r-- | searx/static/themes/oscar/less/logicodev/preferences.less | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/searx/static/themes/oscar/less/logicodev/preferences.less b/searx/static/themes/oscar/less/logicodev/preferences.less index 9672d5011..82ce16310 100644 --- a/searx/static/themes/oscar/less/logicodev/preferences.less +++ b/searx/static/themes/oscar/less/logicodev/preferences.less @@ -1,3 +1,15 @@ .table > tbody > tr > td, .table > tbody > tr > th { vertical-align: middle !important; } + +.nav-tabs.nav-justified{ + margin-bottom: 20px; +} + +p { + margin: 10px 0; +} + +input.cursor-text { + margin: 10px 0; +} |