mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
48 lines
801 B
SCSS
48 lines
801 B
SCSS
.#{$ns}PdfViewer {
|
|
position: relative;
|
|
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 {
|
|
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;
|
|
}
|
|
}
|
|
}
|