blob: 572cc99c195b4d05d7cf51298ea54ca1386ffca7 (
plain) (
blame)
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
|
/* Attachment */
.attachment {
border: 2px solid black;
border-top: 0;
border-radius: 0 0 .6em .6em;
padding: .4em;
padding-top: 1em;
margin-top: calc(-0.8em - 2px);
}
.clickable {
width: 100%;
height: 100%;
display: flex;
}
.clickable:hover {
cursor: pointer;
}
.attachment-name {
flex: 1;
}
.attachment-type {
margin-left: .2em;
}
/* Full attachment */
.show-full-attachment {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: #000000AF;
display: flex;
justify-content: center;
align-items: center;
z-index: 2;
}
.show-full-attachment > * {
max-height: 100vh;
max-width: 100vw;
}
.attachment-download {
max-width: 420px !important;
margin: 0 .4em;
text-decoration: none;
color: white;
border-color: white;
background-color: black;
}
.attachment-download:hover {
background-color: white;
color: var(--focus-color);
}
.close {
position: fixed;
top: .2em;
right: .2em;
font-size: 2em;
color: whitesmoke;
}
.close:hover {
color: var(--failure);
cursor: pointer;
}
|