mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 21:01:20 -08:00
* chore: Bump artplayer-plugin-danmuku version to 5.1.0 * chore: Update danmuku plugin with new mount option * chore: Update danmuku plugin with new mount option * chore: Update danmuku plugin with new mount option * chore: Update danmuku plugin with new mount option * chore: Update danmuku plugin with new mount option * chore: Update danmuku plugin with new mount option * chore: Refactor getDanmuTop function to handle additional cases * chore: Refactor getDanmuTop function to handle additional cases * chore: Update danmuku plugin with new mount option * chore: Update danmuku plugin with new mount option * chore: Refactor danmuku plugin to always create a new Setting instance * Refactor danmuku plugin to always create a new Setting instance * Refactor danmuku plugin to always create a new Setting instance * Update danmuku.js * Update danmuku.js * Refactor danmuku plugin to include a new Setting instance * Refactor danmuku plugin to include a new Setting instance * Refactor danmuku plugin styles for better alignment and spacing * Refactor danmuku plugin styles for better alignment and spacing * Refactor danmuku plugin styles for better alignment and spacing * Refactor danmuku plugin styles for better alignment and spacing * Refactor danmuku plugin styles for better alignment and spacing * chore: Update package.json files * Refactor danmuku plugin to remove unnecessary whitespace in the setting template * chore: Remove ESLint configuration files and update npm dependencies * chore: Update ESLint configuration to disable console warnings and fix unused variable warnings * chore: Update ESLint configuration to fix quotes rule * Update package.json * Update package.json * Update setting.js * chore: Compress CSS code in build script * chore: Update build script to compress JavaScript code * chore: Update build script to compress JavaScript code * chore: Refactor setting.js to improve code organization and remove unused variables * chore: Add isHover flag to Control component for better control hiding behavior * chore: Update Control component to use $bottom instead of $controls for better control hiding behavior * Update package.json * Update package.json * Update package.json * chore: Update lerna.json to use independent versioning and yarn as npm client * refactor: Update Danmuku class to support configurable modes and visibility * refactor: Update Danmuku styles for better visibility and configurability * feat: Update font weight in Danmuku styles for better readability * refactor: Update Danmuku class to support configurable modes and visibility * refactor: Add opacity, area, font, and speed sliders to Danmuku settings * refactor: Initialize sliders for opacity, area, font, and speed in Danmuku settings * feat: Add slider UI for opacity, area, and speed in Danmuku settings * feat: Update slider styles in Danmuku settings for better visibility and configurability * refactor: Improve Danmuku settings UI for better visibility and configurability * refactor: Improve Danmuku settings UI for better visibility and configurability * refactor: Update slider styles in Danmuku settings for better visibility and configurability * refactor: Update margin slider initialization in Danmuku settings * refactor: Update slider styles and initialization in Danmuku settings * refactor: Update Danmuku class to support configurable visibility * refactor: Update Danmuku class to support configurable visibility * refactor: Update Danmuku class to support configurable visibility * refactor: Update Danmuku class to support configurable visibility * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Improve Danmuku settings UI for better visibility and configurability * add lock * refactor: Add lock and unlock methods to Danmuku settings * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * Update artplayer-plugin-danmuku.d.ts * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings event listeners * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability
75 lines
1.8 KiB
Plaintext
75 lines
1.8 KiB
Plaintext
.art-video-player {
|
|
.art-layer-lock {
|
|
.art-center(none);
|
|
position: absolute;
|
|
top: 50%;
|
|
border-radius: 50%;
|
|
transform: translateY(-50%);
|
|
height: var(--art-lock-size);
|
|
width: var(--art-lock-size);
|
|
left: var(--art-padding);
|
|
background-color: var(--art-tip-background);
|
|
}
|
|
|
|
.art-layer-auto-playback {
|
|
display: none;
|
|
gap: 10px;
|
|
align-items: center;
|
|
position: absolute;
|
|
border-radius: var(--art-border-radius);
|
|
padding: 10px;
|
|
line-height: 1;
|
|
left: var(--art-padding);
|
|
bottom: calc(var(--art-control-height) + var(--art-bottom-gap) + 10px);
|
|
background-color: var(--art-widget-background);
|
|
|
|
.art-auto-playback-close {
|
|
.art-center();
|
|
cursor: pointer;
|
|
|
|
svg {
|
|
width: 15px;
|
|
height: 15px;
|
|
fill: var(--art-theme);
|
|
}
|
|
}
|
|
|
|
.art-auto-playback-jump {
|
|
color: var(--art-theme);
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
&.art-lock {
|
|
.art-subtitle {
|
|
bottom: var(--art-subtitle-bottom) !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-lock {
|
|
display: flex;
|
|
}
|
|
}
|
|
}
|