new lightbox interface v2

This commit is contained in:
2019-10-20 20:08:15 +02:00
parent 7dbf5bef87
commit acf81386ce
8 changed files with 24 additions and 28 deletions

View File

@@ -8,14 +8,17 @@
}
.lightbox {
top: 50%;
left: 0;
transform: translateY(-50%);
text-align: left;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
.lb-outerContainer {
margin: 0;
display: inline-block;
border-radius:0;
background-color: rgba(255, 255, 255, 0.5);
.lb-image {
image-orientation: from-image;
@@ -53,10 +56,12 @@
padding: 0;
display: inline-block;
vertical-align: top;
width: 300px;
padding: 1em;
width: auto;
white-space: nowrap;
.lb-data {
padding: 1em 0 0 1em;
.lb-details {
float: none;
@@ -66,6 +71,7 @@
}
}
.lb-closeContainer {
display: none !important;
margin-top: 2em;
.lb-close {