aed-mapa/web/css/main.css

279 wiersze
4.9 KiB
CSS

html {
overflow-y: scroll;
overflow-y: hidden;
}
a {
text-decoration: none;
color: #007044;
}
body {
margin: 0;
padding: 0;
}
.button[disabled] {
opacity: 0.7 !important;
}
#map {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
}
.delete {
align-self: flex-start;
}
@media (min-width: 500px) {
.sidebar {
position: absolute;
z-index: 1;
margin: 0.5rem !important;
width: 425px;
border-radius: 10px;
box-shadow: 0 .5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.02);
max-height: 90vh;
overflow: auto !important;
z-index: 10 !important;
}
}
@media (max-width: 500px) {
.sidebar {
position: absolute;
margin: 0 !important;
width: 100vw;
display: block !important;
overflow-wrap: break-word;
max-height: 85vh;
z-index: 10 !important;
overflow: auto !important;
}
}
@media (min-width: 500px) {
.sidebar-right {
position: relative;
float: right;
top: 50px;
z-index: 1;
margin: 0.5rem !important;
width: 375px;
border-radius: 10px;
box-shadow: 0 .5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.02);
max-height: 90vh;
overflow: auto !important;
border: 2px solid hsl(0, 0%, 96%);
}
}
@media (max-width: 500px) {
.sidebar-right {
position: absolute;
margin: 0 !important;
width: 100vw;
display: block !important;
overflow-wrap: break-word;
max-height: 85vh;
z-index: 10 !important;
overflow: auto !important;
}
}
.card {
z-index: 1;
}
#sidebar-card-image {
margin-left: 10px;
margin-top: 8px;
margin-bottom: 8px;
max-height: 60px;
padding: 0;
display: block;
position: relative;
}
@media (min-width: 500px) {
#sidebar-header {
border: 4px solid hsl(0, 0%, 96%);
border-radius: 8px;
}
}
@media (max-width: 500px) {
#sidebar-header {
border-top: 0;
border-left: 0;
border-right: 0;
}
}
.navbar.is-success {
background-color: #008954eb !important;
}
.footer-partners.is-white {
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.94));
}
.card-content {
border-left: 5px solid hsl(0, 0%, 96%);
border-right: 5px solid hsl(0, 0%, 96%);
}
.has-background-green {
background-color: #008954eb !important;
color: #effaf5 !important;
}
.navbar-menu.is-active {
background-color: #008954eb !important;
}
.button.is-floating {
position: fixed;
width: 60px;
height: 60px;
bottom: 40px;
right: 40px;
border-radius: 100px;
text-align: center;
font-size: 1.6rem;
box-shadow: 0 .0625em .125em rgba(10, 10, 10, .05);
z-index: 3;
}
.button.is-floating.is-large {
width: 90px;
height: 90px;
font-size: 2.6rem
}
.button.is-floating.is-medium {
width: 75px;
height: 75px;
font-size: 2.2rem
}
.button.is-floating.is-small {
width: 45px;
height: 45px;
font-size: 1.2rem;
border-radius: 50px
}
[class*=" icon"],
[class^=icon] {
display: inline-block;
width: 1em;
height: 1em;
stroke-width: 0;
stroke: currentColor;
fill: currentColor;
line-height: 1;
position: relative;
vertical-align: middle;
}
.navbar-item,
.navbar-link {
color: #ffffff;
}
.osm-caption-mobile {
width: 200px;
}
.modal-card {
border: 5px solid hsl(0, 0%, 96%);
box-shadow: 0 .5em 1em -.125em rgba(10, 10, 10, .1), 0 0 0 1px rgba(10, 10, 10, .02);
border-radius: .25rem;
}
@media (min-width: 1001px) {
.modal-content,
.modal-card {
width: 1000px !important;
}
}
.footer-partners {
left: 0;
position: fixed;
right: 0;
bottom: 0;
z-index: 9;
min-height: 3.0rem;
}
.mapboxgl-ctrl-bottom-right,
.maplibregl-ctrl-bottom-right {
bottom: 68px !important;
}
.mapboxgl-ctrl-top-right,
.maplibregl-ctrl-top-right {
top: 60px !important;
}
.add-button {
bottom: 72px !important;
}
.attrib {
justify-content: flex-end;
margin-left: auto;
position: absolute;
align-items: stretch;
display: flex;
bottom: 0;
right: 0;
}
.image-mobile {
height: 40px;
}
.image-gugik {
height: 40px;
width: 73px;
}
.image-fundacja {
height: 40px;
width: 170px;
}
.span-partners {
font-size: 0.80em !important;
}
.smaller-text {
font-size: 0.8em !important;
}
.mapboxgl-ctrl-group, .maplibregl-ctrl-group
{
background-color: #f8f8f8cc !important;
}
.mapboxgl-ctrl-group button, .maplibregl-ctrl-group button {
width: 44px !important;
height: 44px !important;
}
.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon,
.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon,
.mapboxgl-ctrl-geolocate {
filter: contrast(24%);
}