SAEWEB2.2/ci/assets/CSS/playlist.css

67 lines
1.5 KiB
CSS
Raw Normal View History

/* Style pour les boutons */
2024-06-05 13:51:23 +02:00
button[type='submit'].create-button,
button[type='submit'].delete-button {
background-color: #1ed860;
2024-06-05 13:51:23 +02:00
color: white;
padding: 8px 12px;
2024-06-05 13:51:23 +02:00
border: none;
border-radius: 5px;
cursor: pointer;
margin: 5px;
transition: background-color 0.3s, color 0.3s;
2024-06-05 13:51:23 +02:00
}
2024-06-05 13:51:23 +02:00
button.upload-image-button {
background-color: transparent;
color: green;
border: 1px solid green;
padding: 8px 12px;
2024-06-05 13:51:23 +02:00
border-radius: 5px;
cursor: pointer;
margin-top: 10px;
transition: background-color 0.3s, color 0.3s;
2024-06-05 13:51:23 +02:00
}
button.upload-image-button:hover {
background-color: green;
color: white;
}
/* Style pour le conteneur de la playlist */
2024-06-05 13:51:23 +02:00
div.playlist-container {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
padding-top: 20px; /* Ajouter un padding pour éviter que le contenu ne soit caché par la barre de navigation */
2024-06-05 13:51:23 +02:00
}
/* Style pour chaque élément de la playlist */
2024-06-05 13:51:23 +02:00
div.playlist-item {
width: 200px;
margin: 10px;
padding: 12px;
2024-06-05 13:51:23 +02:00
border: 1px solid #ccc;
border-radius: 8px;
2024-06-05 13:51:23 +02:00
text-align: center;
transition: transform 0.3s;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
2024-06-05 13:51:23 +02:00
}
div.playlist-item img {
max-width: 100%;
height: auto;
border-radius: 5px;
2024-06-05 13:51:23 +02:00
}
/* Style pour le nom de la playlist */
2024-06-05 13:51:23 +02:00
div.playlist-item h3 {
margin-top: 10px;
font-size: 20px;
color: #333; /* changer la couleur du texte */
2024-06-05 13:51:23 +02:00
}
div.playlist-item:hover {
transform: scale(1.05);
}