@bbc/react-transcript-editor
Version:
A React component to make transcribing audio and video easier and faster.
72 lines (60 loc) • 1.04 kB
CSS
@value color-darkest-grey, color-light-grey, color-labs-red from '../colours.module.css';
.playerControls {
margin: 1em;
display: flex;
}
.playerControls > * {
display: inline-block;
}
.playerControls > *:not(:last-child) {
margin-right: 0.5em;
background: color-darkest-grey;
}
.playerButton {
width: 48px;
height: 48px;
padding: 0.5em;
border: 0;
color: white;
font-size: 1em;
cursor: pointer;
}
.playBackRate{
border: 0;
color: white;
font-size: 1em;
cursor: pointer;
position: relative;
padding-left: 0.8em;
}
.playBackRate::before{
content: '×';
position: absolute;
bottom: 11px;
left: 12px;
}
.playBackRate > select {
padding-top: 0.5em;
padding-bottom: 0.5em;
height: 100%;
outline: none;
width: auto;
width: 100%;
}
.timeBox {
display: inline-block;
text-align: center;
line-height: 48px;
padding: 0 1em;
}
.currentTime {
color: color-labs-red;
cursor: pointer;
}
.separator {
color: color-light-grey;
margin: 0 1em;
}
.duration {
color: white;
}