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

222 lines
3.1 KiB
CSS

*{
font-family: "Helvetica";
box-sizing: border-box;
}
body{
background-color: #f1f1f1;
font-size: clamp(12px, 1.2vw, 25px);
box-sizing: border-box;
}
p{
font-size: 20px;
}
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 div:first-of-type {
width: 5%;
}
.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;
}
/* HOME PUPOP */
.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;
}
/* 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;
}