update style

This commit is contained in:
Harvey Zack committed 2023-04-23 14:38:13 +08:00
1 parent ee49a0435e
commit 3f1e033152
10 files changed
+38 -66

No files matched your search

+9 -3
View File
@@ -9,17 +9,23 @@
pointer-events: none;
gap: var(--art-bottom-gap);
padding: 0 var(--art-padding);
transform: translateY(var(--art-bottom-offset));
transition: all var(--art-transition-duration) ease;
transition: opacity var(--art-transition-duration) ease;
background-size: 100% var(--art-bottom-height);
.art-bottom-gradient();
.art-controls, .art-progress {
transform: translateY(var(--art-bottom-offset));
transition: transform var(--art-transition-duration) ease;
}
}
&.art-control-show,
&.art-hover {
.art-bottom {
transform: translateY(0);
opacity: 1;
.art-controls, .art-progress {
transform: translateY(0);
}
}
}
}
@@ -0,0 +1,4 @@
.art-fullscreen {
--art-control-height: 60px;
--art-control-icon-scale: 1.3;
}
@@ -1,3 +1,5 @@
.art-fullscreen-web {
--art-control-height: 60px;
--art-control-icon-scale: 1.3;
.art-full(var(--art-fullscreen-web-index), fixed);
}
+1
View File
@@ -20,6 +20,7 @@
@import './info.less';
@import './hideCursor.less';
@import './aspectRatio.less';
@import './fullscreen.less';
@import './fullscreenWeb.less';
@import './mini.less';
@import './autoSize.less';
+1 -1
View File
@@ -1,4 +1,4 @@
.art-mobile {
.art-video-player.art-mobile {
--art-bottom-gap: 10px;
--art-control-height: 38px;
--art-control-icon-scale: 1;