mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [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
35 lines
788 B
SCSS
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;
|
|
}
|
|
}
|
|
}
|