SAE_2.02/CodeIgniter-3.1.13/assets/css/playlist_view.css
2024-06-10 21:18:08 +02:00

151 lines
2.5 KiB
CSS

/* Reset CSS */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body styles */
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
color: #333;
}
.container {
max-width: 98%;
margin: 0 auto;
padding: 20px;
}
h1, h2 {
margin-bottom: 10px;
}
h2 {
padding-top: 50px;
}
p {
margin-bottom: 20px;
}
.table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
.table th, .table td {
padding: 8px;
border: 1px solid #ddd;
text-align: left;
}
.table th {
background-color: #f2f2f2;
font-weight: bold;
}
.btn {
display: inline-block;
padding: 8px 16px;
border: none;
border-radius: 4px;
background-color: #7700ff;
color: #fff;
text-decoration: none;
cursor: pointer;
transition: background-color 0.3s ease;
}
.btn:hover {
background-color: #3c0c72;
}
.btn-secondary {
background-color: #6c757d;
}
.btn-secondary:hover {
background-color: #545b62;
}
/* Style pour le conteneur principal */
.container {
margin: 0 auto;
padding: 20px;
background-color: #f9f9f9;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Style pour le titre de la playlist */
.container h1 {
font-size: 24px;
margin-bottom: 20px;
color: #333;
}
/* Style pour les labels */
label {
font-weight: bold;
}
/* Style pour les champs de texte */
input[type="text"],
textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
}
/* Style pour le bouton Enregistrer */
.btn-primary {
display: inline-block;
padding: 10px 20px;
background-color: #7700ff;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
/* Style pour le bouton Enregistrer au survol */
.btn-primary:hover {
background-color: #3c0c72;
}
a.spotify,
a.deezer,
a.youtube {
color: white;
padding: 8px 12px;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s, color 0.3s;
}
a.spotify {
background-color: #1DB954; /* Vert Spotify */
}
a.deezer {
background-color: #8826df; /* Violet Deezer */
}
a.youtube {
background-color: #FF0000; /* Rouge YouTube */
}
a.spotify:hover,
a.deezer:hover,
a.youtube:hover {
color: rgb(255, 255, 255);
background-color: rgba(84, 15, 202, 0.8);
}