Update dark theme (#441)

* Update dark theme CSS

* Use reponsive table on Admin > Reports page

Fixes dark theme styling of the table header.
This commit is contained in:
sfan5 2018-02-01 19:50:31 +01:00 committed by Arylide
parent 0285c12264
commit 0fac1c820d
2 changed files with 11 additions and 5 deletions

View File

@ -432,7 +432,8 @@ body.dark .navbar a {
color: #e2e2e2;
}
body.dark kbd {
body.dark kbd,
body.dark .btn.edit-comment {
background-color: #4a4a4a;
}
@ -450,8 +451,9 @@ body.dark .torrent-list tbody tr td a:visited {
color: #205c90;
}
body.dark .torrent-list > thead > tr, body.dark tbody > tr,
body.dark .panel > .panel-heading {
body.dark thead > tr, body.dark tbody > tr,
body.dark .panel > .panel-heading,
body.dark .report-action-column select {
color: #cbcbcb;
}
@ -474,6 +476,10 @@ body.dark table.torrent-list tbody .comments {
background-color: #2f2c2c;
}
body.dark .comment-panel:target {
border-color: white;
}
/* trusted */
body.dark .torrent-list > tbody > tr.success > td {
color: inherit;
@ -570,4 +576,4 @@ td.report-action-column {
/* Override <blockquote> font size (assume main.css comes after bootstrap) */
blockquote {
font-size: inherit;
}
}

View File

@ -2,7 +2,7 @@
{% block title %}Reports :: {{ config.SITE_NAME }}{% endblock %}
{% block body %}
{% from "_formhelpers.html" import render_field %}
<div class="table">
<div class="table-responsive">
<table class="table table-bordered table-hover table-striped table-condensed">
<thead>
<tr>