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

396 lines
7.3 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%;
2016-10-02 23:28:45 -07:00
font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", 'Open Sans', sans-serif;
2016-03-12 13:16:42 -07:00
font-size: 14px;
}
2016-09-25 11:39:13 -07:00
h1 {
2016-10-02 23:28:45 -07:00
font-family: -apple-system-headline, BlinkMacSystemFont, "Roboto", "Segoe UI", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", 'Open Sans', sans-serif;
2016-09-25 11:39:13 -07:00
}
h2 {
2016-10-02 23:28:45 -07:00
font-family: -apple-system-subheadline, BlinkMacSystemFont, "Roboto", "Segoe UI", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", 'Open Sans', sans-serif;
2016-09-25 11:39:13 -07:00
}
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
}
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-11-22 23:54:09 -07:00
h1 {
font-weight: normal !important;
font-size: 24px;
opacity: .7;
}
2013-03-11 20:12:55 -07:00
h2 {
2016-11-22 23:54:09 -07:00
font-weight: normal;
2014-05-12 11:04:25 -07:00
}
2016-07-16 11:02:39 -07:00
h3 {
2016-11-22 23:54:09 -07:00
font-weight: normal;
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-09-22 23:57:24 -07:00
.ui-body-a .paperList {
background-color: #fff;
}
2016-11-10 07:41:24 -07:00
.ui-body-a [is="emby-select"] {
border-color: #ccc !important;
}
.ui-body-a [is="emby-input"], .ui-body-a [is="emby-textarea"] {
2015-10-25 13:10:59 -07:00
background: none;
2016-10-05 00:15:29 -07:00
border-color: #ccc !important;
2015-09-19 19:06:56 -07:00
}
2016-09-19 08:41:35 -07:00
.ui-body-a .secondaryText {
color: #ccc;
}
.ui-body-b .secondaryText {
color: #aaa;
}
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
}
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
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-14 22:22:40 -07:00
.background-theme-a .backgroundContainer {
2016-10-03 22:15:39 -07:00
background-color: #f6f6f6;
2015-01-18 12:53:34 -07:00
}
2016-08-14 22:22:40 -07:00
.dialog.background-theme-a {
background-color: #f0f0f0;
}
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;
2016-11-01 11:29:18 -07:00
font-size: 110%;
2015-01-18 21:29:57 -07:00
}
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;
}
}
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-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
2016-07-24 14:28:47 -07:00
.ui-body-a .emby-collapsible-button {
2016-09-07 14:08:40 -07:00
border-color: #ddd;
2016-07-24 14:28:47 -07:00
}
2016-09-07 14:08:40 -07:00
.ui-body-a .collapseContent {
2016-07-24 14:28:47 -07:00
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
2016-08-23 23:13:15 -07:00
.ui-body-a .visualCardBox-cardScalable, .ui-body-a .visualCardBox-cardFooter {
2016-07-31 22:09:09 -07:00
background-color: #fff;
}
2016-10-05 00:15:29 -07:00
.ui-body-a .visualCardBox {
border: 0;
margin: 6px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
2016-07-31 22:09:09 -07:00
.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;
}