This commit is contained in:
Ondrej Zara 2020-03-10 11:41:29 +01:00
parent 7786ae1384
commit 77ab2f2b18
No known key found for this signature in database
GPG key ID: B0A5751E616840C5
3 changed files with 12 additions and 5 deletions

View file

@ -39,13 +39,16 @@ button {
.flex-row; .flex-row;
display: inline-flex; display: inline-flex;
white-space: nowrap;
background-color: transparent; background-color: transparent;
padding: 0; padding: 0;
border: none; border: none;
line-height: 1; line-height: 1;
cursor: pointer; cursor: pointer;
@media (hover: hover) {
&:not(:disabled):not(:hover):not(.-thumb) { opacity: 0.9; }
}
} }
select { select {

View file

@ -41,7 +41,6 @@ button {
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
display: inline-flex; display: inline-flex;
white-space: nowrap;
background-color: transparent; background-color: transparent;
padding: 0; padding: 0;
border: none; border: none;
@ -51,6 +50,11 @@ button {
button:not([hidden]) { button:not([hidden]) {
display: flex; display: flex;
} }
@media (hover: hover) {
button:not(:disabled):not(:hover):not(.-thumb) {
opacity: 0.9;
}
}
select { select {
background-color: transparent; background-color: transparent;
border: 1px solid var(--fg); border: 1px solid var(--fg);
@ -756,9 +760,9 @@ cyp-yt.pending header {
} }
x-range { x-range {
--thumb-size: 8px; --thumb-size: 8px;
--thumb-color: #fff; --thumb-color: #ddd;
--thumb-shadow: #000; --thumb-shadow: #000;
--thumb-hover-color: #ddd; --thumb-hover-color: #fff;
--track-size: 4px; --track-size: 4px;
--track-color: #888; --track-color: #888;
--track-shadow: #000; --track-shadow: #000;

View file

@ -4,7 +4,7 @@
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"custom-range": "^1.0.2", "custom-range": "^1.0.3",
"node-static": "^0.7.11", "node-static": "^0.7.11",
"ws2mpd": "^2.0.0" "ws2mpd": "^2.0.0"
}, },