mirror of
https://github.com/yv1ing/MollyBlog.git
synced 2025-09-16 14:53:45 +08:00
new: Added music collection page
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
--dark-secondary-text-color: #a3a2ac;
|
||||
|
||||
--dark-background-color: #131318;
|
||||
--dark-panel-color: #1c1b1f;
|
||||
|
||||
/* light mode */
|
||||
--light-primary-color: #6d6faa;
|
||||
@@ -16,6 +17,7 @@
|
||||
--light-secondary-text-color: #5f5e67;
|
||||
|
||||
--light-background-color: #fbf8ff;
|
||||
--light-panel-color: #e2e0f9;
|
||||
|
||||
/* used color */
|
||||
--primary-color: #0;
|
||||
@@ -25,6 +27,7 @@
|
||||
--secondary-text-color: #0;
|
||||
|
||||
--background-color: #0;
|
||||
--panel-color: #0;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
|
||||
755
templates/default/assets/css/lib/meplayer.css
Normal file
755
templates/default/assets/css/lib/meplayer.css
Normal file
@@ -0,0 +1,755 @@
|
||||
@font-face {
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-family: 'fontello';
|
||||
src: url('../../../assets/css/webfonts/fontello.eot?77128880');
|
||||
src: url('../../../assets/css/webfonts/fontello.eot?77128880#iefix') format('embedded-opentype'),
|
||||
url('../../../assets/css/webfonts/fontello.woff?77128880') format('woff'),
|
||||
url('../../../assets/css/webfonts/fontello.ttf?77128880') format('truetype'),
|
||||
url('../../../assets/css/webfonts/fontello.svg?77128880#fontello') format('svg');
|
||||
}
|
||||
|
||||
.meplayer-container {
|
||||
position: relative;
|
||||
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
height: 90px;
|
||||
|
||||
background: var(--panel-color);
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, .18);
|
||||
border-radius: 14px 14px 0 0;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-info {
|
||||
position: relative;
|
||||
left: 0;
|
||||
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-info-cover {
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
||||
height: 90px;
|
||||
padding-right: 20px;
|
||||
|
||||
-webkit-transition: all .6s cubic-bezier(0, .36, .51, 1.39);
|
||||
transition: all .6s cubic-bezier(0, .36, .51, 1.39);
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isplaying .meplayer-info-cover {
|
||||
left: -90px;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-info-cover img {
|
||||
width: 78px;
|
||||
height: 78px;
|
||||
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, .35);
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-meta {
|
||||
float: left;
|
||||
margin-left: 110px;
|
||||
|
||||
-webkit-transition: all .6s cubic-bezier(0, .36, .51, 1.39);
|
||||
transition: all .6s cubic-bezier(0, .36, .51, 1.39);
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isplaying .meplayer-meta {
|
||||
margin-left: 10px;
|
||||
|
||||
-webkit-transform: scale(.85, .85);
|
||||
transform: scale(.85, .85);
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isplaying .meplayer-meta .meplayer-meta-title {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isplaying .meplayer-meta .meplayer-meta-time-tick {
|
||||
-webkit-transition: all .6s cubic-bezier(0, .36, .51, 1.39) .65s;
|
||||
transition: all .6s cubic-bezier(0, .36, .51, 1.39) .65s;
|
||||
|
||||
-webkit-transform: translateY(0);
|
||||
transform: translateY(0);
|
||||
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-meta .meplayer-meta-time-tick {
|
||||
font-size: 14px;
|
||||
margin-top: 10px;
|
||||
|
||||
-webkit-transform: translateY(10px);
|
||||
transform: translateY(10px);
|
||||
|
||||
letter-spacing: 1px;
|
||||
|
||||
opacity: 0;
|
||||
color: var(--primary-text-color);
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-meta-title {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
|
||||
margin-top: 27px;
|
||||
margin-bottom: 2px;
|
||||
|
||||
-webkit-transition: all .6s cubic-bezier(0, .36, .51, 1.39);
|
||||
transition: all .6s cubic-bezier(0, .36, .51, 1.39);
|
||||
|
||||
letter-spacing: 1px;
|
||||
|
||||
color: var(--primary-text-color);
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-meta-author {
|
||||
font-size: 14px;
|
||||
color: var(--secondary-text-color);
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-spectrum {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
|
||||
display: block;
|
||||
|
||||
width: 0;
|
||||
height: 30px;
|
||||
margin-top: -15px;
|
||||
margin-left: -120px;
|
||||
|
||||
-webkit-transition: all .7s cubic-bezier(.17, .67, .45, 1.26) .1s;
|
||||
transition: all .7s cubic-bezier(.17, .67, .45, 1.26) .1s;
|
||||
|
||||
-webkit-transform: translateX(110px);
|
||||
transform: translateX(110px);
|
||||
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isplaying .meplayer-spectrum {
|
||||
width: 220px;
|
||||
|
||||
-webkit-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-haslrc .meplayer-spectrum {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-lyric {
|
||||
position: absolute;
|
||||
z-index: -2;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
|
||||
overflow: hidden;
|
||||
|
||||
width: 220px;
|
||||
height: 100%;
|
||||
margin-top: -45px;
|
||||
margin-left: -120px;
|
||||
|
||||
-webkit-transition: all 1s;
|
||||
transition: all 1s;
|
||||
|
||||
-webkit-transform: translateY(15px);
|
||||
transform: translateY(15px);
|
||||
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isplaying .meplayer-lyric {
|
||||
z-index: 0;
|
||||
|
||||
-webkit-transform: translateY(0);
|
||||
transform: translateY(0);
|
||||
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-lyric-area {
|
||||
font-size: 12px;
|
||||
margin-top: 35px;
|
||||
|
||||
-webkit-transition: -webkit-transform .7s;
|
||||
transition: -webkit-transform .7s;
|
||||
transition: transform .7s;
|
||||
|
||||
text-align: center;
|
||||
opacity: 0;
|
||||
color: var(--primary-text-color);
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-lyric-area p {
|
||||
line-height: 0;
|
||||
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
-webkit-transition: all .6s;
|
||||
transition: all .6s;
|
||||
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isplaying .meplayer-lyric-area p {
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-haslrc .meplayer-lyric-area {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isplaying .meplayer-lyric-area {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-lyric-area .meplayer-lyric-current {
|
||||
font-size: 1.2em;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-lyric-area .meplayer-lyric-pre,
|
||||
.meplayer-container .meplayer-lyric-area .meplayer-lyric-next {
|
||||
opacity: .35;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-control {
|
||||
position: relative;
|
||||
float: right;
|
||||
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-volume-bg {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
-webkit-transition: all .8s;
|
||||
transition: all .8s;
|
||||
|
||||
opacity: 0;
|
||||
background: var(--panel-color);
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-adjusting-volume .meplayer-volume-bg {
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-volume {
|
||||
font-size: 50px;
|
||||
|
||||
width: 60px;
|
||||
margin: 13px auto 0;
|
||||
|
||||
-webkit-transition: all .9s;
|
||||
transition: all .9s;
|
||||
|
||||
text-align: center;
|
||||
color: var(--secondary-color);
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-adjusting-volume .meplayer-volume-bg {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-volume-progress {
|
||||
height: 4px;
|
||||
|
||||
-webkit-transition: width .2s;
|
||||
transition: width .2s;
|
||||
|
||||
border-radius: 1px;
|
||||
background: var(--secondary-color);
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-control-play {
|
||||
position: absolute;
|
||||
top: -25px;
|
||||
right: 0;
|
||||
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
|
||||
-webkit-transition: top .6s cubic-bezier(0, .74, .61, 1.35);
|
||||
transition: top .6s cubic-bezier(0, .74, .61, 1.35);
|
||||
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
|
||||
color: var(--primary-color);
|
||||
border-radius: 50%;
|
||||
border: 1px var(--secondary-color) solid;
|
||||
|
||||
background: var(--panel-color);
|
||||
box-shadow: 0 0 15px rgba(0, 0, 0, .2);
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-control-play:hover {
|
||||
-webkit-animation: breath 2s infinite alternate;
|
||||
animation: breath 2s infinite alternate;
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isplaying .meplayer-control-play {
|
||||
top: 20px;
|
||||
|
||||
-webkit-animation: breath 2s infinite alternate;
|
||||
animation: breath 2s infinite alternate;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-control-play i {
|
||||
line-height: 50px;
|
||||
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
|
||||
margin-left: -7px;
|
||||
-webkit-transition: all .5s;
|
||||
|
||||
transition: all .5s;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-control-play .icon-play {
|
||||
-webkit-transform: translateX(2px);
|
||||
transform: translateX(2px);
|
||||
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isplaying .meplayer-control-play .icon-play {
|
||||
-webkit-transform: translateX(8px);
|
||||
transform: translateX(8px);
|
||||
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-control-play .icon-pause {
|
||||
-webkit-transform: translateX(-8px);
|
||||
transform: translateX(-8px);
|
||||
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isplaying .meplayer-control-play .icon-pause {
|
||||
-webkit-transform: translateX(-1px);
|
||||
transform: translateX(-1px);
|
||||
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-duration,
|
||||
.meplayer-container .meplayer-loadingsign {
|
||||
font-size: 12px;
|
||||
|
||||
position: absolute;
|
||||
right: 40px;
|
||||
bottom: 24px;
|
||||
|
||||
-webkit-transition: all .6s cubic-bezier(0, .74, .61, 1.35);
|
||||
|
||||
transition: all .6s cubic-bezier(0, .74, .61, 1.35);
|
||||
letter-spacing: 1px;
|
||||
|
||||
color: var(--primary-text-color);
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isplaying .meplayer-duration,
|
||||
.meplayer-container.meplayer-isplaying .meplayer-loadingsign {
|
||||
z-index: -1;
|
||||
bottom: 5px;
|
||||
|
||||
-webkit-transform: scale(.5, .5);
|
||||
transform: scale(.5, .5);
|
||||
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isloading .meplayer-duration {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-loadingsign {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isloading .meplayer-loadingsign {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-duration i,
|
||||
.meplayer-container .meplayer-loadingsign i {
|
||||
margin-right: 3px;
|
||||
|
||||
-webkit-transition: all .7s;
|
||||
transition: all .7s;
|
||||
|
||||
-webkit-transform: scale(.9, .9);
|
||||
transform: scale(.9, .9);
|
||||
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isplaying .meplayer-duration i {
|
||||
-webkit-transform: rotateZ(360deg);
|
||||
transform: rotateZ(360deg);
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-timeline-bg {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-timeline {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
||||
overflow: hidden;
|
||||
|
||||
width: 100%;
|
||||
height: 3px;
|
||||
|
||||
-webkit-transition: all .5s;
|
||||
transition: all .5s;
|
||||
-webkit-transform: translateY(2px);
|
||||
|
||||
transform: translateY(2px);
|
||||
|
||||
opacity: 0;
|
||||
background: var(--panel-color);
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isplaying .meplayer-timeline {
|
||||
cursor: pointer;
|
||||
-webkit-transform: translateY(0);
|
||||
transform: translateY(0);
|
||||
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-isplaying .meplayer-timeline-bg:hover .meplayer-timeline {
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
.meplayer-container .meplayer-timeline .meplayer-timeline-passed {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
||||
width: 0;
|
||||
height: 100%;
|
||||
|
||||
background: var(--primary-color);
|
||||
}
|
||||
|
||||
.meplayer-container.meplayer-changing-theme .meplayer-volume-bg {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@-webkit-keyframes breath {
|
||||
0% {
|
||||
box-shadow: 0 0 35px rgba(0, 0, 0, .22);
|
||||
}
|
||||
|
||||
100% {
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, .33);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes breath {
|
||||
0% {
|
||||
box-shadow: 0 0 35px rgba(0, 0, 0, .22);
|
||||
}
|
||||
|
||||
100% {
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, .33);
|
||||
}
|
||||
}
|
||||
|
||||
.meplayer-container-mini {
|
||||
position: relative;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
border-radius: 50%;
|
||||
background: var(--panel-color);
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, .3);
|
||||
}
|
||||
|
||||
.meplayer-isplaying.meplayer-container-mini {
|
||||
-webkit-animation: breath 2s infinite alternate;
|
||||
animation: breath 2s infinite alternate;
|
||||
}
|
||||
|
||||
.meplayer-container-mini .meplayer-info, .meplayer-container-mini .meplayer-spectrum,
|
||||
.meplayer-container-mini .meplayer-lyric, .meplayer-container-mini .meplayer-duration,
|
||||
.meplayer-container-mini .meplayer-loadingsign, .meplayer-container-mini .meplayer-timeline-bg {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.meplayer-container-mini .meplayer-control-play {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
|
||||
font-size: 26px;
|
||||
line-height: 90px;
|
||||
margin-top: -45px;
|
||||
margin-left: -45px;
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
.meplayer-container-mini .meplayer-control-play [class^='icon-'] {
|
||||
line-height: 90px;
|
||||
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
|
||||
margin-left: -11px;
|
||||
|
||||
-webkit-transition: all .5s;
|
||||
transition: all .5s;
|
||||
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.meplayer-container-mini .meplayer-control-play .icon-play {
|
||||
-webkit-transform: translateX(4px);
|
||||
transform: translateX(4px);
|
||||
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.meplayer-container-mini.meplayer-isplaying .meplayer-control-play .icon-play {
|
||||
-webkit-transform: translateX(16px);
|
||||
transform: translateX(16px);
|
||||
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.meplayer-container-mini .meplayer-control-play .icon-pause {
|
||||
-webkit-transform: translateX(-16px);
|
||||
transform: translateX(-16px);
|
||||
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.meplayer-container-mini.meplayer-isplaying .meplayer-control-play .icon-pause {
|
||||
-webkit-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.meplayer-container-mini .meplayer-volume-bg {
|
||||
z-index: -1;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
font-size: 30px;
|
||||
text-align: center;
|
||||
line-height: 90px;
|
||||
border-radius: 50%;
|
||||
|
||||
background: var(--panel-color);
|
||||
color: var(--primary-text-color);
|
||||
|
||||
-webkit-transition: all 0.8s;
|
||||
transition: all 0.8s;
|
||||
}
|
||||
|
||||
.meplayer-container-mini.meplayer-adjusting-volume .meplayer-volume-bg {
|
||||
opacity: 1;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.meplayer-container-mini.meplayer-adjusting-volume .meplayer-volume-bg i {
|
||||
opacity: 1;
|
||||
|
||||
-webkit-transform: translateX(0px);
|
||||
transform: translateX(0px);
|
||||
}
|
||||
|
||||
.meplayer-container-mini .meplayer-volume-bg i {
|
||||
-webkit-transition: all 0.7s;
|
||||
transition: all 0.7s;
|
||||
|
||||
opacity: 0;
|
||||
|
||||
-webkit-transform: translateX(-20px);
|
||||
transform: translateX(-20px);
|
||||
}
|
||||
|
||||
.meplayer-container-mini.meplayer-changing-theme .meplayer-volume-bg {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@-webkit-keyframes breath {
|
||||
0% {
|
||||
box-shadow: 0 0 35px rgba(0, 0, 0, .25);
|
||||
}
|
||||
|
||||
100% {
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, .33);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes breath {
|
||||
0% {
|
||||
box-shadow: 0 0 35px rgba(0, 0, 0, .25);
|
||||
}
|
||||
|
||||
100% {
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, .33);
|
||||
}
|
||||
}
|
||||
|
||||
.animate-spin {
|
||||
-moz-animation: spin 2s infinite linear;
|
||||
-o-animation: spin 2s infinite linear;
|
||||
-webkit-animation: spin 2s infinite linear;
|
||||
animation: spin 2s infinite linear;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
@-moz-keyframes spin {
|
||||
0% {
|
||||
-moz-transform: rotate(0deg);
|
||||
-o-transform: rotate(0deg);
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-moz-transform: rotate(359deg);
|
||||
-o-transform: rotate(359deg);
|
||||
-webkit-transform: rotate(359deg);
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes spin {
|
||||
0% {
|
||||
-moz-transform: rotate(0deg);
|
||||
-o-transform: rotate(0deg);
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-moz-transform: rotate(359deg);
|
||||
-o-transform: rotate(359deg);
|
||||
-webkit-transform: rotate(359deg);
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
||||
|
||||
@-o-keyframes spin {
|
||||
0% {
|
||||
-moz-transform: rotate(0deg);
|
||||
-o-transform: rotate(0deg);
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-moz-transform: rotate(359deg);
|
||||
-o-transform: rotate(359deg);
|
||||
-webkit-transform: rotate(359deg);
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
||||
|
||||
@-ms-keyframes spin {
|
||||
0% {
|
||||
-moz-transform: rotate(0deg);
|
||||
-o-transform: rotate(0deg);
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-moz-transform: rotate(359deg);
|
||||
-o-transform: rotate(359deg);
|
||||
-webkit-transform: rotate(359deg);
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% {
|
||||
-moz-transform: rotate(0deg);
|
||||
-o-transform: rotate(0deg);
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-moz-transform: rotate(359deg);
|
||||
-o-transform: rotate(359deg);
|
||||
-webkit-transform: rotate(359deg);
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[class^="icon-"]:before, [class*=" icon-"]:before {
|
||||
font-family: "fontello";
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
speak: none;
|
||||
|
||||
display: inline-block;
|
||||
text-decoration: inherit;
|
||||
text-align: center;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.icon-play:before {
|
||||
content: '\e801';
|
||||
}
|
||||
|
||||
/* '' */
|
||||
.icon-pause:before {
|
||||
content: '\e802';
|
||||
}
|
||||
|
||||
/* '' */
|
||||
.icon-clock:before {
|
||||
content: '\e803';
|
||||
}
|
||||
|
||||
/* '' */
|
||||
.icon-volume:before {
|
||||
content: '\e804';
|
||||
}
|
||||
|
||||
/* '' */
|
||||
.icon-spin:before {
|
||||
content: '\e800';
|
||||
}
|
||||
|
||||
58
templates/default/assets/css/music.css
Normal file
58
templates/default/assets/css/music.css
Normal file
@@ -0,0 +1,58 @@
|
||||
.music-player-wrap {
|
||||
padding: 0;
|
||||
height: 90px;
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
bottom: 0;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.music-player {
|
||||
width: 100%;
|
||||
height: 90px;
|
||||
}
|
||||
|
||||
|
||||
.music-title {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
||||
.music-item {
|
||||
margin-top: 20px;
|
||||
padding: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: var(--primary-text-color);
|
||||
border: var(--secondary-text-color) 1px dashed;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.music-item:hover {
|
||||
cursor: pointer;
|
||||
border: var(--primary-color) 1px solid;
|
||||
}
|
||||
|
||||
.music-cover {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
object-fit: cover;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.music-info-wrap {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.music-name {
|
||||
font-size: 18px;
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
.music-singer {
|
||||
width: 200px;
|
||||
font-size: 14px;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
color: var(--secondary-text-color);
|
||||
}
|
||||
BIN
templates/default/assets/css/webfonts/fontello.eot
Normal file
BIN
templates/default/assets/css/webfonts/fontello.eot
Normal file
Binary file not shown.
16
templates/default/assets/css/webfonts/fontello.svg
Normal file
16
templates/default/assets/css/webfonts/fontello.svg
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>Copyright (C) 2016 by original authors @ fontello.com</metadata>
|
||||
<defs>
|
||||
<font id="fontello" horiz-adv-x="1000" >
|
||||
<font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
|
||||
<missing-glyph horiz-adv-x="1000" />
|
||||
<glyph glyph-name="spin6" unicode="" d="m855 9c-189-190-520-172-705 13-190 190-200 494-28 695 11 13 21 26 35 34 36 23 85 18 117-13 30-31 35-76 16-112-5-9-9-15-16-22-140-151-145-379-8-516 153-153 407-121 542 34 106 122 142 297 77 451-83 198-305 291-510 222l0 1c236 82 492-24 588-252 71-167 37-355-72-493-11-15-23-29-36-42z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="play" unicode="" d="m772 333l-741-412q-13-7-22-2t-9 20v822q0 14 9 20t22-2l741-412q13-7 13-17t-13-17z" horiz-adv-x="785.7" />
|
||||
<glyph glyph-name="pause" unicode="" d="m857 743v-786q0-14-10-25t-26-11h-285q-15 0-25 11t-11 25v786q0 14 11 25t25 11h285q15 0 26-11t10-25z m-500 0v-786q0-14-10-25t-26-11h-285q-15 0-25 11t-11 25v786q0 14 11 25t25 11h285q15 0 26-11t10-25z" horiz-adv-x="857.1" />
|
||||
<glyph glyph-name="clock" unicode="" d="m0 350q0 95 37 182t100 149 150 100 182 37 182-37 149-100 100-149 37-182-37-182-100-150-149-100-182-37-182 37-150 100-100 150-37 182z m117 0q0-96 47-177t128-128 177-47q95 0 176 47t128 128 47 177q0 95-47 176t-128 128-176 47q-72 0-137-28t-112-75-75-112-28-136z m293 0v224q0 24 17 41t42 18 41-18 17-41v-200l142-141q17-17 17-42t-17-41-41-17q-25 0-42 17l-159 158q-1 2-4 5t-3 4q-1 2-2 4l-2 3t-1 4q-1 0-2 5-2 5-2 5-1 6-1 12z" horiz-adv-x="937.5" />
|
||||
<glyph glyph-name="volume" unicode="" d="m0 142l0 416 236 0 354 289 0-994-354 289-236 0z m652 35q73 74 73 176t-73 178l71 74q105-106 107-254 0-145-107-246z m118-119q123 119 123 295t-123 299l76 74q154-154 154-372t-154-372z" horiz-adv-x="1000" />
|
||||
</font>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
BIN
templates/default/assets/css/webfonts/fontello.ttf
Normal file
BIN
templates/default/assets/css/webfonts/fontello.ttf
Normal file
Binary file not shown.
BIN
templates/default/assets/css/webfonts/fontello.woff
Normal file
BIN
templates/default/assets/css/webfonts/fontello.woff
Normal file
Binary file not shown.
Reference in New Issue
Block a user