jellyfin-web/dashboard-ui/css/site.css

933 lines
17 KiB
CSS
Raw Normal View History

2013-03-11 20:12:55 -07:00
@font-face {
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
src: local("Open Sans Bold"), local("OpenSans-Bold"), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/k3k702ZOKiLJc3WVjuplzJ1r3JsPcQLi8jytr04NNhU.woff) format('woff');
}
@font-face {
font-family: "Open Sans";
font-style: normal;
font-weight: 300;
src: local("Open Sans Light"), local("OpenSans-Light"), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/DXI1ORHCpsQm3Vp6mXoaTZ1r3JsPcQLi8jytr04NNhU.woff) format('woff');
}
@font-face {
font-family: "Open Sans";
font-style: normal;
font-weight: 800;
src: local("Open Sans Extrabold"), local("OpenSans-Extrabold"), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/EInbV5DfGHOiMmvb1Xr-hp1r3JsPcQLi8jytr04NNhU.woff) format('woff');
}
@font-face {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
src: local("Open Sans"), local("OpenSans"), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/K88pR3goAWT7BTt32Z01mz8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
2013-04-26 13:53:54 -07:00
* {
text-shadow: none!important;
}
2013-03-11 20:12:55 -07:00
body {
overflow-y: scroll!important;
font-size: 14px;
2013-03-11 20:12:55 -07:00
}
2013-05-11 23:05:51 -07:00
.textlink {
text-decoration: none;
}
.textlink:hover {
text-decoration: underline;
}
2013-03-11 20:12:55 -07:00
h1 {
font-family: 'Segoe UI Light', 'Open Sans', Arial, Helvetica, sans-serif;
font-weight: 200;
2013-04-09 09:42:55 -07:00
font-size: 22pt;
2013-03-11 20:12:55 -07:00
}
.toolsSidebar h1 {
font-size: 42pt;
}
.ui-loader h1 {
font-weight: bold;
font-family: Arial;
}
h2 {
font-family: 'Segoe UI Semiight', 'Open Sans', Arial, Helvetica, sans-serif;
font-weight: 400;
2013-04-09 09:42:55 -07:00
font-size: 20pt;
}
@media all and (min-width: 750px) {
h1 {
font-size: 28pt;
}
h2 {
font-size: 22pt;
}
2013-03-11 20:12:55 -07:00
}
pre, textarea.pre {
display: block;
padding: 8.5px;
font-size: 12.025px;
line-height: 18px;
word-break: break-all;
word-wrap: break-word;
white-space: pre;
white-space: pre-wrap;
background-color: #f5f5f5;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
color: #000;
}
.type-interior h2 {
color: #1B58B8;
}
2013-03-26 15:53:06 -07:00
.hide {
display: none;
}
2013-03-11 20:12:55 -07:00
/*
Page / Base styles
*/
.page {
background: #f2f2f2;
background-attachment: fixed;
}
/*
Header
*/
.header {
padding: 10px 0 10px 10px;
}
.imgLogoIcon {
height: 45px;
}
.imgLogoText {
height: 45px;
display: none;
margin-left: 5px;
}
.ui-popup-container {
z-index: 99999;
}
.headerButtons {
float: right;
position: absolute;
top: 10px;
right: 10px;
}
.header .imageLink {
display: inline-block;
}
.imageLink + .imageLink {
margin-left: 30px;
}
.header .imageLink img {
height: 32px;
vertical-align: middle;
}
.imageLink.supporterIcon {
2013-03-27 15:13:46 -07:00
display: none;
2013-03-11 20:12:55 -07:00
}
.btnCurrentUser {
text-decoration: none;
}
.currentUsername {
margin-right: 7px;
font-size: 20px;
color: #000;
position: relative;
top: 4px;
}
h1 .imageLink {
margin-left: 15px;
}
h1 .imageLink img {
height: 32px;
2013-03-11 20:12:55 -07:00
}
.imageLink:hover {
opacity: .5;
}
.pageTitle {
margin-top: 0;
}
.imageButton {
background: transparent;
border: 0;
padding: 0;
cursor: pointer;
}
.imageButton:hover {
opacity: .5;
}
.imageButton[disabled], .imageButton[disabled]:hover {
opacity: .3!important;
cursor: default;
}
/*
Forms
*/
form, .readOnlyContent {
max-width: 600px;
}
.fieldDescription {
font-size: 11px;
padding-left: 5px;
}
.ulForm {
margin-bottom: 20px!important;
}
.ulForm li:not(.ui-li-divider) {
background: none;
border-top: none;
border-bottom: none;
}
.popup .ulForm {
margin-bottom: 0!important;
}
.popup .ui-content {
padding: 20px;
}
.content-secondary {
z-index: 99996;
background: #262626;
border: 0;
margin-top: 40px;
}
.content-secondary h1 {
margin: 0;
padding: 20px 0 20px 30px;
color: #fff;
}
.sidebarLinks a {
display: block;
padding: 12px 15px 12px 30px;
text-decoration: none;
color: #fff!important;
text-shadow: none!important;
font-weight: normal!important;
font-size: 17px;
}
.sidebarLinks a:hover {
background: #f2f2f2;
color: #000!important;
}
.sidebarLinks a.selectedSidebarLink {
background: #2572EB!important;
color: #fff!important;
}
/* Tabs (e.g. advanced metadata page) */
.localnav {
margin-bottom: 40px!important;
}
.localnav + form {
margin-top: -10px;
}
.page > .ui-content {
padding-bottom: 100px;
}
@media all and (min-width: 650px) {
.imgLogoIcon {
height: 50px;
}
.imageLink.supporterIcon {
2013-03-27 15:13:46 -07:00
display: inline-block;
2013-03-11 20:12:55 -07:00
}
.header {
2013-04-18 21:27:16 -07:00
padding-left: 15px;
2013-03-11 20:12:55 -07:00
padding-top: 15px;
padding-bottom: 15px;
}
.headerButtons {
top: 20px;
right: 30px;
}
2013-04-07 06:34:46 -07:00
.type-interior > .ui-content, .type-interior > .ui-panel-content-wrap > .ui-content {
2013-03-11 20:12:55 -07:00
padding-right: 0;
padding-left: 0;
padding-top: 0;
overflow: hidden;
}
.content-secondary {
text-align: left;
width: 45%;
position: fixed;
top: 0;
left: 0;
bottom: 0;
margin: 0;
}
.content-primary {
width: 45%;
float: right;
padding: 0 6% 3em 0;
margin: 0;
}
.content-primary ul:first-child {
margin-top: 0;
}
}
@media all and (min-width: 750px) {
2013-04-26 07:36:27 -07:00
.imgLogoText {
height: 50px;
display: inline;
}
2013-03-11 20:12:55 -07:00
.content-secondary {
width: 34%;
}
.content-primary {
width: 56%;
}
}
@media all and (min-width: 1200px) {
.content-secondary {
width: 30%;
}
.content-primary {
width: 60%;
}
}
@media all and (min-width: 1440px) {
.content-secondary {
width: 25%;
}
.content-primary {
width: 65%;
}
}
@media all and (min-width: 1920px) {
.content-secondary {
width: 20%;
}
.content-primary {
width: 70%;
}
}
/*
Media Library Page
*/
.mediaFolderButtons {
margin-top: 10px;
}
.mediaFolderLocations {
margin: 1em .25em!important;
}
.mediaLocationsHeader {
padding-top: .75em!important;
padding-bottom: .75em!important;
}
.mediaLocationsHeader .ui-btn {
position: absolute;
right: 3px;
margin-top: 0!important;
margin-bottom: 0!important;
top: 6px;
}
#ulDirectoryPickerList a {
padding-top: .4em;
padding-bottom: .4em;
2013-05-19 16:59:30 -07:00
font-size: 14px;
}
.lblDirectoryPickerPath {
white-space: nowrap;
}
.directoryPickerHeadline {
border: 1px solid #f7c942;
color: #222;
text-shadow: 0 1px 0 #fff;
background: #fff9df;
background-image: -webkit-gradient(linear,left top,left bottom,from(#fffadf),to(#fff3a5));
background-image: -webkit-linear-gradient(#fffadf,#fff3a5);
background-image: -moz-linear-gradient(#fffadf,#fff3a5);
background-image: -ms-linear-gradient(#fffadf,#fff3a5);
background-image: -o-linear-gradient(#fffadf,#fff3a5);
background-image: linear-gradient(#fffadf,#fff3a5);
padding: 1em;
border-radius: 5px;
2013-03-11 20:12:55 -07:00
}
/*
List Vew Items
*/
.posterViewItem {
display: inline-block;
margin: 5px;
text-align: center;
padding: 0;
position: relative;
padding-bottom: 28px;
}
.posterViewItemWithDualText {
padding-bottom: 56px;
}
.posterViewItemWithNoText {
padding-bottom: 0!important;
}
.posterViewItem a {
color: white!important;
font-weight: normal!important;
text-decoration: none;
}
.posterViewItem img {
max-width: 155px;
2013-04-08 14:54:51 -07:00
max-height: 110px;
2013-03-11 20:12:55 -07:00
vertical-align: bottom;
}
.premiumBanner img {
position: absolute;
text-align: right;
top: 0;
right: 0;
2013-04-25 16:28:01 -07:00
width: 60px;
height: 60px;
2013-03-11 20:12:55 -07:00
}
.posterViewItemText {
text-overflow: ellipsis;
overflow: hidden;
text-wrap: none;
white-space: nowrap;
margin: 0;
2013-04-03 15:45:04 -07:00
padding: 4px 5px 0;
2013-03-11 20:12:55 -07:00
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 24px;
background: #181818;
text-shadow: none;
}
2013-04-03 15:45:04 -07:00
.posterViewItemWithDualText .posterViewItemText {
text-align: left;
color: #fff;
padding-top: 5px;
height: 23px;
}
2013-03-11 20:12:55 -07:00
.posterViewItemPrimaryText {
bottom: 28px;
}
2013-04-22 20:56:11 -07:00
.posterViewItem:hover, .userItem:hover, .tileItem:hover {
2013-03-11 20:12:55 -07:00
-moz-box-shadow: 0 0 20px 3px #2572EB;
-webkit-box-shadow: 0 0 20px 3px #2572EB;
box-shadow: 0 0 20px 3px #2572EB;
}
@media all and (min-width: 750px) {
.posterViewItem img {
max-width: 190px;
2013-04-25 16:28:01 -07:00
max-height: 130px;
2013-03-11 20:12:55 -07:00
}
}
@media all and (min-width: 1200px) {
.posterViewItem {
2013-04-11 05:23:02 -07:00
font-size: 15px;
}
2013-04-03 15:45:04 -07:00
.posterViewItem img {
max-width: 270px;
2013-04-25 16:28:01 -07:00
max-height: 160px;
2013-04-03 15:45:04 -07:00
}
2013-03-11 20:12:55 -07:00
}
@media all and (min-width: 1920px) {
2013-04-03 15:45:04 -07:00
.posterViewItemText {
height: 25px!important;
}
2013-03-11 20:12:55 -07:00
.posterViewItem {
2013-04-11 05:23:02 -07:00
font-size: 17px;
2013-04-03 15:45:04 -07:00
padding-bottom: 29px;
2013-03-11 20:12:55 -07:00
}
.posterViewItemWithDualText {
2013-04-03 15:45:04 -07:00
padding-bottom: 60px;
2013-03-11 20:12:55 -07:00
}
.posterViewItemPrimaryText {
2013-04-03 15:45:04 -07:00
bottom: 30px;
2013-03-11 20:12:55 -07:00
}
.posterViewItem img {
2013-04-03 15:45:04 -07:00
max-width: 310px;
2013-04-25 16:28:01 -07:00
max-height: 210px;
2013-03-11 20:12:55 -07:00
}
}
/* Startup wizard */
.wizardPage {
background: #e2e2e2;
}
.wizardContent {
max-width: 800px;
padding: .5em 2em 1em;
margin: 0 auto;
background: #f2f2f2;
}
.wizardNavigation {
text-align: right;
}
.wizardContent form {
max-width: 100%;
}
.wizardContent p {
margin: 2em 0;
}
.wizardContent h2 img {
height: 35px;
vertical-align: middle;
margin-right: .5em;
position: relative;
top: -3px;
}
/* Dashboard home */
.tblConnections td {
padding: .5em 0 .5em 1.25em;
}
.tblConnections td:first-child {
padding-left: 0;
}
.tblConnections img {
2013-05-09 15:43:11 -07:00
height: 60px;
2013-03-11 20:12:55 -07:00
}
.clientNowPlayingImage {
2013-05-09 15:43:11 -07:00
border: 1px solid #aaa;
padding: 1px;
2013-03-11 20:12:55 -07:00
}
/* Footer */
#footer {
2013-03-27 20:26:20 -07:00
background: #4C4C4C;
2013-03-11 20:12:55 -07:00
position: fixed;
bottom: -2px;
left: -2px;
right: -2px;
z-index: 99997;
}
.footerNotification {
text-shadow: none;
padding: .5em 1em;
margin: 0;
font-weight: normal;
border-top: 1px solid #999;
}
.notificationIcon {
height: 24px;
margin-right: 1em;
vertical-align: middle;
}
/*
* Gradient Shadow
*/
/* All HTML5 progress enabled browsers */
progress {
/* Turns off styling - not usually needed, but good to know. */
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
/* gets rid of default border in Firefox and Opera. */
border: solid #cccccc 2px;
border-radius: 4px;
margin: 0;
}
/* Polyfill */
progress[role]:after {
background-image: none; /* removes default background from polyfill */
}
/*
* Background of the progress bar background
*/
/* Firefox and Polyfill */
progress {
background: #cccccc !important; /* !important only needed in polyfill */
}
/* Chrome */
progress::-webkit-progress-bar {
background: #cccccc;
}
/*
* Background of the progress bar value
*/
/* Firefox */
progress::-moz-progress-bar {
border-radius: 5px;
2013-05-11 23:05:51 -07:00
background-image: -moz-linear-gradient( center bottom, rgb(43,194,83) 37%, rgb(84,240,84) 69% );
s;
2013-03-11 20:12:55 -07:00
}
/* Chrome */
progress::-webkit-progress-value {
border-radius: 5px;
background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, rgb(43,194,83)), color-stop(1, rgb(84,240,84)) );
background-image: -webkit-linear-gradient( center bottom, rgb(43,194,83) 37%, rgb(84,240,84) 69% );
}
/* Polyfill */
progress[aria-valuenow]:before {
border-radius: 5px;
background-image: -moz-linear-gradient( center bottom, rgb(43,194,83) 37%, rgb(84,240,84) 69% );
background-image: -ms-linear-gradient( center bottom, rgb(43,194,83) 37%, rgb(84,240,84) 69% );
background-image: -o-linear-gradient( center bottom, rgb(43,194,83) 37%, rgb(84,240,84) 69% );
}
/* Detail Page*/
2013-04-04 21:15:00 -07:00
.imgUserItemRating {
height: 17px;
width: 17px;
2013-04-03 15:45:04 -07:00
margin-right: 1em;
2013-03-29 07:12:14 -07:00
cursor: pointer;
vertical-align: top;
2013-03-29 07:12:14 -07:00
}
2013-04-03 15:45:04 -07:00
.imgUserItemRating:hover {
opacity: .5;
}
2013-03-29 07:12:14 -07:00
2013-03-11 20:12:55 -07:00
/* Now playing bar */
#nowPlayingBar {
2013-03-27 20:26:20 -07:00
padding: 8px 20px;
border-top: 2px solid #D7742B;
}
.nowPlayingBarImage {
border: 1px solid #a7a7a7;
padding: 1px;
vertical-align: bottom;
2013-03-11 20:12:55 -07:00
}
.mediaButton {
margin: 0 20px 0 0;
display: inline-block;
}
#mediaElement {
margin-right: 20px;
display: inline-block;
position: relative;
}
2013-04-03 15:45:04 -07:00
#mediaElement.video {
width: 270px;
}
2013-03-29 07:12:14 -07:00
#nowPlayingBar #mediaInfo, #nowPlayingBar #mediaInfo div {
margin-left: 10px;
display: inline-block;
}
2013-03-29 07:12:14 -07:00
#nowPlayingBar #mediaInfo {
display: none;
}
2013-03-27 21:27:15 -07:00
@media all and (min-width: 650px) {
2013-03-29 07:12:14 -07:00
#nowPlayingBar #mediaInfo {
display: inline-block;
}
2013-03-27 21:27:15 -07:00
}
2013-03-11 20:12:55 -07:00
.mediaButton img {
height: 28px;
}
.itemVideo, .itemVideo.video-js {
2013-03-11 20:12:55 -07:00
position: absolute;
z-index: 99998;
height: auto;
/*width: 180px;*/
2013-03-11 20:12:55 -07:00
bottom: -5px;
}
2013-03-27 15:13:46 -07:00
@media all and (min-width: 650px) {
.itemVideo {
width: 270px;
}
}
.userProfileIcon {
2013-04-09 09:42:55 -07:00
width: 36px;
}
/* VideoJS overrides */
2013-05-04 11:21:29 -07:00
#videoWindow.tubecss .vjs-menu-button {
2013-04-09 09:42:55 -07:00
width: 1.5em;
border: 0;
background: none;
}
2013-04-09 09:42:55 -07:00
#videoWindow.tubecss .vjs-play-control {
2013-04-09 09:42:55 -07:00
width: 2em;
}
.vjs-quality-button {
padding: 0 0.6em !important;
width: auto !important;
}
2013-03-27 15:13:46 -07:00
#videoWindow.tubecss .vjs-menu-button.vjs-quality-button div {
2013-05-03 22:02:51 -07:00
background: url("images/media/settings.png");
2013-04-09 09:42:55 -07:00
height: 16px;
width: 16px;
2013-05-04 11:21:29 -07:00
background-size: cover;
opacity: 0.5;
}
2013-03-11 20:12:55 -07:00
2013-05-04 11:21:29 -07:00
#videoWindow.tubecss .vjs-menu-button.vjs-quality-button div:hover {
opacity: 1.0;
}
#videoWindow.tubecss .vjs-chapter-button div {
2013-04-09 09:42:55 -07:00
background: url("images/media/chapter.png");
height: 16px;
width: 16px;
2013-05-04 11:21:29 -07:00
background-size: cover;
opacity: 0.5;
}
2013-05-04 11:21:29 -07:00
#videoWindow.tubecss .vjs-chapter-button div:hover {
opacity: 1.0;
}
.vjs-chapter-button.vjs-menu-button ul {
width: auto;
max-width: 25em;
overflow-y: scroll;
}
2013-03-27 15:13:46 -07:00
2013-05-04 11:21:29 -07:00
.vjs-chapter-button.vjs-menu-button ul li {
width: auto;
white-space: nowrap;
font-size: 1.1em;
padding-right: 10px;
}
2013-03-11 20:12:55 -07:00
#videoWindow.tubecss .vjs-menu-button.vjs-stop-button {
float: left;
background: none;
border: 0;
width: 2.5em;
2013-03-11 20:12:55 -07:00
}
2013-03-29 07:12:14 -07:00
2013-05-04 11:21:29 -07:00
#videoWindow.tubecss .vjs-menu-button.vjs-stop-button div {
background: url("images/media/stop.png");
height: 26px;
width: 26px;
margin: -.7em .5em auto 0;
opacity: 0.5;
}
#videoWindow.tubecss .vjs-menu-button.vjs-stop-button div:hover {
opacity: 1.0;
}
.vjs-subtitle-button div {
2013-04-09 09:42:55 -07:00
background-position: -25px -75px !important;
}
.vjs-subtitle-button.vjs-menu-button ul {
2013-04-09 09:42:55 -07:00
width: auto;
max-width: 25em;
overflow-y: scroll;
}
2013-05-04 11:21:29 -07:00
.vjs-subtitle-button.vjs-menu-button ul li {
width: auto;
white-space: nowrap;
font-size: 1.1em;
padding-right: 10px;
}
#videoWindow.tubecss .vjs-menu-button.vjs-language-button div {
2013-04-09 09:42:55 -07:00
background: url("images/media/language.png") !important;
height: 16px;
width: 16px;
2013-05-11 23:05:51 -07:00
background-size: cover!important;
2013-05-04 11:21:29 -07:00
opacity: 0.5;
2013-05-11 23:05:51 -07:00
margin: .2em;
2013-03-29 07:12:14 -07:00
}
2013-05-04 11:21:29 -07:00
#videoWindow.tubecss .vjs-menu-button.vjs-language-button div:hover {
opacity: 1.0;
}
2013-05-07 21:31:22 -07:00
#videoWindow.tubecss .vjs-menu-button.vjs-subtitle-button div {
2013-05-11 23:05:51 -07:00
margin: .2em 0px;
2013-05-07 21:31:22 -07:00
}
2013-05-11 23:05:51 -07:00
#videoWindow.tubecss .vjs-menu-button.vjs-subtitle-button div:hover {
opacity: 1.0;
}
2013-05-07 21:31:22 -07:00
.vjs-language-button.vjs-menu-button ul {
2013-04-09 09:42:55 -07:00
width: auto;
max-width: 25em;
overflow-y: scroll;
}
2013-05-04 11:21:29 -07:00
.vjs-language-button.vjs-menu-button ul li {
width: auto;
white-space: nowrap;
font-size: 1.1em;
padding-right: 10px;
}
#videoWindow.tubecss .vjs-mute-control {
2013-05-04 11:21:29 -07:00
position: absolute;
2013-05-11 23:05:51 -07:00
left: 5.5em;
}
2013-05-04 11:21:29 -07:00
#videoWindow.tubecss .vjs-volume-control {
2013-05-04 11:21:29 -07:00
position: absolute;
top: auto;
2013-05-07 21:41:08 -07:00
left: 9em;
}
2013-05-04 11:21:29 -07:00
#videoWindow.tubecss .vjs-time-controls, #videoWindow.tubecss .vjs-time-divider {
2013-05-04 11:21:29 -07:00
position: absolute;
bottom: 0;
top: auto;
height: auto;
width: 0px;
}
2013-05-04 11:21:29 -07:00
#videoWindow.tubecss .vjs-time-divider {
2013-05-04 11:21:29 -07:00
bottom: 0.4em;
left: 25.3em;
2013-05-11 23:05:51 -07:00
display: none;
2013-05-03 22:02:51 -07:00
}
2013-05-04 11:21:29 -07:00
2013-05-03 22:02:51 -07:00
#videoWindow.tubecss .vjs-menu-item {
2013-05-04 11:21:29 -07:00
font-size: 1em;
2013-05-03 22:02:51 -07:00
}
2013-05-04 11:21:29 -07:00
2013-05-03 22:02:51 -07:00
#videoWindow.tubecss .vjs-current-time {
2013-05-07 21:31:22 -07:00
left: .1em;
2013-05-11 23:05:51 -07:00
top: -2em;
z-index: 2;
2013-05-03 22:02:51 -07:00
}
2013-05-04 11:21:29 -07:00
2013-05-03 22:02:51 -07:00
#videoWindow.tubecss .vjs-duration {
2013-05-07 21:31:22 -07:00
right: .1em;
2013-05-11 23:05:51 -07:00
text-align: right;
z-index: 2;
2013-05-04 11:21:29 -07:00
}
2013-05-07 21:31:22 -07:00
#videoWindow.tubecss .vjs-progress-holder {
2013-05-11 23:05:51 -07:00
margin: 0 5em;
}