Skip to content

Commit

Permalink
Merge pull request #136 from tillvit/development
Browse files Browse the repository at this point in the history
Make color matrix dot double outline
  • Loading branch information
tillvit authored Sep 20, 2024
2 parents f9e9499 + b344b81 commit ce63605
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 11 additions & 1 deletion app/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2957,11 +2957,21 @@ input[type="color"] {
position: absolute;
width: 15px;
height: 15px;
border: 2px solid rgb(0, 0, 0);
border: 2px solid white;
border-radius: 15px;
transform: translate(-50%, -50%);
}

.color-picker-popup .color-matrix-dot:after {
content: " ";
position: absolute;
width: 15px;
height: 15px;
border: 2px solid black;
border-radius: 15px;
transform: translate(-4px, -4px);
}

.color-picker-popup .color-slider {
width: 200px;
height: 20px;
Expand Down
1 change: 1 addition & 0 deletions app/src/gui/element/Dropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export class Dropdown<T> {
if (!target.closest(".dropdown") || target.closest(".dropdown") != view)
itemList.style.height = ""
})
itemList.classList.add("collapsed")
this.view.appendChild(itemDisplay)
this.view.appendChild(itemList)
this.setSelected()
Expand Down

0 comments on commit ce63605

Please sign in to comment.