Skip to content

Video: Enhance landing page modal #537

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
@import "_navbar_project.scss";
@import "tax_project.scss";
@import "search_project.scss";
@import "videos.scss";
@import "_videos_project.scss";
@import "subscription.scss";
@import "video-landing.scss";
@import "_video-landing_project.scss";

.navbar-dark {
min-height: 5rem;
Expand Down
5 changes: 5 additions & 0 deletions assets/scss/_variables_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ $body-bg: #010101;

// Buttons
$btn-line-height: 3rem;
$btn-close-color: $white;
// $btn-close-opacity: 1;
// $btn-close-hover-opacity: .75;
// $btn-close-focus-opacity: .5;


// Lefthand sidebar with inter-page docs menu

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@
width: 90%;
margin: 0 auto;
}
a#videoPageLink {
padding: 0rem;
color: $lightslategray;
}
a#videoPageLink:hover {
color: $casper;
}
a#videoPageLink:focus {
color: $white;
}

.hero-video-container {
border-radius: 12px;
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions layouts/partials/video-landing-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ <h3>{{ .Title }}</h3>

<div class="modal fade" id="videoModal" tabindex="-1" aria-labelledby="videoModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content" style="padding: 20px 20px 0;background-color: #333;">
<div class="modal-header">
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close" style="background-color: #00d3a9;"></button>
<div class="modal-content">
<div class="modal-header"><a href="" id="videoPageLink"><h4 id="videoModalTitle"></h4></a>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close" style="background-color: #00b39f;"></button>
</div>
<div class="modal-body p-0">
<div class="ratio ratio-16x9">
Expand All @@ -175,7 +175,7 @@ <h3>{{ .Title }}</h3>
allowfullscreen>
</iframe>
</div>
<a href="" id="videoPageLink"><h4 id="videoModalTitle" style="padding: 1rem 0 2rem !important;"></h4></a>

</div>
</div>

Expand Down