Split CSS
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
.channel-number {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 34px;
|
||||
height: 26px;
|
||||
margin-right: 10px;
|
||||
border-radius: 999px;
|
||||
background: var(--panel-3);
|
||||
color: #dbeafe;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.timeline-channel .channel-number {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.timeline-channel-name {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.channel-logo {
|
||||
width: 34px;
|
||||
height: 24px;
|
||||
object-fit: contain;
|
||||
flex: 0 0 auto;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
border-radius: 6px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
@@ -79,20 +79,6 @@
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.channel-number {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 34px;
|
||||
height: 26px;
|
||||
margin-right: 10px;
|
||||
border-radius: 999px;
|
||||
background: var(--panel-3);
|
||||
color: #dbeafe;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.day-programme {
|
||||
display: grid;
|
||||
grid-template-columns: 92px 1fr;
|
||||
@@ -101,11 +87,6 @@
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.day-programme.is-current {
|
||||
background: rgba(34, 197, 94, 0.12);
|
||||
border-left: 5px solid var(--success);
|
||||
}
|
||||
|
||||
.day-programme.is-past {
|
||||
opacity: 0.55;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
.day-programme.is-current {
|
||||
background: rgba(34, 197, 94, 0.12);
|
||||
border-left: 5px solid var(--success);
|
||||
}
|
||||
|
||||
.timeline-programme.is-current {
|
||||
background: rgba(34, 197, 94, 0.22);
|
||||
border-color: var(--success);
|
||||
}
|
||||
|
||||
.timeline-now-line {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 2px;
|
||||
background: #ef4444;
|
||||
z-index: 100;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.timeline-now-line::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: -5px;
|
||||
top: -5px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: #ef4444;
|
||||
}
|
||||
|
||||
@@ -100,27 +100,6 @@
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.timeline-channel .channel-number {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.timeline-channel-name {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.channel-logo {
|
||||
width: 34px;
|
||||
height: 24px;
|
||||
object-fit: contain;
|
||||
flex: 0 0 auto;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
border-radius: 6px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.timeline-programmes {
|
||||
position: relative;
|
||||
min-height: 72px;
|
||||
@@ -189,36 +168,10 @@
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.timeline-programme.is-current {
|
||||
background: rgba(34, 197, 94, 0.22);
|
||||
border-color: var(--success);
|
||||
}
|
||||
|
||||
.timeline-programme.is-past {
|
||||
opacity: 0.55;
|
||||
}
|
||||
|
||||
.timeline-now-line {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 2px;
|
||||
background: #ef4444;
|
||||
z-index: 100;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.timeline-now-line::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: -5px;
|
||||
top: -5px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: #ef4444;
|
||||
}
|
||||
|
||||
.timeline-zoom {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
|
||||
Reference in New Issue
Block a user