amis2/packages/amis-ui/scss/components/_pdf_viewer.scss

48 lines
801 B
SCSS
Raw Normal View History

.#{$ns}PdfViewer {
position: relative;
2024-03-06 15:19:29 +08:00
width: 100%;
min-width: 300px;
height: 100%;
display: flex;
justify-content: center;
padding: 50px 0;
&-Content {
width: max-content;
max-width: 100%;
&.is-loaded {
box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px 0px;
}
}
&-Loading {
2024-03-06 15:19:29 +08:00
width: 100%;
text-align: center;
}
&-Tool {
position: absolute;
z-index: 10;
padding: 5px 15px;
bottom: 60px;
background-color: #444444;
border-radius: 10px;
color: #fff;
text-align: center;
user-select: none;
.gap {
margin: 0 4px;
}
.icon {
cursor: pointer;
width: 20px;
margin: 0 10px;
&:hover {
color: var(--colors-brand-5);
}
}
.page-input {
width: 40px;
}
}
}