#compareContainer{
width: calc(100% - 330px);
height: calc(100% - 60px);
margin-left: 325px;
margin-top: 60px;
-webkit-box-shadow: 1px 1px 10px #999;
box-shadow: 1px 1px 10px #999;
}
/* top header */
#header{
background-color: #00a5e4;
height: 30px;
display: flex;
flex-direction: row;
justify-content: space-evenly;
}
#header span{
color: white;
margin: 2.5px;
}
#currentPage{
height: 15px;
width: 50px;
font-size: 12px !important;
border-radius: 4px;
box-sizing: content-box;
margin-right: 5px;
}
#totalPage{
margin-left: 5px;
}
#expandTextBtn{
height: 20px;
width: 30px;
background-position: center;
background-repeat: no-repeat;
background-image: url('data:image/svg+xml;utf8,');
}
#shirkTextBtn{
height: 20px;
width: 30px;
background-position: center;
background-repeat: no-repeat;
background-image: url('data:image/svg+xml;utf8,');
}
#expandTextBtn:focus, #shirkTextBtn:focus{
outline: none;
}
#currentPage:focus{
outline-color: #00a5e4;
}
#searchContainer{
display: flex;
}
#textSearch{
padding: 0px;
margin: 0px;
}
#searchForm{
display: flex;
}
/* color popup */
#colorFormPopup{
position: fixed;
background-color: rgba(255,255,255,.9);
border: 1px solid rgba(0, 0, 0, .5);
right: 1%;
padding: 4px;
}
#colorFormPopup > h2{
margin: 7px 0px;
}
#colorFormPopup > h4{
margin: 7px 0px;
}
/* top text display */
.text-compare#compareViewers {
display: flex;
width: 100%;
height: calc(50% - 30px);
}
.text-compare .viewer {
display: inline-block;
width: calc(100% - 330px);
overflow: scroll;
}
@media (max-width: 800px) {
.text-compare .viewer:first-child {
margin-top: 60px;
}
.text-compare .viewer {
margin-top: 10px;
width: 100%;
height: 90%;
-webkit-box-shadow: 1px 1px 10px #999;
box-shadow: 1px 1px 10px #999;
overflow: scroll;
}
.text-compare#compareViewers {
padding: 15px 15px 0px 15px;
margin-left: 0px;
display: flex;
flex-wrap: wrap;
width: 100%;
height: 50%;
}
}
#compareViewers{
height: 50%;
}
.viewer .section {
background-color: lightgrey;
}
.viewer .section p{
margin: 0px;
}
.section.identical:hover {
background-color: darkgray;
cursor: pointer;
}
p.hidden, span.hidden {
display: none;
}
/* middle controls */
#documentToggle{
width: 100%;
height: 20px;
padding: 5px 0px;
background-color: #00a5e4;
display: flex;
flex-direction: row;
justify-content: space-evenly;
}
/* bottom viewers */
.documentsContainer{
height: calc(50% - 30px);
}
.documentViewer{
height: 100%;
}
.documentViewer.hidden {
height: 0px;
}