mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 10:31:20 -08:00
Update transition property in bottom.less and
remove unnecessary styles in plugins.less and miniProgressBar.js
This commit is contained in:
1 parent
2b18452644
commit
24601dd18c
5 files changed
+33
-69
No files matched your search
@@ -1,12 +1,4 @@
|
||||
.art-video-player {
|
||||
.art-layer-mini-progress-bar {
|
||||
display: flex;
|
||||
.art-full();
|
||||
top: auto;
|
||||
height: var(--art-mini-progress-height) !important;
|
||||
background-color: var(--art-theme);
|
||||
}
|
||||
|
||||
.art-layer-lock {
|
||||
.art-center(none);
|
||||
position: absolute;
|
||||
@@ -49,24 +41,29 @@
|
||||
}
|
||||
|
||||
&.art-lock {
|
||||
.art-bottom {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.art-subtitle {
|
||||
bottom: var(--art-subtitle-bottom) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.art-layer-mini-progress-bar {
|
||||
display: flex !important;
|
||||
&.art-mini-progress-bar, &.art-lock {
|
||||
.art-bottom {
|
||||
opacity: 1;
|
||||
padding: 0;
|
||||
background-image: none;
|
||||
|
||||
.art-controls,
|
||||
.art-progress {
|
||||
transform: translateY(calc(var(--art-control-height) + var(--art-bottom-gap) + var(--art-progress-height) / 4));
|
||||
}
|
||||
|
||||
.art-progress-indicator {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.art-control-show {
|
||||
.art-layer-mini-progress-bar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.art-layer-lock {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user