From debc11931fe1102f17852fd082d0dac50d477ce9 Mon Sep 17 00:00:00 2001
From: zrose584 <57181548+zrose584@users.noreply.github.com>
Date: Wed, 7 Oct 2020 19:03:22 +0200
Subject: add comments.js
---
youtube/templates/watch.html | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
(limited to 'youtube/templates/watch.html')
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index 89f8daa..8835a69 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -1,7 +1,7 @@
{% set page_title = title %}
{% extends "base.html" %}
{% import "common_elements.html" as common_elements %}
-{% import "comments.html" as comments %}
+{% import "comments.html" as comments with context %}
{% block style %}
details > summary{
background-color: var(--interface-color);
@@ -14,6 +14,21 @@
text-decoration: underline;
}
+ details.replies > summary{
+ background-color: var(--interface-color);
+ border-style: outset;
+ border-width: 1px;
+ font-weight: bold;
+ padding-bottom: 0px;
+ }
+
+ details.replies .comment{
+ width: 600px;
+ border-style: solid;
+ border-width: 1px;
+ border-color: #0402025e;
+ }
+
.playability-error{
height: 360px;
width: 640px;
@@ -682,4 +697,5 @@ Reload without invidious (for usage of new identity button).
{% endif %}
+
{% endblock main %}
--
cgit v1.2.3
From fd9bb643f8272ae681e0caeca8803b539b147448 Mon Sep 17 00:00:00 2001
From: zrose584 <57181548+zrose584@users.noreply.github.com>
Date: Fri, 9 Oct 2020 18:53:39 +0200
Subject: replies: remove css border
---
youtube/templates/watch.html | 3 ---
1 file changed, 3 deletions(-)
(limited to 'youtube/templates/watch.html')
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index 8835a69..c44e01d 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -24,9 +24,6 @@
details.replies .comment{
width: 600px;
- border-style: solid;
- border-width: 1px;
- border-color: #0402025e;
}
.playability-error{
--
cgit v1.2.3
From 6a7d0557e24eb8e1b738ca4bd2eae3eef8371288 Mon Sep 17 00:00:00 2001
From: zrose584 <57181548+zrose584@users.noreply.github.com>
Date: Fri, 9 Oct 2020 18:55:04 +0200
Subject: jinja: only include 'comments.js' if needed
---
youtube/templates/watch.html | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'youtube/templates/watch.html')
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index c44e01d..86644ea 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -690,9 +690,11 @@ Reload without invidious (for usage of new identity button).
{% endif %}
+
{% if settings.use_video_hotkeys %}
{% endif %}
-
-
+ {% if settings.use_comments_js %}
+
+ {% endif %}
{% endblock main %}
--
cgit v1.2.3