add direct page
This commit is contained in:
+182
@@ -1422,4 +1422,186 @@ i.icon-x,
|
||||
padding: 0;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Styles pour la page de direct */
|
||||
.live-page {
|
||||
width: 100%;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.live-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
background-color: var(--card-bg);
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
box-shadow: var(--card-shadow);
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.live-player {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding-top: 56.25%; /* Ratio 16:9 */
|
||||
}
|
||||
|
||||
.live-player iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.live-info {
|
||||
padding: 20px;
|
||||
border-top: 1px solid var(--divider-color);
|
||||
}
|
||||
|
||||
.live-title {
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.live-channel-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.live-channel-info .channel-avatar,
|
||||
.live-channel-info .channel-avatar-placeholder {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.live-channel-info .channel-name {
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.live-description {
|
||||
font-size: 16px;
|
||||
line-height: 1.6;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.live-description p {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.live-badge.large {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
left: 20px;
|
||||
background-color: var(--primary-red);
|
||||
color: white;
|
||||
border-radius: 4px;
|
||||
padding: 8px 15px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
z-index: 10;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.live-badge.large i {
|
||||
font-size: 12px;
|
||||
animation: pulse 1.5s infinite;
|
||||
}
|
||||
|
||||
.no-live-message {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: var(--card-bg);
|
||||
color: var(--text-color);
|
||||
text-align: center;
|
||||
padding: 60px 20px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.no-live-message i {
|
||||
font-size: 60px;
|
||||
margin-bottom: 20px;
|
||||
opacity: 0.7;
|
||||
color: var(--primary-red);
|
||||
}
|
||||
|
||||
.no-live-message h2 {
|
||||
font-size: 28px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.no-live-message p {
|
||||
font-size: 18px;
|
||||
max-width: 600px;
|
||||
margin: 0 auto 30px;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
display: inline-block;
|
||||
padding: 12px 25px;
|
||||
background-color: var(--primary-red);
|
||||
color: white;
|
||||
border-radius: 4px;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
transition: all 0.3s;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background-color: #cc0000;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
/* Responsive pour la page de direct */
|
||||
@media (max-width: 768px) {
|
||||
.live-title {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.live-channel-info .channel-avatar,
|
||||
.live-channel-info .channel-avatar-placeholder {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
.live-channel-info .channel-name {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.live-badge.large {
|
||||
top: 15px;
|
||||
left: 15px;
|
||||
padding: 6px 12px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.no-live-message {
|
||||
padding: 40px 15px;
|
||||
}
|
||||
|
||||
.no-live-message i {
|
||||
font-size: 50px;
|
||||
}
|
||||
|
||||
.no-live-message h2 {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.no-live-message p {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user