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/librarymenu.css

539 lines
10 KiB
CSS
Raw Normal View History

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