SDE-Interaktivt-kort/css/map.css

233 lines
3.2 KiB
CSS
Raw Normal View History

2021-12-20 09:42:49 +00:00
body {
font-family: 'Titillium Web';
overflow: hidden;
}
.container {
float: left;
height: auto;
width: auto;
}
.wrapper {
display: flex;
border-radius: 0px;
padding: 5px;
overflow-x: auto;
overflow-y: auto;
width: 100%;
top: auto;
height: 100%;
position: absolute;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow-y: visible;
background-color: #00788A;
}
button {
font-family: 'Titillium Web';
}
h2 {
font-family: 'Titillium Web';
}
p {
font-family: 'Titillium Web';
}
.areas div {
background-color: #00788a57;
border-radius: 15px;
transform: rotate(3deg);
position: absolute;
}
.area {
display: none;
}
.area.show {
display: block;
animation:scale-up-center 0.5s linear infinite alternate both;
}
@keyframes scale-up-center{
from {
transform: scale(.9) rotate(3deg);
background-color: #ed6c4d5e;
}
to {
transform: scale(1) rotate(3deg);
background-color: #b12e0e5e;
}
}
.backbtn {
background-color: #00788A;
color: white;
padding: 14px;
font-size: 16px;
border: none;
cursor: pointer;
}
.backbtn:hover {
background-color: rgba(221, 221, 221, 0.329);
}
.close {
color: #FFFFFF;
float: right;
font-size: 28px;
font-weight: bold;
padding: 5px;
}
.close:hover,
.close:focus {
text-decoration: none;
cursor: pointer;
}
#myInput {
box-sizing: border-box;
background-position: 14px 12px;
background-repeat: no-repeat;
font-size: 16px;
padding: 14px 20px 12px 15px;
border: none;
border-bottom: 1px solid #ddd;
}
#myInput:focus {outline: 3px solid #ddd;}
.map-choice-wrapper {
background-color: rgba(0, 0, 0, 0.37);
position: absolute;
z-index: 500;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
}
.map-choice {
background-color: #00788A;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
gap: 1%;
height: 10%;
width: 75%;
}
.map-choice button {
background-color: #00000059;
color: white;
border-style: none;
border-radius: 5px;
text-align: center;
font-size: small;
height: 45%;
width: 48%;
}
.map-choice button:hover {
cursor: pointer;
}
.area-choice-container {
display: none;
z-index: 99;
background-color: rgba(0, 0, 0, 0.6);
height: 100%;
width: 100%;
position: absolute;
}
.area-choice-container.show {
display: block;
}
.area-choice h1 {
background-color: #00788A;
margin: auto;
}
.area-list-container {
display: flex;
justify-content: left;
height: 100%;
bottom: 0px;
}
.area-list button {
height: 5%;
width: 100%;
background-color: #00788A;
color: white;
border-style: none;
text-align: center;
margin: 2px;
overflow: hidden;
border-radius: 1vh;
width: 96%;
position: relative;
left: 2%;
}
.area-list button:hover {
background-color: #00788aab;
}
.area-list {
display: flex;
flex-direction: column;
background-color: #ffffff;
width: 100%;
position: relative;
}
.choice-title {
position: relative;
text-align: center;
background-color: #00788A;
padding: 0.5%;
border-radius: 1vh;
width: 50%;
left: 25%;
}
.text-white {
color: white;
}