diff --git a/app/filter.py b/app/filter.py
index 5169e8a..cece650 100644
--- a/app/filter.py
+++ b/app/filter.py
@@ -58,7 +58,7 @@ class Filter:
selector_name = ".reskin-dark"
else:
selector_name = ".reskin"
- reskin_selector = [i for i in sheet if i.selectorText==selector_name]
+ reskin_selector = [i for i in sheet if i.selectorText == selector_name]
if len(reskin_selector) == 0:
return result
for css_prop in reskin_selector[0].style:
diff --git a/app/models/config.py b/app/models/config.py
index a4e473c..deb9f66 100644
--- a/app/models/config.py
+++ b/app/models/config.py
@@ -300,9 +300,9 @@ class Config:
{'name': 'Zimbabwe', 'value': 'countryZW'}
]
- THEMES = list(set([theme_name.split('.css')[0]
+ THEMES = set([theme_name.split('.css')[0]
for theme_name in os.listdir('app/static/css/themes/')
- if "-search.css" not in theme_name]))
+ if "-search.css" not in theme_name])
def __init__(self, **kwargs):
self.url = ''
diff --git a/app/static/css/themes/nord-search.css b/app/static/css/themes/nord-search.css
index 10438d5..78e4ee3 100644
--- a/app/static/css/themes/nord-search.css
+++ b/app/static/css/themes/nord-search.css
@@ -20,8 +20,8 @@
.autocomplete-items div {
padding: 10px;
cursor: pointer;
- color: #3B4252 !important;
- background-color: #ECEFF4 !important;
+ color: #3B4252;
+ background-color: #ECEFF4;
border-bottom: 1px solid #242424;
}
@@ -48,4 +48,4 @@ body.dark * div#search-bar-autocomplete-list div:hover {
.autocomplete-active {
background-color: #685e79 !important;
color: #f9fafb !important;
-}
\ No newline at end of file
+}
diff --git a/app/static/css/themes/solarized-search.css b/app/static/css/themes/solarized-search.css
index d0bf9e0..b665269 100644
--- a/app/static/css/themes/solarized-search.css
+++ b/app/static/css/themes/solarized-search.css
@@ -20,8 +20,8 @@
.autocomplete-items div {
padding: 10px;
cursor: pointer;
- color: #002b36 !important;
- background-color: #eee8d5 !important;
+ color: #002b36;
+ background-color: #eee8d5;
border-bottom: 1px solid #242424;
}
@@ -48,4 +48,4 @@ body.dark * div#search-bar-autocomplete-list div:hover {
.autocomplete-active {
background-color: #685e79 !important;
color: #f9fafb !important;
-}
\ No newline at end of file
+}
diff --git a/app/templates/index.html b/app/templates/index.html
index 6590da3..2c47a90 100644
--- a/app/templates/index.html
+++ b/app/templates/index.html
@@ -23,6 +23,7 @@
{% if config['theme'] %}
+
{% else %}
@@ -100,7 +101,7 @@
@@ -152,4 +153,4 @@