summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/sections/sections.css
blob: e18d2cc0c09ebc1ac18fcab8d5f4afaafaa1e4be (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
/* Viewer sections */

.viewer-sections {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: black;
  color: white;
  display: block;
  white-space: nowrap;
  transition: transform 0.2s;
  transform: translateZ(0) translateY(25rem);
  border-top: 1px solid #fff;
}
.sections-open .viewer-sections {
  transform: translateZ(0) translateY(0);
}
.viewer-sections .viewer-section {
  display: inline-flex;
  white-space: normal;
  width: 12rem;
  margin: 1rem 0 1rem 1rem;
  font-size: 16px;
  cursor: pointer;
}
.viewer-section > div {
  height: 20rem;
}
.viewer-sections .section-thumbnail {
  display: block;
  border-radius: 1rem;
  width: 12rem;
  height: 8rem;
  margin-bottom: 0.5rem;
  background-size: cover;
  background-position: center center;
}
.viewer-sections .section-media {
  margin-top: 0.75rem;
  font-size: 12px;
}