rework live tv guide to speed up rendering
This commit is contained in:
parent
95fe14c3ba
commit
7a37b23d9e
2 changed files with 138 additions and 187 deletions
|
@ -158,7 +158,13 @@
|
|||
|
||||
.channelPrograms {
|
||||
white-space: nowrap;
|
||||
height: 56px;
|
||||
height: 55px;
|
||||
border-bottom: 1px solid #404040;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.channelPrograms, .timeslotHeadersInner {
|
||||
width: 8000px;
|
||||
}
|
||||
|
||||
.timeslotHeader {
|
||||
|
@ -170,14 +176,6 @@
|
|||
font-weight: 500;
|
||||
}
|
||||
|
||||
.timeslotCell {
|
||||
display: inline-block;
|
||||
border-bottom: 1px solid #404040;
|
||||
border-left: 1px solid #404040;
|
||||
border-collapse: collapse;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.channelHeaderCell, .channelTimeslotHeader {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
@ -192,8 +190,6 @@
|
|||
|
||||
.channelTimeslotHeader, .timeslotHeader {
|
||||
background: #38c;
|
||||
border-bottom: 1px solid #38c;
|
||||
border-left: 1px solid #38c;
|
||||
}
|
||||
|
||||
.timeslotHeader, .channelTimeslotHeader {
|
||||
|
@ -226,10 +222,30 @@
|
|||
margin-left: 190px;
|
||||
}
|
||||
|
||||
.timeslotCell, .timeslotHeader {
|
||||
width: 60px;
|
||||
.timeslotHeader {
|
||||
width: 2.0833333333333333333333333333333%;
|
||||
}
|
||||
|
||||
.programCell {
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
bottom: 1px;
|
||||
}
|
||||
|
||||
.programCellInner {
|
||||
border-left: 1px solid #404040;
|
||||
display: block;
|
||||
height: 100%;
|
||||
color: #fff !important;
|
||||
text-decoration: none;
|
||||
font-weight: 400 !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.programCellInner:hover {
|
||||
background-color: #38c;
|
||||
}
|
||||
|
||||
.timeslotCellInner {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
|
@ -242,15 +258,7 @@
|
|||
color: #fff !important;
|
||||
}
|
||||
|
||||
.timeslotCellInnerWithProgram {
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
.timeslotCellInnerWithProgram:hover {
|
||||
background-color: #38c;
|
||||
}
|
||||
|
||||
.channelHeaderCell, .timeslotCell {
|
||||
.channelHeaderCell {
|
||||
height: 55px;
|
||||
}
|
||||
|
||||
|
@ -306,6 +314,10 @@
|
|||
.currentDay {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.channelPrograms, .timeslotHeadersInner {
|
||||
width: 6000px;
|
||||
}
|
||||
}
|
||||
|
||||
.channelList, .programGrid {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue