1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/dashboard-ui/css/site.css

384 lines
7.1 KiB
CSS
Raw Normal View History

2016-07-27 01:19:56 -04:00
.backgroundContainer {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
contain: layout style;
}
/* Links */
2016-02-08 13:24:01 -05:00
.ui-body-b a {
color: #52B54B /*{b-link-color}*/;
2016-06-28 00:47:30 -04:00
font-weight: 500;
2016-02-08 13:24:01 -05:00
}
.ui-body-b a:visited {
color: #52B54B /*{b-link-visited}*/;
2016-02-08 13:24:01 -05:00
}
.ui-body-b a:hover {
color: #2E7D32 /*{b-link-hover}*/;
2016-02-08 13:24:01 -05:00
}
.ui-body-b a:active {
color: #2E7D32 /*{b-link-active}*/;
2016-02-08 13:24:01 -05:00
}
2014-11-24 19:13:12 -05:00
/* Remove IE mobile 300ms tap delay */
html {
-ms-touch-action: manipulation;
touch-action: manipulation;
2015-06-20 20:49:42 -04:00
/* Prevent white flickering */
2015-09-04 12:20:54 -04:00
background-color: #242424;
2015-06-26 23:27:38 -04:00
/* Normalize for different browsers */
margin: 0;
padding: 0;
2015-09-04 12:20:54 -04:00
height: 100%;
2016-10-03 02:28:45 -04:00
font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", 'Open Sans', sans-serif;
font-size: 88%;
2016-03-12 15:16:42 -05:00
}
2016-09-25 14:39:13 -04:00
h1 {
2016-10-03 02:28:45 -04:00
font-family: -apple-system-headline, BlinkMacSystemFont, "Roboto", "Segoe UI", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", 'Open Sans', sans-serif;
2016-09-25 14:39:13 -04:00
}
h2 {
2016-10-03 02:28:45 -04:00
font-family: -apple-system-subheadline, BlinkMacSystemFont, "Roboto", "Segoe UI", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", 'Open Sans', sans-serif;
2016-09-25 14:39:13 -04:00
}
2013-03-11 22:12:55 -05:00
body {
2016-04-25 22:17:11 -04:00
overflow-y: scroll !important;
2015-07-01 11:47:41 -04:00
/* This is needed to prevent a horizontal scrollbar while neon-animated-pages are animating. */
overflow-x: hidden;
2015-06-23 18:13:06 -04:00
/*Can't use this with safari or it causes some content to disappear*/
/*-webkit-overflow-scrolling: touch;*/
2015-06-20 20:49:42 -04:00
/* Remove the white default from jqm */
background-color: transparent !important;
2015-06-26 23:27:38 -04:00
/* Normalize for different browsers */
margin: 0;
padding: 0;
2015-09-04 12:20:54 -04:00
height: 100%;
2016-05-31 11:29:00 -04:00
-webkit-font-smoothing: antialiased;
2013-03-11 22:12:55 -05:00
}
2016-04-26 14:28:04 -04:00
body.autoScrollY {
overflow-y: auto !important;
}
2016-06-04 20:17:35 -04:00
.mainAnimatedPage {
/* Have to override because it breaks scrolling when dependant on window scroll */
contain: style !important;
}
2015-06-22 11:43:19 -04:00
/* Without this, no content will be displayed in mobile safari */
.pageContainer {
overflow-x: visible !important;
2015-06-26 23:27:38 -04:00
/* jqm often wants to assign a background color to this */
background-color: transparent !important;
2015-06-22 11:43:19 -04:00
}
2014-06-28 15:35:30 -04:00
.bodyWithPopupOpen {
overflow-y: hidden !important;
}
2016-05-31 11:29:00 -04:00
h1, h2, h3 {
margin-top: 1em;
2013-03-11 22:12:55 -05:00
}
2016-11-23 01:54:09 -05:00
h1 {
font-weight: normal !important;
opacity: .7;
}
2013-03-11 22:12:55 -05:00
h2 {
2016-11-23 01:54:09 -05:00
font-weight: normal;
2014-05-12 14:04:25 -04:00
}
2016-07-16 14:02:39 -04:00
h3 {
2016-11-23 01:54:09 -05:00
font-weight: normal;
2016-07-16 14:02:39 -04:00
}
2015-09-24 13:08:10 -04:00
a, a:active, a:hover {
2013-06-02 10:33:51 -04:00
text-decoration: none;
2013-11-28 13:27:29 -05:00
}
2013-12-01 15:17:40 -05:00
.libraryPage h1 a {
2014-08-01 22:34:45 -04:00
color: #fff !important;
2013-06-02 10:33:51 -04:00
}
2013-11-27 14:04:19 -05:00
h1 a:hover {
text-decoration: underline;
}
2013-06-02 10:33:51 -04:00
2016-02-13 02:19:49 -05:00
.ui-body-b a.accent {
color: #52B54B !important;
}
2016-09-23 02:57:24 -04:00
.ui-body-a .paperList {
background-color: #fff;
}
2016-11-10 09:41:24 -05: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 16:10:59 -04:00
background: none;
2016-10-05 03:15:29 -04:00
border-color: #ccc !important;
2015-09-19 22:06:56 -04:00
}
2016-09-19 11:41:35 -04:00
.ui-body-a .secondaryText {
color: #ccc;
}
.ui-body-b .secondaryText {
color: #aaa;
}
2016-02-14 17:40:47 -05:00
div[data-role='page'] {
outline: none;
}
2015-05-04 10:35:38 -04: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 10:35:38 -04:00
}
.headroom--pinned {
transform: none;
2015-05-04 10:35:38 -04:00
}
2015-05-07 18:27:01 -04:00
.headroom--unpinned:not(.headroomDisabled) {
2015-05-04 10:35:38 -04:00
transform: translateY(-100%);
}
2016-07-05 14:11:34 -04:00
.libraryViewNav.headroom--unpinned:not(.headroomDisabled) {
2015-07-06 22:25:23 -04:00
transform: translateY(-210%);
2015-07-02 01:08:05 -04:00
}
2013-03-26 15:53:06 -07:00
.hide {
2015-06-17 21:41:22 -04:00
display: none !important;
}
2013-03-11 22:12:55 -05:00
/*
Header
*/
.header {
2015-01-18 00:45:10 -05:00
padding: 20px 0 0 20px;
2013-03-11 22:12:55 -05:00
}
.imgLogoIcon {
2015-06-13 19:56:59 -04:00
height: 40px;
2015-01-11 15:31:09 -05:00
vertical-align: middle;
2013-03-11 22:12:55 -05:00
}
2015-01-11 15:31:09 -05:00
.imgLogoIcon + span {
margin-left: 10px;
}
2013-03-11 22:12:55 -05:00
2015-09-27 11:00:57 -04:00
@media all and (max-height: 800px) {
.header {
display: none !important;
}
}
2013-03-11 22:12:55 -05:00
.pageTitle {
margin-top: 0;
2016-03-12 15:16:42 -05:00
font-family: inherit;
2013-03-11 22:12:55 -05:00
}
.fieldDescription {
2016-02-23 15:06:45 -05:00
padding-left: 2px;
2013-12-01 01:25:19 -05:00
font-weight: normal;
2013-12-22 12:16:24 -05:00
white-space: normal !important;
2013-03-11 22:12:55 -05:00
}
2014-09-22 20:04:50 -04:00
.fieldDescription + .fieldDescription {
margin-top: 5px;
}
2016-08-15 01:22:40 -04:00
.background-theme-a .backgroundContainer {
2016-10-04 01:15:39 -04:00
background-color: #f6f6f6;
2015-01-18 14:53:34 -05:00
}
2016-08-15 01:22:40 -04:00
.dialog.background-theme-a {
background-color: #f0f0f0;
}
2014-07-26 13:30:15 -04:00
.sidebarLinks {
2015-01-18 14:53:34 -05:00
margin-top: 1.5em;
padding-bottom: 50px;
2014-07-26 13:30:15 -04:00
}
2013-03-11 22:12:55 -05:00
2015-01-18 23:29:57 -05:00
.sidebarLink {
display: block;
2015-06-21 17:31:21 -04:00
padding: .8em 20px .8em 0;
2015-01-18 23:29:57 -05:00
text-decoration: none;
2015-06-21 17:31:21 -04:00
color: #111 !important;
2015-01-18 23:29:57 -05:00
font-weight: 500 !important;
vertical-align: middle;
2016-11-01 14:29:18 -04:00
font-size: 110%;
2015-01-18 23:29:57 -05:00
}
2013-03-11 22:12:55 -05:00
2015-01-18 23:29:57 -05:00
.sidebarLink:hover {
background: #f2f2f2;
}
2014-08-01 22:34:45 -04:00
2015-01-18 23:29:57 -05:00
.sidebarLink.selectedSidebarLink {
2015-06-21 17:31:21 -04:00
background: #f2f2f2 !important;
2015-01-18 23:29:57 -05:00
}
2013-03-11 22:12:55 -05:00
2015-01-18 23:29:57 -05:00
.sidebarLinkIcon {
2015-01-18 14:53:34 -05:00
text-align: center;
2015-04-27 13:55:57 -04:00
vertical-align: middle;
2016-06-19 01:26:52 -04:00
margin-right: 1.2em;
2015-01-18 14:53:34 -05:00
}
2015-05-29 19:51:33 -04:00
.sidebarLinkIcon + span {
vertical-align: middle;
}
2015-01-18 14:53:34 -05:00
.sidebarHeader {
padding-left: 20px;
2015-05-29 19:51:33 -04:00
margin: 15px 0 10px;
2015-06-21 17:31:21 -04:00
color: #666;
font-weight: 500;
2015-01-18 14:53:34 -05:00
}
2016-02-25 01:09:10 -05:00
.ui-content {
border-width: 0;
overflow: visible;
overflow-x: hidden;
padding: 1em;
}
.page > .ui-content, .pageWithAbsoluteTabs .pageTabContent, .absolutePageTabContent .itemsContainer {
2014-08-28 00:32:45 -04:00
/* Need this so that the audio player doesn't cover content, but also for unveil lazy loading. */
padding-bottom: 160px;
2013-03-11 22:12:55 -05:00
}
2015-01-18 14:53:34 -05:00
@media all and (min-width: 800px) {
2013-12-27 00:08:37 -05:00
/*
Forms
*/
form, .readOnlyContent {
2016-03-27 23:37:33 -04:00
max-width: 700px;
2013-03-11 22:12:55 -05:00
}
2013-12-27 00:08:37 -05:00
.header {
padding-bottom: 15px;
}
2013-03-11 22:12:55 -05:00
}
2013-12-27 00:08:37 -05:00
@media all and (min-width: 900px) {
2013-12-26 21:41:32 -05:00
2014-01-01 22:53:27 -05:00
.page:not(.standalonePage) .header {
2013-12-26 21:41:32 -05:00
padding-top: 0;
}
}
2016-06-08 01:24:25 -04:00
.supporterPromotionContainer {
margin: 0 0 2em;
2015-01-23 23:50:45 -05:00
}
2016-07-01 11:04:08 -04:00
@media all and (min-width: 1280px) {
.supporterPromotionContainer {
position: fixed;
top: 120px;
right: 0;
}
}
.fullWidthContent .supporterPromotionContainer {
2016-07-24 17:28:47 -04:00
position: static !important;
2016-07-01 11:04:08 -04:00
}
2015-01-24 17:33:26 -05:00
@media all and (min-width: 800px) {
2015-01-23 23:50:45 -05:00
2016-06-08 01:24:25 -04:00
.supporterPromotionContainer {
display: flex;
flex-direction: row-reverse;
2015-01-23 23:50:45 -05:00
}
2015-07-29 13:16:00 -04:00
2016-06-08 01:24:25 -04:00
.supporterPromotion {
text-align: center;
padding: 0 2em;
2015-07-29 13:16:00 -04:00
}
2016-06-08 01:24:25 -04:00
.supporterPromotion button {
padding-left: 2em;
padding-right: 2em;
}
2015-01-23 23:50:45 -05:00
}
2015-02-28 08:42:47 -05:00
2015-09-24 13:08:10 -04: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 15:09:56 -04:00
2015-12-14 10:43:03 -05: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 15:39:14 -05:00
2016-07-24 17:28:47 -04:00
.ui-body-a .emby-collapsible-button {
2016-09-07 17:08:40 -04:00
border-color: #ddd;
2016-07-24 17:28:47 -04:00
}
2016-09-07 17:08:40 -04:00
.ui-body-a .collapseContent {
2016-07-24 17:28:47 -04:00
background-color: #fff;
}
2016-08-03 00:30:22 -04:00
.ui-body-a .inputLabelUnfocused, .ui-body-a .textareaLabel {
2016-07-24 17:28:47 -04:00
color: #555;
}
2016-08-04 00:39:19 -04:00
.ui-body-a .inputLabelFocused, .ui-body-a .textareaLabelFocused, .ui-body-a .selectLabelFocused {
color: green;
}
2016-07-24 17:28:47 -04:00
2016-08-02 21:32:16 -04:00
.ui-body-a .selectLabelUnfocused, .ui-body-a .paperListLabel, .ui-body-a .fieldDescription {
2016-07-24 17:28:47 -04:00
color: #555;
}
2016-08-01 01:09:09 -04:00
2016-08-24 02:13:15 -04:00
.ui-body-a .visualCardBox-cardScalable, .ui-body-a .visualCardBox-cardFooter {
2016-08-01 01:09:09 -04:00
background-color: #fff;
}
2016-10-05 03:15:29 -04:00
.ui-body-a .visualCardBox {
border: 0;
margin: 6px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
2016-08-01 01:09:09 -04:00
.ui-body-a .cardFooter .cardText + .cardText {
opacity: .8;
2016-08-04 00:39:19 -04:00
}
2016-08-05 15:34:10 -04:00
.ui-body-a .listItem .secondary {
color: #737373;
}