Commit b8b1e8ac by Earvin Paguia

development_coding UI integration

parent 071dfd76
......@@ -131,11 +131,7 @@
<div id="TiffViewerModal">
<div id="TiffModalHeader">
<!-- CHANGED: commented out close button, to avoid closing the modal -->
<!-- <span class="TiffModalClose">&times;</span> -->
</div>
<div id='prevDivContainer' title="previous">
<div id='prevDiv'>
<div id="prev"></div>
......@@ -145,17 +141,20 @@
<!-- Modal content -->
<div class="TiffModalContent">
<div class="bar">
<progress id="progressBar" value="0" max="100" style="width:150px;"></progress>
<div class="lds-roller"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>
<div id="status">&nbsp;</div>
<h3 id="progress">&nbsp;</h3>
</div>
<div id="TiffModalHeader">
<!-- CHANGED: commented out close button, to avoid closing the modal -->
<!-- <span class="TiffModalClose">&times;</span> -->
</div>
<div id="TiffModalBody">
</div>
<div >
</div>
<div >
</div>
<div >
......
......@@ -116,7 +116,7 @@ function TIFFViewer(xhr, TiffViewerImageName) {
TiffViewer_filedetail.style.display = "none";
TiffViewer_filedetail.textContent = "Filename: ";
const TiffViewer_pagedetail = document.createElement('p');
const TiffViewer_pagedetail = document.createElement('div');
TiffViewer_pagedetail.id = "TiffViewer_PageCount";
TiffViewer_pagedetail.style.display = "none";
TiffViewer_pagedetail.innerHTML = "Page: ";
......@@ -204,13 +204,13 @@ function TIFFViewer(xhr, TiffViewerImageName) {
const TiffViewer_Pbtn = document.createElement("button");
TiffViewer_Pbtn.id = "TiffViewer_PrevButton";
TiffViewer_Pbtn.classList.add("TiffViewer_ButtonClass");
TiffViewer_Pbtn.classList.add("multiTiffViewer_ButtonClass");
TiffViewer_Pbtn.innerHTML = "<";
TiffViewer_Pbtn.style.display = "none";
const TiffViewer_Nbtn = document.createElement("button");
TiffViewer_Nbtn.id = "TiffViewer_NextButton";
TiffViewer_Nbtn.classList.add("TiffViewer_ButtonClass");
TiffViewer_Nbtn.classList.add("multiTiffViewer_ButtonClass");
TiffViewer_Nbtn.innerHTML = ">";
TiffViewer_Nbtn.style.display = "none";
......@@ -238,24 +238,24 @@ function TIFFViewer(xhr, TiffViewerImageName) {
zoom.classList.add("viewerSizeLabel");
let ofTotal = JSON.parse(sessionStorage.getItem("dir_files")).length;
document.getElementById("totalPageValue").innerHTML = Current_page + ' of ' + ofTotal;
//append all content declarations to modal
let multiTiffDiv = document.createElement("div");
multiTiffDiv.classList.add("multiTiffDiv");
let multiTiffButtonDiv = document.createElement("div");
multiTiffButtonDiv.classList.add("multiTiffButtonDiv")
multiTiffButtonDiv.append(TiffViewer_Pbtn);
multiTiffButtonDiv.append(TiffViewer_Nbtn);
multiTiffDiv.append(TiffViewer_pagedetail);
multiTiffDiv.append(multiTiffButtonDiv);
TiffViewer_Fit.append(FitIcon)
TiffViewer_Fscrn.append(FscrnIcon)
TiffViewer_zoomOut.append(zoomOutIcon)
......@@ -267,14 +267,16 @@ function TIFFViewer(xhr, TiffViewerImageName) {
TiffViewer_Header.append(TiffViewer_detailcont);
TiffViewer_Body.append(multiTiffDiv);
TiffViewer_Body.append(TiffViewer_filecont);
TiffViewer_Footer.append(zoom, TiffViewer_btncont);
//append Contents to containers
TiffViewer_detailcont.append(TiffViewer_filedetail, TiffViewer_pagedetail);
TiffViewer_detailcont.append(TiffViewer_filedetail);
TiffViewer_filecont.appendChild(TiffViewer_scrncont);
TiffViewer_scrncont.appendChild(TiffViewer_imgcont);
TiffViewer_btncont.append(TiffViewer_Fscrn, TiffViewer_Fit, TiffViewer_hflip, TiffViewer_vflip, TiffViewer_Rrotate, TiffViewer_Lrotate, TiffViewer_zoomIn, TiffViewer_zoomOut, TiffViewer_Pbtn, TiffViewer_Nbtn);
TiffViewer_btncont.append(TiffViewer_Fscrn, TiffViewer_Fit, TiffViewer_hflip, TiffViewer_vflip, TiffViewer_Rrotate, TiffViewer_Lrotate, TiffViewer_zoomIn, TiffViewer_zoomOut);
//get Content placeholders
const wrapper = document.querySelector("#TiffViewer_Screen"), header = wrapper.querySelector("#TiffViewer_ImageContainer");
......@@ -294,7 +296,7 @@ function TIFFViewer(xhr, TiffViewerImageName) {
var TiffViewer_PageCount = document.getElementById("TiffViewer_PageCount");
var pageappend = TiffViewer_current + " / " + TiffViewer_pages;
TiffViewer_PageCount.append(pageappend); //display of page number
TiffViewer_PageCount.style.display = "block";
TiffViewer_PageCount.style.display = "inline-block";
}
document.getElementById('TestTIFFDisplay').src = tiff.toCanvas().toDataURL();
......
html {
min-height: 100vh;
}
/* Popup container - can be anything you want */
.popup {
position: relative;
display: inline-block;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* The actual popup */
.popup .popuptext {
visibility: hidden;
background-color: #000000d9;
color: #fff;
border-radius: 6px;
position: absolute;
z-index: 1;
width: 363px;
padding: 18px 16px;
font-size: 13px;
left: -3px;
top: 21px;
}
/* Popup arrow */
.popup .popuptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 0px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}
/* Toggle this class - hide and show the popup */
.popup .show {
visibility: visible;
-webkit-animation: fadeIn 1s;
animation: fadeIn 1s;
}
/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
from {opacity: 0;}
to {opacity: 1;}
}
@keyframes fadeIn {
from {opacity: 0;}
to {opacity:1 ;}
}
*{
-webkit-font-smoothing: auto;
font-size: 13px;
letter-spacing: 0.1em;
text-rendering: optimizeLegibility;
font-weight: normal;
font-family: OpenSans, sans-serif;
font-style: normal;
}
button:hover{
cursor:pointer;
}
#with-config {
margin: 0;
grid-template-columns: auto auto 375px;
min-height: 100vh;
grid-template-areas:
"main main sidebar";
bottom: 0;
margin: 0;
padding: 0;
left: 0;
top: 0;
position: relative;
overflow-y: hidden;
overflow-x: hidden;
}
/* Logout Button */
.logOutButton {
position: absolute;
right: 0px;
top: 4px;
padding: 10px;
cursor: pointer;
}
.normalIcon {
width: 20px;
}
/* For the right pane */
.sidebar {
position: absolute;
right: 0;
display: flex;
flex-direction: column;
height: 100%;
width: 30%;
background-image: linear-gradient(to bottom, #23569f, #00a8c0);
}
.SECTION1.inputField {
width: 100%;
height: 100%;
}
.SECTION2.inputField {
width: 100%;
height: 100%;
}
.SECTION3.inputField {
width: 100%;
height: 100%;
}
.select2 {
width: 100% !important;
}
/* For the login credentials */
#username {
padding-left: 5px;
background-color: blue;
height: 30px;
display: inline-block;
margin-top: 0;
}
#user-settings {
left: 0;
height: 30px;
width: 30px;
border-radius: 100%;
}
#username-text {
float: right;
padding: 10px;
color: white;
}
/* For the project description */
#project-description {
padding-left: 5px;
background-color: pink;
min-height: 250px;
}
#project-description:after {
content: "";
display: table;
clear: both;
}
#column {
float: left;
width: 50%;
}
/* For the fields */
#fields {
width: auto;
display: flex;
flex: 1;
max-height: 100vh;
display: inline-block;
overflow-y: scroll;
}
#fields>div {
background-color:white;
}
.submitButtons {
font-weight: 600;
display: block;
margin: auto;
font-size: 13px;
width: 93px;
margin-top: 10px;
cursor: pointer;
}
/* For the viewer */
main#viewer {
position: absolute;
width: 70%;
height: 100%;
}
.TiffViewercontainer {
/* margin-top: 10; */
padding-left: 0;
padding-right: 0;
margin-left: auto;
margin-right: auto;
/* padding: 1px; */
}
#TiffViewer_ButtonContainer {
display: inline-block;
margin: auto;
text-align: center;
width: 100%;
height: 100%;
margin-top: 2px;
}
.TiffViewer_ButtonClass {
display: inline;
height: 26px;
font-size: 13px;
cursor: pointer;
color: white;
padding: 5px 10px;
vertical-align: -webkit-baseline-middle;
}
img.tiffViewerIcons {
transition: all 0.2s ease-out 100ms;
width: 22px;
}
#refresh:hover,
#pause:hover,
#return:hover,
#reject:hover {
transition: all 0.2s ease-out 100ms;
width: 25px;
}
.headerLabel {
color: #676767;
font-weight: 600;
font-size: 20px;
padding: 4px 0px 5px 8px;
text-align: left;
}
#endDiv{
width: 100%;
text-align: right;
}
.emphasizeButton:hover, .normalButton:hover, .functionButton:hover, .refreshBtn:hover {
background-color: #d2e2ff;
font-size: 14px;
color: #4472C4;
border: 1px solid #4472C4;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s, font-size 0.3s ease-out 100ms;
}
#endBtn{
}
.viewerSizeLabel {
color: white;
position: absolute;
right: 5px;
top: 10px;
}
.popup .popupLogoutText {
visibility: hidden;
width: 100px;
height: 20px;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 8px 0;
position: absolute;
z-index: 1;
top: 20px;
right: 0%;
margin-left: 0;
}
#counter {
/* font-size: 22px;
padding: 10px;
position: absolute;
z-index: 1;
right: 199px;
bottom: -6px;
text-shadow:
-1px -1px 0 #000,
0 -1px 0 #000,
1px -1px 0 #000,
1px 0 0 #000,
1px 1px 0 #000,
0 1px 0 #000,
-1px 1px 0 #000,
-1px 0 0 #000; */
}
.green{
color: green;
}
.red{
color: red;
}
textarea{
resize: none;
}
#pauseBtn {
text-align: center;
padding:10px;
color:white;
}
#TiffButtonRight{
display: inline-flex;
padding: 2px 16px;
z-index: 1;
position: absolute;
top: 0;
text-align: center;
height: 45px;
flex-wrap: wrap;
align-content: center;
margin-top: -50px;
right: -76px;
}
.buttonRightClass {
padding: 0px 10px;
cursor: pointer;
}
#nextDiv:hover {
margin-right: 1.2%;
}
#prevDiv:hover {
margin-left: 1.2%;
}
#refreshBtn {
padding: 10px;
color:white;
}
#TiffButtonRight>button{
border: 1px solid #446397;
border-radius: 100%;
width: 40px;
height: 40px;
margin-bottom: 5px;
}
#help {
padding: 3px;
float:left;
margin-right: 10px;
display: flex;
align-items: center;
top: 3px;
width: 13px;
height: 13px;
justify-content: center;
cursor: pointer;
border: 2px solid #ffffff;
border-radius: 200px;
font-size: 15px;
color: white;
}
#usernameCont{
padding: 3px;
float: right;
}
div#nextDivContainer {
display: flex;
height: 100%;
width: 7%;
justify-content: flex-end;
}
#nextDiv {
background-color: #000000a1;
width: 50px;
display: flex;
top: 50%;
height: 50px;
position: absolute;
border-radius: 83%;
cursor: pointer;
margin-right: 1.5%;
right: 0;
transition: all 0.2s ease-out 100ms;
}
div#prevDivContainer {
display: flex;
height: 100%;
width: 7%;
justify-content: flex-start;
}
#prevDiv {
transition: all 0.2s ease-out 100ms;
z-index: 1;
background-color: #000000a1;
width: 50px;
top: 50%;
height: 50px;
position: absolute;
border-radius: 83%;
cursor: pointer;
margin-left: 1.5%;
}
#prev {position: absolute;margin: auto;top: 58%;margin-left: 29%;width: 16px;height: 3px;background-color: #ffffff;box-shadow: 0 3px 5px rgb(0 0 0 / 20%);animation: arrow 700ms linear infinite;transform: rotate(48deg);cursor: pointer;}
#prev::after {
content: '';
position: absolute;
width: 105%;
height: 3px;
right: 7px;
background-color: #ffffff;
top: -7px;
transform: rotate(-94deg);
}
#next {position: absolute;margin: auto;top: 37%;margin-left: 38%;width: 16px;height: 3px;background-color: #ffffff;box-shadow: 0 3px 5px rgb(0 0 0 / 20%);animation: arrow 700ms linear infinite;transform: rotate(-140deg);cursor: pointer;}
#next::after {
content: '';
position: absolute;
width: 105%;
height: 3px;
right: 7px;
background-color: #ffffff;
top: -7px;
transform: rotate(-94deg);
}
#nextDiv:hover,
#prevDiv:Hover {
background-color: #0057a4;
transition: all 0.2s ease-out 100ms;
}
#returnDiv {
padding: 10px;
}
#TiffViewerImageName {
padding: 17px;
color: white;
}
#totalPageDiv {
padding: 10px;
}
#totalPageValue {
padding: 3px;
margin-right: 10px;
}
#userNameValue {
padding: 3px;
margin: auto;
width: 98px;
margin-top: 3px;
}
#elemIDValue {
padding: 3px;
margin-right: 10px;
}
/* ADDED: added to adjust button container when window is resized */
@media only screen and (max-width: 1150px) {
#TiffViewer_ButtonContainer {
justify-content: start;
}
}
#TiffViewerDetailscontainer {
/* overflow: hidden; */
height: auto;
width: auto;
position: relative;
justify-content: space-around;
display: flex;
align-items: center;
}
/* #TiffViewer_ButtonContainer>.TiffViewer_ButtonClass:not(:last-child) {
margin-right: 5px;
} */
#TiffViewer_Screen {
clear: both;
position: relative;
}
.TiffViewer_imgclass {
justify-content: center;
-webkit-user-drag: none;
-khtml-user-drag: none;
-moz-user-drag: none;
-o-user-drag: none;
}
.TiffViewer_FullscreenButton:-webkit-fullscreen {
width: auto !important;
height: auto !important;
margin: auto !important;
}
.TiffViewer_FullscreenButton:-moz-fullscreen {
width: auto !important;
height: auto !important;
margin: auto !important;
}
.fullscreen:-ms-fullscreen {
width: auto !important;
height: auto !important;
margin: auto !important;
}
body {
overflow-y: auto;
margin: 0;
max-height: 100vh;
bottom: 0;
/* justify-content: center; */
}
body>div>button {
margin: 0;
position: absolute;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
/* CHANGED: changed to none, so that it will not display */
#TestTIFFDisplay {
display: none;
/* max-width: 0%;
max-height: 0%; */
}
/* The Modal (background) */
#TiffViewerModal {
/* Hidden by default */
/* CHANGED: block by default */
/* Stay in place */
/* Sit on top */
/* Location of the box */
/* Full width */
/* Full height */
/* Enable scroll if needed */
/* Fallback color */
/* Black w/ opacity */
padding: 0px 0px 0px 0px;
height: 100%;
display: flex;
position: absolute;
width: 100%;
z-index: 1;
flex-wrap: wrap;
left: 0;
vertical-align: middle;
}
/* Modal Content */
.TiffModalContent {
/* border: 1px solid #888;
width: 90%;
*/
height: calc(100% - 80px);
width: 86%;
position: relative;
display: flex;
justify-content: center;
}
/* Add Animation */
@-webkit-keyframes animatetop {
from {
top: -300px;
opacity: 0
}
to {
top: 0;
opacity: 1
}
}
@keyframes animatetop {
from {
top: -300px;
opacity: 0
}
to {
top: 0;
opacity: 1
}
}
/* The Close Button */
.TiffModalClose {
color: black;
float: right;
font-size: 28px;
font-weight: bold;
}
.TiffModalClose:hover,
.TiffModalClose:focus {
color: red;
text-decoration: none;
cursor: pointer;
}
#TiffModalHeader {
width: 100%;
height: 50px;
display: block;
background-color: #000000a1;
}
#TiffModalBody {
margin: auto;
height: 95%;
width: 100%;
position: relative;
display: block;
overflow: auto;
}
#TiffModalFooter {
height: 38px;
bottom: 0px;
position: fixed;
width: 70%;
display: block;
background-color: #000000a1;
float: right;
}
#TiffViewer_FileContainer{
margin-top: 10px !important;
border: 1px solid #ccc;
overflow: hidden;
display: flex;
position: relative;
justify-content: center;
align-items: center;
margin: auto;
}
.bar {
position: absolute;
display: flex;
top: 0px;
bottom: 0px;
height: 100%;
/* margin: auto; */
align-items: center;
}
#inputs {
display: flex;
flex-direction: column;
min-width: 500px;
}
#Date{
width:100%;
height: 31px;
}
.fieldContainer {
/* layout config */
display: flex;
flex-direction: row;
/* border config */
border-style: solid;
border-width: thin;
border-color:#446397;
padding: 0px 0px 0px 4px;
flex-wrap: nowrap;
}
.labelContainer {
display: flex;
flex-direction: row;
width: 98px;
padding: 3px;
margin-top: 4px;
}
.inputContainer {
display: inline-block;
width: 100%;
padding-left: 3px;
overflow-x: clip;
flex-wrap: nowrap;
}
.input-invalid {
border-color: #ff3333 !important;
border-style: solid;
}
.input-valid {
/* border-color: #000000 !important; */
border-style: solid;
}
input:focus, textarea:focus{
/* background-color: yellow; */
border: 0px;
}
input[type=text] {
width: 100%;
}
select {
width: 100%;
}
#fields *:not([type=submit]):focus {
background-color: yellow;
}
#prompt{
}
.parent_Window {
box-shadow: var(- -ds-shadow-overlay, 0 4px 8px -2px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31));
width: 238px;
height: fit-content;
margin: auto;
position: relative;
background: white;
padding: 17px;
border-radius: 1%;
max-height: 90%;
padding-right: 22px;
text-align: center;
}
.genericPopup {
background-color: #000000a1;
display: -webkit-inline-box;
width: 100%;
height: 100%;
position: absolute;
top: 0;
z-index: 1;
backdrop-filter: blur(4px);
}
.normalButton {
border: solid 1px black;
width: fit-content;
font-size: 14px;
padding: 4.5px;
height: fit-content;
display: inline-block;
vertical-align: middle;
transition: color .6s ease-in-out, box-shadow .6s ease-in-out;
}
.floatingButtonPanel {
width: fit-content;
text-align: right;
margin-top: 9px;
display: inline-block;
vertical-align: middle;
float: right;
width: 150px;
padding: 0px;
}
.emphasizeButton {
border: solid 1px black;
border-radius: 2px;
font-family: OpenSans, sans-serif;
background-color: #0057a4;
font-size: 14px;
vertical-align: middle;
padding: 5px 16px;
margin-right: 6px;
display: inline-block;
margin-left: 10px;
color: white;
cursor: pointer;
transition: color .6s ease-in-out, box-shadow .6s ease-in-out;
}
#checkBoxCont{
display: flex;
margin-left: 10px;
}
#checkBoxCont>label{
line-height: 20px;
padding: 6px;
width: 180px;
text-align: left;
}
#checkBoxCont>input{
width: 21px;
}
#okCancelCont{
text-align: right;
}
#okCancelCont>button{
margin-left: 5px;
}
#text-area{width: 91%;font-size: 11px;padding: 9px 9px;margin-left: 15px;margin-top: 5px;margin-bottom: 5px;height: 103px;}
#end_window{
text-align: center;
height: 120px;
width: 400px;
}
#endOkCnclCont>button{
margin:5px;
}
.select2-container--default .select2-selection--single{
border-radius:0px !important;
}
@keyframes fadeIn {
from {opacity: 0;}
to {opacity:1 ;}
}
html {
min-height: 100vh;
}
/* Popup container - can be anything you want */
.popup {
position: relative;
display: inline-block;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* The actual popup */
.popup .popuptext {
visibility: hidden;
background-color: #000000d9;
color: #fff;
border-radius: 6px;
position: absolute;
z-index: 1;
width: 363px;
padding: 18px 16px;
font-size: 13px;
left: -3px;
top: 21px;
}
/* Popup arrow */
.popup .popuptext::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 0px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}
/* Toggle this class - hide and show the popup */
.popup .show {
visibility: visible;
-webkit-animation: fadeIn 1s;
animation: fadeIn 1s;
}
/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
from {opacity: 0;}
to {opacity: 1;}
}
@keyframes fadeIn {
from {opacity: 0;}
to {opacity:1 ;}
}
*{
-webkit-font-smoothing: auto;
font-size: 13px;
letter-spacing: 0.1em;
text-rendering: optimizeLegibility;
font-weight: normal;
font-family: OpenSans, sans-serif;
font-style: normal;
}
button:hover{
cursor:pointer;
}
#with-config {
margin: 0;
grid-template-columns: auto auto 375px;
min-height: 100vh;
grid-template-areas:
"main main sidebar";
bottom: 0;
margin: 0;
padding: 0;
left: 0;
top: 0;
position: relative;
overflow-y: hidden;
overflow-x: hidden;
}
/* Logout Button */
.logOutButton {
position: absolute;
right: 0px;
top: 4px;
padding: 10px;
cursor: pointer;
}
.normalIcon {
width: 20px;
}
/* For the right pane */
.sidebar {
position: absolute;
right: 0;
display: flex;
flex-direction: column;
height: 100%;
width: 30%;
background-image: linear-gradient(to bottom, #23569f, #00a8c0);
}
.SECTION1.inputField {
width: 100%;
height: 100%;
}
.SECTION2.inputField {
width: 100%;
height: 100%;
}
.SECTION3.inputField {
width: 100%;
height: 100%;
}
.select2 {
width: 100% !important;
}
/* For the login credentials */
#username {
padding-left: 5px;
background-color: blue;
height: 30px;
display: inline-block;
margin-top: 0;
}
#user-settings {
left: 0;
height: 30px;
width: 30px;
border-radius: 100%;
}
#username-text {
float: right;
padding: 10px;
color: white;
}
/* For the project description */
#project-description {
padding-left: 5px;
background-color: pink;
min-height: 250px;
}
#project-description:after {
content: "";
display: table;
clear: both;
}
#column {
float: left;
width: 50%;
}
/* For the fields */
#fields {
width: auto;
display: flex;
flex: 1;
max-height: 100vh;
display: inline-block;
overflow-y: scroll;
}
#fields>div {
background-color:white;
}
.submitButtons {
font-weight: 600;
display: block;
margin: auto;
font-size: 13px;
width: 93px;
margin-top: 10px;
cursor: pointer;
}
/* For the viewer */
main#viewer {
position: absolute;
width: 70%;
height: 100%;
}
.TiffViewercontainer {
/* margin-top: 10; */
padding-left: 0;
padding-right: 0;
margin-left: auto;
margin-right: auto;
/* padding: 1px; */
}
#TiffViewer_ButtonContainer {
display: inline-block;
margin: auto;
text-align: center;
width: 100%;
height: 100%;
margin-top: 2px;
}
.TiffViewer_ButtonClass {
display: inline-block;
height: 26px;
font-size: 13px;
cursor: pointer;
color: white;
padding: 5px 10px;
vertical-align: -webkit-baseline-middle;
}
#TiffViewer_PrevButton {
margin-right: 20px;
}
.multiTiffViewer_ButtonClass {
background-color: #000000a1;
border: none;
font-size: 14px;
color: white;
font-weight: 600;
padding: 2px 8px;
}
img.tiffViewerIcons {
transition: all 0.2s ease-out 100ms;
width: 22px;
}
#refresh:hover,
#pause:hover,
#return:hover,
#reject:hover {
transition: all 0.2s ease-out 100ms;
width: 25px;
}
.headerLabel {
color: #676767;
font-weight: 600;
font-size: 20px;
padding: 4px 0px 5px 8px;
text-align: left;
}
#endDiv{
width: 100%;
text-align: right;
}
.emphasizeButton:hover, .normalButton:hover, .functionButton:hover, .refreshBtn:hover {
background-color: #d2e2ff;
font-size: 14px;
color: #4472C4;
border: 1px solid #4472C4;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s, font-size 0.3s ease-out 100ms;
}
#endBtn{
}
.viewerSizeLabel {
color: white;
position: absolute;
right: 5px;
top: 10px;
}
.popup .popupLogoutText {
visibility: hidden;
width: 100px;
height: 20px;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 8px 0;
position: absolute;
z-index: 1;
top: 20px;
right: 0%;
margin-left: 0;
}
#counter {
/* font-size: 22px;
padding: 10px;
position: absolute;
z-index: 1;
right: 199px;
bottom: -6px;
text-shadow:
-1px -1px 0 #000,
0 -1px 0 #000,
1px -1px 0 #000,
1px 0 0 #000,
1px 1px 0 #000,
0 1px 0 #000,
-1px 1px 0 #000,
-1px 0 0 #000; */
}
.green{
color: green;
}
.red{
color: red;
}
textarea{
resize: none;
}
#MssgBox {
width: 100%;
}
#pauseBtn {
text-align: center;
padding:10px;
color:white;
}
.multiTiffButtonDiv {
display: inline-flex;
position: absolute;
right: 0;
}
#TiffButtonRight{
display: inline-flex;
padding: 2px 16px;
z-index: 1;
position: absolute;
top: 0;
text-align: center;
height: 45px;
flex-wrap: wrap;
align-content: center;
/* margin-top: -50px; */
right: -9%;
}
.buttonRightClass {
padding: 0px 10px;
cursor: pointer;
}
#nextDiv:hover {
margin-right: 1.2%;
}
#prevDiv:hover {
margin-left: 1.2%;
}
#refreshBtn {
padding: 10px;
color:white;
}
#TiffButtonRight>button{
border: 1px solid #446397;
border-radius: 100%;
width: 40px;
height: 40px;
margin-bottom: 5px;
}
#help {
padding: 3px;
float:left;
margin-right: 10px;
display: flex;
align-items: center;
top: 3px;
width: 13px;
height: 13px;
justify-content: center;
cursor: pointer;
border: 2px solid #ffffff;
border-radius: 200px;
font-size: 15px;
color: white;
}
#usernameCont{
padding: 3px;
float: right;
}
div#nextDivContainer {
display: flex;
height: 100%;
width: 7%;
justify-content: flex-end;
}
#nextDiv {
background-color: #000000a1;
width: 50px;
display: flex;
top: 50%;
height: 50px;
position: absolute;
border-radius: 83%;
cursor: pointer;
margin-right: 1.5%;
right: 0;
transition: all 0.2s ease-out 100ms;
}
div#prevDivContainer {
display: flex;
height: 100%;
width: 7%;
justify-content: flex-start;
}
#prevDiv {
transition: all 0.2s ease-out 100ms;
z-index: 1;
background-color: #000000a1;
width: 50px;
top: 50%;
height: 50px;
position: absolute;
border-radius: 83%;
cursor: pointer;
margin-left: 1.5%;
}
#prev {position: absolute;margin: auto;top: 58%;margin-left: 29%;width: 16px;height: 3px;background-color: #ffffff;box-shadow: 0 3px 5px rgb(0 0 0 / 20%);animation: arrow 700ms linear infinite;transform: rotate(48deg);cursor: pointer;}
#prev::after {
content: '';
position: absolute;
width: 105%;
height: 3px;
right: 7px;
background-color: #ffffff;
top: -7px;
transform: rotate(-94deg);
}
#next {position: absolute;margin: auto;top: 37%;margin-left: 38%;width: 16px;height: 3px;background-color: #ffffff;box-shadow: 0 3px 5px rgb(0 0 0 / 20%);animation: arrow 700ms linear infinite;transform: rotate(-140deg);cursor: pointer;}
#next::after {
content: '';
position: absolute;
width: 105%;
height: 3px;
right: 7px;
background-color: #ffffff;
top: -7px;
transform: rotate(-94deg);
}
#nextDiv:hover,
#prevDiv:Hover {
background-color: #0057a4;
transition: all 0.2s ease-out 100ms;
}
#returnDiv {
padding: 10px;
}
#TiffViewerImageName {
padding: 17px;
color: white;
}
#totalPageDiv {
padding: 10px;
}
#totalPageValue {
padding: 3px;
margin-right: 10px;
}
#userNameValue {
padding: 3px;
margin: auto;
width: 98px;
margin-top: 3px;
}
#elemIDValue {
padding: 3px;
margin-right: 10px;
}
/* ADDED: added to adjust button container when window is resized */
@media only screen and (max-width: 1150px) {
#TiffViewer_ButtonContainer {
justify-content: start;
}
}
#TiffViewerDetailscontainer {
/* overflow: hidden; */
height: auto;
width: auto;
position: relative;
justify-content: space-around;
display: flex;
align-items: center;
}
/* #TiffViewer_ButtonContainer>.TiffViewer_ButtonClass:not(:last-child) {
margin-right: 5px;
} */
#TiffViewer_Screen {
clear: both;
position: relative;
}
.TiffViewer_imgclass {
justify-content: center;
-webkit-user-drag: none;
-khtml-user-drag: none;
-moz-user-drag: none;
-o-user-drag: none;
}
.TiffViewer_FullscreenButton:-webkit-fullscreen {
width: auto !important;
height: auto !important;
margin: auto !important;
}
.TiffViewer_FullscreenButton:-moz-fullscreen {
width: auto !important;
height: auto !important;
margin: auto !important;
}
.fullscreen:-ms-fullscreen {
width: auto !important;
height: auto !important;
margin: auto !important;
}
body {
overflow-y: auto;
margin: 0;
max-height: 100vh;
bottom: 0;
/* justify-content: center; */
}
body>div>button {
margin: 0;
position: absolute;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
/* CHANGED: changed to none, so that it will not display */
#TestTIFFDisplay {
display: none;
/* max-width: 0%;
max-height: 0%; */
}
/* The Modal (background) */
#TiffViewerModal {
/* Hidden by default */
/* CHANGED: block by default */
/* Stay in place */
/* Sit on top */
/* Location of the box */
/* Full width */
/* Full height */
/* Enable scroll if needed */
/* Fallback color */
/* Black w/ opacity */
padding: 0px 0px 0px 0px;
height: 100%;
display: flex;
position: absolute;
width: 100%;
z-index: 1;
flex-wrap: wrap;
left: 0;
vertical-align: middle;
}
/* Modal Content */
.TiffModalContent {
/* border: 1px solid #888;
width: 90%;
*/
height: calc(100% - 80px);
width: 86%;
position: relative;
display: inline-block;
justify-content: center;
}
/* Add Animation */
@-webkit-keyframes animatetop {
from {
top: -300px;
opacity: 0
}
to {
top: 0;
opacity: 1
}
}
@keyframes animatetop {
from {
top: -300px;
opacity: 0
}
to {
top: 0;
opacity: 1
}
}
/* The Close Button */
.TiffModalClose {
color: black;
float: right;
font-size: 28px;
font-weight: bold;
}
.TiffModalClose:hover,
.TiffModalClose:focus {
color: red;
text-decoration: none;
cursor: pointer;
}
#TiffModalHeader {
width: 100%;
padding: 0px 8.05%;
left: -8%;
position: absolute;
height: 50px;
display: inline-block;
background-color: #000000a1;
}
#TiffModalBody {
margin: auto;
height: 95%;
width: 100%;
position: absolute;
display: inline-block;
margin-top: 7%;
overflow: auto;
}
#TiffModalFooter {
height: 38px;
bottom: 0px;
position: fixed;
width: 70%;
left: 0%;
display: block;
background-color: #000000a1;
}
#TiffViewer_FileContainer{
margin-top: 10px !important;
border: 1px solid #ccc;
overflow: hidden;
display: flex;
position: relative;
justify-content: center;
align-items: center;
margin: auto;
}
.bar {
width: 133px;
position: absolute;
display: flex;
top: 6%;
right: 42%;
bottom: 0px;
height: 100%;
align-items: center;
}
div#status {
left: 0;
position: absolute;
}
.lds-roller {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.lds-roller div {
animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
transform-origin: 40px 40px;
}
.lds-roller div:after {
content: " ";
display: block;
position: absolute;
width: 7px;
height: 7px;
border-radius: 50%;
background: #000000a1;
margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
top: 63px;
left: 63px;
}
.lds-roller div:nth-child(2) {
animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
top: 68px;
left: 56px;
}
.lds-roller div:nth-child(3) {
animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
top: 71px;
left: 48px;
}
.lds-roller div:nth-child(4) {
animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
top: 72px;
left: 40px;
}
.lds-roller div:nth-child(5) {
animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
top: 71px;
left: 32px;
}
.lds-roller div:nth-child(6) {
animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
top: 68px;
left: 24px;
}
.lds-roller div:nth-child(7) {
animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
top: 63px;
left: 17px;
}
.lds-roller div:nth-child(8) {
animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
top: 56px;
left: 12px;
}
@keyframes lds-roller {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
#inputs {
display: flex;
flex-direction: column;
min-width: 500px;
}
#Date{
width:100%;
height: 31px;
}
.fieldContainer {
/* layout config */
display: flex;
flex-direction: row;
/* border config */
border-style: solid;
border-width: thin;
border-color:#446397;
padding: 0px 0px 0px 4px;
flex-wrap: nowrap;
}
.labelContainer {
display: flex;
flex-direction: row;
width: 98px;
padding: 3px;
margin-top: 4px;
}
.inputContainer {
display: inline-block;
width: 100%;
padding-left: 3px;
overflow-x: clip;
flex-wrap: nowrap;
}
.input-invalid {
border-color: #ff3333 !important;
border-style: solid;
}
.input-valid {
/* border-color: #000000 !important; */
border-style: solid;
}
input:focus, textarea:focus{
/* background-color: yellow; */
border: 0px;
}
input[type=text] {
width: 100%;
}
select {
width: 100%;
}
#fields *:not([type=submit]):focus {
background-color: yellow;
}
#prompt{
}
.parent_Window {
box-shadow: var(- -ds-shadow-overlay, 0 4px 8px -2px rgba(9, 30, 66, 0.25), 0 0 1px rgba(9, 30, 66, 0.31));
width: 238px;
height: fit-content;
margin: auto;
position: relative;
background: white;
padding: 17px;
border-radius: 1%;
max-height: 90%;
padding-right: 22px;
text-align: center;
}
.genericPopup {
background-color: #000000a1;
display: -webkit-inline-box;
width: 100%;
height: 100%;
position: absolute;
top: 0;
z-index: 1;
backdrop-filter: blur(4px);
}
.normalButton {
border: solid 1px black;
width: fit-content;
font-size: 14px;
padding: 4.5px;
height: fit-content;
display: inline-block;
vertical-align: middle;
transition: color .6s ease-in-out, box-shadow .6s ease-in-out;
}
.floatingButtonPanel {
width: fit-content;
text-align: right;
margin-top: 9px;
display: inline-block;
vertical-align: middle;
float: right;
width: 150px;
padding: 0px;
}
.emphasizeButton {
border: solid 1px black;
border-radius: 2px;
font-family: OpenSans, sans-serif;
background-color: #0057a4;
font-size: 14px;
vertical-align: middle;
padding: 5px 16px;
margin-right: 6px;
display: inline-block;
margin-left: 10px;
color: white;
cursor: pointer;
transition: color .6s ease-in-out, box-shadow .6s ease-in-out;
}
#checkBoxCont{
display: flex;
margin-left: 10px;
}
#checkBoxCont>label{
line-height: 20px;
padding: 6px;
width: 180px;
text-align: left;
}
#checkBoxCont>input{
width: 21px;
}
#okCancelCont{
text-align: right;
}
#okCancelCont>button{
margin-left: 5px;
}
#text-area{width: 91%;font-size: 11px;padding: 9px 9px;margin-left: 15px;margin-top: 5px;margin-bottom: 5px;height: 103px;}
#end_window{
text-align: center;
height: 120px;
width: 400px;
}
#endOkCnclCont>button{
margin:5px;
}
.select2-container--default .select2-selection--single{
border-radius:0px !important;
}
@keyframes fadeIn {
from {opacity: 0;}
to {opacity:1 ;}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment