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

395 lines
7.3 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
}
.libraryPage:not(.metadataEditorPage):not(.noSecondaryNavPage) {
2015-05-07 15:27:01 -07:00
padding-top: 98px !important;
2014-05-02 21:20:04 -07:00
}
2015-05-31 14:07:44 -07:00
.sidebarDivider {
2014-05-03 16:38:23 -07:00
height: 1px;
2015-06-21 14:31:21 -07:00
background: #ddd;
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
.headerButton {
2014-05-10 22:11:53 -07:00
height: 50px;
2015-05-10 14:56:13 -07:00
line-height: 50px;
display: inline-block;
2014-05-10 22:11:53 -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-06-16 10:37:49 -07:00
.viewMenuBar .material-icons, .viewMenuBar .fa, .viewMenuBar paper-icon-button {
2015-06-24 06:21:33 -07:00
color: #fff;
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-06-21 14:31:21 -07:00
}
.mainDrawerPanelPreInit #drawer {
display: none !important;
}
2015-06-22 08:43:19 -07:00
.mainDrawerPanelPreInit #main {
left: 0 !important;
position: static !important;
}
2015-06-21 14:31:21 -07:00
.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;
}
.verticalScrollingDrawer {
2015-06-21 14:31:21 -07:00
overflow-y: auto !important;
-webkit-overflow-scrolling: touch;
overflow-x: hidden;
2015-06-25 14:50:56 -07:00
}
.dragging .mainDrawerPanel #drawer {
2015-06-21 14:31:21 -07:00
}
.mainDrawerPanel #main {
left: 0 !important;
position: static !important;
}
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 */
position: fixed;
}
2015-06-21 14:31:21 -07:00
.mainDrawer {
height: auto !important;
border-right: 1px solid #e0e0e0;
}
.mainDrawerContent {
padding-bottom: 40px;
}
2014-05-10 22:11:53 -07:00
.headerButton {
margin: 0;
background-color: transparent;
top: 0;
bottom: 0;
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;
padding: 0 20px;
2014-05-21 20:35:18 -07:00
cursor: pointer;
2014-05-10 22:11:53 -07:00
}
.headerButton img {
2014-06-23 09:05:19 -07:00
height: 19px;
2014-05-10 22:11:53 -07:00
vertical-align: middle;
}
.headerButtonLeft {
padding: 0 15px;
}
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;
padding: 0 15px;
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-06-21 22:52:31 -07:00
.barsMenuButton:hover {
2014-07-27 15:01:29 -07:00
opacity: .5 !important;
2014-05-31 07:30:59 -07:00
}
2014-05-21 20:35:18 -07:00
.libraryMenuButtonText {
color: #fff !important;
2014-05-10 22:11:53 -07:00
text-decoration: none;
2015-06-15 21:52:01 -07:00
font-weight: 400 !important;
2014-05-10 22:11:53 -07:00
font-size: 15px;
2014-05-21 20:35:18 -07:00
display: inline-block;
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;
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
}
.ui-page-theme-b .logoLibraryMenuButtonText, .ui-bar-b .logoLibraryMenuButtonText {
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;
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-04 07:35:38 -07:00
font-size: 14px;
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;
2014-10-06 16:58:46 -07:00
}
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 {
2015-05-04 07:35:38 -07:00
background-color: #111;
2014-10-25 11:32:58 -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-01 22:08:05 -07:00
.libraryViewNav .material-icons {
display: none;
}
.bottomSecondaryNav .libraryViewNav {
top: initial;
bottom: 0;
}
.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;
}
2014-05-10 22:11:53 -07:00
.headerButtonRight:hover {
opacity: .5;
2014-05-02 21:20:04 -07:00
}
.viewMenuLink:hover {
color: #fff;
}
.viewMenuLink:hover img {
opacity: .5;
}
.viewMenuLink img {
height: 24px;
vertical-align: top;
}
2014-05-03 16:38:23 -07:00
.viewMenuSecondary {
2014-05-10 22:11:53 -07:00
position: absolute;
top: 0;
bottom: 0;
right: 0;
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-01 22:08:05 -07:00
border-bottom: 4px solid transparent;
2014-05-02 21:20:04 -07:00
}
2015-07-01 22:08:05 -07:00
.libraryViewNav .ui-btn-active {
border-bottom-color: #38c;
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;
}
.basicPaperLibraryTabs .libraryViewNav paper-tabs {
display: none;
}
2015-07-01 22:08:05 -07:00
.libraryViewNav a:not(.ui-btn-active):hover {
color: #2ad;
2015-07-01 08:47:41 -07:00
}
2014-05-02 21:20:04 -07:00
@media all and (max-width: 500px) {
.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;
}
}
2015-01-18 12:53:34 -07:00
@media all and (min-width: 800px) {
2014-06-21 22:52:31 -07:00
2015-06-21 14:31:21 -07:00
.dashboardDocument .dashboardDrawerContent {
2015-05-22 12:16:14 -07:00
display: none !important;
2014-06-21 22:52:31 -07:00
}
}
2015-01-18 12:53:34 -07:00
@media all and (max-width: 800px) {
2014-06-21 22:52:31 -07:00
2015-06-21 14:31:21 -07:00
.dashboardDocument .libraryDrawerContent {
2015-05-22 12:16:14 -07:00
display: none !important;
2014-06-21 22:52:31 -07:00
}
}
2015-06-21 14:31:21 -07:00
.drawerUserPanel {
2015-06-22 08:43:19 -07:00
background: url(images/splash720.jpg);
2015-06-21 14:31:21 -07:00
background-size: cover;
background-position: center center;
margin-bottom: 1em;
position: relative;
color: #fff;
height: 140px;
}
2014-09-04 20:48:53 -07:00
2015-06-21 14:31:21 -07:00
.drawerUserPanelInner {
2015-06-22 08:43:19 -07:00
background-color: rgba(0, 0, 0, .70);
2015-06-21 14:31:21 -07:00
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
2015-01-28 11:10:26 -07:00
}
2015-06-21 14:31:21 -07:00
.drawerUserPanelContent {
color: #fff;
font-weight: 500;
padding: 1.1em;
font-size: 14px;
}
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;
vertical-align: middle;
}
.drawerUserPanelUserName {
padding-top: 1.5em;
2015-06-22 08:43:19 -07:00
padding-left: .35em;
2015-06-21 14:31:21 -07:00
}
.libraryDocument .dashboardDrawerContent {
display: none !important;
}
.dashboardDocument .lnkMySync {
display: none !important;
2014-09-04 20:48:53 -07:00
}
2015-06-21 14:31:21 -07:00
.dashboardDocument .lnkManageServer {
2015-05-22 12:16:14 -07:00
display: none !important;
2015-06-21 14:31:21 -07:00
}
.darkDrawer {
background-color: #282828 !important;
}
.darkDrawer .sidebarLinkIcon {
color: #ccc !important;
}
.darkDrawer .sidebarLinkText, .darkDrawer .sidebarLink {
color: #fff !important;
font-weight: 300 !important;
}
.darkDrawer .sidebarHeader {
color: #bbb !important;
}
.darkDrawer .sidebarDivider {
background: #555 !important;
}
.darkDrawer .sidebarLink:hover {
background: #444;
}
.darkDrawer .sidebarLink.selectedSidebarLink, .darkDrawer .selectedMediaFolder {
background: #444 !important;
}