This repository has been archived on 2024-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
epubreader/vendor/pdfjs/css/main.css
2020-04-21 22:37:42 +02:00

452 lines
6.8 KiB
CSS

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
fieldset {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
body {
background: #4e4e4e;
overflow: hidden;
}
.night {
filter: opacity(80%) invert(100%);
}
#main {
position: absolute;
width: 100%;
height: 100%;
right: 0;
border-radius: 5px;
background: #fff;
overflow: hidden;
-webkit-transition: -webkit-transform .4s, width .2s, filter .2s;
-moz-transition: -webkit-transform .4s, width .2s, filter .2s;
transition: transform .4s, width .2s, filter .2s;
/*
-moz-box-shadow: inset 0 0 50px rgba(0,0,0,.1);
-webkit-box-shadow: inset 0 0 50px rgba(0,0,0,.1);
box-shadow: inset 0 0 50px rgba(0,0,0,.1);
*/
}
#titlebar {
padding: 0.5em;
height: 1.4em;
color: #4f4f4f;
font-weight: 100;
font-family: Georgia, "Times New Roman", Times, serif;
opacity: .5;
text-align: center;
-webkit-transition: opacity .5s;
-moz-transition: opacity .5s;
z-index: 10;
position: fixed;
width: 100%;
}
#titlebar:hover {
opacity: 1;
background-color: white;
box-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}
.background_visible {
background-color: white;
box-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
opacity: 1 !important;
}
#titlebar a {
width: 1em;
height: 1em;
overflow: hidden;
display: inline-block;
opacity: .5;
padding: 0.2em;
border-radius: 0.2em;
border: 1px rgba(0,0,0,0) solid;
}
#titlebar a::before {
visibility: visible;
}
#titlebar a:hover {
opacity: .8;
border: 1px rgba(0,0,0,.2) solid;
}
#titlebar a:active {
opacity: 1;
color: rgba(0,0,0,.6);
box-shadow: inset 0 0 6px rgba(155,155,155,.8);
}
#book-title {
font-weight: 600;
}
#title-separator {
display: none;
}
.controls-separator {
width: 1em;
}
.editable {
display: inline-block;
min-width: 2em;
box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.4);
}
#title-controls,
#opener {
margin-left: 0.3em;
margin-right: 0.3em;
position: fixed;
top: 0.3em;
display: flex;
align-items: center;
}
#opener {
left: 0;
}
#status_message_left {
margin-left: 1em;
}
#status_message_right,
#match_count {
margin-right: 1em;
}
#metainfo {
position: fixed;
width: 50%;
width: calc(100% - 7.5em);
left: 1.5em;
top: 0.3em;
padding: 0.2em;
height: 1em;
overflow: hidden;
text-align: center;
font-size: 1.2em;
}
#title-controls {
right: 0;
}
#nightmode,
#zoom_icon,
#rotate_icon,
#rotate_left,
#rotate_right {
padding: 0;
border-radius: 0.2em;
border: 1px rgba(0,0,0,0) solid;
opacity: 0.5;
display: inline-block;
overflow: hidden;
}
#nightmode {
padding 0 .5em;
}
#nightmode:hover,
#zoom_icon:hover,
#rotate_icon:hover,
#rotate_left:hover,
#rotate_right:hover {
opacity: .8;
border: 1px rgba(0,0,0,.2) solid;
}
#nightmode:active,
#zoom_icon:active,
#rotate_icon:active,
#rotate_left:active,
#rotate_right:active {
opacity: 1;
color: rgba(0,0,0,.6);
box-shadow: inset 0 0 6px rgba(155,155,155,.8);
}
#zoom_options,
#rotate_options {
font-family: "Lucida Console", "Monospace", "Courier New";
position: fixed;
box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
background-color: white;
font-size: 1em;
padding: 0.5em;
}
.zoom_option,
.rotate_option {
padding: 0.25em;
}
.zoom_option:hover,
.rotate_option:hover {
background: black;
color: white;
}
#viewer {
height: 100%;
padding: 0;
margin: 0;
z-index: 2;
position: relative;
overflow: scroll;
}
#viewer.flex {
/* top: 2em; */
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
#viewer canvas {
/* position: relative; */
/* height: auto; */
/* width: auto; */
}
#prev, #next {
position: absolute;
top: 10%;
height: 80%;
margin: 0;
}
.touch_nav {
width: 25%;
}
.arrow div {
display: table-cell;
vertical-align: middle;
}
#prev {
left: 0;
padding-left: 2em;
}
#next {
right: 0;
padding-right: 2em;
text-align: right;
}
.arrow {
font-size: 64px;
/* color: #E2E2E2; */
font-family: arial, sans-serif;
font-weight: bold;
cursor: pointer;
display: table;
z-index: 3;
opacity: 0.2;
}
.arrow:hover {
/* color: #777; */
opacity: 0.5;
}
.arrow:active,
.arrow.active {
color: #000;
}
#main.closed {
transform: translate(25em, 0);
}
#main.single {
width: calc(100% - 25em);
}
#divider {
position: absolute;
width: 1px;
border-right: 1px #000 solid;
height: 80%;
z-index: 100;
left: 50%;
margin-left: -1px;
top: 10%;
opacity: .15;
box-shadow: -2px 0 15px rgba(0, 0, 0, 1);
display: none;
}
#divider.show {
display: block;
}
#loader {
position: absolute;
z-index: 10;
left: 50%;
top: 50%;
margin: -33px 0 0 -33px;
}
.pull-left {
float: left;
}
.pull-right {
float: right;
}
.highlight {
background-color: yellow;
}
.overlay {
position: fixed;
width: 100%;
height: 100%;
visibility: hidden;
top: 0;
left: 0;
z-index: 1000;
opacity: 0;
background: rgba(255,255,255,0.8);
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
transition: all 0.3s;
}
.hide {
display: none !important;
}
.translucent {
opacity: 0 !important;
}
/* progressbar (loading/unarchiving) */
#progress {
position: fixed;
z-index: 10;
width: 100%;
}
.progress, .bar {
width: 100%;
height: 0.3em;
margin: 0;
padding: 0;
display: inline-block;
}
.progress {
border: none;
}
.bar {
width: 0;
background-color: red;
box-shadow: 0px 1px 3px rgba(0,0,0,.6);
}
.message {
margin: 3em;
}
.message-icons {
font-size: 3em;
color: lightgrey;
vertical-align: middle;
}
.message-text {
font-size: 1.5em;
color: black;
}
.active {
color:black;
}
.ok {
color:green;
}
.error {
color:red;
}
/* END progressbar */
@media only screen and (max-width: 1040px) {
#divider,
#divider.show {
display: none;
}
}
@media only screen and (max-width: 900px) {
#prev {
padding-left: 20px;
}
#next {
padding-right: 20px;
}
}
@media only screen and (max-width: 550px) {
#prev {
padding-left: 0;
}
#next {
padding-right: 0;
}
.arrow div {
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}
#metainfo {
width: unset;
display: flex;
padding-left: 2em;
}
}