diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index 128ce074..948d71bc 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -8,6 +8,7 @@ @import "_navbar_project.scss"; @import "tax_project.scss"; @import "search_project.scss"; +@import "videos.scss"; .navbar-dark { min-height: 5rem; @@ -679,4 +680,4 @@ a:not([href]):not([class]):hover { .csvtable { width: 100%; -} \ No newline at end of file +} diff --git a/assets/scss/_videos.scss b/assets/scss/_videos.scss new file mode 100644 index 00000000..3851f343 --- /dev/null +++ b/assets/scss/_videos.scss @@ -0,0 +1,30 @@ +.video-btn-wrapper { + height: 60px; + width: 60px; + background-color: #00b39f; + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; + transition: background-color 0.3s ease; + transform: translate(-50%, -50%); + } + + .video-btn-wrapper svg { + height: 50%; + width: 50%; + margin-top: 5px; + } + + .play-icon-path { + fill: white; + transition: fill 0.3s ease; + } + + .bg-gradient-overlay:hover .video-btn-wrapper { + background-color: #ffffff; + } + + .bg-gradient-overlay:hover .play-icon-path { + fill: #00b39f; + } diff --git a/layouts/partials/video-section-index.html b/layouts/partials/video-section-index.html index 2fdcea17..ebc9938f 100644 --- a/layouts/partials/video-section-index.html +++ b/layouts/partials/video-section-index.html @@ -52,7 +52,13 @@ > --> {{ end }} -
+
+
+ + + +
+
{{ end }}