diff --git a/pod/bbb/templates/bbb/live_publish_meeting.html b/pod/bbb/templates/bbb/live_publish_meeting.html index 8b3b7ef031..fe25166ef0 100644 --- a/pod/bbb/templates/bbb/live_publish_meeting.html +++ b/pod/bbb/templates/bbb/live_publish_meeting.html @@ -55,7 +55,7 @@

{% trans "Are you sure you want to perform a BigBlueButton live?" %}

{% endif %} {% for field in form.visible_fields %} {% spaceless %} -
+
{{ field.errors }} diff --git a/pod/bbb/templates/bbb/publish_meeting.html b/pod/bbb/templates/bbb/publish_meeting.html index 65f4c8627f..d873c9cdea 100644 --- a/pod/bbb/templates/bbb/publish_meeting.html +++ b/pod/bbb/templates/bbb/publish_meeting.html @@ -47,7 +47,7 @@

{% trans "Are you sure you want to publish this BigBlueButton presentation?" {% endif %} {% for field in form.visible_fields %} {% spaceless %} -
+
{{ field.errors }} diff --git a/pod/chapter/templates/video_chapter.html b/pod/chapter/templates/video_chapter.html index 8cd60f2d28..976acd73f4 100644 --- a/pod/chapter/templates/video_chapter.html +++ b/pod/chapter/templates/video_chapter.html @@ -64,10 +64,10 @@

{% endif %}

{% trans "Help"%}

- -
+

{% trans '"Add a new chapter" allows you to add a new chapter, "modify" allows you to modify it and "delete" allows you to remove the chapter.' %}

{% trans 'Start playback of the video, pause the video and click on "Get time from the player" to fill in the field untitled "Start time".' %}

{% trans 'The chapters cannot start at the same time.' %}

diff --git a/pod/completion/templates/video_completion.html b/pod/completion/templates/video_completion.html index c723103257..7ec43924ac 100644 --- a/pod/completion/templates/video_completion.html +++ b/pod/completion/templates/video_completion.html @@ -58,17 +58,20 @@   @@ -133,19 +136,19 @@

{% endif %}

{% trans "Help"%}

- -
+

{% trans 'List of people related to this video.' %}

{% trans 'A contributor must at least have a name and a role. You can also join the email of this contributor as well as a link (professional website for example).' %}

- -
+

{% trans 'Subtitle(s) and/or captions(s) related to this video.' %}

{% trans 'You can add several subtitle or caption files to a signle video (for example, in order to subtitle or caption this video in several languages' %}

@@ -163,19 +166,19 @@

{% trans "Help"%}

- -
+

{% trans 'Document(s) related to this video. These documents will be downloadable by users.' %}

{% trans 'Be careful, not to be confused with enrichment. These documents are attached to the video, not integrated.' %}

- -
+

{% trans 'Overlay allows you to display text (with ou without html tag) over the video at specific times and positions.' %}

{% trans 'You can add a solid background or a transparent background to the text you want to display with the option "Show background"' %}

diff --git a/pod/cut/templates/video_cut.html b/pod/cut/templates/video_cut.html index 8750f936e6..fcb3996d8a 100644 --- a/pod/cut/templates/video_cut.html +++ b/pod/cut/templates/video_cut.html @@ -112,10 +112,10 @@

{% endif %}

{% trans "Help"%}

- -
+

{% trans 'The video cut allows you to set a start and an end to trim your video.' %}

{% trans 'Your original video is kept and you can therefore modify your changes at any time.' %}

{% trans 'When saving your cut, an encoding is restarted to replace the old one.' %}

diff --git a/pod/enrichment/templates/enrichment/group_enrichment.html b/pod/enrichment/templates/enrichment/group_enrichment.html index a865ac2145..feea78a96a 100644 --- a/pod/enrichment/templates/enrichment/group_enrichment.html +++ b/pod/enrichment/templates/enrichment/group_enrichment.html @@ -39,7 +39,7 @@

{% trans "Editing group for the enrichment of the video" %} "{{video.title}} {% endfor %} {% for field in form.visible_fields %} {% spaceless %} -
+
{{ field.errors }} diff --git a/pod/import_video/templates/import_video/add_or_edit.html b/pod/import_video/templates/import_video/add_or_edit.html index 76cfc0f642..a6592ca5b7 100644 --- a/pod/import_video/templates/import_video/add_or_edit.html +++ b/pod/import_video/templates/import_video/add_or_edit.html @@ -187,28 +187,28 @@

{% trans "Terms of Service

{% trans "It is necessary to respect the terms of use of the various services before being able to upload a video from their site to this platform." %}

- -
- -
- -
+

{% trans "Their terms of service state that you are not allowed to download any content unless permitted by YouTube or the person who owns the copyright to the content." %}

{% trans "YouTube's Terms of Service" %}

diff --git a/pod/live/templates/live/event_immediate_edit.html b/pod/live/templates/live/event_immediate_edit.html index c317c5c69f..265dc4ab05 100644 --- a/pod/live/templates/live/event_immediate_edit.html +++ b/pod/live/templates/live/event_immediate_edit.html @@ -51,7 +51,7 @@ {% endfor %} {% for field in form.visible_fields %} {% spaceless %} -
+
{{ field.errors }} diff --git a/pod/main/static/css/dark.css b/pod/main/static/css/dark.css index 541b8958a6..365b6db7c7 100644 --- a/pod/main/static/css/dark.css +++ b/pod/main/static/css/dark.css @@ -123,10 +123,10 @@ border-color: var(--pod-background); } -[data-theme="dark"] .navbar-nav .nav-link:focus, +/*[data-theme="dark"] .navbar-nav .nav-link:focus, [data-theme="dark"] .navbar-nav .nav-link:hover { color: var(--pod-activelink-color); -} +}*/ [data-theme="dark"] .btn-link.disabled, [data-theme="dark"] .dropdown-item, @@ -145,11 +145,11 @@ color: inherit; }*/ -[data-theme="dark"] .btn-link:focus, +/*[data-theme="dark"] .btn-link:focus, [data-theme="dark"] .btn-link:active, [data-theme="dark"] .btn-link:hover { color: var(--pod-activelink-color); -} +}*/ [data-theme="dark"] .btn-light { background-color: var(--bs-dark); diff --git a/pod/main/static/css/pod.css b/pod/main/static/css/pod.css index ccdd2b16ea..b648b26b01 100755 --- a/pod/main/static/css/pod.css +++ b/pod/main/static/css/pod.css @@ -77,6 +77,10 @@ --bs-link-color-rgb: var(--pod-link-color-rgb); --bs-link-hover-color: var(--pod-activelink-color); --bs-card-color: var(--pod-font-color); + /* better contrast on sidebar background */ + --bs-danger: #DC2028; + /* better contrasts */ + --bs-border-color: #8E969D; /* Use system font (faster load) */ --font-family-sans-serif: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Verdana, sans-serif; @@ -122,8 +126,8 @@ .navbar-toggler:focus, .navbar-toggler:hover { transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out; - color: var(--pod-primary); - border-color: var(--pod-primary); + color: var(--bs-link-color); + border-color: var(--bs-link-color); } .navbar-light .navbar-brand:focus, @@ -502,10 +506,10 @@ tr, padding: .25rem .5rem; }*/ -button.nav-link { +/*button.nav-link { background: none; border: none; -} +}*/ .btn .userpicture { border: 1px solid transparent; @@ -1010,14 +1014,14 @@ body { font-size: 12px; } -.btn{ +/*.btn{ --bs-btn-hover-color: #FFF; } .btn-link { --bs-btn-hover-color: var(--pod-activelink-color); --bs-btn-active-color: var(--pod-activelink-color); -} +}*/ .btn-primary, .btn-outline-primary { @@ -1035,6 +1039,17 @@ body { --bs-btn-color: var(--pod-btn-text); } +/* dark navbars (see in "my files") */ +.bg-primary { + --bs-link-color: #F5F5F5; +} +.bg-primary .nav-link { + --bs-nav-link-color : var(--bs-link-color); +} +.bg-primary .nav-link:focus-visible { + box-shadow: 0 0 0 .25rem rgba(255,255,255,.5); +} + /* used in badges (# of videos in channel) */ .text-bg-primary { background-color: var(--pod-primary) !important; @@ -1055,7 +1070,7 @@ body { .pod-params-button { color: var(--pod-font-color); - --bs-btn-hover-color: var(--pod-primary); + --bs-btn-hover-color: var(--bs-link-color); font-size: 1.4rem; display: flex; } @@ -1141,7 +1156,7 @@ body { .pod-footer__credits { font-size: 85%; - opacity: .8; + /*opacity: .8;*/ } .pod-footer__links { @@ -1149,6 +1164,7 @@ body { justify-content: space-around; gap: .5rem; font-weight: 600; + flex-wrap: wrap; } .pod-footer a { @@ -1593,15 +1609,6 @@ table .alert.alert-danger.btn.pod-btn-social { font-size: 11px; } -/* My Files font color fix */ - -.navbar-brand { - color: var(--pod-font-color) !important; -} - -.navbar-brand:focus, .navbar-brand:hover { - text-decoration: underline; -} /* Upload page */ diff --git a/pod/main/templates/navbar.html b/pod/main/templates/navbar.html index e01780a7b1..97241c9381 100644 --- a/pod/main/templates/navbar.html +++ b/pod/main/templates/navbar.html @@ -120,7 +120,7 @@
{% trans 'Configuration'%}
{% csrf_token %} - +
{% endif %} {% endfor %} diff --git a/pod/main/templates/navbar_collapse.html b/pod/main/templates/navbar_collapse.html index 4164c208fe..11bb002271 100644 --- a/pod/main/templates/navbar_collapse.html +++ b/pod/main/templates/navbar_collapse.html @@ -28,7 +28,7 @@