.transcript-component {
background-color: $light-blue;
padding: 0px;
width: 554px;
box-sizing: border-box;
}
body.videoscreen .transcript-component {
overflow: scroll;
}
.transcript-component h2 {
position: absolute;
z-index: 1;
width: inherit;
background: linear-gradient($light-blue, $light-blue 50%, transparent);
padding-top: 12px;
padding-bottom: 66px;
line-height: 30px;
margin: 0px!important;
}
.transcript-component h2 span{
display: block;
color: $medium-grey;
}
body.videoscreen .transcript-component h2 {
padding-bottom: 0px;
position: static;
}
.transcript-component .transcript {
list-style: none;
margin: 0px;
padding: 154px 20px 0px 20px;
}
body.videoscreen .transcript-component .transcript {
padding-top: 0px;
}
.transcript-component .transcript .sentence {
padding: 20px 20px 20px 64px;
color: $medium-grey;
position: relative;
background-color: transparent;
transition: background-color .15s, color .15s;
min-height: 24px;
}
.transcript-component .transcript .sentence:not(.active):hover {
cursor: pointer;
background-color: $medium-grey-5;
}
.transcript-component .transcript .sentence.active {
background-color: $grey-blue;
color: $light-white;
}
.transcript-component .transcript .sentence .words {
font-size: 0px;
margin: 20px 0px;
}
.transcript-component .transcript .sentence .words .word {
display: inline-block;
}
.transcript-component .transcript .sentence .words .word .original,
.transcript-component .transcript .sentence .words .word .translation {
background-color: $medium-grey;
padding: 0px 4px;
margin-right: 2px;
margin-bottom: 2px;
font-size: 12px;
}
.transcript-component .transcript .sentence.active .words .word .original,
.transcript-component .transcript .sentence.active .words .word .translation {
background-color: $light-white;
}
.transcript-component .transcript .sentence .words .word {
color: $light-blue;
}
.transcript-component .transcript .sentence.active .words .word .original {
color: $grey-blue;
}
.transcript-component .transcript .sentence .words .word .translation {
margin-bottom: 4px;
}
.transcript-component .transcript .sentence.active .translation {
color: $light-blue;
}
.transcript-component .transcript .sentence .fa-play {
position: absolute;
border: solid 2px $medium-grey;
border-radius: 100%;
width: 24px;
height: 24px;
line-height: 20px;
left: 20px;
cursor: pointer;
opacity: 0;
border-color: $light-blue;
color: $light-blue;
transition: opacity .15s;
}
.transcript-component .transcript .sentence .fa-play::before {
margin-left: 3px;
}
.transcript-component .transcript .sentence.active .fa-play {
border-color: $light-blue;
color: $light-blue;
opacity: 1;
}
.transcript-component .transcript .sentence:not(.active):hover .fa-play {
opacity: 1;
}
.transcript-component .transcript .sentence p {
margin: 0;
line-height: 24px;
}