alfresco-ng2-components/lib/core/viewer/components/pdfViewer-thumbnails.component.scss
Denys Vuika a0926a38d8
Minor code and style fixes (#5398)
* type fixes

* import fixes

* fix typos

* fix warning for private props that init in ctor only

* typing fixes

* typing fixes

* style cleanup

* fix test template
2020-02-09 22:03:32 +00:00

37 lines
819 B
SCSS

@import '~@angular/material/theming';
@mixin adf-pdf-thumbnails-theme($theme) {
$background: map-get($theme, background);
.adf-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: 0 0 5px 0 $black-87-opacity;
}
&__thumb--selected:not(:hover) {
box-shadow: 0 0 5px 0 $black-87-opacity;
}
}
}