From 9d056437901d1f70fbfe5305c765d78c343e3fa4 Mon Sep 17 00:00:00 2001 From: Julien9969 Date: Fri, 2 Aug 2024 21:10:58 +0200 Subject: [PATCH] Chapters done --- CSS/chapters-on-player.css | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/CSS/chapters-on-player.css b/CSS/chapters-on-player.css index 9e04fa9..5f98705 100644 --- a/CSS/chapters-on-player.css +++ b/CSS/chapters-on-player.css @@ -1,9 +1,9 @@ -/* Display Chapters on time bar */ +/* Display chapters on time bar */ .sliderMarker { position: absolute !important; width: 2px !important; - height: 12px !important; - transform: translate3d(0, 25%, 0) !important; + height: 10px !important; + transform: translate3d(0, 40%, 0) !important; } .sliderMarker.unwatched { @@ -11,30 +11,23 @@ } .sliderMarker.watched { - background-color: red !important; - transition: background-color 0.3s ease !important; - z-index: 10 !important; -} - -.sliderMarker.watched:hover { - background-color: #00a4dc !important; - transform: scale(2.05) !important; - z-index: 11 !important; + background-color: #007da7 !important; + z-index: 1 !important; } /* Remove first and last chapters */ .sliderMarker:first-of-type.unwatched { - background-color: transparent !important; /* Example color for the first unwatched */ + background-color: transparent !important; } .sliderMarker:last-of-type.unwatched { - background-color: transparent !important; /* Example color for the last unwatched */ + background-color: transparent !important; } .sliderMarker:first-of-type.watched { - background-color: transparent !important; /* Example color for the first watched */ + background-color: transparent !important; } .sliderMarker:last-of-type.watched { - background-color: transparent !important; /* Example color for the last watched */ + background-color: transparent !important; } \ No newline at end of file