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

429 lines
8 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;
2015-06-21 17:31:21 -04:00
background: #ddd;
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 {
2015-06-24 09:21:33 -04:00
color: #fff;
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;
}
.verticalScrollingDrawer {
2015-06-21 17:31:21 -04:00
overflow-y: auto !important;
-webkit-overflow-scrolling: touch;
overflow-x: hidden;
2015-06-25 17:50:56 -04:00
}
.dragging .mainDrawerPanel #drawer {
2015-06-21 17:31:21 -04:00
}
.mainDrawerPanel #main {
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 */
position: fixed;
}
2015-06-21 17:31:21 -04:00
.mainDrawer {
height: auto !important;
}
.mainDrawerContent {
padding-bottom: 40px;
}
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;
2014-05-11 01:11:53 -04:00
font-size: 15px;
2014-05-21 23:35:18 -04:00
display: inline-block;
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
max-width: 100px;
overflow: hidden;
text-overflow: ellipsis;
}
@media all and (min-width: 500px) {
.libraryMenuButtonText {
max-width: 200px;
}
}
@media all and (min-width: 600px) {
.libraryMenuButtonText {
max-width: 300px;
}
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-04 10:35:38 -04:00
font-size: 14px;
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 {
2015-10-19 12:00:00 -04:00
background-color: #101010;
2014-10-25 14:32:58 -04:00
}
2015-08-18 13:54:29 -04:00
.viewMenuBar.semiTransparent {
2015-12-14 10:43:03 -05:00
background-color: rgba(18, 18, 18, .55);
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;
}
}
2015-01-18 14:53:34 -05:00
@media all and (min-width: 800px) {
2014-06-22 01:52:31 -04:00
2015-06-21 17:31:21 -04:00
.dashboardDocument .dashboardDrawerContent {
2015-05-22 15:16:14 -04:00
display: none !important;
2014-06-22 01:52:31 -04:00
}
}
2015-01-18 14:53:34 -05:00
@media all and (max-width: 800px) {
2014-06-22 01:52:31 -04:00
2015-06-21 17:31:21 -04:00
.dashboardDocument .libraryDrawerContent {
2015-05-22 15:16:14 -04:00
display: none !important;
2014-06-22 01:52:31 -04:00
}
}
2015-06-21 17:31:21 -04:00
.drawerUserPanel {
color: #fff;
2016-01-27 14:39:20 -05:00
padding: 1em 1.2em;
2015-06-21 17:31:21 -04:00
font-size: 14px;
2016-01-27 14:39:20 -05:00
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
}
.libraryDocument .dashboardDrawerContent {
display: none !important;
}
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
}
2015-09-25 01:15:29 -04:00
body:not(.dashboardDocument) .btnNotifications {
2015-09-21 21:05:33 -04:00
display: none !important;
}
2015-06-21 17:31:21 -04:00
.darkDrawer {
2016-01-27 14:39:20 -05:00
background-color: rgba(30,30,30,1) !important;
2016-01-24 13:19:54 -05:00
backdrop-filter: brightness(1.5) blur(4px);
box-shadow: none !important;
2015-06-21 17:31:21 -04:00
}
.darkDrawer .sidebarLinkIcon {
color: #ccc !important;
}
.darkDrawer .sidebarLinkText, .darkDrawer .sidebarLink {
color: #fff !important;
font-weight: 300 !important;
}
.darkDrawer .sidebarHeader {
color: #bbb !important;
}
.darkDrawer .sidebarDivider {
2016-01-27 14:39:20 -05:00
background: #303030 !important;
2015-06-21 17:31:21 -04:00
}
.darkDrawer .sidebarLink:hover {
background: #444;
}
.darkDrawer .sidebarLink.selectedSidebarLink, .darkDrawer .selectedMediaFolder {
background: #444 !important;
}