* update dep

* Update package.json

* update contextmenu

* update d.ts

* update onVttLoad

* build artplayer

* update style

* --art-theme

* update style

* update style

* update user-select

* add getIcon

* update style

* update style

* update style

* update style

* update style

* update style

* update style

* update style

* update style

* update style

* update style

* update style

* update style

* update style

* update style

* add progress-hover

* update mini

* update style

* update style

* update style

* update style

* update style

* update volume

* update style

* add art-backdrop

* update style

* update style

* update style

* update currentLevel

* update artplayerPluginControl

* update artplayerPluginDanmuku

* Update package.json
This commit is contained in:
Harvey Zack authored and GitHub committed 2023-04-16 23:01:26 +08:00
1 parent af12bd9634
commit 7b53de941d
80 files changed
+1393 -1362

No files matched your search

+52 -64
View File
@@ -1,74 +1,62 @@
.art-video-player {
.art-mini-header {
display: none;
.art-mini-popup {
position: fixed;
z-index: 9999;
width: 320px;
height: 180px;
background: #000;
border-radius: 3px;
cursor: move;
user-select: none;
overflow: hidden;
transition: opacity 0.2s ease;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
svg {
fill: #fff;
}
.art-video {
pointer-events: none;
}
.art-mini-close {
position: absolute;
z-index: 110;
left: 0;
top: 0;
right: 0;
height: 35px;
line-height: 35px;
color: #fff;
background-color: rgba(0, 0, 0, 0.5);
align-items: center;
justify-content: space-between;
z-index: 20;
right: 10px;
top: 10px;
cursor: pointer;
opacity: 0;
visibility: hidden;
transition: all 0.2s ease-in-out;
.art-mini-title {
flex: 1;
padding: 0 10px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
cursor: move;
}
.art-mini-close {
width: 35px;
text-align: center;
font-size: 22px;
transition: opacity 0.2s ease;
}
.art-mini-state {
.art-full(30);
.art-center();
pointer-events: none;
opacity: 0;
transition: opacity 0.2s ease;
background-color: rgba(0, 0, 0, 0.25);
.art-icon {
opacity: 0.75;
cursor: pointer;
}
}
transform: scale(3);
pointer-events: auto;
transition: transform 0.2s ease;
&.art-is-dragging {
opacity: 0.7;
}
&.art-mini {
position: fixed;
z-index: 9999;
width: 400px;
height: 225px;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.2);
.art-mini-header {
display: flex;
user-select: none;
}
&.art-hover {
.art-mini-header {
opacity: 1;
visibility: visible;
&:active {
transform: scale(2.5);
}
}
}
.art-mask {
.art-state {
position: static;
}
}
&.art-mini-droging {
opacity: 0.9;
}
.art-contextmenu,
.art-bottom,
.art-danmu,
.art-info,
.art-layers,
.art-notice,
.art-settings,
.art-subtitle {
display: none !important;
&:hover {
.art-mini-close, .art-mini-state {
opacity: 1;
}
}
}
}