jellyfish-web/src/components/guide/guide.css

421 lines
7.6 KiB
CSS
Raw Normal View History

2018-10-23 01:13:23 +03:00
.tvguide {
display: flex;
flex-direction: column;
align-items: initial;
2018-10-23 01:13:23 +03:00
}
.tvGuideHeader {
white-space: nowrap;
width: 100%;
flex-direction: column;
flex-shrink: 0;
display: flex;
contain: layout style paint;
2018-10-23 01:13:23 +03:00
}
.layout-desktop .tvGuideHeader {
margin-bottom: .5em;
2018-10-23 01:13:23 +03:00
}
.guideHeaderDateSelection {
font-size: 86%;
padding: .4em 0;
2018-10-23 01:13:23 +03:00
}
.guide-headerTimeslots {
display: flex;
2018-10-23 01:13:23 +03:00
}
.tvProgramSectionHeader {
margin: 0;
2018-10-23 01:13:23 +03:00
}
.tvProgram {
display: block;
text-decoration: none;
white-space: nowrap;
position: relative;
2018-10-23 01:13:23 +03:00
}
.guideProgramIndicator {
text-transform: uppercase;
border-radius: .25em;
margin-right: .5em;
font-size: 82%;
padding: .2em .25em;
display: inline-flex;
align-items: center;
justify-content: center;
text-align: center;
margin-left: 1em;
2018-10-23 01:13:23 +03:00
}
.guide-channelTimeslotHeader {
2020-01-19 14:11:12 +01:00
border: 0 !important;
border-right-color: transparent;
flex-shrink: 0;
justify-content: center;
2018-10-23 01:13:23 +03:00
}
.timeslotHeaders {
white-space: nowrap;
font-weight: 500;
font-size: 120%;
2018-10-23 01:13:23 +03:00
}
.programContainer {
white-space: nowrap;
position: relative;
2018-10-23 01:13:23 +03:00
align-items: flex-start;
contain: strict;
}
.channelPrograms {
2020-01-19 14:11:12 +01:00
height: 4.42em;
contain: strict;
display: flex;
flex-direction: column;
border-style: solid;
border-width: 1px 0 1px 0;
white-space: nowrap;
position: relative;
box-sizing: border-box;
}
.timeslotHeadersInner {
position: relative;
2018-10-23 01:13:23 +03:00
}
.guideSpacer {
width: .3em;
flex-shrink: 0;
2018-10-23 01:13:23 +03:00
}
.channelPrograms, .timeslotHeadersInner {
width: 1800vw;
2018-10-23 01:13:23 +03:00
}
@media all and (min-width: 37.5em) {
2018-10-23 01:13:23 +03:00
.channelPrograms, .timeslotHeadersInner {
width: 1400vw;
2018-10-23 01:13:23 +03:00
}
}
@media all and (min-width: 50em) {
2018-10-23 01:13:23 +03:00
.channelPrograms, .timeslotHeadersInner {
width: 1200vw;
2018-10-23 01:13:23 +03:00
}
}
@media all and (min-width: 80em) {
2018-10-23 01:13:23 +03:00
.channelPrograms, .timeslotHeadersInner {
width: 810vw;
2018-10-23 01:13:23 +03:00
}
}
.timeslotHeader {
display: inline-flex;
align-items: center;
text-indent: .25em;
width: 2.0833333333333333333333333333333%;
2018-10-23 01:13:23 +03:00
}
.guide-channelHeaderCell, .guide-channelTimeslotHeader {
padding: 0 !important;
2018-10-23 01:13:23 +03:00
cursor: pointer;
outline: none !important;
width: 100%;
2018-10-23 01:13:23 +03:00
vertical-align: middle;
font-family: inherit;
font-size: inherit;
overflow: hidden;
2018-10-23 01:13:23 +03:00
text-overflow: ellipsis;
margin: 0 1px 0 0;
display: flex;
align-items: center;
text-decoration: none;
/* Needed in firefox */
text-align: left;
2018-10-23 01:13:23 +03:00
contain: strict;
flex-shrink: 0;
border-radius: .12em;
color: inherit;
2018-10-23 01:13:23 +03:00
}
.guide-channelHeaderCell {
border-width: 1px 1px 1px 0;
border-style: solid;
width: 100%;
height: 4.42em;
contain: strict;
position: relative;
background: transparent;
2018-10-23 01:13:23 +03:00
}
/* Important - have to put the fixed width on channelsContainer, not the individual channelHeaderCell
This was causing channelsContainer to extend beyond the fixed width on ps4, tizen, lg and opera tv.
*/
.channelsContainer, .guide-channelTimeslotHeader {
width: 24vw;
2018-10-23 01:13:23 +03:00
}
@media all and (min-width:31.25em) {
.channelsContainer, .guide-channelTimeslotHeader {
width: 16vw;
2018-10-23 01:13:23 +03:00
}
}
@media all and (min-width:37.5em) {
.channelsContainer, .guide-channelTimeslotHeader {
width: 16vw;
2018-10-23 01:13:23 +03:00
}
}
@media all and (min-width:50em) {
.channelsContainer, .guide-channelTimeslotHeader {
width: 14vw;
2018-10-23 01:13:23 +03:00
}
}
@media all and (min-width:80em) {
.channelsContainer, .guide-channelTimeslotHeader {
width: 12vw;
2018-10-23 01:13:23 +03:00
}
}
.btnGuideViewSettings {
margin: 0;
flex-shrink: 0;
2018-10-23 01:13:23 +03:00
}
.btnGuideViewSettingsIcon {
font-size: 1.5em !important;
2018-10-23 01:13:23 +03:00
}
.selectDateIcon {
flex-shrink: 0;
2018-10-23 01:13:23 +03:00
}
@media all and (max-width: 50em) {
2018-10-23 01:13:23 +03:00
.newTvProgram, .liveTvProgram, .premiereTvProgram, .guideHdIcon {
display: none;
2018-10-23 01:13:23 +03:00
}
}
.channelPrograms + .channelPrograms, .guide-channelHeaderCell + .guide-channelHeaderCell {
margin-top: -1px;
}
.channelPrograms-tv, .guide-channelHeaderCell-tv {
height: 3em;
2018-10-23 01:13:23 +03:00
}
.guide-channelTimeslotHeader, .timeslotHeader {
background: transparent !important;
height: 2.8em;
2018-10-23 01:13:23 +03:00
}
.programGrid {
padding-bottom: 4px;
flex-grow: 1;
2018-10-23 01:13:23 +03:00
}
.programCell {
color: inherit;
background: transparent;
border-style: solid;
2018-10-23 01:13:23 +03:00
border-width: 0 0 0 1px;
padding: 0 !important;
cursor: pointer;
outline: none !important;
2018-10-23 01:13:23 +03:00
width: 100%;
vertical-align: middle;
font-family: inherit;
2018-10-23 01:13:23 +03:00
font-size: inherit;
position: absolute;
top: 0;
bottom: 0;
display: flex;
text-decoration: none;
overflow: hidden;
2018-10-23 01:13:23 +03:00
align-items: center;
/* Needed for Firefox */
text-align: left;
contain: strict;
2018-10-23 01:13:23 +03:00
flex-grow: 1;
margin: 0 !important;
2018-10-23 01:13:23 +03:00
}
.guideProgramName {
padding: 0 .7em 0;
2018-10-23 01:13:23 +03:00
overflow: hidden;
text-overflow: ellipsis;
align-items: center;
display: flex;
position: relative;
flex-grow: 1;
contain: layout style paint;
/*transition: transform 60ms ease-out;*/
2018-10-23 01:13:23 +03:00
}
.guide-programNameCaret {
display: flex;
align-items: center;
justify-content: center;
font-size: 200%;
2018-10-23 01:13:23 +03:00
}
.guideProgramNameText {
margin: 0;
font-weight: normal;
2018-10-23 01:13:23 +03:00
overflow: hidden;
text-overflow: ellipsis;
2018-10-23 01:13:23 +03:00
}
.guideProgramSecondaryInfo {
display: flex;
align-items: center;
margin-top: .1em;
2018-10-23 01:13:23 +03:00
}
.programIcon {
margin-left: .5em;
height: 1em;
width: 1em;
font-size: 1.6em;
color: #ddd;
flex-shrink: 0;
flex-grow: 0;
2018-10-23 01:13:23 +03:00
}
.guide-programTextIcon {
font-weight: bold;
2018-10-23 01:13:23 +03:00
font-size: .9em;
padding: .16em .3em;
border-radius: .25em;
margin-right: .35em;
width: auto;
height: auto;
2018-10-23 01:13:23 +03:00
}
.guide-programTextIcon-tv {
font-size: .74em;
2018-10-23 01:13:23 +03:00
}
.guideChannelNumber {
padding-left: 1em;
max-width: 30%;
text-overflow: ellipsis;
overflow: hidden;
font-weight: normal;
margin: 0;
2018-10-23 01:13:23 +03:00
}
.guideChannelName {
margin-left: auto;
margin-right: 1em;
text-overflow: ellipsis;
overflow: hidden;
max-width: 70%;
2018-10-23 01:13:23 +03:00
}
.guideChannelImage {
position: absolute;
right: 8%;
top: 15%;
bottom: 15%;
width: 40%;
background-size: contain;
background-repeat: no-repeat;
background-position: right center;
2018-10-23 01:13:23 +03:00
}
@media all and (min-width: 62.5em) {
2018-10-23 01:13:23 +03:00
.guideChannelName {
max-width: 40%;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-width: 62.5em) {
2018-10-23 01:13:23 +03:00
.guideChannelNumber {
display: none;
2018-10-23 01:13:23 +03:00
}
.guideChannelImage {
width: 70%;
2018-10-23 01:13:23 +03:00
}
}
.channelsContainer {
display: flex;
flex-shrink: 0;
flex-direction: column;
2018-10-23 01:13:23 +03:00
}
.channelsContainer, .programGrid {
contain: layout style paint;
2018-10-23 01:13:23 +03:00
}
.programCell, .guide-channelHeaderCell {
outline: none !important;
}
.timerIcon, .seriesTimerIcon {
color: #cc3333 !important;
2018-10-23 01:13:23 +03:00
}
.seriesTimerIcon-inactive {
color: inherit !important;
opacity: .7;
2018-10-23 01:13:23 +03:00
}
.guideOptions {
flex-shrink: 0;
display: flex;
align-items: center;
2018-10-23 01:13:23 +03:00
}
@media all and (max-width: 50em), all and (max-height: 37.5em) {
2018-10-23 01:13:23 +03:00
.tvGuideHeader {
padding-left: 0;
2018-10-23 01:13:23 +03:00
}
}
.guideRequiresUnlock {
margin: 1em auto;
text-align: center;
padding: 1em;
flex-shrink: 0;
2018-10-23 01:13:23 +03:00
}
.noRubberBanding {
/* This is needed to combat the rubber banding in iOS */
padding-bottom: 7em;
2018-10-23 01:13:23 +03:00
}
.guideDateTabsSlider {
text-align: center;
2018-10-23 01:13:23 +03:00
}
.guide-date-tab-button {
padding: .3em .7em !important;
margin: 0 .3em !important;
font-weight: normal;
2018-10-23 01:13:23 +03:00
}
.guide-date-tab-button.emby-tab-button-active {
border-color: transparent !important;
}
2018-10-23 01:13:23 +03:00
2019-09-06 22:33:15 -07:00
.guide-date-tab-button.show-focus:focus {
border-radius: .15em !important;
transform: none !important;
}