|
@@ -1,9 +1,35 @@
|
|
.dplayer {
|
|
.dplayer {
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
|
|
|
+ &:-webkit-full-screen {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+ background: #000;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ &.dplayer-playing {
|
|
|
|
+ .dplayer-controller-mask {
|
|
|
|
+ opacity: 0;
|
|
|
|
+ }
|
|
|
|
+ .dplayer-controller {
|
|
|
|
+ opacity: 0;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ &:hover {
|
|
|
|
+ .dplayer-controller-mask {
|
|
|
|
+ opacity: 1;
|
|
|
|
+ }
|
|
|
|
+ .dplayer-controller {
|
|
|
|
+ opacity: 1;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
.dplayer-video-wrap {
|
|
.dplayer-video-wrap {
|
|
background: #000;
|
|
background: #000;
|
|
font-size: 0;
|
|
font-size: 0;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
|
|
.dplayer-video {
|
|
.dplayer-video {
|
|
width: 100%;
|
|
width: 100%;
|
|
@@ -19,6 +45,7 @@
|
|
position: absolute;
|
|
position: absolute;
|
|
bottom: 0;
|
|
bottom: 0;
|
|
background-position: bottom;
|
|
background-position: bottom;
|
|
|
|
+ transition: all 0.3s ease;
|
|
}
|
|
}
|
|
|
|
|
|
.dplayer-controller {
|
|
.dplayer-controller {
|
|
@@ -28,6 +55,8 @@
|
|
right: 0;
|
|
right: 0;
|
|
height: 41px;
|
|
height: 41px;
|
|
padding: 0 20px;
|
|
padding: 0 20px;
|
|
|
|
+ user-select: none;
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
|
|
.dplayer-bar-wrap {
|
|
.dplayer-bar-wrap {
|
|
padding: 5px 0;
|
|
padding: 5px 0;
|
|
@@ -76,7 +105,6 @@
|
|
height: 11px;
|
|
height: 11px;
|
|
width: 11px;
|
|
width: 11px;
|
|
border-radius: 50%;
|
|
border-radius: 50%;
|
|
- background: #fff;
|
|
|
|
cursor: pointer !important;
|
|
cursor: pointer !important;
|
|
transition: all .3s ease-in-out;
|
|
transition: all .3s ease-in-out;
|
|
transform: scale(0);
|
|
transform: scale(0);
|
|
@@ -109,6 +137,7 @@
|
|
text-shadow: 0 0 2px rgba(0,0,0,.5);
|
|
text-shadow: 0 0 2px rgba(0,0,0,.5);
|
|
vertical-align: middle;
|
|
vertical-align: middle;
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
|
|
+ cursor: default;
|
|
}
|
|
}
|
|
|
|
|
|
.dplayer-icon {
|
|
.dplayer-icon {
|
|
@@ -137,6 +166,71 @@
|
|
.dplayer-fill {
|
|
.dplayer-fill {
|
|
fill: #fff;
|
|
fill: #fff;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ .dplayer-volume {
|
|
|
|
+ position: relative;
|
|
|
|
+ display: inline-block;
|
|
|
|
+ cursor: pointer !important;
|
|
|
|
+ height: 100%;
|
|
|
|
+
|
|
|
|
+ &:hover {
|
|
|
|
+ .dplayer-volume-bar {
|
|
|
|
+ width: 45px !important;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .dplayer-thumb {
|
|
|
|
+ transform: scale(1) !important;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ &.dplayer-volume-active {
|
|
|
|
+ .dplayer-volume-bar {
|
|
|
|
+ width: 45px !important;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .dplayer-thumb {
|
|
|
|
+ transform: scale(1) !important;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .dplayer-volume-bar-wrap {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ margin: 0 5px 0 -5px;
|
|
|
|
+ vertical-align: middle;
|
|
|
|
+ height: 100%;
|
|
|
|
+
|
|
|
|
+ .dplayer-volume-bar {
|
|
|
|
+ position: relative;
|
|
|
|
+ top: 17px;
|
|
|
|
+ width: 0;
|
|
|
|
+ height: 3px;
|
|
|
|
+ background: #aaa;
|
|
|
|
+ transition: all 0.3s ease-in-out;
|
|
|
|
+
|
|
|
|
+ .dplayer-volume-bar-inner {
|
|
|
|
+ position: absolute;
|
|
|
|
+ bottom: 0;
|
|
|
|
+ left: 0;
|
|
|
|
+ height: 100%;
|
|
|
|
+ transition: all 0.1s ease;
|
|
|
|
+
|
|
|
|
+ .dplayer-thumb {
|
|
|
|
+ position: absolute;
|
|
|
|
+ top: 0;
|
|
|
|
+ right: 5px;
|
|
|
|
+ margin-top: -4px;
|
|
|
|
+ margin-right: -10px;
|
|
|
|
+ height: 11px;
|
|
|
|
+ width: 11px;
|
|
|
|
+ border-radius: 50%;
|
|
|
|
+ cursor: pointer !important;
|
|
|
|
+ transition: all .3s ease-in-out;
|
|
|
|
+ transform: scale(0);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|