-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make lecture cards more reactive * Fix card header border radius & use blue border color * Add "hover to play" feature * Use bootstrap icons for buttons * Explicitly set footer background color * Clean up card footer * Use buttons for media card actions * Add interactive hover to other sections as well Also added a default empty screenshot * Improve media grid breakpoints * Add another horizontal line above card body * Import necessary bootstrap files in `media.scss` * Outline the buttons instead of filling them * Use auto phrasing for card word break * Let only lecture tags change color on hover * Improve styling of header end icons * Fix download button alignment * Revert locale logic change * Make default screenshot more subdued * Reflect media card changes for watchlist cards * Reuse medium card for watchlists * Adjust card header talk people icon * Wait for turbolinks:load (shining pointer)
- Loading branch information
Showing
10 changed files
with
314 additions
and
298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
$(document).on("turbolinks:load", function () { | ||
$(".mampf-card").on("mousemove", function (event) { | ||
const { x, y } = this.getBoundingClientRect(); | ||
this.style.setProperty("--x", event.clientX - x); | ||
this.style.setProperty("--y", event.clientY - y); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.