UNPKG

node-videojs-vjstranscribe

Version:
135 lines (112 loc) 2.56 kB
:root { --vjs-transcribe-primary-color: #8CC04F; --vjs-transcribe-secondary-color: #d9d9d7;; } .vjs-sr-only { width: 1px; height: 1px; position: absolute !important; clip: rect(1px,1px,1px,1px); } .vjs-transcribe-hide { display: none; } .vjs-transcribe-btn { border: none; cursor: pointer; padding: 0; background: transparent; text-align: left; font-family: VideoJs; color: var(--vjs-transcribe-primary-color, #8CC04F); } .vjs-transcribe-btn .vjs-icon-placeholder::before { content: "\f12e"; } .vjs-transcribe-download::before { font-size: 1.2rem; content: "\f110"; } .vjs-transcribe-active .vjs-transcribe-btn { background: #fff; color: #000; } .vjs-transcribe-copy { color: var(--vjs-transcribe-primary-color, #8CC04F); } .vjs-transcribe-copy:before { font-size: 1.2rem; content: '\f11B'; } button.vjs-transcribe-search-result:hover, button.vjs-transcribe-search-result:focus { background: var(--vjs-transcribe-primary-color,#8CC04F); } div.vjs-transcribe-search-result { cursor: auto; } .vjs-transcribe-body { overflow-y: scroll; height: 400px; clear: both; padding: 1rem; border: 1px solid var(--vjs-transcribe-secondary-color, #d9d9d7); } .vjs-transcribe-body .vjs-transcribe-cuetimestamp { padding-right: 0.4rem; font-size: 0.8rem; } .vjs-transcribe-body-prose .vjs-transcribe-cuetimestamp { display: none; } .vjs-transcribe-body-prose .vjs-transcribe-cueline { display: inline; margin-left: 0.5rem; } .vjs-transcribe-cueline { cursor: pointer; } .vjs-transcribe-cueline:hover, .vjs-transcribe-body .cue-active { background: var(--vjs-transcribe-secondary-color,#d9d9d7); color: #000; cursor: pointer; } /* Should be the same nomenclature as above */ .vjs-transcribe-pip { position: fixed; bottom: 1rem; left: 1rem; display: none; max-width: 500px; width: calc(100% - 2rem); background: red; z-index: 100; } .vjs-transcribe-pip.pip-active { display: block; } .vjs-transcribe-search { position: relative; } .vjs-transcribe-search-results { position: absolute; z-index: 1000; background: #fff; border: #ccc 1px solid; width: 100%; max-height: 200px; overflow-y: auto; } button.vjs-transcribe-search-result, .vjs-transcribe-search-result { border: none; cursor: pointer; padding: 0; text-align: left; padding: 0.3rem 0.4rem; font-size: 0.9rem; background: var(--vjs-transcribe-secondary-color,#d9d9d7); width: 100%; margin-bottom: 0.1rem; } .vjs-transcribe-search-result:last-child { margin-bottom: 0; }