123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546 |
- @font-face {
- font-family: 'iconfont';
- /* project id 1867770 */
- src: url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.eot');
- src: url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.eot?#iefix') format('embedded-opentype'), url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.woff2') format('woff2'), url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.woff') format('woff'), url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.ttf') format('truetype'), url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.svg#iconfont') format('svg');
- }
- .sv-target video {
- background-color: #000;
- }
- .sv-font {
- font-family: 'iconfont';
- }
- .sv-pic-pic {
- color: #ffffff;
- font-size: 20px;
- margin-right: 6px;
- }
- .sv-play {
- color: #ffffff;
- font-size: 20px;
- }
- .sv-fontBtn {
- color: #ffffff;
- font-size: 20px;
- }
- .sv-next {
- color: #ffffff;
- font-size: 20px;
- }
- .sv-fullScreen {
- color: #ffffff;
- font-size: 20px;
- }
- .sv-cancelFull {
- color: #ffffff;
- font-size: 20px;
- }
- .sv-target {
- position: relative;
- }
- .sv-control {
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
- height: 54px;
- background-color: rgba(0, 0, 0, 0.5);
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- }
- .sv-play-container {
- height: 100%;
- /* background-color: royalblue; */
- display: flex;
- flex-direction: row;
- padding-right: 10px;
- }
- .sv-control-r {
- height: 100%;
- /* background-color: royalblue; */
- display: flex;
- flex-direction: row;
- padding-left: 10px;
- padding-right: 10px;
- }
- .sv-play-container button.sv-playBtn {
- background: none;
- border: none;
- cursor: pointer;
- padding: 0 10px;
- outline: none;
- color: inherit;
- text-align: inherit;
- font: inherit;
- line-height: inherit;
- margin-left: 10px;
- }
- .sv-control-r button.showMute {
- background: none;
- border: none;
- cursor: pointer;
- padding: 0 10px;
- outline: none;
- color: inherit;
- text-align: inherit;
- font: inherit;
- line-height: inherit;
- position: relative;
- }
- .sv-time {
- height: 100%;
- color: #ffffff;
- display: flex;
- flex-direction: row;
- align-items: center;
- font-size: 12px;
- }
- .sv-time-split {
- padding: 0 4px;
- }
- .sv-mutePanel {
- position: absolute;
- top: -120px;
- left: 0;
- width: 20px;
- height: 80px;
- background-color: rgba(0, 0, 0, 0.8);
- display: flex;
- flex-direction: column;
- padding: 16px 6px;
- border-radius: 4px;
- }
- .sv-mute-num {
- width: 100%;
- height: 20px;
- background-color: transparent;
- color: #ffffff;
- font-size: 12px;
- text-align: center;
- margin-bottom: 4px;
- }
- .sv-mute-slider {
- flex: 1;
- width: 3px;
- background-color: #ffffff;
- margin: 0 auto;
- position: relative;
- display: flex;
- flex-direction: column-reverse;
- }
- .sv-mute-sliderRange {
- width: 100%;
- background-color: #00a1d6;
- }
- .sv-control-r button.sv-mute-button {
- position: absolute;
- top: 0;
- left: -4.5px;
- width: 12px;
- height: 12px;
- border-radius: 50%;
- z-index: 10;
- background-color: #00a1d6;
- border: 0;
- cursor: pointer;
- outline: none;
- }
- .sv-progressBar {
- position: absolute;
- top: 0;
- left: 2%;
- width: 96%;
- height: 2px;
- background-color: hsla(0, 0%, 100%, .2);
- border-radius: 4px;
- cursor: pointer;
- }
- .sv-cacheProgress {
- width: 0%;
- height: 100%;
- background-color: #7a7878;
- border-radius: 4px;
- }
- .sv-progressNum {
- width: 0%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- border-radius: 4px;
- background-color: #00a1d6;
- }
- .sv-progressBtn {
- position: absolute;
- left: 0%;
- top: -7px;
- width: 16px;
- height: 16px;
- border-radius: 50%;
- background-color: rgba(0, 161, 214, 0.5);
- cursor: pointer;
- }
- .sv-progressBtn>div {
- width: 10px;
- height: 10px;
- border-radius: 50%;
- background-color: #00a1d6;
- margin-top: 2.6px;
- margin-left: 2.8px;
- }
- .hide {
- display: none!important;
- }
- .sv-full-screen {
- position: fixed!important;
- width: 100%!important;
- height: 100%!important;
- left: 0!important;
- top: 0!important;
- margin: 0!important;
- padding: 0!important;
- }
- .sv-loading {
- /* width: 60px;
- height: 60px; */
- position: absolute;
- left: 48%;
- top: 48%;
- }
- .sv-loading span {
- display: inline-block;
- width: 4px;
- height: 100%;
- border-radius: 4px;
- background: #00a1d6;
- -webkit-animation: load 1s ease infinite;
- animation: load 1s ease infinite;
- }
- @-webkit-keyframes load {
- 0%,
- 100% {
- height: 20px;
- background: #00a1d6;
- }
- 50% {
- height: 40px;
- margin: -15px 0;
- background: lightblue;
- }
- }
- .sv-loading span:nth-child(2) {
- -webkit-animation-delay: 0.2s;
- animation-delay: 0.2s;
- }
- .sv-loading span:nth-child(3) {
- -webkit-animation-delay: 0.4s;
- animation-delay: 0.4s;
- }
- .sv-loading span:nth-child(4) {
- -webkit-animation-delay: 0.6s;
- animation-delay: 0.6s;
- }
- .sv-loading span:nth-child(5) {
- -webkit-animation-delay: 0.8s;
- animation-delay: 0.8s;
- }
- /* 弹幕 */
- .sv-brrage {
- position: absolute;
- padding: 4px;
- background-color: transparent;
- display: flex;
- flex-direction: row;
- white-space: nowrap;
- width: auto;
- word-wrap: break-word;
- max-width: 500px;
- min-width: 100px;
- }
- .sv-brrage-center {
- text-shadow: rgb(0, 0, 0) 1px 0px 1px, rgb(0, 0, 0) 0px 1px 1px, rgb(0, 0, 0) 0px -1px 1px, rgb(0, 0, 0) -1px 0px 1px;
- }
- /* 画中画 */
- .sv-picinpic {
- position: absolute;
- z-index: 22;
- position: absolute;
- top: 20px;
- right: 20px;
- white-space: nowrap;
- height: 36px;
- padding: 0 12px;
- overflow: visible;
- border-radius: 2px;
- border-radius: 18px;
- background: #2b2b2b;
- background: rgba(43, 43, 43, .8);
- color: #fff;
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: center;
- font-size: 14px;
- cursor: pointer;
- }
- .sv-picinpic:hover {
- background: linear-gradient(90deg, #4ca9c7 0, #03bbf7)!important
- }
- .sv-el-control-style {
- padding-right: 10px;
- padding-left: 10px;
- height: 100%;
- display: flex;
- flex-direction: row;
- }
- .sv-nextBtn {
- background: none;
- border: none;
- cursor: pointer;
- outline: none;
- text-align: inherit;
- }
- .sv-speedBtn {
- background: none;
- border: none;
- cursor: pointer;
- outline: none;
- text-align: inherit;
- position: relative;
- }
- .sv-speedBtn .sv-speed-btn {
- position: absolute;
- bottom: 54px;
- left: -10px;
- padding: 10px;
- border-radius: 4px;
- background-color: rgba(0, 0, 0, 0.8);
- /* box-sizing: border-box;
- border: 1px solid #ffffff; */
- }
- .sv-speedBtn .sv-speed-btn ul {
- padding: 0;
- margin: 0;
- }
- .sv-speedBtn .sv-speed-btn ul li {
- list-style: none;
- font-size: 12px;
- line-height: 20px;
- cursor: pointer;
- }
- .sv-speedBtn .sv-speed-btn ul li:hover {
- color: #00a1d6;
- }
- .sv-active {
- color: #00a1d6!important;
- }
- .sv-control-c {
- height: 100%;
- }
- /* 弹幕控件 */
- .sv-barrage {
- display: flex;
- flex-direction: row;
- align-items: center;
- height: 100%;
- position: relative;
- }
- .sv-barrage-a {
- height: 26px;
- }
- .sv-barrage-input {
- height: 17px;
- outline: none;
- padding: 6px 30px;
- border-top-left-radius: 4px;
- border-bottom-left-radius: 4px;
- border-top: 1px solid #333333;
- border-left: 1px solid #333333;
- border-bottom: 1px solid #333333;
- border-right: 1px solid #00a1d6;
- background: none;
- font-size: 12px;
- color: #fff;
- }
- .sv-barrage-button {
- height: 31px;
- background-color: #00a1d6;
- color: #fff;
- width: 60px;
- min-width: 60px;
- text-align: center;
- cursor: pointer;
- box-sizing: border-box;
- border-top: 1px solid #333333;
- border-right: 1px solid #333333;
- border-bottom: 1px solid #333333;
- border-left: 1px solid #00a1d6;
- border-top-right-radius: 4px;
- border-bottom-right-radius: 4px;
- outline: none;
- vertical-align: middle;
- }
- .sv-barrage-button:hover {
- background-color: #03bbf7;
- border-left: 1px solid #03bbf7;
- }
- .sv-barrage-font {
- position: absolute;
- left: 6px;
- top: 16px;
- cursor: pointer;
- }
- .sv-apanel {
- position: absolute;
- bottom: 54px;
- left: -10px;
- padding: 10px;
- border-radius: 4px;
- background-color: rgba(0, 0, 0, 0.8);
- width: 200px;
- height: 100px;
- display: flex;
- flex-direction: column;
- color: #fff;
- z-index: 99999;
- }
- .sv-apanel-item {
- display: flex;
- flex-direction: column;
- overflow: hidden;
- }
- .sv-apanel-item span {
- font-size: 12px;
- }
- .sv-apanel-item ul {
- margin: 0;
- padding: 0;
- margin-top: 8px;
- }
- .sv-apanel-item ul li {
- list-style: none;
- background-color: #fff;
- display: block;
- width: 20px;
- height: 20px;
- margin: 4px;
- float: left;
- cursor: pointer;
- }
- .activeColor {
- box-sizing: border-box;
- border: 2px solid #ffff;
- }
- #videoContainer {
- width: 800px;
- height: 500px;
- margin-left: auto;
- margin-right: auto;
- margin-top: 100px;
- }
- body {
- background-color: #00000089;
- color: #5F5F5F;
- margin: 0;
- padding: 0;
- height: 100%;
- overflow: hidden;
- }
- .container {
- text-align: center;
- font-size: 72px;
- margin-top: 20%;
- }
- /*zoom-marker*/
- .picview {
- width: 50%;
- margin: auto auto auto auto;
- height: 800px;
- overflow: hidden;
- }
- .picview img {
- position: absolute;
- left: 30%;
- top: 20%;
- width: 500px;
- z-index: 1;
- }
- .zoom-marker {
- cursor: pointer;
- z-index: 2;
- }
|