aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video/video-thumbnail.component.scss
blob: 0fc2df220028fd31975000b71278e9e7711dbe5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@import '_variables';
@import '_mixins';

.video-thumbnail {
  display: inline-block;
  position: relative;
  border-radius: 4px;
  overflow: hidden;

  &:hover {
    text-decoration: none !important;
  }

  img.blur-filter {
    filter: blur(5px);
    transform : scale(1.03);
  }

  .video-thumbnail-overlay {
    position: absolute;
    right: 5px;
    bottom: 5px;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    font-weight: $font-bold;
    border-radius: 3px;
    padding: 0 5px;
  }
}