151 lines
2.4 KiB
CSS
151 lines
2.4 KiB
CSS
.cg_popup {
|
|
position: absolute;
|
|
width:100%;
|
|
height:100%;
|
|
background-color: rgba(0, 0, 0, 0.95);
|
|
z-index: 100000;
|
|
--text_area_height: 150px;
|
|
}
|
|
|
|
.cg_counter {
|
|
position: absolute;
|
|
top: 45px;
|
|
left: 70px;
|
|
color: white;
|
|
padding: 10px;
|
|
z-index: 110000;
|
|
background-color: rgba(128, 128, 128, 0.5);
|
|
text-align: center;
|
|
}
|
|
|
|
.tiny_window {
|
|
position: absolute;
|
|
width: 80px;
|
|
height: 80px;
|
|
left: 70px;
|
|
top: 70px;
|
|
border: 1px solid white;
|
|
background-color: #fdfdfd30;
|
|
}
|
|
|
|
.tiny_image {
|
|
padding: 1px;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.cg_counter .counter_text {}
|
|
|
|
.cg_counter .counter_reset {
|
|
margin-left: 5px;
|
|
padding: 1px;
|
|
}
|
|
|
|
.cg_popup .grid {
|
|
position: absolute;
|
|
width:80%;
|
|
left:5%;
|
|
height:calc(90% - var(--text_area_height));
|
|
top:5%;
|
|
display: grid;
|
|
align-content: space-evenly;
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
.cg_popup .overlaygrid {
|
|
opacity: 0.5;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.cg_popup .title {
|
|
position: absolute;
|
|
left: 40%;
|
|
top: 2%;
|
|
font-size: larger;
|
|
}
|
|
|
|
.cg_popup .tip {
|
|
display: block;
|
|
padding-top: 10px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.cg_popup .buttons {
|
|
position: absolute;
|
|
width:14%;
|
|
left:86%;
|
|
height:90%;
|
|
top:5%;
|
|
font-size: small;
|
|
}
|
|
|
|
.cg_popup .control_text:after {
|
|
content:"\a";
|
|
white-space: pre;
|
|
}
|
|
|
|
.cg_popup .grid img {
|
|
margin: 2px;
|
|
border: 1px solid white;
|
|
padding: 4px;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.cg_popup .grid img.selected {
|
|
border: 3px solid green;
|
|
padding: 2px;
|
|
}
|
|
|
|
.cg_popup .grid img.hover {
|
|
box-shadow: 0 0 4px 4px red;
|
|
}
|
|
|
|
.cg_popup .zoomed {
|
|
position: absolute;
|
|
width: 100%;
|
|
left: 0;
|
|
height: 100%;
|
|
right: 0;
|
|
display: block;
|
|
z-index: 120000;
|
|
background-color: rgba(29, 29, 29, 0.886);
|
|
}
|
|
|
|
.cg_popup .zoomed.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.cg_popup .zoomed_image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
|
|
}
|
|
|
|
.cg_popup .buttons button {
|
|
margin: 5px 0 5px 0;
|
|
padding: 4px;
|
|
display: block;
|
|
width: 100px;
|
|
}
|
|
|
|
.cg_popup .buttons input {
|
|
padding: 4px;
|
|
display: inline;
|
|
}
|
|
|
|
.cg_popup .text_edit {
|
|
position: absolute;
|
|
display:block;
|
|
width: 80%;
|
|
left: 10%;
|
|
bottom: 10px;
|
|
height: calc(var(--text_area_height) - 20px);
|
|
}
|
|
|
|
.cg_popup.hidden {
|
|
display:none
|
|
} |