You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
912 B
55 lines
912 B
.p-image-mask {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.p-image-preview-container {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.p-image-preview-indicator {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transition: opacity .3s;
|
|
}
|
|
|
|
.p-image-preview-icon {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.p-image-preview-container:hover > .p-image-preview-indicator {
|
|
opacity: 1;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.p-image-preview-container > img {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.p-image-toolbar {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
display: flex;
|
|
}
|
|
|
|
.p-image-action.p-link {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.p-image-preview {
|
|
transition: transform .15s;
|
|
max-width: 100vw;
|
|
max-height: 100vh;
|
|
}
|