diff --git a/assets/css/default.css b/assets/css/default.css
index 3544282a..7db5a74a 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -832,4 +832,46 @@ h1, h2, h3, h4, h5, p,
.description-show-transcript-widget > * {
margin: 0;
+}
+
+.video-transcript {
+ display: flex;
+ flex-direction: column;
+ gap: 25px;
+ height: 30em;
+ padding: 10px;
+ border: 1px solid #a0a0a0;
+ border-radius: 10px;
+}
+
+.video-transcript header {
+ padding-bottom: 5px;
+ border-bottom: 1px solid #a0a0a0;
+}
+
+.video-transcript > #lines {
+ display: flex;
+ flex-direction: column;
+ overflow: scroll;
+}
+
+.transcript-line, .transcript-title-line {
+ display: flex;
+ align-items: center;
+ padding: 20px 10px;
+ gap: 10px;
+ border-radius: 10px;
+}
+
+.transcript-line > .length {
+ padding: 0px 5px;
+ background: #363636 !important;
+}
+
+.transcript-line > p, .video-transcript > header > h3, .transcript-title-line > h4 {
+ margin: 0;
+}
+
+.transcript-line:hover, .selected.transcript-line, .transcript-title-line:hover, .selected.transcript-title-line {
+ background: #cacaca;
}
\ No newline at end of file
diff --git a/locales/en-US.json b/locales/en-US.json
index 5d078169..54ae6ab7 100644
--- a/locales/en-US.json
+++ b/locales/en-US.json
@@ -505,5 +505,6 @@
"video_description_show_transcript_section_label": "Transcripts",
"video_description_show_transcript_section_button": "Show transcript",
"video_description_show_transcript_section_button_hide": "Hide transcript",
- "error_transcripts_none_available": "No transcripts are available"
+ "error_transcripts_none_available": "No transcripts are available",
+ "transcript_widget_title": "Transcript"
}
diff --git a/src/invidious/views/components/no-js-transcript-ui.ecr b/src/invidious/views/components/no-js-transcript-ui.ecr
new file mode 100644
index 00000000..743ea570
--- /dev/null
+++ b/src/invidious/views/components/no-js-transcript-ui.ecr
@@ -0,0 +1,23 @@
+ <%= recode_length_seconds(line.start_ms.total_seconds) %> <%= line.line %><%=translate(locale, "transcript_widget_title")%>
<%= line.line %>