summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/sections/share.css
blob: ae5dd53b71b35c411fc7190a0b9621fc32a14d12 (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
45
46
47
48
49
50
51
52
53
54
/* share box */

.nav-share {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20rem;
  transform: translateY(30rem) translateZ(0);
  transition: opacity 0.01s, transform 0.2s;
  padding: 0.5rem 0.75rem 0 0.75rem;
  background: black;
  border-top: 1px solid white;
  border-right: 1px solid white;
  color: white;
  font-size: 18px;
}
.checklist-open .nav-share {
  top: 0rem;
  z-index: 21;
  transform: translateY(-30rem) translateZ(0);
  border-top: 0;
  border-bottom: 1px solid white;
  bottom: auto;
}
.share-open .nav-share {
  transform: translateY(0) translateZ(0);
  opacity: 1;
  z-index: 10;
}

.nav-share a {
  color: white;
  text-decoration: none;
}
.nav-share .share-success {
  display: none;
}
.nav-share.copying .share-success {
  margin-left: 1rem;
  display: inline;
  opacity: 1;
  color: white;
  font-size: 0.75rem;
}
.nav-share.copying.copied .share-success {
  opacity: 0;
  transition: opacity 1.0s 1.0s;
}
.nav-share .share-option {
  padding: 0.5rem 0;
}
.nav-share .share-copy {
  cursor: pointer;
}