.header { z-index: 2; // Main content uses z-index: 1, this ensures it always scrolls under the header position: fixed; top: 0; width: 100%; background-color: var(--color-header-background); box-shadow: var(--card-box-shadow) var(--color-box-shadow); font-size: var(--font-body); -webkit-user-select: none; -webkit-app-region: drag; & > * { user-select: none; } } .header--minimal { box-shadow: none; background-color: transparent; border-bottom: none; } .header--mac { padding-top: var(--mac-titlebar-height); } .header--noauth-web { .header__navigation-item--icon { margin: 0 10px; } } .header__contents { max-width: var(--page-max-width); height: calc(var(--header-height) - 1px); display: flex; margin: auto; padding: 0 var(--spacing-large); } .header__navigation { flex: 1; display: flex; align-items: center; &:last-of-type { width: var(--side-nav-width); @media (max-width: 600px) { display: none; } } } .header__menu { margin-left: auto; display: flex; justify-content: space-between; align-items: center; > .button:only-child { margin-left: auto; } } .header__menu--with-balance { button:first-child { margin-left: var(--spacing-large); margin-right: var(--spacing-medium); } } .header__navigation-arrows { display: flex; margin-right: var(--spacing-small); } .header__navigation-item { height: var(--height-button); display: flex; justify-content: center; align-items: center; border-radius: var(--border-radius); color: var(--color-text); svg { stroke: var(--color-text); } &:hover { color: var(--color-link-active); svg { stroke: var(--color-link-active); } } } .header__navigation-item--back, .header__navigation-item--forward, .header__navigation-item--icon { width: 3rem; } .header__navigation-item--lbry { font-weight: var(--font-weight-bold); margin-right: var(--spacing-medium); .lbry-icon { height: 2rem; width: 2rem; } } .header__navigation-item--right-action { align-self: flex-end; margin-left: auto; padding: 0 var(--spacing-small); } @media (max-width: 600px) { .header__navigation-item--back, .header__navigation-item--forward, .header__navigation-item--right-action { display: none; } }