2018-07-11 22:46:44 +02:00
|
|
|
/*
|
2017-11-10 12:39:55 +01:00
|
|
|
Created on : May 22, 2015, 1:20:02 PM
|
|
|
|
Author : Fornax
|
|
|
|
*/
|
|
|
|
|
2019-07-28 22:34:15 +02:00
|
|
|
/* Viewer container */
|
2019-07-17 23:19:57 +02:00
|
|
|
.file_viewer {
|
2017-11-10 12:39:55 +01:00
|
|
|
position: absolute;
|
2019-07-17 23:19:57 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2019-07-28 22:34:15 +02:00
|
|
|
|
|
|
|
/* Headerbar (row 1) */
|
2019-11-21 20:25:06 +01:00
|
|
|
.file_viewer > .file_viewer_headerbar {
|
2019-07-17 23:19:57 +02:00
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
text-align: left;
|
2019-08-11 17:16:18 +02:00
|
|
|
padding: 8px;
|
2019-11-21 20:25:06 +01:00
|
|
|
z-index: 10;
|
2020-01-13 16:24:06 +01:00
|
|
|
box-shadow: none;
|
2019-07-17 23:19:57 +02:00
|
|
|
}
|
2019-07-28 22:34:15 +02:00
|
|
|
|
|
|
|
/* Headerbar components */
|
2019-11-21 20:25:06 +01:00
|
|
|
.file_viewer > .file_viewer_headerbar > * {
|
2019-07-18 19:53:09 +02:00
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
2019-07-28 22:34:15 +02:00
|
|
|
margin-left: .4em;
|
|
|
|
margin-right: .4em;
|
2019-07-18 19:53:09 +02:00
|
|
|
display: inline-flex;
|
|
|
|
}
|
2019-11-21 20:25:06 +01:00
|
|
|
.file_viewer > .file_viewer_headerbar > .file_viewer_headerbar_title {
|
2019-07-17 23:19:57 +02:00
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
2019-09-18 22:23:12 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-07-17 23:19:57 +02:00
|
|
|
overflow: hidden;
|
2019-07-18 09:45:55 +02:00
|
|
|
line-height: 2em;
|
2020-02-03 17:28:26 +01:00
|
|
|
white-space: nowrap;
|
2019-07-18 20:01:33 +02:00
|
|
|
text-overflow: ellipsis;
|
2019-07-17 23:19:57 +02:00
|
|
|
}
|
2019-11-21 20:25:06 +01:00
|
|
|
.file_viewer > .file_viewer_headerbar > .button_home::after {
|
2019-09-18 22:23:12 +02:00
|
|
|
content: "pixeldrain";
|
|
|
|
}
|
2020-01-27 16:56:16 +01:00
|
|
|
.file_viewer > .file_viewer_headerbar > .button_home > svg {
|
|
|
|
height: 1.7em;
|
|
|
|
width: 1.7em;
|
|
|
|
margin: -0.25em;
|
|
|
|
margin-right: 0.2em;
|
|
|
|
}
|
2019-09-18 22:23:12 +02:00
|
|
|
@media (max-width: 500px) {
|
2019-11-21 20:25:06 +01:00
|
|
|
.file_viewer > .file_viewer_headerbar > .button_home::after {
|
2019-09-18 22:23:12 +02:00
|
|
|
content: "pd";
|
|
|
|
}
|
|
|
|
}
|
2019-11-21 20:25:06 +01:00
|
|
|
.file_viewer > .file_viewer_headerbar > .file_viewer_headerbar_title > span {
|
2019-09-18 22:23:12 +02:00
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
2019-07-28 22:34:15 +02:00
|
|
|
/* List Navigator (row 2) */
|
2019-07-18 19:53:09 +02:00
|
|
|
.file_viewer > .list_navigator {
|
2019-07-17 23:19:57 +02:00
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
position: relative;
|
|
|
|
display: none; /* Becomes visible if the page is a list */
|
|
|
|
width: 100%;
|
2019-09-16 23:50:57 +02:00
|
|
|
background-color: var(--layer_1_color);
|
2019-07-17 23:19:57 +02:00
|
|
|
text-align: center;
|
2019-07-18 19:53:09 +02:00
|
|
|
line-height: 1em;
|
|
|
|
overflow-x: scroll;
|
2019-07-17 23:19:57 +02:00
|
|
|
overflow-y: hidden;
|
|
|
|
z-index: 50;
|
2019-07-18 19:53:09 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.file_viewer > .list_navigator > .list_item{
|
2019-08-11 17:16:18 +02:00
|
|
|
height: 2.6em !important;
|
2019-09-18 22:23:12 +02:00
|
|
|
width: 220px !important;
|
2019-07-17 23:19:57 +02:00
|
|
|
}
|
2019-07-28 22:34:15 +02:00
|
|
|
|
|
|
|
/* File preview area (row 3) */
|
2019-07-17 23:19:57 +02:00
|
|
|
.file_viewer > .file_viewer_window {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
margin: 0;
|
2019-11-21 20:25:06 +01:00
|
|
|
z-index: 9;
|
2019-07-17 23:19:57 +02:00
|
|
|
}
|
|
|
|
.file_viewer > .file_viewer_window > .file_viewer_file_preview {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2017-11-10 12:39:55 +01:00
|
|
|
display: inline-block;
|
|
|
|
min-height: 100px;
|
|
|
|
min-width: 100px;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
2019-11-21 20:25:06 +01:00
|
|
|
transition: left 0.5s;
|
2019-08-10 14:15:54 +02:00
|
|
|
overflow: hidden;
|
2020-01-13 16:24:06 +01:00
|
|
|
box-shadow: inset 2px 2px 8px var(--shadow_color);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Sponsors (row 4) */
|
|
|
|
.file_viewer > .sponsors {
|
|
|
|
background-color: var(--layer_1_color);
|
|
|
|
font-size: 0;
|
|
|
|
line-height: 0;
|
|
|
|
}
|
|
|
|
.file_viewer > .sponsors > iframe {
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
transform-origin: 0 0;
|
2017-11-10 12:39:55 +01:00
|
|
|
}
|
|
|
|
|
2019-07-17 23:19:57 +02:00
|
|
|
/* Toolbars */
|
|
|
|
.file_viewer > .file_viewer_window > .file_viewer_toolbar {
|
|
|
|
position: absolute;
|
|
|
|
width: 8em;
|
|
|
|
z-index: 49;
|
|
|
|
overflow: hidden;
|
|
|
|
float: left;
|
2019-09-16 23:50:57 +02:00
|
|
|
background-color: var(--layer_1_color);
|
2019-07-17 23:19:57 +02:00
|
|
|
left: -9em;
|
|
|
|
bottom: 0;
|
|
|
|
top: 0;
|
|
|
|
padding: 0;
|
|
|
|
text-align: left;
|
2019-11-21 20:25:06 +01:00
|
|
|
transition: left 0.5s;
|
2019-07-17 23:19:57 +02:00
|
|
|
}
|
|
|
|
.file_viewer > .file_viewer_window > .file_viewer_sharebar{
|
|
|
|
position: absolute;
|
|
|
|
width: 7em;
|
|
|
|
left: -8em;
|
|
|
|
bottom: 0;
|
|
|
|
top: 0;
|
|
|
|
overflow-y: scroll;
|
|
|
|
overflow-x: hidden;
|
|
|
|
float: left;
|
2019-09-16 23:50:57 +02:00
|
|
|
background-color: var(--layer_1_color);
|
2020-01-14 17:10:03 +01:00
|
|
|
box-shadow: inset 1px 1px 6px var(--shadow_color);
|
2019-07-17 23:19:57 +02:00
|
|
|
text-align: center;
|
|
|
|
z-index: 48;
|
|
|
|
overflow: hidden;
|
2019-11-21 20:25:06 +01:00
|
|
|
transition: left 0.5s;
|
2019-07-17 23:19:57 +02:00
|
|
|
}
|
|
|
|
|
2017-11-10 12:39:55 +01:00
|
|
|
/* =====================
|
|
|
|
== FILE CONTAINERS ==
|
|
|
|
=====================*/
|
|
|
|
.image-container{
|
2019-07-17 23:19:57 +02:00
|
|
|
position: relative;
|
2020-01-21 15:33:09 +01:00
|
|
|
display: block;
|
2017-11-10 12:39:55 +01:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-container{
|
|
|
|
background: #333 none;
|
2019-07-17 23:19:57 +02:00
|
|
|
position: relative;
|
2017-11-10 12:39:55 +01:00
|
|
|
text-align: left;
|
2019-08-10 14:15:54 +02:00
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2017-11-10 12:39:55 +01:00
|
|
|
padding: 5px 5px 5px 20px;
|
|
|
|
box-sizing: border-box;
|
2019-08-10 19:50:20 +02:00
|
|
|
overflow-y: scroll;
|
|
|
|
overflow-x: hidden;
|
2017-11-10 12:39:55 +01:00
|
|
|
}
|
2019-08-10 19:50:20 +02:00
|
|
|
.text-container > pre {
|
2017-11-10 12:39:55 +01:00
|
|
|
white-space: pre-wrap;
|
2019-08-10 19:50:20 +02:00
|
|
|
overflow: hidden;
|
2017-11-10 12:39:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.center{
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
|
|
|
}
|
|
|
|
|
2020-01-21 15:33:09 +01:00
|
|
|
.pannable{ cursor: move; }
|
|
|
|
.drop-shadow{ box-shadow: var(--shadow_color) 10px 10px 50px; }
|
2017-11-10 12:39:55 +01:00
|
|
|
|
|
|
|
/* ========================
|
|
|
|
|| TOOLBAR COMPONENTS ||
|
|
|
|
======================== */
|
|
|
|
|
|
|
|
|
|
|
|
/* Workaround to hide the scrollbar in non webkit browsers, it's really ugly' */
|
2019-08-11 17:16:18 +02:00
|
|
|
.file_viewer_toolbar > div {
|
2017-11-10 12:39:55 +01:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: -30px;
|
|
|
|
overflow-y: scroll;
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
2019-08-11 17:16:18 +02:00
|
|
|
.file_viewer_toolbar > div > div {
|
2017-11-10 12:39:55 +01:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
2019-05-13 20:33:31 +02:00
|
|
|
width: 8em;
|
2017-11-10 12:39:55 +01:00
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2018-01-07 21:42:19 +01:00
|
|
|
.toolbar_button{
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
.toolbar_button > img {
|
2018-07-11 22:46:44 +02:00
|
|
|
width: 24px;
|
2017-11-10 12:39:55 +01:00
|
|
|
height: 24px;
|
|
|
|
}
|
2018-01-07 21:42:19 +01:00
|
|
|
.toolbar_button > span {
|
|
|
|
vertical-align: 6px;
|
2017-11-10 12:39:55 +01:00
|
|
|
}
|
|
|
|
|
2019-03-26 20:53:19 +01:00
|
|
|
.toolbar_label {
|
|
|
|
text-align: left;
|
|
|
|
padding-left: 10px;
|
|
|
|
font-size: 0.8em;
|
|
|
|
line-height: 0.7em;
|
2019-07-17 23:19:57 +02:00
|
|
|
margin-top: 0.5em;
|
2017-11-10 12:39:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* =========================
|
|
|
|
|| SHAREBAR COMPONENTS ||
|
|
|
|
========================= */
|
|
|
|
|
2018-01-07 21:42:19 +01:00
|
|
|
.sharebar-button {text-align: center;}
|
2020-01-14 17:10:03 +01:00
|
|
|
.sharebar-button > svg,
|
|
|
|
.sharebar-button > img {
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
}
|
2017-11-10 12:39:55 +01:00
|
|
|
|
|
|
|
/* =====================
|
|
|
|
|| MISC COMPONENTS ||
|
|
|
|
===================== */
|
2019-07-06 18:41:16 +02:00
|
|
|
|
|
|
|
.popup {
|
2019-07-17 23:19:57 +02:00
|
|
|
position: absolute;
|
2019-03-27 23:57:53 +01:00
|
|
|
visibility: hidden;
|
2019-07-07 22:34:20 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2019-03-27 23:57:53 +01:00
|
|
|
opacity: 0;
|
2019-07-07 22:34:20 +02:00
|
|
|
transition: visibility .5s, opacity .5s;
|
2019-11-21 20:25:06 +01:00
|
|
|
background-color: var(--layer_2_color);
|
|
|
|
border-color: var(--layer_2_color_border);
|
2019-07-06 18:41:16 +02:00
|
|
|
max-height: 100%;
|
2019-03-27 23:57:53 +01:00
|
|
|
max-width: 100%;
|
2019-07-17 23:19:57 +02:00
|
|
|
top: 20%;
|
2019-03-27 23:57:53 +01:00
|
|
|
left: 50%;
|
2019-07-17 23:19:57 +02:00
|
|
|
transform: translate(-50%, -20%);
|
2019-07-16 22:07:10 +02:00
|
|
|
padding: 0;
|
2019-03-27 23:57:53 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
text-align: left;
|
|
|
|
box-shadow: var(--shadow_color) 0px 0px 50px;
|
2019-07-06 18:41:16 +02:00
|
|
|
}
|
2020-01-21 20:27:34 +01:00
|
|
|
.popup > .highlight_1 {
|
2019-07-06 18:41:16 +02:00
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
2019-07-07 22:34:20 +02:00
|
|
|
.popup > .content_area {
|
|
|
|
flex: 1;
|
2020-01-21 20:27:34 +01:00
|
|
|
overflow: auto;
|
2019-07-07 22:34:20 +02:00
|
|
|
padding: 10px;
|
|
|
|
}
|
2019-07-06 18:41:16 +02:00
|
|
|
|
|
|
|
.details_popup{
|
2019-07-07 01:03:44 +02:00
|
|
|
width: 1500px;
|
2019-07-06 18:41:16 +02:00
|
|
|
height: 800px;
|
2019-07-17 23:19:57 +02:00
|
|
|
z-index: 200;
|
2019-07-06 18:41:16 +02:00
|
|
|
}
|
|
|
|
.captcha_popup{
|
|
|
|
height: auto;
|
|
|
|
width: 450px;
|
2019-07-17 23:19:57 +02:00
|
|
|
z-index: 201;
|
2019-03-27 23:57:53 +01:00
|
|
|
}
|
2019-03-28 10:47:27 +01:00
|
|
|
#captcha_popup_captcha > div {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2017-11-10 12:39:55 +01:00
|
|
|
|
2018-07-11 22:46:44 +02:00
|
|
|
table {width: auto !important;}
|
|
|
|
|
2017-11-10 12:39:55 +01:00
|
|
|
|
2019-02-20 22:46:35 +01:00
|
|
|
/* ====================
|
|
|
|
|| 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;
|
|
|
|
}
|