angular-pdf-view
Version:
Angular 5+ component for rendering PDF
134 lines (117 loc) • 1.99 kB
CSS
mat-toolbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
}
main {
margin-top: 64px;
}
.page-content {
padding-top: 10px;
width: 50%;
margin-left: auto;
margin-right: auto;
}
header {
color: #fff;
background-color: #3f51b5;
padding-top: 25px;
padding-bottom: 25px;
margin-bottom: 25px;
text-align: center;
}
header svg {
fill: #fff;
width: 56px;
height: 56px;
}
@media all and (max-width: 480px) {
.page-content {
width: 100%;
margin-left: 10px;
margin-right: 10px;
}
}
@media all and (max-width: 600px) {
main {
margin-top: 56px;
}
}
.select-file__container {
margin-top: 10px;
margin-bottom: 20px;
}
.select-file__container p {
margin-bottom: 0;
}
.page-number {
width: 50px;
}
.mb {
margin-bottom: 15px;
}
pdf-viewer {
display: block;
}
.error {
color: #ff4146;
}
#progress {
margin-top: 50px;
width: 100px;
text-align: center;
margin-left: auto;
margin-right: auto;
}
#progress .bar,
#progress .bg {
height: 20px;
}
#progress .bg {
background-color: #e3e3e3;
}
#progress .bar {
width: 0;
max-width: 100%;
background-color: #3f51b5;
transition: .5s width;
}
.outline-list li a {
cursor: pointer;
}
.outline-list li a:hover {
color: #ea1f62;
}
.spacer {
flex: 1 1 auto;
}
footer {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: row wrap;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
padding: 32px 16px;
color: #c4c4c4;
background-color: #424242;
}
footer .name {
font-size: 14px;
margin-right: 18px;
line-height: 30px;
}
footer ul {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-flow: row nowrap;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
list-style: none;
margin: 0;
padding: 0;
align-items: center;
}