276 lines
3.9 KiB
CSS
276 lines
3.9 KiB
CSS
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root{
|
|
--c1: #F2F2F2;
|
|
--c2: #D9D9D9;
|
|
--c3: #737373;
|
|
--c4: #404040;
|
|
--c5: #0D0D0D;
|
|
}
|
|
|
|
/* Prevent font size inflation */
|
|
html {
|
|
-moz-text-size-adjust: none;
|
|
-webkit-text-size-adjust: none;
|
|
-webkit-font-smoothing: antialiased;
|
|
text-size-adjust: none;
|
|
}
|
|
|
|
*{
|
|
margin: 0;
|
|
}
|
|
|
|
ul[role='list'],
|
|
ol[role='list'] {
|
|
list-style: none;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
line-height: 1.5;
|
|
padding: 1.5em;
|
|
font-family: sans-serif;
|
|
background: var(--c4);
|
|
color: var(--c1);
|
|
}
|
|
|
|
img, picture, video, canvas, svg {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
input, button, textarea, select {
|
|
font: inherit;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
button,
|
|
input,
|
|
label {
|
|
line-height: 1.1;
|
|
}
|
|
|
|
fieldset{
|
|
display: block;
|
|
border: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Balance text wrapping on headings */
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4 {
|
|
text-wrap: balance;
|
|
|
|
}
|
|
|
|
/* A elements that don't have a class get default styles */
|
|
a:not([class]) {
|
|
text-decoration-skip-ink: auto;
|
|
color: currentColor;
|
|
}
|
|
|
|
/* Inherit fonts for inputs and buttons */
|
|
input,
|
|
button,
|
|
textarea,
|
|
select {
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
}
|
|
|
|
/* Make sure textareas without a rows attribute are not tiny */
|
|
textarea:not([rows]) {
|
|
min-height: 10em;
|
|
}
|
|
|
|
/* Anything that has been anchored to should have extra scroll margin */
|
|
:target {
|
|
scroll-margin-block: 5ex;
|
|
}
|
|
|
|
dl{
|
|
display: grid;
|
|
grid-template-areas: "title desc" ;
|
|
gap: .5em 1em;
|
|
}
|
|
|
|
dt{
|
|
font-weight: 600;
|
|
}
|
|
|
|
.visually-hidden {
|
|
position: absolute;
|
|
left: -10000px;
|
|
top: auto;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Tabs */
|
|
.tablist{
|
|
height: 100%;
|
|
display: grid;
|
|
grid-template: "tablist" "panel";
|
|
grid-template-rows: 2.5em 1fr;
|
|
}
|
|
|
|
.controls{
|
|
background: var(--c5);
|
|
}
|
|
|
|
.control {
|
|
display: inline-block;
|
|
}
|
|
|
|
.control label {
|
|
display: inline-grid;
|
|
justify-items: center;
|
|
align-items: center;
|
|
padding: .5em 1em;
|
|
height: 2.5em;
|
|
color: var(--c1);
|
|
}
|
|
|
|
input[type="radio"]:checked + label {
|
|
background: var(--c3);
|
|
}
|
|
|
|
a:focus,
|
|
input:focus,
|
|
input[type="radio"]:focus + label {
|
|
outline: 2px dotted;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
input[type="radio"] + label:hover {
|
|
cursor: pointer;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.panel {
|
|
background: var(--c3);
|
|
padding: 1em;
|
|
height: calc(50vh - 4em);
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
#tablist_panel_transcript_panel font{
|
|
display: block;
|
|
color: #fff !important
|
|
}
|
|
|
|
#transcript{
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
#transcript a{
|
|
cursor: pointer;
|
|
}
|
|
|
|
#transcript li{
|
|
display: flex;
|
|
}
|
|
|
|
#transcript li>div{
|
|
margin-right: 1em;
|
|
}
|
|
|
|
.vjs-title-bar{
|
|
display: none !important;
|
|
}
|
|
|
|
|
|
/* Layout */
|
|
main {
|
|
width: 100%;
|
|
height: calc(100vh - 3em);
|
|
display: grid;
|
|
grid-template-areas: "video tabs" "timeline timeline";
|
|
grid-template-columns: repeat(2, 1fr);
|
|
grid-template-rows: 1fr 50%;
|
|
gap: 1em;
|
|
}
|
|
|
|
#video {
|
|
grid-area: video;
|
|
}
|
|
|
|
#tabs {
|
|
grid-area: tabs;
|
|
}
|
|
|
|
#timeline {
|
|
grid-area: timeline;
|
|
position: relative;
|
|
background: var(--c3);
|
|
}
|
|
|
|
#timeline-bar{
|
|
height: 2em;
|
|
margin-left: 20em;
|
|
background: #aaa;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
#timeline-bar>span{
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
#timeline-bar-ctrl{
|
|
display: inline-block;
|
|
background: #000;
|
|
width: .1875em;
|
|
height: 100%;
|
|
position: absolute;
|
|
}
|
|
|
|
#timeline-bar-ctrl::before{
|
|
content: '';
|
|
width: 2em;
|
|
height: 2em;
|
|
border-radius: 50%;
|
|
transform: translate3d(-50%, 0px, 0px);
|
|
background: #000;
|
|
position: absolute;
|
|
}
|
|
|
|
#tracks{
|
|
height: calc(100% - 2em);
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.track {
|
|
width: 100%;
|
|
min-height: 15em;
|
|
display: grid;
|
|
grid-template: 100% / 20em 1fr;
|
|
}
|
|
|
|
.track + .track {
|
|
border-top: 1px solid var(--c1);
|
|
}
|
|
|
|
.track-ctrl{
|
|
padding: 1em;
|
|
background: var(--c3);
|
|
}
|
|
|
|
.track-viz{
|
|
background: var(--c3);
|
|
}
|
|
|