header { z-index: 1000; background-color: #fff; border-bottom: 1px solid rgba(0, 0, 0, 0.075); box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); position: fixed; top: 0; left: 0; width: 100%; padding: 0; display: flex; } header a, header a:hover { color: inherit; } header>div { display: flex; width: 100%; padding: 0.5em 0.5em 0.5em 1em; align-items: center; } header .action span { display: none; } header>div div { vertical-align: middle; position: relative; } /* * * * * * * * * * * * * * * * * TOP BAR * * * * * * * * * * * * * * * * */ #first-bar { height: 4em; } #first-bar img { height: 2.5em; margin-right: 1em; vertical-align: middle; } /* * * * * * * * * * * * * * * * * BOTTOM BAR * * * * * * * * * * * * * * * * */ #second-bar { justify-content: flex-end; } #more { display: none; } #file-only { display: inline-block; border-right: 1px solid rgba(0, 0, 0, 0.075); padding-right: .3em; margin-right: .3em; transition: .2s ease opacity, visibility; visibility: visible; } #file-only.disabled { opacity: 0; visibility: hidden; } #download ul.active { top: 0; right: 0; } #more ul.active { right: .5em; top: 4.5em; } /* * * * * * * * * * * * * * * * * SEARCH BAR * * * * * * * * * * * * * * * * */ #search { position: relative; display: flex; height: 100%; padding: 0.75em; vertical-align: middle; border-radius: 0.3em; background-color: #f5f5f5; transition: .1s ease all; width: 100%; max-width: 25em; } #search.active { background-color: #fff; border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .12); } #search.active i, #search.active input { color: #212121; } #search i, #search input { vertical-align: middle; } #search i { margin-right: 0.3em; user-select: none; } #search input { width: 100%; border: 0; outline: 0; background-color: transparent; } #search.active div { visibility: visible; opacity: 1; top: 100%; } #search ul { padding: 0; margin: 0; list-style: none; } #search li { margin-bottom: .5em; } #search>div { position: absolute; top: 0; width: 100%; left: 0; z-index: 999999; background-color: #fff; text-align: left; color: #ccc; box-shadow: 0 2px 3px rgba(0, 0, 0, .06), 0 2px 2px rgba(0, 0, 0, .12); padding: .5em; border-bottom-left-radius: .3em; border-bottom-right-radius: .3em; transition: .1s ease all; visibility: hidden; opacity: 0; overflow-x: hidden; overflow-y: auto; max-height: 50vh; } #search>div div { white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; } #search>div p { width: 100%; text-align: center; display: none; margin: 0; max-width: none; } #search.ongoing p { display: block; } #search.active div i, #sidebar #search.active div i { color: #ccc; text-align: center; margin: 0 auto; display: table; } #search::-webkit-input-placeholder { color: rgba(255, 255, 255, .5); } #search:-moz-placeholder { opacity: 1; color: rgba(255, 255, 255, .5); } #search::-moz-placeholder { opacity: 1; color: rgba(255, 255, 255, .5); } #search:-ms-input-placeholder { color: rgba(255, 255, 255, .5); }