/* Created on : May 22, 2015, 1:20:02 PM Author : Fornax */ body{ overflow: hidden; } #filepreview{ position: absolute; display: inline-block; top: 0px; left: 122px; right: 0px; bottom: 0px; min-height: 100px; min-width: 100px; text-align: center; vertical-align: middle; transition: left 1s, top 1.5s; } /* ===================== == FILE CONTAINERS == =====================*/ .image-container{ position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; height: 100%; width: 100%; text-align: center; overflow: hidden; } .image{ position: relative; display: block; margin: auto; max-width: 100%; max-height: 100%; } .text-container{ background: #333 none; position: absolute; overflow-y: scroll; overflow-x: auto; text-align: left; top: 0; bottom: 0; left: 0; right: 0; padding: 5px 5px 5px 20px; box-sizing: border-box; } .pre-container{ white-space: pre-wrap; word-wrap: break-word; } .pannable{ position: relative; display: inline-block; margin: auto; max-width: 100%; max-height: 100%; cursor: move; top: 50%; transform: translateY(-50%); -webkit-transform: translateY(-50%); } .center{ position: relative; display: block; margin: auto; max-width: 100%; max-height: 100%; top: 50%; transform: translateY(-50%); -webkit-transform: translateY(-50%); } .drop-shadow{ box-shadow: var(--shadow_color) 10px 10px 50px; } /* ======================== || TOOLBAR COMPONENTS || ======================== */ #toolbar { position: absolute; width: 120px; z-index: 52; overflow: hidden; float: left; background-color: var(--background_color); left: 0; bottom: 0; top: 0; padding: 0; text-align: left; border-right: 2px ridge var(--highlight_color); box-shadow: 2px 2px 8px var(--shadow_color); transition: left 1s, top 1.5s; } /* Workaround to hide the scrollbar in non webkit browsers, it's really ugly' */ #toolbar > div { position: absolute; left: 0; top: 0; bottom: 0; right: -30px; overflow-y: scroll; overflow-x: hidden; } #toolbar > div > div { position: absolute; left: 0; top: 0; width: 120px; height: auto; } #button-expand-toolbar{ position: absolute; left: 0; top: 0; cursor: pointer; z-index: 51; } .toolbar_button{ text-align: left; } .toolbar_button > img { width: 24px; height: 24px; } .toolbar_button > span { vertical-align: 6px; } .toolbar_label { text-align: left; padding-left: 10px; font-size: 0.8em; line-height: 0.7em; } #sponsors{ position: relative; height: 600px; width: 120px; margin: 0; border: none; z-index: 9; } /* ========================= || SHAREBAR COMPONENTS || ========================= */ #sharebar{ position: absolute; width: 100px; left: -120px; bottom: 0; top: 0; overflow-y: scroll; overflow-x: hidden; float: left; background-color: var(--background_color); box-shadow: 2px 2px 8px var(--shadow_color); text-align: center; border-right: 2px ridge var(--highlight_color); z-index: 50; overflow: hidden; transition: left 1s, top 1.5s; } .sharebar-button {text-align: center;} /* ===================== || MISC COMPONENTS || ===================== */ .full_popup{ position: fixed; visibility: hidden; opacity: 0; transition: visibility 1s, opacity 1s, left 1s; background-color: var(--background_color); left: 142px; right: 20px; bottom: 20px; top: 20px; overflow-y: scroll; padding: 10px; box-sizing: border-box; text-align: left; box-shadow: var(--shadow_color) 0px 0px 50px; z-index: 100; } .captcha_popup{ position: fixed; visibility: hidden; opacity: 0; transition: visibility 1s, opacity 1s, left 1s; background-color: var(--background_color); height: auto; width: 500px; max-width: 100%; top: 50px; left: 50%; margin-left: -200px; padding: 0 10px; box-sizing: border-box; text-align: left; box-shadow: var(--shadow_color) 0px 0px 50px; z-index: 100; } table {width: auto !important;} table > tbody > tr {border: none !important;} .corner-popup{ position: fixed; background-color: var(--background_color); right: 20px; bottom: 20px; width: fit-content; height: fit-content; overflow: hidden; padding: 5px; box-shadow: var(--shadow_color) 0px 0px 50px; z-index: 200; } .bytecounter{ color: var(--text_color); font-size: 16px; font-family: 'Ubuntu', sans-serif; line-height: 20px; text-align: right; display: inline-block; background-image: url("/res/img/bytecounter.png"); background-position: top right; width: 108px; height: 36px; padding: 0; padding-right: 1px; } /* ==================== || LIST NAVIGATOR || ==================== */ .file-container{ position: absolute; top: 100px; left: 0px; right: 0px; bottom: 0px; width: 100%; overflow: hidden; border: none; } .file-container-frame{ position: absolute; width: 100%; height: 100%; border: none; } #listNavigator{ position: absolute; left: 0; right: 0; top: -100px; height: 98px; background-color: #000; box-shadow: 2px 2px 8px #000000; border-bottom: 2px ridge var(--highlight_color); text-align: center; overflow-x: hidden; overflow-y: hidden; z-index: 50; transition: top 1.5s; } #listNavigatorItems{ position: absolute; top: 0; left: 0; right: 0; height: 100%; white-space: nowrap; overflow-x: scroll; overflow-y: hidden; border: none; padding: 0 40px; } .listItem{ display: inline-block; position: relative; height: 95%; width: 100px; margin-right: 5px; text-align: center; border: #333 solid 2px; font-size: 12px; overflow: hidden; cursor: pointer; } .listItemThumbnail{ position: relative; max-width: 100%; max-height: 84%; margin: 0; } #arrow-left, #arrow-right{ position: absolute; display: block; border-top: 30px solid transparent; border-bottom: 30px solid transparent; height: 0; width: 0; top: 20px; cursor: pointer; } #arrow-left{ border-right: 40px solid var(--highlight_color); left: 10px; } #arrow-right{ border-left: 40px solid var(--highlight_color); right: 10px; }