You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mediarepo/mediarepo-ui/src/app/components/shared/file/file-thumbnail/file-thumbnail.component.scss

61 lines
913 B
SCSS

@import "src/colors";
:host {
position: relative;
}
app-content-aware-image {
height: 100%;
width: 100%;
}
.file-type-icon {
background-color: #303030;
}
.file-type-icon, .file-icon-overlay {
height: 100%;
width: 100%;
display: flex;
ng-icon {
align-self: center;
margin: auto;
}
}
.file-icon-overlay {
position: absolute;
top: 0;
right: 0;
}
.file-status-icon {
position: absolute;
top: 0;
right: 0;
height: 2.5em;
width: 2.5em;
display: flex;
border-bottom-left-radius: 50%;
background-color: transparentize($background, .5);
ng-icon {
align-self: flex-end;
margin: 0 0 auto auto;
font-size: 2em;
}
}
ng-icon.gif-icon {
border-radius: 50%;
background-color: rgba(0, 0, 0, 0.5);
padding: 0.1em;
}
ng-icon {
font-size: 4em;
height: 1em;
width: 1em;
}