Files
blog/public/css/layout/modules/aplayer.css
2025-07-16 16:30:56 +00:00

809 lines
22 KiB
CSS

:root {
--background-color: #fff;
--background-color-transparent: rgba(255,255,255,0.6);
--background-color-transparent-15: rgba(255,255,255,0.15);
--background-color-transparent-40: rgba(255,255,255,0.4);
--background-color-transparent-80: rgba(255,255,255,0.8);
--second-background-color: #fafafa;
--third-background-color: #f7f7f7;
--third-background-color-transparent: rgba(241,241,241,0.6);
--primary-color: #40e0d0;
--first-text-color: #323739;
--second-text-color: #343a3c;
--third-text-color: #5c6669;
--fourth-text-color: #eaeced;
--default-text-color: #373d3f;
--invert-text-color: #bebec6;
--border-color: rgba(0,0,0,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(0,0,0,0.08);
--shadow-color-2: rgba(0,0,0,0.05);
--shadow-hover-color: rgba(0,0,0,0.28);
--scrollbar-color: #c1c1c1;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #fafafa;
--link-color: #323739;
--copyright-info-color: #c03;
--avatar-background-color: #06c;
--pjax-progress-bar-color: linear-gradient(45deg, #f10006, #ef5b00, #e59c01, #19ca05, #00cab5, #0264c8, #c303c3);
--archive-timeline-last-child-color: linear-gradient(to bottom, #e8e8e8 60%, rgba(0,0,0,0) 100%) 1 100%;
--note-blue-title-bg: #d6f7fb;
--note-red-title-bg: #fde9e9;
--note-cyan-title-bg: #e9fdf9;
--note-green-title-bg: #e9fde9;
--note-yellow-title-bg: #fdf9e9;
--note-gray-title-bg: #f9f9f9;
--note-type-title-bg: #fdf3e9;
--note-black-title-bg: #e9e9e9;
--note-purple-title-bg: #f9e9fd;
--home-banner-text-color: #fff;
--home-banner-icons-container-border-color: rgba(255,255,255,0.35);
--home-banner-icons-container-background-color: rgba(255,255,255,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $mermaid-theme;
}
.light-mode {
--background-color: #fff;
--background-color-transparent: rgba(255,255,255,0.6);
--background-color-transparent-15: rgba(255,255,255,0.15);
--background-color-transparent-40: rgba(255,255,255,0.4);
--background-color-transparent-80: rgba(255,255,255,0.8);
--second-background-color: #fafafa;
--third-background-color: #f7f7f7;
--third-background-color-transparent: rgba(241,241,241,0.6);
--primary-color: #40e0d0;
--first-text-color: #323739;
--second-text-color: #343a3c;
--third-text-color: #5c6669;
--fourth-text-color: #eaeced;
--default-text-color: #373d3f;
--invert-text-color: #bebec6;
--border-color: rgba(0,0,0,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(0,0,0,0.08);
--shadow-color-2: rgba(0,0,0,0.05);
--shadow-hover-color: rgba(0,0,0,0.28);
--scrollbar-color: #c1c1c1;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #fafafa;
--link-color: #323739;
--copyright-info-color: #c03;
--avatar-background-color: #06c;
--pjax-progress-bar-color: linear-gradient(45deg, #f10006, #ef5b00, #e59c01, #19ca05, #00cab5, #0264c8, #c303c3);
--archive-timeline-last-child-color: linear-gradient(to bottom, #e8e8e8 60%, rgba(0,0,0,0) 100%) 1 100%;
--note-blue-title-bg: #d6f7fb;
--note-red-title-bg: #fde9e9;
--note-cyan-title-bg: #e9fdf9;
--note-green-title-bg: #e9fde9;
--note-yellow-title-bg: #fdf9e9;
--note-gray-title-bg: #f9f9f9;
--note-type-title-bg: #fdf3e9;
--note-black-title-bg: #e9e9e9;
--note-purple-title-bg: #f9e9fd;
--home-banner-text-color: #fff;
--home-banner-icons-container-border-color: rgba(255,255,255,0.35);
--home-banner-icons-container-background-color: rgba(255,255,255,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $mermaid-theme;
}
.dark-mode {
--background-color: #202124;
--background-color-transparent: rgba(32,33,36,0.4);
--background-color-transparent-15: rgba(32,33,36,0.15);
--background-color-transparent-40: rgba(32,33,36,0.4);
--background-color-transparent-80: rgba(32,33,36,0.8);
--second-background-color: #242529;
--third-background-color: #292b2f;
--third-background-color-transparent: rgba(32,33,36,0.6);
--primary-color: #40e0d0;
--first-text-color: #d2d2d7;
--second-text-color: #cbcbd1;
--third-text-color: #9595a2;
--fourth-text-color: #36363e;
--default-text-color: #bebec6;
--invert-text-color: #373d3f;
--border-color: rgba(255,255,255,0.08);
--selection-color: #53e3d5;
--shadow-color-1: rgba(255,255,255,0.08);
--shadow-color-2: rgba(255,255,255,0.05);
--shadow-hover-color: rgba(69,69,69,0.28);
--scrollbar-color: #898989;
--scrollbar-color-hover: #a1a1a1;
--scroll-bar-bg-color: #2a2c30;
--link-color: #c5c5cc;
--copyright-info-color: #a30029;
--avatar-background-color: #005cb8;
--pjax-progress-bar-color: linear-gradient(45deg, #ea404a, #ea722f, #e9a71f, #67e559, #18ecec, #1b85f1, #ee1dee);
--archive-timeline-last-child-color: linear-gradient(to bottom, #323232 60%, rgba(255,255,255,0) 100%) 1 100%;
--note-blue-title-bg: #1e3e46;
--note-red-title-bg: #4e1e1e;
--note-cyan-title-bg: #1e4e4e;
--note-green-title-bg: #1e4e1e;
--note-yellow-title-bg: #4e4e1e;
--note-gray-title-bg: #4e4e4e;
--note-type-title-bg: #4e3a1e;
--note-black-title-bg: #1e1e1e;
--note-purple-title-bg: #4e1e4e;
--home-banner-text-color: #d1d1b6;
--home-banner-icons-container-border-color: rgba(197,197,197,0.35);
--home-banner-icons-container-background-color: rgba(197,197,197,0.3);
--redefine-box-shadow: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-hover: var(--shadow-color-2) 0px 6px 24px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--redefine-box-shadow-flat: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px;
--redefine-box-shadow-flat-hover: var(--shadow-color-2) 0px 1px 4px 0px, var(--shadow-color-1) 0px 0px 0px 1px, var(--shadow-color-1) 0px 0px 0px 1px inset;
--mermaid-theme: $dark-mermaid-theme;
}
.aplayer {
margin: 5px;
border-radius: 14px;
overflow: hidden;
user-select: none;
line-height: initial;
position: relative;
transition: opacity 0.3s ease;
}
@media (max-width: 640px) {
.aplayer {
display: none;
}
}
.aplayer.hide {
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}
.aplayer * {
box-sizing: content-box;
}
.aplayer svg {
width: 100%;
height: 100%;
}
.aplayer svg path,
.aplayer svg circle {
fill: #fff;
}
.aplayer.aplayer-withlist .aplayer-info {
border-bottom: 1px solid #e9e9e9;
}
.aplayer.aplayer-withlist .aplayer-list {
display: block;
}
.aplayer.aplayer-withlist .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-menu {
display: inline;
}
.aplayer.aplayer-withlist .aplayer-icon-order {
display: inline;
}
.aplayer.aplayer-withlrc .aplayer-pic {
height: 90px;
width: 90px;
}
.aplayer.aplayer-withlrc .aplayer-info {
margin-left: 90px;
height: 90px;
padding: 10px 7px 0 7px;
}
.aplayer.aplayer-withlrc .aplayer-lrc {
display: block;
}
.aplayer.aplayer-narrow {
width: 66px;
}
.aplayer.aplayer-narrow .aplayer-info {
display: none;
}
.aplayer.aplayer-narrow .aplayer-list {
display: none;
}
.aplayer.aplayer-fixed {
position: fixed;
bottom: 30.400000000000002px;
left: 30.400000000000002px;
right: 0;
margin: 0;
z-index: 99;
overflow-y: visible;
max-width: 400px;
border-radius: 14px;
}
.aplayer.aplayer-fixed .aplayer-list {
margin-bottom: 75px;
border: 1px solid var(--shadow-color-1);
}
.aplayer.aplayer-fixed .aplayer-body {
position: fixed;
bottom: 30.400000000000002px;
left: 30.400000000000002px;
right: 0;
margin: 0;
z-index: 99;
padding-right: 18px;
transition: all 0.3s ease;
max-width: 400px;
border-radius: 14px;
}
.aplayer.aplayer-fixed .aplayer-lrc {
display: block;
position: fixed;
bottom: 10px;
left: 0;
right: 0;
margin: 0;
z-index: 98;
pointer-events: none;
text-shadow: -1px -1px 0 #fff;
}
.aplayer.aplayer-fixed .aplayer-lrcbefore,
.aplayer.aplayer-fixed .aplayer-lrcafter {
display: none;
}
.aplayer.aplayer-fixed .aplayer-info {
transform: scaleX(1);
transform-origin: 0 0;
transition: all 0.3s ease;
border: 1px solid var(--shadow-color-1);
white-space: nowrap;
border-radius: 14px;
background: var(--background-color-transparent);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.aplayer.aplayer-fixed .aplayer-info .aplayer-music {
width: calc(100% - 105px);
}
.aplayer.aplayer-fixed .aplayer-miniswitcher {
display: block;
opacity: 0;
transition: opacity 0.3s ease;
}
.aplayer.aplayer-fixed.aplayer-narrow .aplayer-info {
display: block;
transform: scaleX(0);
}
.aplayer.aplayer-fixed.aplayer-narrow .aplayer-body {
width: 66px !important;
}
.aplayer.aplayer-fixed.aplayer-narrow .aplayer-miniswitcher .aplayer-icon {
transform: rotateY(0);
}
.aplayer.aplayer-fixed .aplayer-icon-back,
.aplayer.aplayer-fixed .aplayer-icon-play,
.aplayer.aplayer-fixed .aplayer-icon-forward,
.aplayer.aplayer-fixed .aplayer-icon-lrc {
display: inline-block;
}
.aplayer.aplayer-fixed .aplayer-icon-back,
.aplayer.aplayer-fixed .aplayer-icon-play,
.aplayer.aplayer-fixed .aplayer-icon-forward,
.aplayer.aplayer-fixed .aplayer-icon-menu {
position: absolute;
bottom: 27px;
width: 20px;
height: 20px;
}
.aplayer.aplayer-fixed .aplayer-icon-back {
right: 75px;
}
.aplayer.aplayer-fixed .aplayer-icon-play {
right: 50px;
}
.aplayer.aplayer-fixed .aplayer-icon-forward {
right: 25px;
}
.aplayer.aplayer-fixed .aplayer-icon-menu {
right: 0;
}
.aplayer.aplayer-mobile .aplayer-icon-volume-down {
display: none;
}
.aplayer.aplayer-arrow .aplayer-icon-order,
.aplayer.aplayer-arrow .aplayer-icon-loop {
display: none;
}
.aplayer.aplayer-loading .aplayer-info .aplayer-controller .aplayer-loading-icon {
display: block;
}
.aplayer.aplayer-loading .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb {
transform: scale(1);
}
.aplayer .aplayer-body {
position: relative;
}
.aplayer .aplayer-icon {
width: 15px;
height: 15px;
border: none;
background-color: transparent;
outline: none;
cursor: pointer;
opacity: 0.8;
vertical-align: middle;
padding: 0;
font-size: 12px;
margin: 0;
display: inline-block;
}
.aplayer .aplayer-icon path {
transition: all 0.2s ease-in-out;
}
.aplayer .aplayer-icon-order,
.aplayer .aplayer-icon-back,
.aplayer .aplayer-icon-play,
.aplayer .aplayer-icon-forward,
.aplayer .aplayer-icon-lrc {
display: none;
}
.aplayer .aplayer-icon-lrc-inactivity svg {
opacity: 0.4;
}
.aplayer .aplayer-icon-forward {
transform: rotate(180deg);
}
.aplayer .aplayer-lrc-content {
display: none;
}
.aplayer .aplayer-pic {
position: relative;
float: left;
height: 66px;
width: 66px;
background-size: cover;
background-position: center;
transition: all 0.3s ease;
cursor: pointer;
border: 1px solid var(--shadow-color-1);
border-radius: 14px;
}
.aplayer .aplayer-pichover .aplayer-button {
opacity: 1;
}
.aplayer .aplayer-pic .aplayer-button {
position: absolute;
border-radius: 50%;
opacity: 0.8;
text-shadow: 0 1px 1px rgba(0,0,0,0.2);
box-shadow: 0 1px 1px rgba(0,0,0,0.2);
background: rgba(0,0,0,0.2);
transition: all 0.1s ease;
}
.aplayer .aplayer-pic .aplayer-button path {
fill: #fff;
}
.aplayer .aplayer-pic .aplayer-hide {
display: none;
}
.aplayer .aplayer-pic .aplayer-play {
width: 26px;
height: 26px;
border: 2px solid #fff;
bottom: 50%;
right: 50%;
margin: 0 -15px -15px 0;
}
.aplayer .aplayer-pic .aplayer-play svg {
position: absolute;
top: 3px;
left: 4px;
height: 20px;
width: 20px;
}
.aplayer .aplayer-pic .aplayer-pause {
width: 16px;
height: 16px;
border: 2px solid #fff;
bottom: 4px;
right: 4px;
}
.aplayer .aplayer-pic .aplayer-pause svg {
position: absolute;
top: 2px;
left: 2px;
height: 12px;
width: 12px;
}
.aplayer .aplayer-info {
margin-left: 76px;
padding: 14px 7px 0 10px;
height: 68px;
box-sizing: border-box;
}
.aplayer .aplayer-info .aplayer-music {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
margin: 0 0 13px 5px;
user-select: text;
cursor: default;
padding-bottom: 2px;
height: 20px;
}
.aplayer .aplayer-info .aplayer-music .aplayer-title {
font-size: 14px;
}
.aplayer .aplayer-info .aplayer-music .aplayer-author {
font-size: 12px;
color: #666;
}
.aplayer .aplayer-info .aplayer-controller {
position: relative;
display: flex;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap {
margin: 0 0 0 5px;
padding: 4px 0;
cursor: pointer !important;
flex: 1;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wraphover .aplayer-bar .aplayer-played .aplayer-thumb {
transform: scale(1);
}
.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar {
position: relative;
height: 2px;
width: 100%;
background: #cdcdcd;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded {
position: absolute;
left: 0;
top: 0;
bottom: 0;
background: #aaa;
height: 2px;
transition: all 0.5s ease;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played {
position: absolute;
left: 0;
top: 0;
bottom: 0;
height: 2px;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb {
display: none;
position: absolute;
top: 0;
right: 5px;
margin-top: -4px;
margin-right: -10px;
height: 10px;
width: 10px;
border-radius: 50%;
cursor: pointer;
transition: all 0.3s ease-in-out;
transform: scale(0);
}
.aplayer .aplayer-info .aplayer-controller .aplayer-time {
position: relative;
right: 0;
bottom: 4px;
height: 17px;
color: #999;
font-size: 11px;
padding-left: 7px;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-time-inner {
vertical-align: middle;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon {
cursor: pointer;
transition: all 0.2s ease;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon path {
fill: #666;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-loop {
margin-right: 2px;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-iconhover path {
fill: #000;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-menu {
display: none;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-mode {
display: none;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-menu {
display: none;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap {
position: relative;
display: inline-block;
margin-left: 3px;
cursor: pointer !important;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wraphover .aplayer-volume-bar-wrap {
height: 40px;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap {
position: absolute;
bottom: 15px;
right: -3px;
width: 25px;
height: 0;
z-index: 99;
overflow: hidden;
transition: all 0.2s ease-in-out;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap.aplayer-volume-bar-wrap-active {
height: 40px;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar {
position: absolute;
bottom: 0;
right: 10px;
width: 5px;
height: 35px;
background: #aaa;
border-radius: 2.5px;
overflow: hidden;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume {
position: absolute;
bottom: 0;
right: 0;
width: 5px;
transition: all 0.1s ease;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-loading-icon {
display: none;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-loading-icon svg {
position: absolute;
animation: rotate 1s linear infinite;
}
.aplayer .aplayer-lrc {
display: none;
position: relative;
height: 30px;
text-align: center;
overflow: hidden;
margin: -10px 0 7px;
}
.aplayer .aplayer-lrcbefore {
position: absolute;
top: 0;
z-index: 1;
display: block;
overflow: hidden;
width: 100%;
height: 10%;
content: ' ';
background: -moz-linear-gradient(top, #fff 0%, rgba(255,255,255,0) 100%);
background: -webkit-linear-gradient(top, #fff 0%, rgba(255,255,255,0) 100%);
background: linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 100%);
}
.aplayer .aplayer-lrcafter {
position: absolute;
bottom: 0;
z-index: 1;
display: block;
overflow: hidden;
width: 100%;
height: 33%;
content: ' ';
background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 100%);
background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 100%);
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 100%);
}
.aplayer .aplayer-lrc p {
font-size: 12px;
color: #666;
line-height: 16px !important;
height: 16px !important;
padding: 0 !important;
margin: 0 !important;
transition: all 0.5s ease-out;
opacity: 0.4;
overflow: hidden;
}
.aplayer .aplayer-lrc p.aplayer-lrc-current {
opacity: 1;
overflow: visible;
height: initial !important;
min-height: 16px;
}
.aplayer .aplayer-lrc.aplayer-lrc-hide {
display: none;
}
.aplayer .aplayer-lrc .aplayer-lrc-contents {
width: 100%;
transition: all 0.5s ease-out;
user-select: text;
cursor: default;
}
.aplayer .aplayer-list {
overflow: auto;
transition: all 0.5s ease;
will-change: height;
display: none;
overflow: hidden;
list-style-type: none;
margin: 0;
padding: 5px;
overflow-y: auto;
border-radius: 14px;
background: var(--background-color-transparent);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.aplayer .aplayer-list-webkit-scrollbar {
width: 5px;
}
.aplayer .aplayer-list-webkit-scrollbar-thumb {
border-radius: 3px;
background-color: var(--scroll-bar-bg-color);
}
.aplayer .aplayer-list-webkit-scrollbar-thumbhover {
background-color: var(--scroll-bar-bg-color-hover);
}
.aplayer .aplayer-list li {
position: relative;
height: 32px;
line-height: 32px;
padding: 0 15px;
font-size: 12px;
cursor: pointer;
transition: all 0.2s ease;
overflow: hidden;
margin: 0;
border-radius: 9px;
}
.aplayer .aplayer-list lifirst-child {
border-top: none;
}
.aplayer .aplayer-list lihover {
background: #efefef;
}
.aplayer .aplayer-list li.aplayer-list-light {
background: var(--third-background-color-transparent);
}
.aplayer .aplayer-list li.aplayer-list-light .aplayer-list-cur {
display: inline-block;
}
.aplayer .aplayer-list li .aplayer-list-cur {
display: none;
width: 3px;
height: 18px;
position: absolute;
left: 5px;
top: 7px;
cursor: pointer;
border-radius: 2px;
}
.aplayer .aplayer-list li .aplayer-list-index {
color: #666;
margin-right: 12px;
cursor: pointer;
}
.aplayer .aplayer-list li .aplayer-list-author {
color: #666;
float: right;
cursor: pointer;
}
.aplayer .aplayer-list-hide {
display: none !important;
}
.aplayer .aplayer-notice {
opacity: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 12px;
border-radius: 4px;
padding: 5px 10px;
transition: all 0.3s ease-in-out;
overflow: hidden;
color: #fff;
pointer-events: none;
background-color: #f4f4f5;
color: #909399;
}
.aplayer .aplayer-miniswitcher {
display: none;
position: absolute;
top: 0px;
right: 0;
bottom: 0px;
height: calc(100% - 2px);
background: var(--third-background-color-transparent);
border: 1px solid var(--shadow-color-1);
width: 18px;
border-radius: 14px;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.aplayer .aplayer-miniswitcher .aplayer-icon {
height: 100%;
width: 100%;
transform: rotateY(180deg);
transition: all 0.3s ease;
}
.aplayer .aplayer-miniswitcher .aplayer-icon path {
fill: #666;
}
.aplayer .aplayer-miniswitcher .aplayer-iconhover path {
fill: #000;
}
.aplayer:hover .aplayer-miniswitcher {
opacity: 1;
transition: opacity 0.3s ease;
}
.aplayer:hover .aplayer-body {
padding-right: 28px;
transition: padding-right 0.3s ease;
}
@-moz-keyframes aplayer-roll {
0% {
left: 0;
}
100% {
left: -100%;
}
}
@-webkit-keyframes aplayer-roll {
0% {
left: 0;
}
100% {
left: -100%;
}
}
@-o-keyframes aplayer-roll {
0% {
left: 0;
}
100% {
left: -100%;
}
}
@keyframes aplayer-roll {
0% {
left: 0;
}
100% {
left: -100%;
}
}
@-moz-keyframes rotate {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}
@-webkit-keyframes rotate {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}
@-o-keyframes rotate {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}
@keyframes rotate {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}