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

448 lines
8.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
}
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;
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-07-14 09:39:34 -07:00
.headerUserButtonRound img {
border-radius: 1000px;
}
2015-07-19 20:43:13 -07:00
.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-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;
}
.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;
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 */
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 {
2015-10-07 18:56:48 -07:00
height: 26px !important;
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-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;
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;
2015-09-27 14:02:39 -07:00
white-space: nowrap;
2015-10-01 09:28:24 -07: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 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;
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-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 {
2015-07-19 20:43:13 -07:00
background-color: #121212;
2014-10-25 11:32:58 -07:00
}
2015-08-18 10:54:29 -07:00
.viewMenuBar.semiTransparent {
2015-10-04 15:04:56 -07:00
background-color: rgba(18, 18, 18, .60);
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 {
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-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-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;
}
}
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;
}
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
}
2015-09-24 22:15:29 -07:00
body:not(.dashboardDocument) .btnNotifications {
2015-09-21 18:05:33 -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;
}