53 lines
816 B
Plaintext
53 lines
816 B
Plaintext
const video-padding = 56.25%
|
|
const video-control-color = rgba(255, 255, 255, 0.75)
|
|
|
|
.video-container
|
|
position relative
|
|
width 100%
|
|
min-height 100px
|
|
padding-bottom video-padding
|
|
border-radius ui-element-border-radius
|
|
overflow hidden
|
|
|
|
:hover
|
|
.video-controls
|
|
opacity 1
|
|
|
|
.video
|
|
position absolute
|
|
width 100%
|
|
height 100%
|
|
left 0
|
|
top 0
|
|
background-color black
|
|
|
|
.video-controls
|
|
position absolute
|
|
bottom 0.5rem
|
|
right 0.75rem
|
|
opacity 0
|
|
horizontal
|
|
align-items center
|
|
default-transition
|
|
|
|
:hover
|
|
opacity 1 !important
|
|
|
|
.video-duration
|
|
color video-control-color
|
|
|
|
.video-control
|
|
background transparent !important
|
|
color video-control-color
|
|
border none
|
|
font-size 1.2rem
|
|
line-height 1em
|
|
height auto
|
|
padding 0
|
|
margin-left 0.5rem
|
|
|
|
:hover
|
|
color white
|
|
|
|
::-webkit-media-controls
|
|
display none !important |