You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

366 lines
5.4 KiB
CSS

@font-face {
font-family: 'metaaccanthisalternaalternate';
src: url('../fonts/metaaccanthisalternate-webfont.woff2') format('woff2'),
url('../fonts/metaaccanthisalternate-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
* {
font-family: "metaaccanthisalternaalternate";
box-sizing: border-box;
}
body {
background-color: #f1f1f1;
font-size: clamp(12px, 1.2vw, 25px);
box-sizing: border-box;
margin: 0;
padding: 0;
}
p {
font-size: 1.5em;
}
a {
text-decoration: underline;
color: inherit;
}
a:hover {
text-decoration: inherit;
color: inherit;
}
audio {
width: 100%;
}
.navigation ul {
list-style-type: none;
padding: 0;
display: flex;
justify-content: right;
}
.navigation ul li {
padding: 0.5em;
}
#map {
position: absolute;
top: 0;
left: 0;
height: 100vh;
width: 100vw;
z-index: -1;
}
.locations_list {
width: 100%;
}
.locations_list .row {
display: flex;
justify-content: space-between;
border-bottom: 1px solid black;
}
.locations_list .row img {
max-height: 2em;
}
.locations_list .row div:first-of-type {
width: 5%;
}
.locations_list .row div:nth-of-type(2) {
width: 10%;
}
.locations_list .row div:last-of-type {}
.locations_list .row div {
width: 20%;
padding: 1em;
white-space: wrap;
overflow: hidden;
text-overflow: ellipsis;
}
.locations_list .row div audio {
width: 100%;
}
.locations_list .row .delete_btn {
text-decoration: none;
background-color: black;
color: white;
padding: 0.5em;
border-radius: 1em;
}
.content_container {
padding: 1em;
}
/* FROM */
.form-control {
width: 100%;
height: 20vh;
box-sizing: border-box;
}
#audio {
margin: 4em 0;
}
.record_controls {
display: flex;
justify-content: space-between;
}
.audio_btn {
font-size: 2em;
padding: 0.5em;
text-decoration: none;
background-color: black;
border-radius: 2em;
color: white;
margin: 2em 0;
display: block;
box-sizing: border-box;
min-width: 25%;
}
.audio_btn:hover {
color: white;
}
.stop_btn {
display: none;
flex-grow: 1;
}
.record_btn .icon {
display: inline-block;
background-color: white;
width: 0.5em;
height: 0.5em;
border-radius: 100%;
margin-right: 0.5em;
}
.stop_btn .icon {
display: inline-block;
background-color: white;
width: 0.5em;
height: 0.5em;
margin-right: 0.5em;
}
.record_btn {
background-color: red;
flex-grow: 1;
}
.play_btn {
display: none;
flex-grow: 1;
position: relative;
overflow: hidden;
}
.play_btn .icon_p {
display: inline-block;
position: relative;
top: 0px;
left: 3px;
border-style: solid;
border-width: 0.3em 0 0.3em 0.6em;
border-color: transparent transparent transparent white;
margin-right: 0.5em;
z-index: 99;
}
.play_btn .icon_b {
box-sizing: border-box;
position: relative;
display: inline-block;
/* transform: scale(var(--ggs,1)); */
width: 0.5em;
height: 0.5em;
border-left: 0.15em solid;
border-right: 0.15em solid;
margin-right: 0.5em;
z-index: 99;
}
.play_btn .text {
display: inline-block;
position: relative;
z-index: 99;
}
.play_btn .progress_bar {
display: block;
background-color: rgb(115, 115, 115);
position: absolute;
top: 0em;
left: 0em;
border-radius: 2em 2em 2em 2em;
height: 100%;
border-right: 1px solid white;
z-index: 0;
}
.redo_btn {
display: none;
}
/* POPUP ON FRONTSCREEN */
.close {
float: right;
font-size: 2em;
padding: 0;
cursor: pointer;
}
.locations_popup .row div:nth-of-type(2) {
margin-bottom: 2em;
font-size: 2em;
}
.locations_popup .row {
position: fixed;
bottom: 0;
background-color: black;
color: white;
border-radius: 2em 2em 0 0;
width: 100%;
box-sizing: border-box;
margin: 0;
padding: 1em;
left: 0;
display: none;
padding-bottom: 2em;
}
#position {
position: fixed;
display: inline-block;
top: 0;
font-size: 1em;
font-family: "metaaccanthisalternaalternate";
margin: 1em;
}
#button_group {
position: fixed;
display: inline-block;
bottom: 0;
padding: 1em;
box-sizing: border-box;
}
#distance_close {
font-family: "metaaccanthisalternaalternate";
}
#button_group button,
#button_group select {
background-color: grey;
color: white;
font-size: 0.9em;
border: 1px solid white;
border-radius: 2em;
padding: 0.6em;
vertical-align: middle;
margin-top: 0.5em;
cursor: pointer;
}
#button_group select {
height: 2.8em;
margin: 0;
padding-top: 0;
padding-bottom: 0;
}
#button_group select option {
vertical-align: middle;
margin: 0;
padding-top: 0;
padding-bottom: 0;
}
#button_group img {
width: 1em;
margin-right: 0.2em;
vertical-align: middle;
}
button[type="submit"] {
background-color: grey;
color: white;
font-size: 1em;
border: 1px solid white;
border-radius: 2em;
padding: 0.8em;
vertical-align: middle;
margin-top: 0.5em;
cursor: pointer;
}
/* COMPAS */
.compass {
position: relative;
width: 40vw;
height: 40vw;
border-radius: 50%;
/* box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); */
margin: auto;
pointer-events: none;
/* display: none; */
}
.compass>.compass-circle,
.compass>.arrow,
.compass>.compass-goal {
position: absolute;
width: 90%;
height: 90%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
transition: transform 0.1s ease-out;
display: none;
pointer-events: none;
}
.compass>.compass-circle svg {
width: 100%;
height: 100%;
pointer-events: none;
}
.start-btn {
margin-bottom: auto;
}