alfresco-ng2-components/lib/core/viewer/components/pdfViewer-thumbnails.component.scss
Georgiana Roman 1266acc4ab [ADF-2438] fixed thumbnails height (#3407)
* [ADF-2438] calculate thumbnail height

* [ADF-2438] send height to parent element

* [ADF-2438] add width to css

* [ADF-2438] moved height and width logic to parent component

* [ADF-2438] added height and width logic to parent component

* [ADF-2438] fixed failing test
2018-06-04 13:20:20 +02:00

35 lines
788 B
SCSS

@mixin adf-pdf-thumbnails-theme($theme) {
$background: map-get($theme, background);
.pdf-thumbnails {
display: block;
overflow: hidden;
overflow-y: auto;
height: 100%;
position: relative;
&__content {
top: 5px;
left: 50%;
height: 0;
position: absolute;
}
&__thumb {
cursor: pointer;
display: block;
width: 91px;
background: mat-color($background, background);
margin-bottom: 15px;
}
&__thumb:hover {
box-shadow: 0px 0px 5px 0px $black-87-opacity;
}
&__thumb--selected:not(:hover) {
box-shadow: 0px 0px 5px 0px $black-87-opacity;
}
}
}