Skip to content

Commit

Permalink
Merge pull request #537 from digitalfabrik/bug/color_assignment_feedb…
Browse files Browse the repository at this point in the history
…ack_darkmode

Fix colors of feedback list in dark mode
  • Loading branch information
sascha11110 authored Oct 25, 2024
2 parents af0c4bf + 99d8ed8 commit 600ff76
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ UNRELEASED
----------

* [ [#512](https://github.com/digitalfabrik/lunes-cms/issues/512) ] Gender neutral language
* [ [#532](https://github.com/digitalfabrik/lunes-cms/issues/532) ] Fix color of feedback list in dark mode


2024.6.0
Expand Down
22 changes: 22 additions & 0 deletions lunes_cms/static/css/feedback.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,28 @@ thead tr {
font-weight: bold;
}

@media (prefers-color-scheme: dark) {

.table-striped tbody tr:nth-of-type(odd){
background-color: #000e38;

}

.table-striped thead tr {
background-color: #47476e;
font-weight: bold;
}

thead th .text {
color: #8ba6fa;
}

tbody {
color: #8ba6fa;
}

}

/* Checkbox column */
thead th:nth-child(1) {
width: 3%;
Expand Down

0 comments on commit 600ff76

Please sign in to comment.