mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-21 13:39:30 -07:00
reformat image.scss to accommodate the new features of scss
This commit is contained in:
@@ -14,96 +14,101 @@
|
|||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.image_container[data-status='t0'] {
|
|
||||||
transition: all 0.5s ease-in-out 1.5s;
|
|
||||||
max-height: calc(100vh - var(--footer-height));
|
|
||||||
width: auto;
|
|
||||||
max-width: 100vw;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
img {
|
&[data-status='t0'] {
|
||||||
transition: all 0.5s ease-in-out 2s;
|
transition: all 0.5s ease-in-out 1.5s;
|
||||||
max-height: calc(100vh - var(--footer-height));
|
max-height: calc(100vh - var(--footer-height));
|
||||||
width: auto;
|
width: auto;
|
||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
object-fit: contain;
|
display: flex;
|
||||||
}
|
align-items: center;
|
||||||
}
|
|
||||||
|
|
||||||
.image_container[data-status='t1'] {
|
|
||||||
transition: opacity 0.5s ease-out 1s;
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
.image_container[data-status='t2'] {
|
|
||||||
transition: opacity 0.5s ease-out 0.75s;
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
.image_container[data-status='t3'] {
|
|
||||||
transition: opacity 0.5s ease-out 0.5s;
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
.image_container[data-status='t4'] {
|
|
||||||
transition: opacity 0.5s ease-out 0.25s;
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image_container[data-status='r0'] {
|
|
||||||
transition: all 0.5s ease-in-out 1s;
|
|
||||||
max-height: 55vmin;
|
|
||||||
position: absolute;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
opacity: 1;
|
|
||||||
width: auto;
|
|
||||||
max-width: 100vw;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
|
|
||||||
img {
|
img {
|
||||||
transition: all 1s ease-in-out 0s;
|
transition: all 0.5s ease-in-out 2s;
|
||||||
|
max-height: calc(100vh - var(--footer-height));
|
||||||
|
width: auto;
|
||||||
|
max-width: 100vw;
|
||||||
|
object-fit: contain;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&[data-status='t1'] {
|
||||||
|
transition: opacity 0.5s ease-out 1s;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&[data-status='t2'] {
|
||||||
|
transition: opacity 0.5s ease-out 0.75s;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&[data-status='t3'] {
|
||||||
|
transition: opacity 0.5s ease-out 0.5s;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&[data-status='t4'] {
|
||||||
|
transition: opacity 0.5s ease-out 0.25s;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&[data-status='r0'] {
|
||||||
|
transition: all 0.5s ease-in-out 1s;
|
||||||
max-height: 55vmin;
|
max-height: 55vmin;
|
||||||
max-width: 100vw;
|
position: absolute;
|
||||||
object-fit: contain;
|
transform: translate(-50%, -50%);
|
||||||
|
opacity: 1;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
max-width: 100vw;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
img {
|
||||||
|
transition: all 1s ease-in-out 0s;
|
||||||
|
max-height: 55vmin;
|
||||||
|
max-width: 100vw;
|
||||||
|
object-fit: contain;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&[data-status='r1'] {
|
||||||
|
transition: opacity 0.25s ease-out 1.5s;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
&[data-status='r2'] {
|
||||||
|
transition: opacity 0.25s ease-out 1.75s;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
&[data-status='r3'] {
|
||||||
|
transition: opacity 0.25s ease-out 2s;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
&[data-status='r4'] {
|
||||||
|
transition: opacity 0.25s ease-out 2.25s;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#layer5 {
|
||||||
|
z-index: 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
#layer4 {
|
||||||
|
z-index: 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
#layer3 {
|
||||||
|
z-index: 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
#layer2 {
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#layer1 {
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.image_container[data-status='r1'] {
|
|
||||||
transition: opacity 0.25s ease-out 1.5s;
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
.image_container[data-status='r2'] {
|
|
||||||
transition: opacity 0.25s ease-out 1.75s;
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
.image_container[data-status='r3'] {
|
|
||||||
transition: opacity 0.25s ease-out 2s;
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
.image_container[data-status='r4'] {
|
|
||||||
transition: opacity 0.25s ease-out 2.25s;
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#layer5 {
|
|
||||||
z-index: 5;
|
|
||||||
}
|
|
||||||
|
|
||||||
#layer4 {
|
|
||||||
z-index: 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
#layer3 {
|
|
||||||
z-index: 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
#layer2 {
|
|
||||||
z-index: 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
#layer1 {
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user