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

div#image-container {
    box-sizing: border-box;
    flex:       1 0 0;
    height:     100%;
    padding:    var(--size-default-gap);
    width:      100%;
}

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;
    display:        flex;
    flex-direction: column;
    flex:           0 0 auto;
    height:         100%;
    margin-left:    auto;
    padding:        30px;
    transition:     margin-right 0.1s linear;
    width:          700px;
    z-index:        90;
}

div#metadata.hidden {
    box-shadow:   none;
    margin-right: -700px;
}

@media (max-aspect-ratio: 4/3) {
    div#metadata {
        box-shadow:   none;
        margin-right: -700px;
    }
}

div#button-container {
    margin-top: auto;
}

div#metadata-container {
    overflow-x: hidden;
    overflow-y: auto;
}

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;
}

table#uploaded-files td.verified {
    color: var(--col-checksum-verified-pri);
}

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

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