amis2/scss/components/_video.scss

39 lines
608 B
SCSS
Raw Normal View History

2019-04-30 11:11:25 +08:00
.#{$ns}Video {
2019-12-06 09:58:08 +08:00
min-width: 200px;
2019-12-06 09:58:08 +08:00
&-cursor {
position: absolute;
border: 2px solid $info;
transition: all 0.5s ease-out;
}
2019-12-06 09:58:08 +08:00
&-frameList {
.#{$ns}Video-frameItem {
cursor: pointer;
2019-04-30 11:11:25 +08:00
}
2019-12-06 09:58:08 +08:00
}
2020-07-29 16:35:57 +08:00
&-frameLabel {
text-align: center;
}
2019-12-06 09:58:08 +08:00
.video-react-paused .video-react-big-play-button.big-play-button-hide {
display: block;
}
2020-08-20 18:14:05 +08:00
&-player {
position: relative;
}
&-error {
position: absolute;
display: block;
width: 100%;
padding: 5px 10px;
color: $danger;
background: rgba(255, 255, 255, 0.4);
text-align: center;
top: 0;
}
}