mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 16:11:20 -08:00
Fix minor bugs and remove loop control
This commit is contained in:
1 parent
4e139ab6f0
commit
cf8cea8283
12 files changed
+407
-569
No files matched your search
@@ -3,7 +3,7 @@
|
||||
display: flex;
|
||||
.art-full();
|
||||
top: auto;
|
||||
height: var(--art-mini-progress-height);
|
||||
height: var(--art-mini-progress-height) !important;
|
||||
background-color: var(--art-theme);
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
.art-full();
|
||||
right: auto;
|
||||
pointer-events: auto;
|
||||
width: var(--art-highlight-width);
|
||||
width: var(--art-highlight-width) !important;
|
||||
transform: translateX(calc(var(--art-highlight-width) / -2));
|
||||
background-color: var(--art-highlight-color);
|
||||
}
|
||||
@@ -112,20 +112,6 @@
|
||||
background-color: var(--art-widget-background);
|
||||
box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.2), 0 1px 2px -1px rgb(0 0 0 / 0.2);
|
||||
}
|
||||
|
||||
.art-control-loop {
|
||||
.art-full();
|
||||
display: none;
|
||||
pointer-events: none;
|
||||
|
||||
.art-loop-point {
|
||||
.art-full();
|
||||
left: 0%;
|
||||
width: var(--art-loop-width);
|
||||
background-color: var(--art-loop-color);
|
||||
transform: translateX(calc(var(--art-loop-width) / -2)) scaleY(1.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
--art-progress-color: rgba(255, 255, 255, 0.2);
|
||||
--art-hover-color: rgba(255, 255, 255, 0.5);
|
||||
--art-loaded-color: rgba(255, 255, 255, 0.2);
|
||||
--art-loop-color: rgba(255, 255, 255, 0.75);
|
||||
--art-state-size: 80px;
|
||||
--art-state-opacity: 0.8;
|
||||
--art-bottom-height: 100px;
|
||||
@@ -18,7 +17,6 @@
|
||||
--art-bottom-gap: 5px;
|
||||
--art-highlight-width: 8px;
|
||||
--art-highlight-color: rgba(255, 255, 255, 0.5);
|
||||
--art-loop-width: 2px;
|
||||
--art-control-height: 46px;
|
||||
--art-control-opacity: 0.75;
|
||||
--art-control-icon-size: 36px;
|
||||
|
||||
Reference in new issue
Block a user