mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-04-03 14:39:37 +07:00
This change allows the user to have multiple blink(1) devices connected to their computer. A selection box is used to switch between them. The new chrome.hid.onDeviceAdded and chrome.hid.onDeviceRemoved events are used to keep this list up to date.
19 lines
292 B
CSS
19 lines
292 B
CSS
select {
|
|
margin: 2px;
|
|
width: 140px;
|
|
}
|
|
|
|
input[type=range] {
|
|
outline: none;
|
|
-webkit-appearance: none;
|
|
width: 140px;
|
|
}
|
|
|
|
input[type=range]::-webkit-slider-runnable-track {
|
|
transition: opacity .4s ease-in;
|
|
}
|
|
|
|
input[type=range]:disabled::-webkit-slider-runnable-track {
|
|
opacity: 0;
|
|
}
|