first commit

This commit is contained in:
2026-03-05 13:07:40 +01:00
commit 64ba0721ee
25709 changed files with 4691006 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
tr.compat-field-pdfemb-upgrade td.field {
padding-top: 8px;
margin: 0px 1px;
}
tr.compat-field-pdfemb-downloads td.field, tr.compat-field-pdfemb-views td.field {
padding-top: 8px;
margin: 0px 1px;
}

View File

@@ -0,0 +1,239 @@
.settings_page_pdfemb_list_options {
#wpcontent {
padding-left: 0 !important;
}
.nav-tab-wrapper {
border: none;
margin-top: -56px;
.nav-tab {
font-size: 16px;
border: none;
background: transparent;
padding: 10px 24px;
font-weight: 400;
margin-left: 20px;
}
.nav-tab-active {
background-color: #f0f0f1;
font-weight: 600;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
}
}
}
#pdfemb-top-notification {
position: relative;
background-color: rgb(40, 40, 40);
text-align: center;
color: #fff;
height: 40px;
vertical-align: middle;
p {
margin: 0;
padding: 0;
line-height: 40px;
font-size: 16px;
}
.pdfemb-dismiss {
position: absolute;
top: 10px;
right: 10px;
}
a {
color: rgb(4, 125, 255);
text-decoration: none;
}
}
#pdfemb-header {
background-color: rgb(230, 230, 230);
background-repeat: repeat;
height: 160px;
.pdfemb-logo {
display: flex;
margin-left: 20px;
align-items: center;
line-height: 120px;
}
h1 {
margin: 0;
margin-left: 10px;
}
}
.pdfembtab.active {
display: block;
}
.pdfembtab {
display: none;
}
#pdfemb_toolbar {
min-width: 85px;
}
label {
float: left;
margin-left: 6px;
}
input.textinput,
textarea.textinput,
select.select,
input.checkbox {
float: left;
margin: 12px 3px 0 0;
padding: 5px;
}
textarea#pdfemb_wm_text {
width: 350px;
height: 150px;
border: 1px solid;
}
label.radio {
float: none;
margin-left: 6px;
}
select.select {
padding: 0 24px 0 8px; // match forms.css in WP core.
}
input.checkbox.double {
margin-top: 2px;
}
label.textinput,
label.select,
label.checkbox {
background-color: rgba(0, 0, 0, 0);
margin: 10px 0 5px;
width: 180px;
font-weight: bold;
}
label[for='input_pdfemb_height'],
label[for='input_pdfemb_width'] {
margin-top: 20px;
}
label.checkbox.plain {
font-weight: normal;
width: 400px;
}
label.big {
font-size: 1.3em;
padding-top: 8px;
}
p.desc {
font-style: italic;
margin: 6px 0 10px;
padding: 0 0 8px 22px;
}
p.desc.big {
padding-left: 180px;
}
a#pdfemb-personalinstrlink {
color: #0074a2;
text-decoration: underline;
}
#pdfemb-tablewrapper {
display: table;
width: 100%;
padding: 30px;
box-sizing: border-box;
}
#pdfemb-tableleft {
}
#pdfemb-tableright {
padding: 0 0 0 40px;
width: 281px;
}
#pdfemb-tableright div {
width: 235px;
padding: 5px;
background-color: #e4e4e4;
text-align: center;
margin-bottom: 20px;
}
#pdfemb-tableright div span {
padding: 5px;
}
#pdfemb-tableright div ul li {
font-weight: bold;
}
.pdfemb-tablecell {
display: table-cell;
height: 500px;
margin: 0;
padding: 0;
vertical-align: top;
}
.lionsher-partners-wrap {
display: grid;
grid-template-columns: repeat(3, 1fr);
column-gap: 30px;
padding-top: 30px;
}
.lionsher-partners {
background-color: #f5f5f5;
margin-bottom: 30px;
border-radius: 6px;
}
.lionsher-partners-main {
display: flex;
flex-direction: row;
padding: 30px 30px 20px;
flex-grow: 1;
text-align: left;
height: 120px;
h3 {
padding-top: 0;
margin-top: 0;
}
img {
padding-right: 15px;
}
}
.lionsher-partners-footer {
display: flex;
text-align: left;
align-items: center;
vertical-align: middle;
padding: 20px;
border-top: 1px solid rgb(230, 230, 230);
.lionsher-partners-install-wrap {
margin-left: auto;
}
.spinner {
display: none;
}
.lionsher-partners-button {
font-size: 16px !important;
height: 40px !important;
line-height: 38px !important;
border-radius: 6px !important;
}
}
.lionsher-partner-status {
font-weight: bold;
span {
font-weight: normal;
}
}

View File

@@ -0,0 +1,3 @@
.wp-block-pdfemb-pdf-embedder-viewer {
max-width: none;
}

View File

