summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/media/media.css
blob: a2d95c86fd937f27634df1ee28cdf5f6664b58b6 (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
.app > .media {
  width: 100%;
  height: calc(100% - 3.125rem);
  overflow: scroll;
}

.results .cell {
  margin-bottom: 1rem;
  margin-right: 1rem;
}
.results h2 {
  display: block;
  width: 100%;
}
.media .results .meta > div {
  max-width: 100%;
}

/* new / edit media forms */

.formContainer {
  padding-top: 1rem;
}

.imageForm,
.videoForm {
  padding: 1rem 1rem 0.5rem 1rem;
  margin: 1rem 0;
  position: relative;
  left: -1rem;
  border-radius: 10px;
}

/* image form */

.imageForm {
  background: #315;
}
.imageForm .fileInput .row {
  position: relative;
}

/* video form */

.videoForm {
  background: #314;
}
.videoForm .thumbnail img {
  max-height: 200px;
}

/* image crop */

.imageSelection {
  width: 30rem;
  position: relative;
}
.imageSelection img {
  display: block;
  max-width: 100%;
  max-height: 20rem;
}
.imageSelection img.loading {
  opacity: 0.5;
}
.imageSelection .box {
  position: absolute;
  background: rgba(255,32,64,0.05);
  border: 1px solid #f24;
}