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

614 lines
12 KiB
CSS
Raw Normal View History

2014-05-02 21:20:04 -07:00
.libraryPage {
2015-05-07 15:27:01 -07:00
padding-top: 50px !important;
2014-05-02 21:20:04 -07:00
}
2015-07-06 00:06:09 -07:00
.libraryPage:not(.noSecondaryNavPage) {
2015-07-06 19:25:23 -07:00
padding-top: 95px !important;
2014-05-02 21:20:04 -07:00
}
2015-07-06 00:06:09 -07:00
.pageWithAbsoluteTabs:not(.noSecondaryNavPage) {
padding-top: 98px !important;
}
2015-05-31 14:07:44 -07:00
.sidebarDivider {
2014-05-03 16:38:23 -07:00
height: 1px;
2016-02-08 21:46:25 -07:00
background: #eaeaea;
2014-05-03 16:38:23 -07:00
margin: .5em 0;
}
2014-05-02 21:20:04 -07:00
2015-05-10 14:56:13 -07:00
.headerUserImage {
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
border-radius: 1000px;
vertical-align: middle;
display: inline-block;
2014-05-10 22:11:53 -07:00
}
2015-07-14 09:39:34 -07:00
.headerUserButtonRound img {
border-radius: 1000px;
}
2015-07-19 20:43:13 -07:00
.viewMenuBar paper-icon-button {
2014-12-19 23:06:27 -07:00
vertical-align: middle;
}
2015-06-21 14:31:21 -07:00
.mainDrawerPanel {
position: static !important;
width: auto !important;
height: auto !important;
2015-06-22 08:43:19 -07:00
touch-action: auto !important;
2015-09-03 19:40:54 -07:00
overflow: visible;
2015-06-21 14:31:21 -07:00
}
.mainDrawerPanelPreInit #drawer {
display: none !important;
}
.mainDrawerPanel #drawer {
2015-06-23 15:13:06 -07:00
z-index: 1099 !important;
2015-06-21 14:31:21 -07:00
position: fixed !important;
bottom: 0;
height: auto !important;
2015-06-25 14:50:56 -07:00
/* Need to reset this because it causes the entire panel to be draggable in safari */
box-sizing: initial !important;
2016-03-27 20:37:33 -07:00
font-size: 108%;
2015-06-25 14:50:56 -07:00
}
2016-03-27 20:37:33 -07:00
.mainDrawerPanel[narrow] #main {
2015-06-21 14:31:21 -07:00
left: 0 !important;
2015-09-05 09:58:27 -07:00
position: static !important;
2015-09-04 09:20:54 -07:00
z-index: 1;
2015-06-21 14:31:21 -07:00
}
2015-06-22 08:43:19 -07:00
.mainDrawerPanel #scrim {
/* Give it at least something to make it visible */
2015-06-23 15:13:06 -07:00
z-index: 1098;
2015-06-22 08:43:19 -07:00
/* It defaults to absolute, not visible after scrolling */
2016-03-27 20:37:33 -07:00
position: fixed !important;
2015-06-22 08:43:19 -07:00
}
2015-06-21 14:31:21 -07:00
.mainDrawer {
2016-03-27 20:37:33 -07:00
overflow-y: auto !important;
-webkit-overflow-scrolling: touch;
overflow-x: hidden;
scroll-behavior: smooth;
2015-06-21 14:31:21 -07:00
}
2016-03-27 20:37:33 -07:00
.drawerContent {
padding-bottom: 100px;
2015-06-21 14:31:21 -07:00
}
2014-05-10 22:11:53 -07:00
.headerButton {
2015-12-14 08:43:03 -07:00
margin: 0 5px;
2014-05-10 22:11:53 -07:00
background-color: transparent;
vertical-align: middle;
text-align: center;
2014-07-26 10:30:15 -07:00
border: 0 !important;
2014-05-10 22:11:53 -07:00
outline: none;
2014-05-21 20:35:18 -07:00
cursor: pointer;
2015-12-14 08:43:03 -07:00
display: inline-block;
2014-05-10 22:11:53 -07:00
}
2014-07-27 15:01:29 -07:00
.menuArrow {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAbklEQyGDxkLaBtENI9kPMk0gaoW0Dyj0aWowFLYNYzWB6MWMAAAq1H3+Mhu2hQAAAAASUVORK5CYII=);
height: 24px;
width: 24px;
display: inline-block;
}
2014-05-10 22:11:53 -07:00
.headerButtonRight {
border-width: 0 !important;
2014-06-23 09:05:19 -07:00
display: inline-block;
2014-05-10 22:11:53 -07:00
}
.headerButtonRight:first-child {
border-width: 0 !important;
}
2015-06-21 14:31:21 -07:00
.hideMainDrawer .mainDrawerButton {
display: none;
}
2014-05-21 20:35:18 -07:00
.libraryMenuButtonText {
2014-05-10 22:11:53 -07:00
text-decoration: none;
2015-06-15 21:52:01 -07:00
font-weight: 400 !important;
2016-03-27 20:37:33 -07:00
display: inline-flex;
2014-05-21 20:35:18 -07:00
vertical-align: middle;
2014-05-28 07:21:07 -07:00
padding-left: 0 !important;
2014-05-29 12:34:20 -07:00
cursor: default;
2015-06-23 21:38:46 -07:00
position: relative;
top: 1px;
2015-09-27 14:02:39 -07:00
white-space: nowrap;
2015-10-01 09:28:24 -07:00
overflow: hidden;
text-overflow: ellipsis;
2016-03-27 20:37:33 -07:00
align-items: center;
2014-09-15 20:33:30 -07:00
}
.logoLibraryMenuButtonText {
2015-03-21 11:12:12 -07:00
font-family: Montserrat;
2015-03-21 13:04:00 -07:00
color: #333;
2015-01-11 13:31:09 -07:00
}
2015-09-16 19:33:45 -07:00
.ui-body-b .logoLibraryMenuButtonText, .ui-bar-b .logoLibraryMenuButtonText {
2015-01-11 13:31:09 -07:00
color: #fff;
2014-05-10 22:11:53 -07:00
}
2014-05-02 21:20:04 -07:00
.viewMenuBar {
font-weight: bold;
position: fixed;
right: 0;
left: 0;
2015-02-19 17:34:05 -07:00
z-index: 999;
2014-05-02 21:20:04 -07:00
top: 0;
2015-05-07 15:27:01 -07:00
border: 0;
2015-12-14 08:43:03 -07:00
height: 50px;
display: flex;
2016-04-12 22:28:45 -07:00
flex-direction: column;
2014-05-02 21:20:04 -07:00
}
2015-06-26 08:53:49 -07:00
.hiddenViewMenuBar .viewMenuBar {
display: none;
}
2014-05-10 22:11:53 -07:00
.libraryViewNav {
overflow: hidden;
position: fixed;
right: 0;
left: 0;
2014-10-25 11:32:58 -07:00
top: 50px;
2015-02-19 17:34:05 -07:00
z-index: 999;
2014-10-06 16:58:46 -07:00
text-align: center;
2015-05-07 15:27:01 -07:00
text-transform: uppercase;
2014-10-06 16:58:46 -07:00
white-space: nowrap;
padding: 0 0 0;
overflow-x: scroll;
-ms-overflow-style: none;
overflow: -moz-scrollbars-none;
-webkit-overflow-scrolling: touch;
2016-04-14 12:12:00 -07:00
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
2014-10-06 16:58:46 -07:00
}
2015-09-09 10:49:44 -07:00
.libraryViewNav::-webkit-scrollbar {
height: 0 !important;
display: none;
}
2015-07-01 22:08:05 -07:00
.libraryViewNavWithMinHeight {
min-height: 48px;
2015-05-07 15:27:01 -07:00
}
2015-07-01 22:08:05 -07:00
.viewMenuBar, .libraryViewNav {
2016-03-06 23:53:38 -07:00
background-color: #020202;
2016-03-27 20:37:33 -07:00
color: #fff;
2014-10-25 11:32:58 -07:00
}
2016-04-12 22:28:45 -07:00
.viewMenuBar .primaryIcons {
display: flex;
flex-grow: 1;
width: 100%;
align-items: center;
}
2016-03-27 20:37:33 -07:00
.dashboardDocument .viewMenuBar {
background-color: #43A047;
box-shadow: 0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);
2016-04-12 22:28:45 -07:00
height: auto;
}
.dashboardDocument .viewMenuBar .primaryIcons {
padding: .92em 0;
}
.dashboardDocument .withTallToolbar .primaryIcons {
padding-bottom: 0;
}
.dashboardDocument .viewMenuBar #selectionBar {
background: #fff !important;
2016-04-14 09:30:37 -07:00
height: 3px;
2016-04-12 22:28:45 -07:00
}
.viewMenuBarTabs {
width: 100%;
}
.viewMenuBarTabs paper-tabs {
background: none;
box-shadow: none;
}
.viewMenuBarTabs .paperTabLink {
align-items: center;
justify-content: center;
display: flex;
}
.mainDrawerPanel:not([narrow]) .viewMenuBarTabs {
width: auto;
padding-left: 272px;
}
.mainDrawerPanel .viewMenuBarTabs #tabsContent {
display: block !important;
width: 100%;
}
.mainDrawerPanel:not([narrow]) .viewMenuBarTabs paper-tab {
width: auto !important;
}
.viewMenuBarTabs #tabsContainer {
margin: auto;
-ms-flex: none;
-webkit-flex: none;
flex: none;
flex-shrink: 0;
flex-grow: 1;
touch-action: auto !important;
}
.viewMenuBarTabs paper-tabs {
overflow: visible !important;
}
.viewMenuBarTabs .paperTabLink {
padding-left: 1.5em;
padding-right: 1.5em;
}
.mainDrawerPanel:not([narrow]) .viewMenuBarTabs .tab-content {
display: block !important;
}
.viewMenuBar paper-icon-button.paper-tabs {
display: none !important;
2016-03-27 20:37:33 -07:00
}
.viewMenuBar.semiTransparent {
background-color: rgba(15, 15, 15, .3);
}
2015-08-18 10:54:29 -07:00
2015-07-01 22:08:05 -07:00
.paperLibraryViewNav {
background-color: transparent !important;
2014-10-25 11:32:58 -07:00
}
2015-07-09 21:44:21 -07:00
.libraryViewNav iron-icon {
2015-07-01 22:08:05 -07:00
display: none;
}
.libraryViewNav::-webkit-scrollbar {
height: 0 !important;
display: none;
}
2014-05-10 22:11:53 -07:00
2014-05-02 21:20:04 -07:00
.viewMenuLink {
text-decoration: none;
2014-10-25 11:32:58 -07:00
color: #eee !important;
2014-05-02 21:20:04 -07:00
padding: 7px .5em 6px;
display: inline-block;
vertical-align: middle;
}
2015-09-24 22:15:29 -07:00
.viewMenuLink:hover {
color: #fff;
2014-05-02 21:20:04 -07:00
}
2015-09-24 22:15:29 -07:00
.viewMenuLink:hover img {
opacity: .5;
}
.viewMenuLink img {
height: 24px;
vertical-align: top;
}
2014-05-02 21:20:04 -07:00
2014-05-03 16:38:23 -07:00
.viewMenuSecondary {
2016-04-12 22:28:45 -07:00
margin-left: auto;
2015-12-14 08:43:03 -07:00
display: flex;
align-items: center;
2014-05-03 16:38:23 -07:00
}
.selectedMediaFolder {
2015-06-21 14:31:21 -07:00
background-color: #f2f2f2 !important;
2014-05-03 16:38:23 -07:00
}
2014-05-02 21:20:04 -07:00
2014-05-10 10:28:03 -07:00
.ui-panel.ui-body-b {
2015-05-29 16:51:33 -07:00
background-color: #212121;
2014-05-10 10:28:03 -07:00
}
2015-07-01 22:08:05 -07:00
.libraryViewNav a {
2014-05-02 21:20:04 -07:00
display: inline-block;
2015-06-17 18:41:22 -07:00
padding: 14px 13px 11px;
2015-05-04 07:35:38 -07:00
color: rgba(255,255,255,.8) !important;
2014-05-02 21:20:04 -07:00
text-decoration: none;
margin: 0 0;
position: relative;
font-weight: normal;
2015-07-06 19:25:23 -07:00
border-bottom: 2px solid transparent;
2014-05-02 21:20:04 -07:00
}
2015-07-01 22:08:05 -07:00
.libraryViewNav .ui-btn-active {
2015-09-28 20:35:50 -07:00
border-bottom-color: #52B54B;
2015-07-01 22:08:05 -07:00
color: #fff !important;
2015-07-01 08:47:41 -07:00
}
2015-07-01 22:08:05 -07:00
.libraryViewNav .iron-selected a {
2015-07-01 08:47:41 -07:00
color: inherit !important;
text-decoration: none;
text-align: center;
}
2015-09-23 09:16:06 -07:00
.libraryViewNav #tabsContainer {
margin: auto;
-ms-flex: none;
-webkit-flex: none;
flex: none;
flex-shrink: 0;
flex-grow: 1;
2015-09-24 22:15:29 -07:00
touch-action: auto !important;
2015-09-23 09:16:06 -07:00
}
.libraryViewNav paper-tabs {
flex: none;
flex-shrink: 0;
flex-grow: 1;
overflow-x: visible !important;
}
.libraryViewNav paper-tab {
flex: none;
flex-shrink: 0;
flex-grow: 1;
}
2015-07-01 08:47:41 -07:00
.basicPaperLibraryTabs .libraryViewNav paper-tabs {
display: none;
}
2015-08-24 20:13:04 -07:00
.fullPaperLibraryTabs .legacyTabs {
display: none;
}
2015-12-14 08:43:03 -07:00
.minimumSizeTabs .libraryViewNav .tab-content {
display: block !important;
}
.minimumSizeTabs .libraryViewNav paper-tab {
height: auto !important;
flex-grow: 0 !important;
}
.minimumSizeTabs .libraryViewNav #tabsContainer {
flex-grow: 0 !important;
}
2015-07-28 14:48:52 -07:00
@media all and (max-width: 400px) {
.libraryMenuButtonText {
2014-05-10 22:11:53 -07:00
display: none;
2014-05-02 21:20:04 -07:00
}
}
2014-06-21 22:52:31 -07:00
2015-06-21 14:31:21 -07:00
@media all and (max-width: 800px) {
/* The sidebar isn't visible at this size, so there's no way to navigate within the editor */
.editorViewMenu {
display: none;
}
}
.drawerUserPanel {
color: #fff;
2016-01-27 12:39:20 -07:00
padding: 1em 1.2em;
display: flex;
align-items: center;
2015-06-21 14:31:21 -07:00
}
2015-01-26 15:47:16 -07:00
2015-06-21 14:31:21 -07:00
.drawerUserPanelUserImage {
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
border-radius: 1000px;
}
.drawerUserPanelUserName {
2016-01-27 12:39:20 -07:00
padding-left: 1em;
2015-06-21 14:31:21 -07:00
}
2015-09-21 18:05:33 -07:00
.dashboardDocument .lnkMySync {
2015-07-30 19:34:15 -07:00
display: none !important;
}
2015-09-21 18:05:33 -07:00
.dashboardDocument .dashboardEntryHeaderButton {
2015-07-29 19:08:35 -07:00
display: none !important;
}
2015-07-30 18:52:11 -07:00
.dashboardDocument .lnkManageServer {
2015-06-21 14:31:21 -07:00
display: none !important;
2014-09-04 20:48:53 -07:00
}
2015-07-30 18:52:11 -07:00
.dashboardDocument .headerVoiceButton {
2015-05-22 12:16:14 -07:00
display: none !important;
2015-06-21 14:31:21 -07:00
}
2016-03-27 20:37:33 -07:00
.dashboardDocument .btnCast {
display: none !important;
}
2015-09-24 22:15:29 -07:00
body:not(.dashboardDocument) .btnNotifications {
2015-09-21 18:05:33 -07:00
display: none !important;
}
2016-03-27 20:37:33 -07:00
.darkDrawerPanel #drawer {
2016-03-06 11:09:20 -07:00
background-color: #212121 !important;
2016-01-24 11:19:54 -07:00
box-shadow: none !important;
2015-06-21 14:31:21 -07:00
}
2016-03-27 20:37:33 -07:00
.darkDrawerPanel .sidebarLinkIcon {
color: #bbb !important;
margin-left: 1.6em;
}
.darkDrawerPanel .sidebarLinkText, .darkDrawerPanel .sidebarLink {
color: #fff !important;
font-weight: normal !important;
}
.darkDrawerPanel .sidebarHeader {
color: #bbb !important;
}
.darkDrawerPanel .sidebarDivider {
background: #282828 !important;
}
.darkDrawerPanel .sidebarLink:hover {
background: #4d4d4d;
}
.darkDrawerPanel .sidebarLink.selectedSidebarLink, .darkDrawerPanel .selectedMediaFolder {
background: #4d4d4d !important;
}
2016-03-29 10:28:14 -07:00
.darkDrawerPanel .headerAppsButton {
display: none;
}
2016-03-27 20:37:33 -07:00
.adminDrawerPanel #drawer {
background: #fff !important;
box-shadow: none !important;
2016-03-27 21:26:46 -07:00
}
.adminDrawerPanel:not([narrow]) #drawer {
2016-03-28 10:49:30 -07:00
z-index: 998 !important;
2016-03-27 21:26:46 -07:00
top: 65px !important;
2016-03-27 20:37:33 -07:00
}
2016-03-28 10:49:30 -07:00
.adminDrawerPanel:not([narrow]) .mainDrawerButton {
display: none !important;
}
2016-03-27 20:37:33 -07:00
.adminDrawerPanel .sidebarLink {
color: #333 !important;
font-weight: 400 !important;
padding: .7em 0 .7em 1.5em;
}
.adminDrawerPanel .sidebarHeader {
color: #666 !important;
font-weight: 500 !important;
}
.adminDrawerPanel .sidebarLinkIcon {
2016-04-12 22:28:45 -07:00
color: #666;
2016-03-27 20:37:33 -07:00
margin-right: 1em;
}
.adminDrawerPanel .sidebarLink:hover {
color: #00897B !important;
}
2015-06-21 14:31:21 -07:00
2016-03-27 20:37:33 -07:00
.adminDrawerPanel .sidebarLink.selectedSidebarLink {
background: #66BB6A !important;
color: #fff !important;
}
.adminDrawerPanel .sidebarLink.selectedSidebarLink .sidebarLinkIcon {
2015-06-21 14:31:21 -07:00
color: #fff !important;
}
2016-03-27 20:37:33 -07:00
.adminDrawerPanel #drawer .emby-collapsible-button {
padding-top: 0;
padding-bottom: 0;
padding-left: 1em;
}
2015-06-21 14:31:21 -07:00
2016-03-27 20:37:33 -07:00
.adminDrawerPanel #drawer .emby-collapsible-title {
font-size: inherit;
text-transform: none;
margin: .7em 0;
}
2015-06-21 14:31:21 -07:00
2016-04-05 21:22:57 -07:00
.adminDrawerPanel #drawer #expandButton {
color: #333;
}
2016-03-27 20:37:33 -07:00
.adminDrawerLogo {
2016-03-29 12:08:10 -07:00
padding: 1.5em 1em 1.2em;
2016-03-27 20:37:33 -07:00
border-bottom: 1px solid #e0e0e0;
margin-bottom: 1em;
display: block;
}
2015-06-21 14:31:21 -07:00
2016-03-27 21:26:46 -07:00
.adminDrawerPanel:not([narrow]) .adminDrawerLogo {
display: none;
}
2016-03-28 10:49:30 -07:00
.adminDrawerLogo img {
height: 30px;
}
2016-03-27 20:37:33 -07:00
2016-04-05 21:22:57 -07:00
.adminDrawerPanel #drawer #expandIcon {
color: #000;
}
.adminDrawerPanel #drawer emby-collapsible > .style-scope {
margin: .7em 0;
2016-03-27 20:37:33 -07:00
}
.adminDrawerPanel:not([narrow]) .libraryMenuButtonText {
font-size: 150%;
2016-03-28 10:49:30 -07:00
margin-left: 1em;
2016-03-27 20:37:33 -07:00
}
2016-03-29 10:28:14 -07:00
.adminDrawerPanel[narrow] .headerAppsButton {
display: none;
}
2016-03-27 20:37:33 -07:00
.title-separator {
margin: 0 .5em;
}
2016-03-29 11:11:49 -07:00
.adminAppsMenu {
position: fixed;
top: 5vh !important;
left: 2vw !important;
padding: 1.5em 1em !important;
font-size: 110%;
margin: 0 !important;
color: #333;
}
.adminAppsMenuRow {
display: flex;
padding: 0 !important;
margin: 0 !important;
}
.adminAppsMenuRow + .adminAppsMenuRow {
margin-top: 1.5em !important;
border-top: 1px solid #ddd;
padding-top: 1em !important;
}
2016-04-05 21:22:57 -07:00
.adminAppsButton {
display: block;
color: inherit !important;
font-weight: normal !important;
text-align: center;
2016-03-29 11:11:49 -07:00
}
2016-04-05 21:22:57 -07:00
.adminAppsButton {
width: 5.3vw;
2016-03-29 11:11:49 -07:00
}
2016-04-05 21:22:57 -07:00
.adminAppsButton + .adminAppsButton {
margin-left: 1.5em;
}
.adminAppsButton paper-icon-button {
width: 4.5vh;
height: 4.5vh;
}