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

648 lines
13 KiB
CSS
Raw Normal View History

2016-07-26 22:19:56 -07:00
.backgroundContainer {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
contain: layout style;
}
/* Links */
2016-02-08 11:24:01 -07:00
.ui-body-b a {
color: #52B54B /*{b-link-color}*/;
2016-06-27 21:47:30 -07:00
font-weight: 500;
2016-02-08 11:24:01 -07:00
}
.ui-body-b a:visited {
color: #52B54B /*{b-link-visited}*/;
2016-02-08 11:24:01 -07:00
}
.ui-body-b a:hover {
color: #2E7D32 /*{b-link-hover}*/;
2016-02-08 11:24:01 -07:00
}
.ui-body-b a:active {
color: #2E7D32 /*{b-link-active}*/;
2016-02-08 11:24:01 -07:00
}
2014-11-24 17:13:12 -07:00
/* Remove IE mobile 300ms tap delay */
html {
-ms-touch-action: manipulation;
touch-action: manipulation;
2015-06-20 17:49:42 -07:00
/* Prevent white flickering */
2015-09-04 09:20:54 -07:00
background-color: #242424;
2015-06-26 20:27:38 -07:00
/* Normalize for different browsers */
margin: 0;
padding: 0;
2015-09-04 09:20:54 -07:00
height: 100%;
font-family: 'San Francisco', 'Helvetica Neue', Roboto, 'Open Sans', 'Segoe UI', sans-serif;
2016-03-12 13:16:42 -07:00
font-size: 14px;
}
2013-03-11 20:12:55 -07:00
body {
2016-04-25 19:17:11 -07:00
overflow-y: scroll !important;
2015-07-01 08:47:41 -07:00
/* This is needed to prevent a horizontal scrollbar while neon-animated-pages are animating. */
overflow-x: hidden;
2015-06-23 15:13:06 -07:00
/*Can't use this with safari or it causes some content to disappear*/
/*-webkit-overflow-scrolling: touch;*/
2015-06-20 17:49:42 -07:00
/* Remove the white default from jqm */
background-color: transparent !important;
2015-06-26 20:27:38 -07:00
/* Normalize for different browsers */
margin: 0;
padding: 0;
2015-09-04 09:20:54 -07:00
height: 100%;
2016-05-31 08:29:00 -07:00
-webkit-font-smoothing: antialiased;
2013-03-11 20:12:55 -07:00
}
2016-04-26 11:28:04 -07:00
body.autoScrollY {
overflow-y: auto !important;
}
2016-06-04 17:17:35 -07:00
.mainAnimatedPage {
/* Have to override because it breaks scrolling when dependant on window scroll */
contain: style !important;
}
2015-06-22 08:43:19 -07:00
/* Without this, no content will be displayed in mobile safari */
.pageContainer {
overflow-x: visible !important;
2015-06-26 20:27:38 -07:00
/* jqm often wants to assign a background color to this */
background-color: transparent !important;
2015-06-22 08:43:19 -07:00
}
2015-07-01 08:47:41 -07:00
/* Undo this from jqm which may cause the page to have it's own scrollbar */
.ui-mobile .ui-page-active {
overflow-x: visible;
}
2014-06-28 12:35:30 -07:00
.bodyWithPopupOpen {
overflow-y: hidden !important;
}
2013-05-11 23:05:51 -07:00
.textlink {
text-decoration: none;
}
2016-05-31 08:29:00 -07:00
h1, h2, h3 {
margin-top: 1em;
2013-03-11 20:12:55 -07:00
}
2016-05-31 08:29:00 -07:00
h1, h1 a {
font-weight: 300 !important;
font-size: 24px;
}
2013-03-11 20:12:55 -07:00
h2 {
2016-03-22 10:46:57 -07:00
font-weight: 400;
2014-05-12 11:04:25 -07:00
}
2016-07-16 11:02:39 -07:00
h3 {
2016-08-05 12:34:10 -07:00
font-weight: 400;
2016-07-16 11:02:39 -07:00
}
2015-09-24 10:08:10 -07:00
a, a:active, a:hover {
2013-06-02 07:33:51 -07:00
text-decoration: none;
2013-11-28 11:27:29 -07:00
}
2013-12-01 13:17:40 -07:00
.libraryPage h1 a {
2014-08-01 19:34:45 -07:00
color: #fff !important;
2013-06-02 07:33:51 -07:00
}
2013-11-27 12:04:19 -07:00
h1 a:hover {
text-decoration: underline;
}
2013-06-02 07:33:51 -07:00
2016-02-13 00:19:49 -07:00
.ui-body-b a.accent {
color: #52B54B !important;
}
2016-06-01 14:15:16 -07:00
input:not(.paper-input):not([type='checkbox']):not([type='radio']):not([type='file']):not([type='range']):not([is='emby-input']) {
2015-09-03 09:39:24 -07:00
-webkit-appearance: none;
-webkit-font-smoothing: antialiased;
-webkit-rtl-ordering: logical;
-webkit-user-select: text;
box-sizing: border-box;
font-family: inherit;
font-size: inherit;
height: 28.5938px;
letter-spacing: normal;
line-height: 18.2px;
list-style-image: none;
list-style-position: outside;
list-style-type: none;
min-height: 28.6px;
padding-bottom: 5.2px;
padding-left: 5.2px;
padding-right: 5.2px;
padding-top: 5.2px;
text-align: left;
text-indent: 0px;
text-rendering: auto;
text-shadow: none;
text-transform: none;
white-space: nowrap;
word-spacing: 0px;
writing-mode: lr-tb;
-webkit-writing-mode: horizontal-tb;
background: white;
width: 100%;
border: 1px solid #ccc;
color: #000;
margin: 0 0 3px 0;
border-radius: 4px;
2015-09-05 21:53:37 -07:00
display: block;
2015-09-03 09:39:24 -07:00
}
2015-09-03 10:01:51 -07:00
select {
width: 100%;
margin: 0 0 .5em 0;
background: none;
border: 1px solid rgb(221, 221, 221);
2015-10-25 13:10:59 -07:00
border-width: 0 0 1px 0;
2015-09-03 10:01:51 -07:00
/* Prefixed box-sizing rules necessary for older browsers */
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
/* Remove select styling */
/* Font size must the 16px or larger to prevent iOS page zoom on focus */
font-size: inherit;
/* General select styles: change as needed */
font-family: inherit;
font-weight: bold;
color: inherit;
2015-10-25 13:10:59 -07:00
padding: .6em .8em .3em 0;
cursor: pointer;
2015-09-03 10:01:51 -07:00
}
2015-09-05 21:53:37 -07:00
select:not([data-inline='true']) {
display: block;
}
2016-05-28 11:03:38 -07:00
.ui-body-b select, .ui-body-b [is="emby-input"] {
2015-10-25 13:10:59 -07:00
background: none;
border-color: #454545;
2015-09-19 19:06:56 -07:00
}
.ui-body-b select option {
2015-10-25 13:10:59 -07:00
background: #333;
2015-09-19 19:06:56 -07:00
color: #fff;
}
2016-02-14 15:40:47 -07:00
div[data-role='page'] {
outline: none;
}
2015-05-04 07:35:38 -07:00
/**
* Note: I have omitted any vendor-prefixes for clarity.
* Adding them is left as an exercise for the reader.
*/
.headroom {
transition: transform 180ms linear;
2015-05-04 07:35:38 -07:00
}
.headroom--pinned {
transform: none;
2015-05-04 07:35:38 -07:00
}
2015-05-07 15:27:01 -07:00
.headroom--unpinned:not(.headroomDisabled) {
2015-05-04 07:35:38 -07:00
transform: translateY(-100%);
}
2016-07-05 11:11:34 -07:00
.libraryViewNav.headroom--unpinned:not(.headroomDisabled) {
2015-07-06 19:25:23 -07:00
transform: translateY(-210%);
2015-07-01 22:08:05 -07:00
}
2015-09-07 08:54:57 -07:00
.checkboxContainer {
white-space: nowrap;
}
2016-06-11 08:56:15 -07:00
.checkboxContainer input:not([is=emby-checkbox]) {
2015-09-07 08:54:57 -07:00
width: 20px;
height: 20px;
vertical-align: middle;
display: inline-block;
margin: 0;
padding: 0;
}
2016-06-11 08:56:15 -07:00
.checkboxContainer label:not(.mdl-checkbox) {
2015-09-07 08:54:57 -07:00
vertical-align: middle;
display: inline-block;
padding: .7em .5em;
}
2015-06-17 18:41:22 -07:00
textarea {
width: 100%;
}
2015-06-17 23:23:44 -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;
}
2013-03-11 20:12:55 -07:00
2013-03-26 15:53:06 -07:00
.hide {
2015-06-17 18:41:22 -07:00
display: none !important;
}
2013-03-11 20:12:55 -07:00
/*
Header
*/
.header {
2015-01-17 22:45:10 -07:00
padding: 20px 0 0 20px;
2013-03-11 20:12:55 -07:00
}
.imgLogoIcon {
2015-06-13 16:56:59 -07:00
height: 40px;
2015-01-11 13:31:09 -07:00
vertical-align: middle;
2013-03-11 20:12:55 -07:00
}
2015-01-11 13:31:09 -07:00
.imgLogoIcon + span {
margin-left: 10px;
}
2013-03-11 20:12:55 -07:00
.ui-popup-container {
z-index: 99999;
}
2015-09-27 08:00:57 -07:00
@media all and (max-height: 800px) {
.header {
display: none !important;
}
}
2013-03-11 20:12:55 -07:00
.pageTitle {
margin-top: 0;
2016-03-12 13:16:42 -07:00
font-family: inherit;
2013-03-11 20:12:55 -07:00
}
.fieldDescription {
2016-02-23 13:06:45 -07:00
padding-left: 2px;
2013-11-30 23:25:19 -07:00
font-weight: normal;
2013-12-22 10:16:24 -07:00
white-space: normal !important;
2013-03-11 20:12:55 -07:00
}
.warningFieldDescription {
padding: 5px;
border: 1px solid #f4c63f;
2015-07-19 20:43:13 -07:00
background: #fff3a5;
border-radius: 5px;
}
2014-09-22 17:04:50 -07:00
.fieldDescription + .fieldDescription {
margin-top: 5px;
}
2016-08-03 21:39:19 -07:00
.background-theme-a .backgroundContainer, .dialog.background-theme-a {
2016-03-27 20:37:33 -07:00
background-color: #f5f5f5;
2015-01-18 12:53:34 -07:00
}
2016-03-23 12:03:17 -07:00
.dialog:not(.background-theme-a):not(.background-theme-b) {
2016-03-22 10:46:57 -07:00
background-color: #fff;
}
2014-07-26 10:30:15 -07:00
.sidebarLinks {
2015-01-18 12:53:34 -07:00
margin-top: 1.5em;
padding-bottom: 50px;
2014-07-26 10:30:15 -07:00
}
2013-03-11 20:12:55 -07:00
2015-01-18 21:29:57 -07:00
.sidebarLink {
display: block;
2015-06-21 14:31:21 -07:00
padding: .8em 20px .8em 0;
2015-01-18 21:29:57 -07:00
text-decoration: none;
2015-06-21 14:31:21 -07:00
color: #111 !important;
2015-01-18 21:29:57 -07:00
font-weight: 500 !important;
vertical-align: middle;
}
2013-03-11 20:12:55 -07:00
2015-01-18 21:29:57 -07:00
.sidebarLink:hover {
background: #f2f2f2;
}
2014-08-01 19:34:45 -07:00
2015-01-18 21:29:57 -07:00
.sidebarLink.selectedSidebarLink {
2015-06-21 14:31:21 -07:00
background: #f2f2f2 !important;
2015-01-18 21:29:57 -07:00
}
2013-03-11 20:12:55 -07:00
2015-01-18 21:29:57 -07:00
.sidebarLinkIcon {
2015-01-18 12:53:34 -07:00
text-align: center;
2015-04-27 10:55:57 -07:00
vertical-align: middle;
2016-06-18 22:26:52 -07:00
margin-right: 1.2em;
2015-01-18 12:53:34 -07:00
}
2015-05-29 16:51:33 -07:00
.sidebarLinkIcon + span {
vertical-align: middle;
}
2015-01-18 12:53:34 -07:00
.sidebarHeader {
padding-left: 20px;
2015-05-29 16:51:33 -07:00
margin: 15px 0 10px;
2015-06-21 14:31:21 -07:00
color: #666;
font-weight: 500;
2015-01-18 12:53:34 -07:00
}
2016-02-24 23:09:10 -07:00
.ui-content {
border-width: 0;
overflow: visible;
overflow-x: hidden;
padding: 1em;
}
.page > .ui-content, .pageWithAbsoluteTabs .pageTabContent, .absolutePageTabContent .itemsContainer {
2014-08-27 21:32:45 -07:00
/* Need this so that the audio player doesn't cover content, but also for unveil lazy loading. */
padding-bottom: 160px;
2013-03-11 20:12:55 -07:00
}
2015-01-18 12:53:34 -07:00
@media all and (min-width: 800px) {
2013-12-26 22:08:37 -07:00
/*
Forms
*/
form, .readOnlyContent {
2016-03-27 20:37:33 -07:00
max-width: 700px;
2013-03-11 20:12:55 -07:00
}
2013-12-26 22:08:37 -07:00
.header {
padding-bottom: 15px;
}
2013-03-11 20:12:55 -07:00
}
2013-12-26 22:08:37 -07:00
@media all and (min-width: 900px) {
2013-12-26 19:41:32 -07:00
2014-01-01 20:53:27 -07:00
.page:not(.standalonePage) .header {
2013-12-26 19:41:32 -07:00
padding-top: 0;
}
}
2013-03-11 20:12:55 -07:00
/*
* 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% );
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*/
2015-01-03 12:38:22 -07:00
.btnUserItemRating {
vertical-align: middle;
2016-06-06 14:12:44 -07:00
color: #aaa !important;
2015-01-03 12:38:22 -07:00
display: inline-block !important;
}
.btnUserItemRatingOn {
color: #cc3333 !important;
2015-01-11 13:31:09 -07:00
}
2015-01-03 12:38:22 -07:00
2013-04-04 21:15:00 -07:00
.imgUserItemRating {
height: 16px;
width: 16px;
2013-12-21 11:37:34 -07:00
margin-right: .75em;
2013-03-29 07:12:14 -07:00
cursor: pointer;
vertical-align: top;
2013-03-29 07:12:14 -07:00
}
2014-08-01 19:34:45 -07:00
.imgUserItemRating:last-child {
margin-right: 0;
}
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
2015-01-17 22:45:10 -07:00
.dashboardFooter {
2015-01-18 22:41:56 -07:00
margin-top: 50px;
2015-01-17 22:45:10 -07:00
text-align: center;
}
.dashboardFooter a {
text-decoration: none;
font-weight: normal;
margin: 0 .7em;
}
2015-01-19 22:19:13 -07:00
.dashboardFooter .appLinks a {
margin: .25em;
}
.dashboardFooter .appLinks img {
height: 16px;
}
2015-01-23 21:50:45 -07:00
2016-06-07 22:24:25 -07:00
.supporterPromotionContainer {
margin: 0 0 2em;
2015-01-23 21:50:45 -07:00
}
2016-07-01 08:04:08 -07:00
@media all and (min-width: 1280px) {
.supporterPromotionContainer {
position: fixed;
top: 120px;
right: 0;
}
}
.fullWidthContent .supporterPromotionContainer {
2016-07-24 14:28:47 -07:00
position: static !important;
2016-07-01 08:04:08 -07:00
}
2015-01-24 15:33:26 -07:00
@media all and (min-width: 800px) {
2015-01-23 21:50:45 -07:00
2016-06-07 22:24:25 -07:00
.supporterPromotionContainer {
display: flex;
flex-direction: row-reverse;
2015-01-23 21:50:45 -07:00
}
2015-07-29 10:16:00 -07:00
2016-06-07 22:24:25 -07:00
.supporterPromotion {
text-align: center;
padding: 0 2em;
2015-07-29 10:16:00 -07:00
}
2016-06-07 22:24:25 -07:00
.supporterPromotion button {
padding-left: 2em;
padding-right: 2em;
}
2015-01-23 21:50:45 -07:00
}
2015-02-28 06:42:47 -07:00
2015-12-14 08:43:03 -07:00
.nativeApp *:not(input):not(select):not(textarea) {
2015-05-07 07:04:10 -07:00
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-touch-callout: none;
-moz-touch-callout: none;
-ms-touch-callout: none;
touch-callout: none;
-webkit-user-drag: none;
-moz-user-drag: none;
-ms-user-drag: none;
user-drag: none;
}
2015-09-24 10:08:10 -07:00
.syncActivityForTarget {
margin: 0 0 3em 0;
}
@media all and (min-width: 800px) {
.syncActivityForTarget {
max-width: 600px;
margin: 0 3em 3em 0;
display: inline-block;
vertical-align: top;
min-width: 400px;
}
}
2015-10-12 12:09:56 -07:00
2015-12-14 08:43:03 -07:00
.imageDropZone {
border: 2px dashed #bbb;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
padding: 25px;
text-align: center;
color: #bbb;
}
2016-02-21 13:39:14 -07:00
.actionSheetMenuItem:hover {
background-color: #e8e8e8;
}
2016-03-01 20:27:33 -07:00
2016-05-09 20:36:43 -07:00
.ui-body-b .emby-collapsible-button {
2016-07-02 11:46:05 -07:00
border: 0;
2016-05-17 13:04:20 -07:00
background-color: #333;
2016-05-09 20:36:43 -07:00
text-transform: none;
}
.ui-body-b .emby-collapsible-title {
2016-05-15 12:25:54 -07:00
margin: 0;
2016-05-09 20:36:43 -07:00
color: #fff;
padding: 0 0 0 .5em;
font-weight: 500;
}
2016-07-02 11:46:05 -07:00
.ui-body-b .emby-collapsible-content, .ui-body-b .collapseContent {
border-width: 0;
2016-05-09 20:36:43 -07:00
padding: 1em 1.25em;
2016-07-02 11:46:05 -07:00
background-color: #222;
2016-07-24 14:28:47 -07:00
}
.ui-body-a select {
background: none;
border-color: #757575;
}
.ui-body-a select option {
color: #000;
}
.ui-body-a .emby-collapsible-button {
border: 0;
background-color: #e8e8e8;
text-transform: none;
}
.ui-body-a .emby-collapsible-title {
2016-08-13 12:53:20 -07:00
margin: .15em 0;
2016-08-12 23:33:31 -07:00
color: #333;
2016-07-24 14:28:47 -07:00
padding: 0 0 0 .5em;
font-weight: 500;
}
.ui-body-a .emby-collapsible-content, .ui-body-a .collapseContent {
border-width: 0;
padding: 1em 1.25em;
background-color: #fff;
}
2016-08-02 21:30:22 -07:00
.ui-body-a .inputLabelUnfocused, .ui-body-a .textareaLabel {
2016-07-24 14:28:47 -07:00
color: #555;
}
2016-08-03 21:39:19 -07:00
.ui-body-a .inputLabelFocused, .ui-body-a .textareaLabelFocused, .ui-body-a .selectLabelFocused {
color: green;
}
2016-07-24 14:28:47 -07:00
2016-08-02 18:32:16 -07:00
.ui-body-a .selectLabelUnfocused, .ui-body-a .paperListLabel, .ui-body-a .fieldDescription {
2016-07-24 14:28:47 -07:00
color: #555;
}
2016-07-31 22:09:09 -07:00
.ui-body-a .visualCardBox .cardScalable, .ui-body-a .visualCardBox .cardFooter {
background-color: #fff;
}
.ui-body-a .cardFooter .cardText + .cardText {
opacity: .8;
2016-08-03 21:39:19 -07:00
}
2016-08-05 12:34:10 -07:00
.ui-body-a .listItem .secondary {
color: #737373;
}