mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Implemented button highlighting.
This commit is contained in:
@@ -478,4 +478,8 @@ label[for=editorPriorityValue] {
|
||||
}
|
||||
[draggable] {
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
.highlight {
|
||||
background: #69aaff;
|
||||
color: #f8f8f8;
|
||||
}
|
||||
@@ -65,6 +65,9 @@ function hideElement(element) {
|
||||
element.classList.toggle('hidden', true);
|
||||
}
|
||||
}
|
||||
function highlightElement(element, state) {
|
||||
element.classList.toggle('highlight', state);
|
||||
}
|
||||
function toggleDisplayCSS(evt) {
|
||||
var e = document.getElementsByClassName(evt.target.getAttribute('data-class'));
|
||||
if (evt.target.checked) {
|
||||
|
||||
Reference in New Issue
Block a user