1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-22 15:54:57 +00:00
transmission/macosx/QuickLookPlugin/style.css
Dzmitry Neviadomski af5da12a71
feat: support dark mode in legacy html-based QuickLook plugin (#6101)
Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
2023-10-21 20:40:22 -05:00

63 lines
956 B
CSS

:root {
color-scheme: light dark;
}
html {
color: rgb(0,0,0);
font-family: -apple-system, BlinkMacSystemFont, 'Lucida Grande', sans-serif;
text-align: left;
}
table {
width: 100%;
border-spacing: 0;
}
th {
color: rgb(50,50,50);
font-weight: bold;
text-align: left;
}
tr:nth-child(even) {
background: rgb(244,245,245);
}
tr:nth-child(even) td:first-child {
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}
tr:nth-child(even) td:last-child {
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
td {
color: rgb(80,80,80);
text-align: left;
}
td.grey {
color: rgb(133,133,133);
}
img.icon {
margin-right: 8px;
vertical-align: text-bottom;
}
@media (prefers-color-scheme: dark) {
html {
color: rgb(255,255,255);
}
th {
color: rgb(200,200,200);
}
tr:nth-child(even) {
background: rgb(50,50,50);
}
td {
color: rgb(175,175,175);
}
}