@@ -0,0 +1,448 @@
div.pdfemb-viewer {
overflow: hidden;
line-height: 1;
margin: 0px;
padding: 0px;
border: 1px solid black;
position: relative;
text-align: left;
direction: ltr;
background-color: lightGrey;
}
div.pdfemb-inner-div {
overflow: hidden;
line-height: 1;
margin: auto;
padding: 0px;
border: none;
position: relative;
background-color: lightGrey;
display: block;
}
div.pdfemb-inner-div-wantmobile {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
z-index: 50;
background-color: lightgray;
opacity: 0.5;
}
div.pdfemb-inner-div-wantmobile-fswrap {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
z-index: 100;
}
div.pdfemb-wantmobile-fsarea {
position: relative;
width: 80%;
margin: 40% auto 0 auto;
padding: 10px;
height: 20%;
max-height: 35px;
text-align: center;
opacity: 1;
cursor: pointer;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
border:4px solid #363600;
background-color:#C5BDCF;
-webkit-box-shadow: #B3B3B3 8px 8px 8px;
-moz-box-shadow: #B3B3B3 8px 8px 8px;
box-shadow: #B3B3B3 8px 8px 8px;
color: black;
font-family: sans-serif;
letter-spacing: 2px;
font-size: 16px;
line-height: 110%;
}
.grab-to-pan-grab {
cursor: move;
cursor: -webkit-grab;
cursor: -moz-grab;
cursor: grab;
-webkit-overflow-scrolling: touch;
}
.grab-to-pan-grab *:not(input):not(textarea):not(button):not(select):not(:link) {
cursor: inherit;
}
.grab-to-pan-grab:active,
.grab-to-pan-grabbing {
cursor: move;
cursor: -webkit-grabbing;
cursor: -moz-grabbing;
cursor: grabbing;
z-index: 50000; /* should be higher than anything else in PDF.js! */
}
div.pdfemb-loadingmsg {
text-align: center;
padding: 5px;
background-color: white;
}
div.pdfemb-viewer canvas {
position: relative;
top: 0px;
bottom: 0px;
margin: 0px;
padding: 0px;
display: inline-block;
background-color: white;
}
div.pdfemb-toolbar {
padding: 0px;
margin: 0px;
border: none;
z-index: 10;
position: absolute;
background-color: grey;
width: 100%;
}
div.pdfemb-toolbar-fixed {
display: block;
}
div.pdfemb-toolbar-hover {
display: none;
}
div.pdfemb-toolbar-top {
top: 0px;
left: 0px;
}
div.pdfemb-toolbar-bottom {
bottom: 0px;
left: 0px;
/* padding-top: 1px; */
}
div.pdfemb-toolbar button, div.pdfemb-toolbar button[disabled] {
background-color: hsla(0,0%,0%,.12);
background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
background-clip: padding-box;
border: 1px solid hsla(0,0%,0%,.35);
border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
0 0 1px hsla(0,0%,100%,.15) inset,
0 1px 0 hsla(0,0%,100%,.05);
-webkit-transition-property: background-color, border-color, box-shadow;
-webkit-transition-duration: 150ms;
-webkit-transition-timing-function: ease;
transition-property: background-color, border-color, box-shadow;
transition-duration: 150ms;
transition-timing-function: ease;
min-width: 16px;
padding: 2px 6px 0;
width: auto;
border-radius: 2px;
color: hsla(0,0%,100%,.8);
font-size: 12px;
line-height: 14px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
cursor: default;
margin: 4px 2px 4px 0;
float: left;
}
div.pdfemb-toolbar button:hover {
background-color: hsla(0,0%,0%,.2);
box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
0 0 1px hsla(0,0%,100%,.15) inset,
0 0 1px hsla(0,0%,0%,.05);
}
div.pdfemb-toolbar button:first-child {
margin-left: 4px;
}
div.pdfemb-toolbar button.pdfemb-toggled {
background-color: hsla(0,0%,0%,.3);
background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.45) hsla(0,0%,0%,.5);
box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset,
0 0 1px hsla(0,0%,0%,.2) inset,
0 1px 0 hsla(0,0%,100%,.05);
-webkit-transition-property: background-color, border-color, box-shadow;
-webkit-transition-duration: 10ms;
-webkit-transition-timing-function: linear;
transition-property: background-color, border-color, box-shadow;
transition-duration: 10ms;
transition-timing-function: linear;
}
div.pdfemb-toolbar button.pdfemb-toggled:hover {
background-color: hsla(0,0%,0%,.4);
border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.5) hsla(0,0%,0%,.55);
box-shadow: 0 1px 1px hsla(0,0%,0%,.2) inset,
0 0 1px hsla(0,0%,0%,.3) inset,
0 1px 0 hsla(0,0%,100%,.05);
}
div.pdfemb-toolbar button.pdfemb-prev::before {
content: url('../img/toolbarButton-pageUp.png');
}
div.pdfemb-toolbar button.pdfemb-next::before {
content: url('../img/toolbarButton-pageDown.png');
}
div.pdfemb-toolbar button.pdfemb-zoomout::before {
content: url('../img/toolbarButton-zoomOut.png');
}
div.pdfemb-toolbar button.pdfemb-zoomin::before {
content: url('../img/toolbarButton-zoomIn.png');
}
div.pdfemb-toolbar button.pdfemb-fs::before {
content: url('../img/toolbarButton-presentationMode.png');
}
div.pdfemb-toolbar button.pdfemb-download::before {
content: url('../img/toolbarButton-download.png');
}
div.pdfemb-toolbar button.pdfemb-btndisabled {
color: lightGray;
}
div.pdfemb-toolbar div {
margin: 6px 15px 6px 2px;
font-family: sans-serif;
font-size: 12px;
padding: 2px;
text-align: center;
letter-spacing: normal;
word-spacing: normal;
font-size: 12px;
line-height: 14px;
text-transform: none;
text-indent: 0px;
text-shadow: none;
font-weight: normal;
display: inline;
color: lightgray;
float: left;
}
div.pdfemb-toolbar div.pdfemb-poweredby {
float: right;
}
div.pdfemb-toolbar div.pdfemb-poweredby a {
color: lightgray;
text-decoration: none;
border-bottom: 1px solid #333;
}
div.pdfemb-toolbar div.pdfemb-poweredby a:hover {
border-bottom: none;
}
div.pdfemb-errormsg {
padding: 5px;
text-align: center;
vertical-align: middle;
background-color: #faa;
}
.pdfemb-fsp-wrapper {
background: white;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 4000;
overflow-y: auto;
overflow-x: hidden;
display: none;
}
.pdfemb-fsp-content {
overflow: hidden;
width: 100%;
height: 100%;
position: relative;
top: 0px;
left: 0px;
}
input.pdfemb-page-num {
display: inline;
font-family: sans-serif;
width: 30px;
height: 15px;
vertical-align: middle;
font-size: 10px;
padding: 0px 2px;
color: black;
text-align: center;
margin: 0px;
}
.pdfembAnnotationLayer {
position: static;
}
.pdfembAnnotationLayer section.linkAnnotation {
position: absolute;
padding: 0;
margin: 0;
background: none;
z-index: 5;
}
.pdfembAnnotationLayer .linkAnnotation > a {
position: absolute;
font-size: 1em;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.pdfembAnnotationLayer .linkAnnotation > a /* -ms-a */ {
background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") 0 0 repeat;
border: none;
opacity: 0;
}
.pdfembAnnotationLayer .linkAnnotation > a:hover {
opacity: 0.2;
background: #ff0;
box-shadow: 0px 2px 10px #ff0;
border: none;
}
.pdfembAnnotationLayer .textAnnotation img {
position: absolute;
cursor: pointer;
}
.pdfembAnnotationLayer .popupWrapper {
position: absolute;
width: 20em;
}
.pdfembAnnotationLayer .popup {
position: absolute;
z-index: 200;
max-width: 20em;
background-color: #FFFF99;
box-shadow: 0px 2px 5px #333;
border-radius: 2px;
padding: 0.6em;
margin-left: 5px;
cursor: pointer;
word-wrap: break-word;
}
.pdfembAnnotationLayer .popup h1 {
font-size: 1em;
border-bottom: 1px solid #000000;
padding-bottom: 0.2em;
}
.pdfembAnnotationLayer .popup p {
padding-top: 0.2em;
}
.pdfembAnnotationLayer .highlightAnnotation,
.pdfembAnnotationLayer .underlineAnnotation,
.pdfembAnnotationLayer .squigglyAnnotation,
.pdfembAnnotationLayer .strikeoutAnnotation {
cursor: pointer;
}
.pdfembTextLayer {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
overflow: hidden;
opacity: 0.2;
line-height: 1.0;
background: none;
}
.pdfembTextLayer > div {
cursor: text !important;
color: transparent;
position: absolute;
padding: 0;
margin: 0;
background: none;
top: 0;
left: 0;
-webkit-transform-origin: 0% 0%;
-moz-transform-origin: 0% 0%;
-o-transform-origin: 0% 0%;
-ms-transform-origin: 0% 0%;
transform-origin: 0% 0%;
}
.pdfemb-pagescontainer {
overflow: hidden ;
display: block;
position: relative;
background-color: lightGrey;
}
.poweredby{
float: right !important;
}
/* Safari 6.1+ (9.0 is the latest version of Safari at this time) */
@media screen and ( min-color-index:0 ) and (-webkit-min-device-pixel-ratio:0 ) {
.pdfemb-pagescontainer {
margin-left: 1px;
}
}
.scrollbar-none{
overflow: scroll;
scrollbar-width: none
}
.scrollbar-none::-webkit-scrollbar {
display: none;
}
.scrollbar-none { -ms-overflow-style: none; }
/* blocks */
.entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce),
.entry-content > .wp-block-pdfemb-pdf-embedder-viewer {
max-width: none;
}