summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/viewer/nav/nav.css
blob: 368959393553c966fb186e37e972a6b79b213891 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
.viewer-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 18px;
}

/* The main nav row */

.viewer-nav > .nav-row {
  width: 100%;
  height: 3rem;
  padding: 0.25rem 0 0.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.viewer-nav > .nav-row > div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32%;
}
.viewer-nav > .nav-row > div:nth-child(1) {
  justify-content: flex-start;
  align-items: center;
}
.viewer-nav > .nav-row > div:nth-child(2) {
  justify-content: center;
  align-items: center;
}
.viewer-nav > .nav-row > div:nth-child(3) {
  justify-content: flex-end;
  align-items: center;
}

.viewer-nav .link {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;  
  cursor: pointer;
}

.transcript-link {
  padding-right: 1.25rem;
}

/* Arrows */

.viewer-nav .arrow {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.viewer-nav .arrow.left,
.viewer-nav .arrow.right {
  width: 1.25rem;
}
.viewer-nav .arrow svg {
  width: 100%;
  height: 100%;
}

/* Volume button */

.volume {
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
}
.volume path {
  fill: #000;
}
.volume.muted path {
  fill: #fff;
  stroke: #000;
  stroke-width: 0.5;
}
.nav-open .volume path {
  fill: #fff;
}
.nav-open .volume.muted path {
  fill: #000;
  stroke: #fff;
}

/* Play button */

.playToggle {
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
}
.playToggle path,
.playToggle polygon {
  fill: #000;
}
.nav-open .playToggle path,
.nav-open .playToggle polygon {
  fill: #fff;
}

/* Player time */

.playerTime {
  margin-left: 0.5rem;
  margin-right: 0.75rem;
}