art-museum/root/view.css

256 lines
4.2 KiB
CSS
Raw Normal View History

2022-09-23 03:32:29 -07:00
/* Copyright (C) 2021 Alexander Rosenberg
* This file is AGPL v3. See LICENSE file for more information
*/
#close-button {
cursor: pointer;
position: absolute;
color: inherit;
text-decoration: inherit;
font-size: xx-large;
top: 1vh;
left: 2vw;
user-select: none;
}
#info-button-wrapper {
visibility: hidden;
position: absolute;
font-size: xx-large;
top: 1vh;
right: 2vw;
user-select: none;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: nowrap;
width: min-content;
height: min-content;
}
#download-button {
cursor: pointer;
display: none;
color: inherit;
text-decoration: inherit;
margin-right: 1vw;
border: 1px solid transparent;
padding: 2px;
}
#download-button-image {
object-fit: contain;
}
#info-button {
cursor: pointer;
height: max-content;
border: 1px solid white;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
margin: 3px;
margin-right: 1vw;
}
#expand-button {
cursor: pointer;
display: none;
object-fit: contain;
border: 1px solid transparent;
padding: 2px;
}
#size-button {
cursor: pointer;
display: none;
object-fit: contain;
margin-right: 1vw;
border: 1px solid transparent;
padding: 2px;
}
body {
display: flex;
margin-left: 2vw;
margin-right: 2vw;
flex-wrap: wrap;
justify-content: center;
}
#album-title {
min-height: 10vh;
font-size: xx-large;
margin-bottom: 2vh;
font-weight: bold;
text-align: center;
width: 100%;
}
#sidebar-wrapper {
height: 80vh;
display: flex;
justify-content: center;
}
#sidebar {
height: 100%;
width: min-content;
display: grid;
grid-template-columns: repeat(2, auto);
grid-auto-rows: max-content;
overflow: scroll;
justify-content: center;
}
#image-and-info-wrapper {
width: 70vw;
height: max-content;
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-left: 2vw;
}
#main-image-wrapper {
width: 100%;
height: 76vh;
overflow: hidden;
}
.main-viewer {
position: initial;
width: 100%;
height: 100%;
object-fit: contain;
user-select: none;
}
#image-nav-wrapper {
width: 40%;
display: flex;
justify-content: space-between;
}
#current-image-text {
font-size: medium;
display: flex;
justify-content: center;
align-items: center;
}
#prev-image-button {
font-size: xx-large;
height: min-content;
width: min-content;
user-select: none;
cursor: pointer;
}
#next-image-button {
font-size: xx-large;
height: min-content;
width: min-content;
user-select: none;
cursor: pointer;
}
#image-description {
width: 90%;
font-size: medium;
word-wrap: normal;
}
#metadata-window {
display: none;
position: absolute;
top: 10vh;
right: 2vw;
width: 40vw;
height: min-content;
background-color: #222222;
padding: 1vw;
}
#close-metadata-window-button-wrapper {
width: 100%;
display: flex;
justify-content: flex-end;
}
#close-metadata-window-button {
margin-top: 0.5vh;
margin-right: 0.5vw;
width: min-content;
height: min-content;
font-size: medium;
user-select: none;
cursor: pointer;
}
.metadata-prop-wrapper {
width: 100%;
height: min-content;
font-size: larger;
margin-top: 3%;
margin-bottom: 3%;
display: flex;
flex-wrap: nowrap;
}
.metadata-prop-desc {
color: lightgray;
width: 50%;
word-wrap: normal;
}
.metadata-prop-value {
color: white;
width: 50%;
word-wrap: normal;
}
#map-wrapper {
width: 100%;
height: max-content;
}
#source-links {
text-align: center;
}
.metadata-link {
display: inline;
font-size: small;
color: lightgray;
text-decoration: underline;
text-align: center;
}
#main-audio-image {
height: 80%;
width: 100%;
}
#main-audio {
height: 20%;
width: 100%;
}
#loading-overlay {
width: 100%;
height: 100%;
position: relative;
top: -100%;
background: #000000c0;
}
#loading-text {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: x-large;
}