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.
XPPL/app/static/css/style.css

376 lines
5.5 KiB
CSS

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