Tip of the Day
Long pressing an item opens multi-selection options in the inventory.
MediaWiki:Gadget-TableChecklist.css: Difference between revisions
From Walkscape Walkthrough
Created page with "→lighttable colors: :root { --lighttable-bg-hover: #fff7e3; --lighttable-bg-active: #ffe0a3; --lighttable-link-color: #784c0a; } →ACTIVE (click-selected): apply to cells: table.mw-lighttable tbody tr.highlight-on > td, table.mw-lighttable tbody tr.highlight-on > th { background-color: var(--lighttable-bg-active) !important; } →HOVER: only when not already active; apply to cells: table.mw-lighttable tbody tr:not(.highlight-on):hover > td, table.mw-l..." |
(No difference)
|
Latest revision as of 02:59, 8 November 2025
/* lighttable colors */
:root {
--lighttable-bg-hover: #fff7e3;
--lighttable-bg-active: #ffe0a3;
--lighttable-link-color: #784c0a;
}
/* ACTIVE (click-selected): apply to cells */
table.mw-lighttable tbody tr.highlight-on > td,
table.mw-lighttable tbody tr.highlight-on > th {
background-color: var(--lighttable-bg-active) !important;
}
/* HOVER: only when not already active; apply to cells */
table.mw-lighttable tbody tr:not(.highlight-on):hover > td,
table.mw-lighttable tbody tr:not(.highlight-on):hover > th {
background-color: var(--lighttable-bg-hover) !important;
}
/* Link color inside highlighted rows */
table.mw-lighttable tbody tr.highlight-on a {
color: var(--lighttable-link-color) !important;
}
/* Optional: link color on hover rows too */
table.mw-lighttable tbody tr:not(.highlight-on):hover a {
color: var(--lighttable-link-color) !important;
}
/* Pointer cursor (keep) */
table.mw-lighttable tbody tr { cursor: pointer; }
/* Footer Button Formatting */
.lt-footer-cell { text-align: center; }
.lt-clear-btn { padding: 0.25em 0.6em; }
