mirror of
https://github.com/TrentSPalmer/fcc-challenges.git
synced 2024-11-21 19:31:29 -08:00
drum-machine move selection menu scrollbar to left
This commit is contained in:
parent
b137e5e185
commit
fc53c8865c
@ -10,10 +10,9 @@
|
||||
|
||||
### TODOS
|
||||
|
||||
* bind 'v' key to focus volume slider
|
||||
* increase granularity of esc key function in selection menus back navigation
|
||||
* add focus() to selectionMenuItems so that you can immediately begin scrolling with arrow keys
|
||||
* add tip for scrolling selectionMenuItems
|
||||
* move selectionMenu scroller to the left
|
||||
* make sure metronome continues on volume, sound, or metronome BPM change
|
||||
* add additional metronome speed values
|
||||
* fix toolstips for menuselectionitems
|
||||
|
@ -135,24 +135,28 @@ body {
|
||||
.selectionMenu {
|
||||
margin: auto;
|
||||
background-color: var(--global-third-color);
|
||||
border-radius: 1rem;
|
||||
border-radius: 5px;
|
||||
width: 54vh;
|
||||
height: 45vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
scrollbar-color: black var(--global-fourth-color);
|
||||
scrollbar-color: var(--global-black-color) var(--global-second-color);
|
||||
scrollbar-width: thin;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.selectionMenu::-webkit-scrollbar {
|
||||
background-color: var(--global-fourth-color);
|
||||
background-color: var(--global-third-color);
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.selectionMenu::-webkit-scrollbar-thumb {
|
||||
background-color: black;
|
||||
background-color: var(--global-black-color);
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.selectionMenuItem, .volumeSelectionMenuItem, .metronomeSelectionMenuItem {
|
||||
|
Loading…
Reference in New Issue
Block a user