summaryrefslogtreecommitdiff
path: root/Pages/ViewMedia.razor.css
blob: 9ae291c0a67649bfaca32411028c9a20b834784c (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
div#content {
    display:     flex;
    align-items: start;
    height:      100%;
}

div#image-container {
    box-sizing: border-box;
    height:     100%;
    padding:    var(--size-default-gap);
    width:      calc(100% - 700px);
}

div#image-container > img {
    display:    block;
    left:       50%;
    max-height: 100%;
    max-width:  100%;
    object-fit: contain;
    position:   relative;
    top:        50%;
    transform:  translate(-50%, -50%);
}

div#metadata {
    background:  #333;
    box-shadow:  rgba(0, 0, 0, 0.5) -10px 0px 10px;
    box-sizing:  border-box;
    height:      100%;
    margin-left: auto;
    padding:     30px;
    width:       700px;
    z-index:     90;
}

table#edit-metadata {
    border-collapse: collapse;
    width:           100%;
}

table#edit-metadata tr:first-child {
    vertical-align: middle;
}

table#edit-metadata tr:last-child {
    vertical-align: top;
}

table#edit-metadata td:last-child {
    width: 100%;
}

table#edit-metadata td > input {
    width:  100%;
    margin: 0;
}

table#edit-metadata td > textarea {
    margin: 0;
    resize: none;
    width:  100%;
}

table#uploaded-files th {
    font-size: 8pt;
}

table#uploaded-files td {
    font-family:   'Lucida Console';
    font-size:     8pt;
    overflow:      hidden;
    text-overflow: ellipsis;
    white-space:   nowrap;
}

table#uploaded-files td:nth-child(4) {
    max-width: 170px;
}

p.heading {
    margin-top: 30px;
}

p.newlines {
    white-space: pre-line;
}