jellyfin-web/dashboard-ui/bower_components/emby-webcomponents/guide/guide.css

460 lines
8.0 KiB
CSS
Raw Normal View History

2016-04-26 11:28:04 -07:00
.tvguide {
display: flex;
flex-direction: column;
align-items: initial;
}
.tvGuideHeader {
white-space: nowrap;
width: 100%;
flex-shrink: 0;
2016-09-27 10:51:01 -07:00
display: flex;
2016-09-27 22:11:41 -07:00
padding-left: 3.4em;
2016-04-26 11:28:04 -07:00
}
.tvProgramSectionHeader {
margin: 0;
}
.tvProgram {
display: block;
text-decoration: none;
white-space: nowrap;
position: relative;
}
2016-09-07 00:08:20 -07:00
.guideProgramIndicator {
2016-04-26 11:28:04 -07:00
text-transform: uppercase;
2016-09-07 19:55:54 -07:00
border-radius: 2px;
2016-09-07 00:08:20 -07:00
margin-right: .5em;
2016-09-09 09:58:08 -07:00
font-size: 74%;
2016-09-07 10:17:26 -07:00
padding: .2em .25em;
2016-09-07 00:08:20 -07:00
display: inline-flex;
align-items: center;
justify-content: center;
text-align: center;
color: #fff;
}
2016-04-26 11:28:04 -07:00
.channelTimeslotHeader {
2016-09-27 10:51:01 -07:00
flex-shrink: 0;
2016-04-26 11:28:04 -07:00
}
.timeslotHeaders {
white-space: nowrap;
}
.programContainer {
white-space: nowrap;
position: relative;
2016-09-27 10:51:01 -07:00
display: flex;
align-items: flex-start;
2016-04-26 11:28:04 -07:00
}
.channelPrograms {
white-space: nowrap;
position: relative;
2016-09-27 10:51:01 -07:00
contain: strict;
2016-04-26 11:28:04 -07:00
}
2016-06-06 10:33:27 -07:00
.timeslotHeadersInner {
position: relative;
}
2016-06-06 11:05:22 -07:00
.currentTimeIndicatorBar {
2016-06-06 10:33:27 -07:00
position: absolute;
bottom: .05em;
left: 0;
width: 100%;
height: 2px;
display: flex;
2016-06-06 11:05:22 -07:00
margin-left: .65vh;
2016-06-06 10:33:27 -07:00
background-color: #52B54B;
height: 2px;
2016-06-06 11:05:22 -07:00
transform-origin: left;
transition: transform 500ms ease-out;
}
.currentTimeIndicatorArrowContainer {
position: absolute;
2016-06-06 22:42:26 -07:00
bottom: -1.3vh;
2016-06-06 10:33:27 -07:00
width: 100%;
2016-06-06 11:05:22 -07:00
color: #52B54B;
2016-06-06 10:33:27 -07:00
margin-left: .65vh;
2016-06-06 11:05:22 -07:00
transform-origin: left;
transition: transform 500ms ease-out;
}
.layout-tv .currentTimeIndicatorBar, .layout-tv .currentTimeIndicatorArrowContainer {
/* Need to account for the scrollbar not being there */
left: 4px;
2016-06-06 10:33:27 -07:00
}
2016-06-06 11:05:22 -07:00
.currentTimeIndicatorArrow {
2016-06-06 10:33:27 -07:00
width: 4vh;
height: 4vh;
2016-06-09 23:54:03 -07:00
font-size: 4vh;
2016-06-06 10:33:27 -07:00
color: #52B54B;
margin-left: -2vh;
}
2016-04-26 11:28:04 -07:00
.channelPrograms, .timeslotHeadersInner {
width: 1800vw;
}
@media all and (min-width: 600px) {
.channelPrograms, .timeslotHeadersInner {
width: 1400vw;
}
}
@media all and (min-width: 800px) {
.channelPrograms, .timeslotHeadersInner {
width: 1200vw;
}
}
@media all and (min-width: 1280px) {
.channelPrograms, .timeslotHeadersInner {
width: 660vw;
}
}
.timeslotHeader {
display: inline-flex;
align-items: center;
text-indent: .35em;
}
.channelHeaderCell, .channelTimeslotHeader {
overflow: hidden;
text-overflow: ellipsis;
border-right: 1px solid #121212;
width: 24vw;
background: rgba(40, 40, 40, .9);
display: flex;
align-items: center;
text-decoration: none;
2016-04-27 18:43:09 -07:00
/* Needed in firefox */
text-align: left;
2016-05-29 19:15:32 -07:00
contain: strict;
2016-04-26 11:28:04 -07:00
}
@media all and (min-width: 500px) {
.channelHeaderCell, .channelTimeslotHeader {
width: 16vw;
}
}
@media all and (min-width: 600px) {
.channelHeaderCell, .channelTimeslotHeader {
width: 16vw;
}
}
@media all and (min-width: 800px) {
.channelHeaderCell, .channelTimeslotHeader {
width: 14vw;
}
}
@media all and (min-width: 1280px) {
.channelHeaderCell, .channelTimeslotHeader {
width: 12vw;
}
}
.btnSelectDate {
padding-left: .5em;
2016-09-05 22:02:05 -07:00
text-transform: none;
font-weight: normal;
2016-04-26 11:28:04 -07:00
}
2016-09-07 00:08:20 -07:00
.btnSelectDateContent {
display: flex;
align-items: center;
justify-content: center;
}
.guideDateText {
font-size: 80%;
}
@media all and (min-width: 1600px) {
.guideDateText {
2016-09-07 10:17:26 -07:00
font-size: 92%;
2016-09-07 00:08:20 -07:00
}
}
.btnGuideViewSettings {
margin: 0;
flex-shrink: 0;
}
.btnGuideViewSettingsIcon {
font-size: 1.5em !important;
}
@media all and (max-width: 1280px) {
.btnGuideViewSettings {
display: none;
}
}
.selectDateIcon {
flex-shrink: 0;
}
2016-04-26 11:28:04 -07:00
.channelHeaderCell {
border-bottom: .65vh solid #121212 !important;
2016-06-03 12:32:10 -07:00
background-size: auto 70%;
2016-09-12 20:35:57 -07:00
background-position: 92% center;
2016-04-26 11:28:04 -07:00
background-repeat: no-repeat;
}
@media all and (max-width: 800px) {
2016-05-17 12:18:50 -07:00
.newTvProgram, .liveTvProgram, .premiereTvProgram, .guideHdIcon {
display: none;
}
2016-04-26 11:28:04 -07:00
}
2016-05-28 23:43:00 -07:00
@media all and (max-width: 1200px) {
2016-04-26 11:28:04 -07:00
2016-08-02 18:32:16 -07:00
.guideChannelNumberWithImage {
2016-04-26 11:28:04 -07:00
display: none;
}
}
.channelPrograms, .channelHeaderCell {
2016-08-24 20:07:31 -07:00
height: 4em;
2016-09-27 10:51:01 -07:00
contain: strict;
}
.channelPrograms {
display: flex;
flex-direction: column;
2016-08-24 20:07:31 -07:00
}
.channelPrograms-tv, .channelHeaderCell-tv {
height: 3.2em;
2016-04-26 11:28:04 -07:00
}
.channelTimeslotHeader {
border-right-color: transparent;
}
.channelTimeslotHeader, .timeslotHeader {
background: transparent;
}
.timeslotHeader, .channelTimeslotHeader {
2016-09-05 22:02:05 -07:00
height: 3em;
2016-04-26 11:28:04 -07:00
}
.pointerInput .channelHeaderCell:hover {
background-color: #444;
}
.programGrid {
padding-bottom: 4px;
}
.timeslotHeader {
width: 2.0833333333333333333333333333333%;
}
.programCell {
position: absolute;
top: 0;
/* Unfortunately the borders using vh get rounded while the bottom property doesn't. So this is a little hack to try and make them even*/
bottom: .59vh;
border-left: .65vh solid #121212 !important;
background-color: rgba(32, 32, 32, .95);
display: flex;
text-decoration: none;
overflow: hidden;
align-items: center;
2016-04-27 12:49:12 -07:00
/* Needed for Firefox */
text-align: left;
2016-05-29 19:15:32 -07:00
contain: strict;
2016-04-26 11:28:04 -07:00
}
2016-09-27 22:11:41 -07:00
.programAccent {
2016-04-26 11:28:04 -07:00
position: absolute;
bottom: 0;
2016-09-27 22:11:41 -07:00
left: 0;
right: 0;
height: 2px;
}
.sportsAccent {
background-color: #3F51B5;
}
.movieAccent {
background-color: #673AB7;
}
.childAccent {
background-color: #2196F3;
}
.newsAccent {
background-color: #4CAF50;
}
.specialsAccent {
background-color: #FF9800;
2016-04-26 11:28:04 -07:00
}
.guideProgramName {
padding: 0 .5em 0;
overflow: hidden;
text-overflow: ellipsis;
2016-09-07 19:55:54 -07:00
display: flex;
align-items: center;
2016-04-26 11:28:04 -07:00
}
2016-08-02 18:32:16 -07:00
.programIcon {
2016-04-26 11:28:04 -07:00
margin-left: auto;
2016-09-07 13:11:16 -07:00
margin-right: .25em;
2016-09-07 10:17:26 -07:00
height: auto;
width: auto;
font-size: 1.6em;
2016-04-26 11:28:04 -07:00
color: #ddd;
flex-shrink: 0;
}
2016-08-02 18:32:16 -07:00
.programIcon + .programIcon {
2016-04-26 11:28:04 -07:00
margin-left: .25em;
}
2016-04-27 18:43:09 -07:00
.guideChannelNumber {
padding-left: 1em;
max-width: 30%;
text-overflow: ellipsis;
2016-04-26 11:28:04 -07:00
overflow: hidden;
}
.guideChannelName {
margin-left: auto;
2016-04-27 18:43:09 -07:00
margin-right: 1em;
2016-04-26 11:28:04 -07:00
text-overflow: ellipsis;
overflow: hidden;
2016-06-09 23:54:03 -07:00
max-width: 70%;
2016-04-26 11:28:04 -07:00
}
2016-06-09 23:54:03 -07:00
@media all and (min-width: 1000px) {
2016-04-27 18:43:09 -07:00
.guideChannelName {
2016-06-09 23:54:03 -07:00
max-width: 40%;
}
}
@media all and (max-width: 1000px) {
.guideChannelNumber {
2016-04-27 18:43:09 -07:00
display: none;
}
}
2016-09-27 22:11:41 -07:00
.channelsContainer {
display: flex;
}
.btnCategories {
margin: 0 .3em !important;
padding: 0 !important;
flex-shrink: 0;
background: rgba(40, 40, 40, .9);
border-radius: 0 !important;
width: 2.8em;
font-weight: normal !important;
align-items: flex-start;
}
.btnCategoriesText {
transform: rotate(90deg);
text-transform: uppercase;
transform-origin: left;
margin-left: 1.2em;
letter-spacing: .25em;
/*position: fixed;
top: 20%;*/
white-space: nowrap;
margin-top: -10em;
}
2016-09-27 10:51:01 -07:00
.channelList {
display: flex;
flex-direction: column;
}
2016-04-26 11:28:04 -07:00
.channelList, .programGrid {
2016-09-27 10:51:01 -07:00
contain: layout style;
2016-04-26 11:28:04 -07:00
}
2016-06-03 12:32:10 -07:00
.programCell, .channelHeaderCell, .btnSelectDate {
2016-04-26 11:28:04 -07:00
outline: none !important;
}
2016-06-03 12:32:10 -07:00
.programCell:focus, .channelHeaderCell:focus, .btnSelectDate:focus {
background-color: #555;
2016-04-26 11:28:04 -07:00
}
.timerIcon, .seriesTimerIcon {
color: #cc3333 !important;
}
2016-09-05 13:07:36 -07:00
2016-09-21 23:57:31 -07:00
.seriesTimerIcon-inactive {
color: inherit !important;
opacity: .7;
}
2016-09-05 13:07:36 -07:00
.visibleGuideScroller::-webkit-scrollbar {
width: 10px;
height: 10px;
}
.visibleGuideScroller::-webkit-scrollbar-button:start:decrement,
.visibleGuideScroller::-webkit-scrollbar-button:end:increment {
display: none;
}
.visibleGuideScroller::-webkit-scrollbar-track-piece {
background-color: #3b3b3b;
}
.visibleGuideScroller::-webkit-scrollbar-thumb:vertical, .visibleGuideScroller::-webkit-scrollbar-thumb:horizontal {
-webkit-border-radius: 2px;
background: #888 no-repeat center;
}
2016-09-05 22:02:05 -07:00
.guideOptions {
color: #eee;
flex-shrink: 0;
display: flex;
align-items: center;
}
2016-09-27 22:11:41 -07:00
@media all and (max-width: 800px), all and (max-height: 600px) {
.tvGuideHeader {
padding-left: 0;
}
.btnCategories {
display: none;
}
}