1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 04:10:00 +00:00

Improve dark theme (2) (#358)

* Further improve dark theme

* do something about .alert-info, idk
This commit is contained in:
sfan5 2017-09-05 00:01:40 +02:00 committed by Arylide
parent 4995f95ebd
commit 45e1a650fb

View file

@ -396,12 +396,26 @@ body.dark {
color: #afafaf;
}
kbd {
body.dark .navbar a {
color: #e2e2e2;
}
body.dark kbd {
background-color: #4a4a4a;
}
body.dark .torrent-list > tbody > tr > td > a {
font-weight: bold;
body.dark .alert-info {
color: #94ceff; /* == bg-color in light theme */
background-color: #185586;
border-color: #247fcc;
}
body.dark .alert-info a:hover {
color: #4d9ee0;
}
body.dark .torrent-list tbody tr td a:visited {
color: #205c90;
}
body.dark .torrent-list > thead > tr, body.dark tbody > tr,
@ -410,7 +424,7 @@ body.dark .panel > .panel-heading {
}
body.dark .table-striped > tbody > tr:nth-of-type(odd) {
background-color: #363636;
background-color: #363636; /* less pronounced striping effect */
}
body.dark .table-hover > tbody > tr:hover {
@ -422,6 +436,12 @@ body.dark .table-bordered > tbody > tr > td {
border: 1px solid #212121;
}
table.torrent-list tbody .comments {
border-color: #212121;
color: #d6d6d6;
background-color: #4c4c4c;
}
/* trusted */
body.dark .torrent-list > tbody > tr.success > td {
color: inherit;
@ -452,7 +472,18 @@ body.dark div.panel-danger > .panel-heading {
border-color: #452c2c; /* == remake entry in torrent list */
}
body.dark div.panel-danger > .panel-heading {
background-color: #714b4b;/* == remake entry in torrent list + hover */
background-color: #714b4b; /* == remake entry in torrent list + hover */
}
/* deleted */
body.dark .torrent-list > tbody > tr.deleted > td {
background-color: rgba(255, 255, 255, 0.20);
}
body.dark .torrent-list > tbody > tr.deleted:hover > td {
background-color: rgba(255, 255, 255, 0.26);
}
body.dark .panel-deleted > .panel-heading {
color: #232323;
}