Skip to content

Commit

Permalink
Merge pull request #176 from modlinltd/ps/172/dark-theme-background
Browse files Browse the repository at this point in the history
fix: use OS theme (dark / light) background
  • Loading branch information
asfaltboy authored Oct 9, 2022
2 parents 5f56318 + b127321 commit 66aae12
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions advanced_filters/static/advanced-filters/advanced-filters.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

.white-popup {
position: relative;
background: #FFF;
background: var(--body-bg, #FFF);
padding: 20px;
width: auto;
max-width: 800px;
Expand All @@ -70,4 +70,4 @@

.select2-container {
min-width: 166px;
}
}
2 changes: 1 addition & 1 deletion advanced_filters/templates/admin/advanced_filters.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1>{% trans "Create advanced filter" %}:</h1>
<thead>
<tr>
{% for field in formset.fields %}
<th style="color: black;">{{ field.label|capfirst }}</th>
<th>{{ field.label|capfirst }}</th>
{% endfor %}
</tr>
</thead>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1>{% trans "Change advanced filter" %}:</h1>
<thead>
<tr>
{% for field in formset.fields %}
<th style="color: black;">{{ field.label|capfirst }}</th>
<th>{{ field.label|capfirst }}</th>
{% endfor %}
</tr>
</thead>
Expand Down Expand Up @@ -64,4 +64,4 @@ <h1>{% trans "Change advanced filter" %}:</h1>
</div>
{% endwith %}
</form>
{% endblock content %}
{% endblock content %}

0 comments on commit 66aae12

Please sign in to comment.