mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 13:51:20 -08:00
update style
This commit is contained in:
1 parent
ee49a0435e
commit
3f1e033152
10 files changed
+38
-66
No files matched your search
@@ -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);
|
||||
}
|
||||
@@ -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,4 +1,4 @@
|
||||
.art-mobile {
|
||||
.art-video-player.art-mobile {
|
||||
--art-bottom-gap: 10px;
|
||||
--art-control-height: 38px;
|
||||
--art-control-icon-scale: 1;
|
||||
|
||||
Reference in new issue
Block a user