2025-04-10 11:48:56 +04:00
|
|
|
:root {
|
|
|
|
|
--primary-red: #FF0000;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:37:14 +04:00
|
|
|
/* Styles pour la page vidéo */
|
|
|
|
|
.video-page {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: 1fr 350px;
|
2025-04-08 09:59:15 +04:00
|
|
|
grid-template-rows: auto auto;
|
2025-04-08 06:37:14 +04:00
|
|
|
gap: 30px;
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-player-container {
|
|
|
|
|
grid-column: 1 / -1;
|
2025-04-08 09:59:15 +04:00
|
|
|
grid-row: 1;
|
2025-04-08 10:49:46 +04:00
|
|
|
max-width: 900px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
width: 100%;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-player {
|
|
|
|
|
position: relative;
|
2025-04-08 06:51:33 +04:00
|
|
|
padding-bottom: 56.25%; /* Ratio 16:9 */
|
|
|
|
|
height: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
border-radius: 8px;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-player iframe {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-content {
|
|
|
|
|
grid-column: 1;
|
2025-04-08 09:59:15 +04:00
|
|
|
grid-row: 2;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 20px;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-primary-info {
|
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
|
padding-bottom: 15px;
|
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-title {
|
|
|
|
|
font-size: 1.5rem;
|
2025-04-08 06:51:33 +04:00
|
|
|
font-weight: 700;
|
|
|
|
|
line-height: 1.3;
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
color: #000;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:51:33 +04:00
|
|
|
.video-info {
|
2025-04-08 06:37:14 +04:00
|
|
|
display: flex;
|
2025-04-08 10:49:46 +04:00
|
|
|
flex-direction: row;
|
2025-04-08 06:37:14 +04:00
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
2025-04-08 06:51:33 +04:00
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
padding-bottom: 1.5rem;
|
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-metadata {
|
|
|
|
|
display: flex;
|
2025-04-08 09:59:15 +04:00
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 1rem;
|
2025-04-08 10:49:46 +04:00
|
|
|
margin-bottom: 0;
|
|
|
|
|
flex-wrap: nowrap;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:51:33 +04:00
|
|
|
.video-views, .video-date {
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
color: #666;
|
2025-04-08 09:59:15 +04:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 5px;
|
2025-04-08 10:49:46 +04:00
|
|
|
height: 36px;
|
|
|
|
|
white-space: nowrap;
|
2025-04-08 09:59:15 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-views i, .video-date i {
|
|
|
|
|
font-size: 0.9375rem;
|
2025-04-08 10:49:46 +04:00
|
|
|
color: var(--primary-red);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 20px;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-actions {
|
|
|
|
|
display: flex;
|
2025-04-08 10:49:46 +04:00
|
|
|
flex-direction: row;
|
2025-04-08 06:51:33 +04:00
|
|
|
gap: 1.5rem;
|
2025-04-08 10:49:46 +04:00
|
|
|
align-items: center;
|
|
|
|
|
flex-wrap: nowrap;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.action-button {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2025-04-08 10:49:46 +04:00
|
|
|
justify-content: center;
|
2025-04-08 06:37:14 +04:00
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
cursor: pointer;
|
2025-04-08 06:51:33 +04:00
|
|
|
gap: 0.5rem;
|
|
|
|
|
font-size: 0.875rem;
|
2025-04-08 10:49:46 +04:00
|
|
|
padding: 0.5rem 0.75rem;
|
2025-04-08 06:51:33 +04:00
|
|
|
border-radius: 4px;
|
|
|
|
|
transition: background-color 0.2s;
|
2025-04-08 10:49:46 +04:00
|
|
|
height: 36px;
|
|
|
|
|
min-width: 80px;
|
2025-04-08 06:51:33 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.action-button:hover {
|
|
|
|
|
background-color: #f5f5f5;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-09 13:46:25 +04:00
|
|
|
.download-button {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-09 13:03:23 +04:00
|
|
|
.disabled-button {
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.disabled-button:hover {
|
|
|
|
|
background-color: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.disabled-button::after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
border: 1px dashed #999;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:37:14 +04:00
|
|
|
.action-button i {
|
2025-04-08 06:51:33 +04:00
|
|
|
font-size: 1.25rem;
|
|
|
|
|
color: #444;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 10:49:46 +04:00
|
|
|
.action-button span {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:37:14 +04:00
|
|
|
.video-secondary-info {
|
|
|
|
|
margin-bottom: 30px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.channel-info {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2025-04-08 06:51:33 +04:00
|
|
|
gap: 1rem;
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
padding-bottom: 1.5rem;
|
|
|
|
|
border-bottom: 1px solid #eee;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-09 09:03:46 +04:00
|
|
|
.channel-details {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.channel-avatar {
|
|
|
|
|
width: 48px;
|
|
|
|
|
height: 48px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:51:33 +04:00
|
|
|
.channel-avatar img {
|
|
|
|
|
width: 48px;
|
|
|
|
|
height: 48px;
|
2025-04-08 06:37:14 +04:00
|
|
|
border-radius: 50%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-09 09:03:46 +04:00
|
|
|
.channel-avatar-placeholder {
|
|
|
|
|
width: 48px;
|
|
|
|
|
height: 48px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.channel-avatar-placeholder i {
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
color: #999;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:37:14 +04:00
|
|
|
.channel-name {
|
2025-04-08 06:51:33 +04:00
|
|
|
font-size: 1rem;
|
2025-04-08 06:37:14 +04:00
|
|
|
font-weight: 600;
|
2025-04-08 06:51:33 +04:00
|
|
|
margin: 0;
|
2025-04-09 09:14:12 +04:00
|
|
|
line-height: 1.4;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-10 11:48:56 +04:00
|
|
|
.channel-avatar-link {
|
|
|
|
|
transition: transform 0.2s ease-in-out;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.channel-avatar-link:hover {
|
|
|
|
|
transform: scale(1.05);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.channel-name-link {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: inherit;
|
|
|
|
|
position: relative;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.channel-name-link:hover .channel-name {
|
|
|
|
|
color: var(--primary-red);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.channel-name-link:after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 2px;
|
|
|
|
|
bottom: -3px;
|
|
|
|
|
left: 0;
|
|
|
|
|
background-color: var(--primary-red);
|
|
|
|
|
transform: scaleX(0);
|
|
|
|
|
transition: transform 0.3s;
|
|
|
|
|
transform-origin: bottom left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.channel-name-link:hover:after {
|
|
|
|
|
transform: scaleX(1);
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:37:14 +04:00
|
|
|
.subscribe-button {
|
|
|
|
|
background-color: #0d6efd;
|
|
|
|
|
color: white;
|
|
|
|
|
border: none;
|
|
|
|
|
padding: 8px 15px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background-color 0.3s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.subscribe-button:hover {
|
|
|
|
|
background-color: #0b5ed7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-description {
|
2025-04-08 06:51:33 +04:00
|
|
|
font-size: 0.9375rem;
|
2025-04-08 06:37:14 +04:00
|
|
|
line-height: 1.6;
|
2025-04-08 06:51:33 +04:00
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
color: #333;
|
2025-04-10 08:49:24 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Styles pour les éléments Markdown dans la description */
|
|
|
|
|
.video-description p {
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-description ol,
|
|
|
|
|
.video-description ul {
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
padding-left: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-description li {
|
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-description a {
|
|
|
|
|
color: var(--primary-red);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
transition: color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-description a:hover {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-description blockquote {
|
|
|
|
|
border-left: 4px solid #e0e0e0;
|
|
|
|
|
padding-left: 1rem;
|
|
|
|
|
margin-left: 0;
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
color: #555;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-description code {
|
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
|
padding: 0.2rem 0.4rem;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
font-family: monospace;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-description pre {
|
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-description pre code {
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
padding: 0;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
display: block;
|
|
|
|
|
white-space: pre;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-description hr {
|
|
|
|
|
border: 0;
|
|
|
|
|
height: 1px;
|
|
|
|
|
background-color: #e0e0e0;
|
|
|
|
|
margin: 2rem 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-description .markdown-image {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
height: auto;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
margin: 1rem 0;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-10 08:28:09 +04:00
|
|
|
.truncated-description, .full-description {
|
|
|
|
|
position: relative;
|
|
|
|
|
padding-bottom: 40px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.truncated-description {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.truncated-description::after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 40px;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
height: 60px;
|
|
|
|
|
background: linear-gradient(transparent, #fff);
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.show-more-btn, .show-less-btn {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
|
border: 1px solid #e0e0e0;
|
|
|
|
|
color: var(--primary-red);
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 8px 16px;
|
|
|
|
|
position: absolute;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
border-radius: 20px;
|
|
|
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
|
|
|
width: auto;
|
|
|
|
|
min-width: 120px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.show-more-btn:hover, .show-less-btn:hover {
|
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
|
box-shadow: 0 3px 6px rgba(0,0,0,0.15);
|
|
|
|
|
transform: translateX(-50%) translateY(-2px);
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-10 08:10:06 +04:00
|
|
|
/* Licence de la vidéo */
|
|
|
|
|
.video-licence {
|
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
border: 1px solid #eee;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.licence-title {
|
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
margin: 0 0 0.5rem 0;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.licence-info {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.licence-link {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: inherit;
|
|
|
|
|
transition: opacity 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.licence-link:hover {
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.licence-logo {
|
|
|
|
|
height: 31px;
|
|
|
|
|
width: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.licence-label {
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
color: #555;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:37:14 +04:00
|
|
|
.video-tags {
|
2025-04-08 06:51:33 +04:00
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
margin-bottom: 1rem;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tag {
|
2025-04-08 06:51:33 +04:00
|
|
|
background-color: #f5f5f5;
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
padding: 0.4rem 0.75rem;
|
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
|
color: #222;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
transition: background-color 0.2s;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:51:33 +04:00
|
|
|
.tag:hover {
|
|
|
|
|
background-color: #e0e0e0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Commentaires */
|
|
|
|
|
.comments-section {
|
2025-04-08 09:59:15 +04:00
|
|
|
grid-column: 1;
|
2025-04-08 06:51:33 +04:00
|
|
|
background-color: #fff;
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
|
padding: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-09 12:10:26 +04:00
|
|
|
.comments-section .section-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.section-title-wrapper {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:51:33 +04:00
|
|
|
.section-title {
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
font-weight: 600;
|
2025-04-09 12:10:26 +04:00
|
|
|
margin: 0;
|
2025-04-08 06:51:33 +04:00
|
|
|
color: #000;
|
2025-04-09 12:10:26 +04:00
|
|
|
line-height: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.view-on-peertube {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
color: var(--primary-red);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
margin-left: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.view-on-peertube:hover {
|
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.view-on-peertube i {
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.no-comments {
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 2rem;
|
|
|
|
|
color: #666;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.no-comments i {
|
|
|
|
|
font-size: 2.5rem;
|
|
|
|
|
color: #ddd;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.no-comments p {
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
|
max-width: 500px;
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.no-comments p:last-child {
|
|
|
|
|
color: #999;
|
|
|
|
|
font-size: 0.875rem;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comment-form {
|
2025-04-08 06:51:33 +04:00
|
|
|
display: flex;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comment-avatar img {
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comment-input {
|
|
|
|
|
flex: 1;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:51:33 +04:00
|
|
|
.comment-input textarea {
|
2025-04-08 06:37:14 +04:00
|
|
|
width: 100%;
|
2025-04-08 06:51:33 +04:00
|
|
|
padding: 0.75rem;
|
2025-04-08 06:37:14 +04:00
|
|
|
border: 1px solid #ddd;
|
|
|
|
|
border-radius: 4px;
|
2025-04-08 06:51:33 +04:00
|
|
|
resize: none;
|
|
|
|
|
height: 80px;
|
|
|
|
|
margin-bottom: 0.75rem;
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comment-buttons {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comment-cancel {
|
|
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #666;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comment-submit {
|
2025-04-08 06:51:33 +04:00
|
|
|
padding: 0.5rem 1.25rem;
|
|
|
|
|
background-color: #e62117;
|
2025-04-08 06:37:14 +04:00
|
|
|
color: white;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
cursor: pointer;
|
2025-04-08 06:51:33 +04:00
|
|
|
font-weight: 500;
|
|
|
|
|
transition: background-color 0.2s;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:51:33 +04:00
|
|
|
.comment-submit:hover {
|
|
|
|
|
background-color: #cc1e12;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:51:33 +04:00
|
|
|
.comments-list {
|
2025-04-08 06:37:14 +04:00
|
|
|
display: flex;
|
2025-04-08 06:51:33 +04:00
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 1.5rem;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:51:33 +04:00
|
|
|
.comment {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 1rem;
|
2025-04-09 13:03:23 +04:00
|
|
|
padding-bottom: 1.5rem;
|
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comment:last-of-type {
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comment-avatar {
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comment-avatar img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comment-content {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-09 13:03:23 +04:00
|
|
|
.comment-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:37:14 +04:00
|
|
|
.comment-author {
|
|
|
|
|
font-weight: 600;
|
2025-04-09 13:03:23 +04:00
|
|
|
color: #000;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comment-date {
|
|
|
|
|
color: #666;
|
2025-04-09 13:03:23 +04:00
|
|
|
font-size: 0.875rem;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comment-text {
|
2025-04-09 13:03:23 +04:00
|
|
|
color: #333;
|
2025-04-08 06:51:33 +04:00
|
|
|
line-height: 1.5;
|
2025-04-09 13:03:23 +04:00
|
|
|
white-space: pre-line;
|
2025-04-08 06:51:33 +04:00
|
|
|
margin-bottom: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-09 13:03:23 +04:00
|
|
|
.comment-replies-toggle {
|
|
|
|
|
margin-top: 0.5rem;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-09 13:03:23 +04:00
|
|
|
.show-replies {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
color: var(--primary-red);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.show-replies:hover {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.show-replies i {
|
2025-04-08 06:51:33 +04:00
|
|
|
font-size: 0.875rem;
|
2025-04-09 13:03:23 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comments-info {
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
background-color: #f8f9fa;
|
|
|
|
|
border-radius: 8px;
|
2025-04-08 06:37:14 +04:00
|
|
|
color: #666;
|
2025-04-08 06:51:33 +04:00
|
|
|
display: flex;
|
2025-04-09 13:03:23 +04:00
|
|
|
flex-direction: column;
|
2025-04-08 06:51:33 +04:00
|
|
|
align-items: center;
|
2025-04-09 13:03:23 +04:00
|
|
|
text-align: center;
|
|
|
|
|
gap: 0.5rem;
|
2025-04-08 06:51:33 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-09 13:03:23 +04:00
|
|
|
.comments-info i {
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
color: #999;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comments-info p {
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-size: 0.9375rem;
|
|
|
|
|
max-width: 500px;
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comments-info p:last-child {
|
|
|
|
|
color: #999;
|
|
|
|
|
font-size: 0.875rem;
|
2025-04-08 06:51:33 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Vidéos suggérées */
|
2025-04-08 09:41:02 +04:00
|
|
|
.video-suggestions {
|
|
|
|
|
grid-column: 2;
|
2025-04-08 09:59:15 +04:00
|
|
|
grid-row: 2;
|
|
|
|
|
align-self: start;
|
2025-04-08 06:51:33 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
.suggestion-list {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 15px;
|
2025-04-08 06:51:33 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
.suggested-video {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: inherit;
|
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
overflow: hidden;
|
2025-04-08 06:51:33 +04:00
|
|
|
transition: transform 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
.suggested-video:hover {
|
2025-04-08 06:51:33 +04:00
|
|
|
transform: translateY(-3px);
|
2025-04-08 09:41:02 +04:00
|
|
|
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
2025-04-08 06:51:33 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
.suggested-video-thumbnail {
|
2025-04-08 06:51:33 +04:00
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
2025-04-08 09:41:02 +04:00
|
|
|
padding-top: 56.25%; /* Ratio 16:9 */
|
2025-04-08 06:51:33 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
.suggested-video-thumbnail img {
|
2025-04-08 06:51:33 +04:00
|
|
|
position: absolute;
|
2025-04-08 09:41:02 +04:00
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
.suggested-video-duration {
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.7);
|
2025-04-08 06:51:33 +04:00
|
|
|
color: white;
|
2025-04-08 09:41:02 +04:00
|
|
|
font-size: 12px;
|
|
|
|
|
padding: 2px 4px;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin-top: 5px;
|
2025-04-08 06:51:33 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
.suggested-video-info {
|
|
|
|
|
padding: 10px;
|
2025-04-08 06:51:33 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
.suggested-video-title {
|
|
|
|
|
font-size: 14px;
|
2025-04-08 06:51:33 +04:00
|
|
|
font-weight: 600;
|
2025-04-08 09:41:02 +04:00
|
|
|
margin: 0 0 5px 0;
|
|
|
|
|
line-height: 1.3;
|
2025-04-08 06:51:33 +04:00
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
.suggested-video-channel {
|
2025-04-09 09:03:46 +04:00
|
|
|
font-size: 0.75rem;
|
2025-04-08 09:41:02 +04:00
|
|
|
color: #666;
|
2025-04-09 09:03:46 +04:00
|
|
|
margin-bottom: 0.25rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.suggested-video-channel .channel-name {
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: normal;
|
2025-04-09 09:14:12 +04:00
|
|
|
line-height: 1.4;
|
2025-04-09 09:03:46 +04:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2025-04-08 09:41:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.suggested-video-metadata {
|
|
|
|
|
display: flex;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #777;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.suggested-video-views, .suggested-video-date {
|
|
|
|
|
font-size: 11px;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Vidéos associées */
|
|
|
|
|
.related-videos {
|
|
|
|
|
grid-column: 2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.related-videos h2 {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.related-video-card {
|
|
|
|
|
display: flex;
|
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.related-video-thumbnail {
|
|
|
|
|
width: 120px;
|
|
|
|
|
height: 68px;
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.related-video-thumbnail img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.related-video-info {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.related-video-title {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
display: -webkit-box;
|
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.related-video-channel {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #666;
|
|
|
|
|
margin-bottom: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.related-video-metadata {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #888;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Media Queries */
|
|
|
|
|
@media (max-width: 992px) {
|
|
|
|
|
.video-page {
|
|
|
|
|
grid-template-columns: 1fr;
|
2025-04-09 16:28:02 +04:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
.video-content {
|
2025-04-08 06:37:14 +04:00
|
|
|
grid-column: 1;
|
2025-04-09 16:28:02 +04:00
|
|
|
width: 100%;
|
|
|
|
|
order: 2;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
.video-suggestions {
|
|
|
|
|
grid-column: 1;
|
|
|
|
|
margin-top: 20px;
|
2025-04-09 16:28:02 +04:00
|
|
|
width: 100%;
|
|
|
|
|
order: 3;
|
2025-04-08 09:41:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.suggestion-list {
|
2025-04-08 06:37:14 +04:00
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
|
gap: 15px;
|
|
|
|
|
}
|
2025-04-08 10:49:46 +04:00
|
|
|
|
|
|
|
|
.video-player-container {
|
|
|
|
|
max-width: 100%;
|
2025-04-09 16:28:02 +04:00
|
|
|
width: 100%;
|
|
|
|
|
order: 1;
|
2025-04-08 10:49:46 +04:00
|
|
|
}
|
2025-04-08 09:41:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
.video-player-container {
|
2025-04-08 10:49:46 +04:00
|
|
|
margin-bottom: 15px;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
.video-player {
|
|
|
|
|
border-radius: 0;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
.video-player iframe {
|
|
|
|
|
border-radius: 0;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
2025-04-08 09:41:02 +04:00
|
|
|
|
2025-04-08 06:51:33 +04:00
|
|
|
.video-info {
|
2025-04-08 06:37:14 +04:00
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
}
|
2025-04-08 10:49:46 +04:00
|
|
|
|
|
|
|
|
.video-metadata {
|
|
|
|
|
width: 100%;
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-08 06:37:14 +04:00
|
|
|
.video-actions {
|
|
|
|
|
width: 100%;
|
|
|
|
|
justify-content: space-between;
|
2025-04-08 10:49:46 +04:00
|
|
|
flex-wrap: wrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.action-button {
|
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
min-width: 70px;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
2025-04-08 09:41:02 +04:00
|
|
|
|
|
|
|
|
.suggestion-list {
|
|
|
|
|
grid-template-columns: 1fr;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 576px) {
|
2025-04-08 09:41:02 +04:00
|
|
|
.video-page {
|
2025-04-10 08:10:06 +04:00
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
padding: 0;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
.video-player-container {
|
2025-04-10 08:10:06 +04:00
|
|
|
margin-bottom: 1rem;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
.video-content,
|
|
|
|
|
.video-suggestions {
|
2025-04-10 08:10:06 +04:00
|
|
|
padding: 1rem;
|
2025-04-08 09:41:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-title {
|
2025-04-08 10:49:46 +04:00
|
|
|
font-size: 1.25rem;
|
2025-04-08 09:41:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-actions {
|
2025-04-10 08:10:06 +04:00
|
|
|
justify-content: flex-start;
|
2025-04-08 09:41:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.action-button {
|
2025-04-10 08:10:06 +04:00
|
|
|
padding: 0.4rem 0.6rem;
|
|
|
|
|
min-width: auto;
|
|
|
|
|
gap: 0.3rem;
|
2025-04-08 10:49:46 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.video-views, .video-date {
|
2025-04-10 08:10:06 +04:00
|
|
|
font-size: 0.75rem;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comment {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.comment-avatar {
|
2025-04-10 08:10:06 +04:00
|
|
|
margin-bottom: 0.75rem;
|
2025-04-08 06:51:33 +04:00
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
.suggested-video {
|
2025-04-09 16:35:53 +04:00
|
|
|
flex-direction: column;
|
2025-04-08 06:37:14 +04:00
|
|
|
}
|
2025-04-08 09:41:02 +04:00
|
|
|
|
|
|
|
|
.suggested-video-thumbnail {
|
2025-04-09 16:35:53 +04:00
|
|
|
width: 100%;
|
2025-04-08 09:41:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.suggested-video-title {
|
2025-04-10 08:10:06 +04:00
|
|
|
font-size: 0.9375rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Licence responsive */
|
|
|
|
|
.licence-info {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.licence-logo {
|
|
|
|
|
height: 28px;
|
2025-04-08 09:41:02 +04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-08 10:53:36 +04:00
|
|
|
/* Media Queries pour le menu réduit */
|
|
|
|
|
@media (max-width: 1200px) and (min-width: 1001px) {
|
|
|
|
|
.main-content {
|
|
|
|
|
margin-left: 70px;
|
|
|
|
|
width: calc(100% - 70px);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-08 09:41:02 +04:00
|
|
|
/* Message d'erreur */
|
|
|
|
|
.error-message {
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 50px 20px;
|
|
|
|
|
max-width: 500px;
|
|
|
|
|
margin: 0 auto;
|
2025-04-08 10:53:36 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nav-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 12px 15px;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: var(--text-color);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nav-item:hover {
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.nav-item i, .nav-item img {
|
|
|
|
|
margin-right: 15px;
|
|
|
|
|
width: 24px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
2025-04-09 13:46:25 +04:00
|
|
|
/* Modal de téléchargement */
|
|
|
|
|
.modal {
|
|
|
|
|
display: none;
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
padding: 20px;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.modal.show {
|
|
|
|
|
display: flex;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.modal-content {
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
max-width: 500px;
|
|
|
|
|
width: 100%;
|
|
|
|
|
position: relative;
|
|
|
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
|
|
|
|
animation: modalShow 0.3s ease;
|
|
|
|
|
max-height: 90vh;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes modalShow {
|
|
|
|
|
from {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: translateY(-20px);
|
|
|
|
|
}
|
|
|
|
|
to {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.modal-header {
|
|
|
|
|
padding: 15px 20px;
|
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.modal-header h3 {
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.modal-close {
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
color: #888;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 5px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
width: 30px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.modal-close:hover {
|
|
|
|
|
background-color: #f3f3f3;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.modal-body {
|
|
|
|
|
padding: 20px;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.modal-body p {
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
color: #666;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.download-options {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.download-option {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 12px 15px;
|
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: #333;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
transition: background-color 0.2s, transform 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.download-option:hover {
|
|
|
|
|
background-color: #e0e0e0;
|
|
|
|
|
transform: translateY(-2px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.download-resolution {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.download-resolution i {
|
|
|
|
|
color: var(--primary-red);
|
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.download-info {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 10px;
|
|
|
|
|
color: #666;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.download-info i {
|
|
|
|
|
color: #444;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.modal-footer {
|
|
|
|
|
padding: 15px 20px;
|
|
|
|
|
border-top: 1px solid #eee;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.download-info-text {
|
|
|
|
|
margin: 0;
|
|
|
|
|
color: #888;
|
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.no-download-options {
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 20px;
|
|
|
|
|
color: #666;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Adaptations responsives */
|
|
|
|
|
@media (max-width: 576px) {
|
|
|
|
|
.modal-content {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.download-option {
|
|
|
|
|
padding: 10px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-04-09 14:29:01 +04:00
|
|
|
|
|
|
|
|
/* Modal de partage */
|
|
|
|
|
.share-link-container {
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.share-link-box {
|
|
|
|
|
display: flex;
|
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.share-link-box input {
|
|
|
|
|
flex: 1;
|
|
|
|
|
padding: 10px 12px;
|
|
|
|
|
border: none;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #333;
|
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.share-link-box input:focus {
|
|
|
|
|
outline: none;
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.copy-btn {
|
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
|
border: none;
|
|
|
|
|
border-left: 1px solid #ddd;
|
|
|
|
|
color: #555;
|
|
|
|
|
padding: 0 15px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.copy-btn:hover {
|
|
|
|
|
background-color: #e5e5e5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.copy-btn.copied {
|
|
|
|
|
background-color: #4CAF50;
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.share-platforms-title {
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.share-platforms {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
|
gap: 10px;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.share-platform-btn {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: #333;
|
|
|
|
|
padding: 15px 10px;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
|
transition: transform 0.2s, background-color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.share-platform-btn:hover {
|
|
|
|
|
background-color: #e0e0e0;
|
|
|
|
|
transform: translateY(-2px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.share-platform-btn i {
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
color: var(--primary-red);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.share-platform-btn span {
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.share-embed {
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
padding-top: 20px;
|
|
|
|
|
border-top: 1px solid #eee;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 576px) {
|
|
|
|
|
.share-platforms {
|
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
|
}
|
|
|
|
|
}
|