summaryrefslogtreecommitdiff
path: root/assets/sass/_thumbnails.sass
blob: f4f0c12b30a7cfb6d302913477f8cf683d6ac5ff (plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
@import variables
@import mixins

.file-thumbnails
  +display-flex
  +flex-direction(row)
  +flex-wrap
  +justify-content(flex-start)

.file-thumbnail
  width: 250px
  border: 1px solid #efefef
  border-radius: 5px
  margin-bottom: 20px
  box-shadow: 4px 2px 10px -6px rgba(0, 0, 0, 0.55)
  margin-right: 15px
  img
    cursor: pointer
    border-top-left-radius: 5px
    border-top-right-radius: 5px
    &:hover
      opacity: 0.5

.file-thumbnail-content
  padding-left: 8px
  padding-right: 8px

.file-thumbnail-title
  font-weight: 700
  font-size: size('compact')
  color: color('medium')

.file-thumbnail-description
  font-size: size('small')
  color: color('light')
  margin-top: 8px
  margin-bottom: 5px

.file-viewer
  position: relative
  img
    max-width: 95%
    max-height: 85%
    margin-top: 10px