Files
ArtPlayer/packages/artplayer/src/style/setting.less
T
Harvey Zack 7b53de941d V5 (#500)
* 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
2023-04-16 23:01:26 +08:00

99 lines
2.7 KiB
Plaintext

.art-video-player {
.art-settings {
display: none;
flex-direction: column;
position: absolute;
z-index: 90;
left: 0;
border-radius: 3px;
bottom: var(--art-control-height);
transition: all var(--art-duration) ease;
background-color: var(--art-background);
.art-setting-panel {
display: none;
flex-direction: column;
&.art-current {
display: flex;
}
.art-setting-item {
display: flex;
justify-content: space-between;
align-items: center;
height: 35px;
padding: 0 5px;
line-height: 1;
cursor: pointer;
overflow: hidden;
color: rgba(255, 255, 255, 0.75);
&:hover {
color: #fff;
background-color: rgba(255, 255, 255, 0.1);
}
&.art-current {
color: var(--art-theme);
}
.art-icon-check {
visibility: hidden;
height: 15px;
}
&.art-current .art-icon-check {
visibility: visible;
}
.art-setting-item-left {
.art-center();
gap: 5px;
.art-setting-item-left-icon {
.art-center();
height: var(--art-settings-icon-size);
width: var(--art-settings-icon-size);
}
}
.art-setting-item-right {
.art-center();
gap: 5px;
font-size: 12px;
.art-setting-item-right-tooltip {
white-space: nowrap;
color: rgba(255, 255, 255, 0.5);
}
.art-setting-item-right-icon {
.art-center();
min-width: 32px;
height: 24px;
}
.art-setting-range {
height: 3px;
width: 80px;
outline: none;
appearance: none;
background-color: rgba(255, 255, 255, 0.2);
}
}
}
.art-setting-item-back {
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
}
}
&.art-setting-show {
.art-settings {
display: flex;
}
}
}