mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-05 04:15:35 -04:00
Handle selectable table dark mode more elegantly
This commit is contained in:
parent
2773c1e67f
commit
70ea1711ce
@ -63,11 +63,11 @@
|
||||
background: #F4E487;
|
||||
}
|
||||
|
||||
#selectable .ui-selecting.dark {
|
||||
.uk-light #selectable .ui-selecting {
|
||||
background: #5E5731;
|
||||
}
|
||||
|
||||
#selectable .ui-selected.dark {
|
||||
.uk-light #selectable .ui-selected {
|
||||
background: #9D9252;
|
||||
}
|
||||
|
||||
|
@ -278,8 +278,7 @@ const buildTable = () => {
|
||||
const group_str = Object.entries(chp.groups).map(([k, v]) => {
|
||||
return `<a href="${baseURL }/group/${v}">${k}</a>`;
|
||||
}).join(' | ');
|
||||
const dark = loadTheme() === 'dark' ? 'dark' : '';
|
||||
return `<tr class="ui-widget-content ${dark}">
|
||||
return `<tr class="ui-widget-content">
|
||||
<td><a href="${baseURL}/chapter/${chp.id}">${chp.id}</a></td>
|
||||
<td>${chp.title}</td>
|
||||
<td>${chp.language}</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user