Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
adhimrahman committed May 8, 2024
1 parent 033b98a commit 87df084
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 10 deletions.
21 changes: 20 additions & 1 deletion backup/db-backup-baru/Trash.sql
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,23 @@ CREATE TABLE IF NOT EXISTS `user_artist_follow` (
CONSTRAINT `user_id_follow_ar` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
);

test trashs
test trashs


SELECT a.name, ar.name as artistName
FROM album a, album_artist_has aah, artist ar
WHERE a.id IN (
SELECT album_id
FROM user_album_follow
WHERE user_id = "US01"
)
AND a.id = aah.album_id
AND aah.artist_id = ar.id;


SELECT a.name, ar.name as artistName
FROM user_album_follow uaf
JOIN album a ON uaf.album_id = a.id
JOIN album_artist_has aah ON a.id = aah.album_id
JOIN artist ar ON aah.artist_id = ar.id
WHERE uaf.user_id = "US01"
18 changes: 9 additions & 9 deletions public/css/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -185,19 +185,18 @@ section {
width: 55px;
height: 55px;
border-radius: 50%;
background-color: red;
background-color: #51B056;
position: absolute;
margin-top: -75px;
margin-left: 160px;
/* margin-right: 0; */
/* right: 0; */
/* bottom: 0; */
/* margin-bottom: -8px; */
opacity: 0;
z-index: 999;
/* top: 100%; Atur posisi vertikal ke tengah */
/* transform: translateY(-100%); Pusatkan secara vertikal */
opacity: 0; /* Sembunyikan secara default */
/* transition: opacity cubic-bezier(0.785, 0.135, 0.15, 0.86) 0.8s; Tambahkan transisi untuk efek smooth */
transition: opacity 0.5s;
transition: opacity 0.5s, transform 0.5s;
}

.play-song {
margin-bottom: -12.7px;
}

.player:hover {
Expand All @@ -206,6 +205,7 @@ section {

.list-items {
overflow: hidden !important;
cursor: pointer;
}

.list-items:hover .player {
Expand Down

0 comments on commit 87df084

Please sign in to comment.