Skip to content

Commit

Permalink
improved lightshow
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Aug 18, 2024
1 parent e3e3f6f commit ddce264
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
5 changes: 0 additions & 5 deletions docs/assets/js/ColorSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,6 @@ function createDropdown(options, onSelect, title) {

function closeDropdown() {
if (activeDropdown) {
// Remove highlight from all boxes when closing dropdown
document.querySelectorAll('.highlighted').forEach(el => {
el.classList.remove('highlighted');
el.style.boxShadow = ''; // Reset glow effect
});
activeDropdown.remove();
activeDropdown = null;
}
Expand Down
15 changes: 0 additions & 15 deletions docs/color_select_menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ grand_parent: Vortex Engine
}

.slot:not(.empty):hover {
box-shadow: 0 0 10px 4px currentColor; /* Glow color based on the slot's color */
}

.slot:not(.empty).highlighted {
border-color: currentColor; /* Use slot's color for the border when selected */
box-shadow: 0 0 8px 3px currentColor; /* Softer glow */
transform: scale(1.1);
}

Expand Down Expand Up @@ -69,15 +63,6 @@ grand_parent: Vortex Engine
background-size: cover;
}

.highlighted {
border: 2px solid #fff;
box-shadow: 0 0 10px 2px currentColor;
}

.slot.highlighted {
box-shadow: 0 0 10px 2px;
}

#slots-container {
display: flex;
justify-content: center;
Expand Down

0 comments on commit ddce264

Please sign in to comment.