Merge pull request #78 from RicoElectrico/development

Add a phase-out banner.
development
Kamil Monicz 2024-01-26 17:13:37 +01:00 zatwierdzone przez GitHub
commit c5b5a3fdcb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 44 dodań i 5 usunięć

Wyświetl plik

@ -17,11 +17,47 @@
opacity: 0.7 !important;
}
#map {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
.notification-banner > p > a {
color: #3ec487;
}
@media (max-width: 600px) {
.notification-banner {
background-color: rgb(255, 255, 157);
width: 100%;
height: 54px;
z-index: 1000;
padding: 4px;
font-weight: bold;
text-align: center;
}
}
@media (max-width: 600px) {
#map {
position: absolute;
top: 54px;
bottom: 0;
width: 100%;
}
}
@media (min-width: 600px) {
.notification-banner {
background-color: rgb(255, 255, 157);
width: 100%;
height: 32px;
z-index: 1000;
padding: 4px;
font-weight: bold;
text-align: center;
}
}
@media (min-width: 600px) {
#map {
position: absolute;
top: 32px;
bottom: 0;
width: 100%;
}
}
.delete {

Wyświetl plik

@ -46,6 +46,9 @@
</head>
<body>
<div class="notification-banner">
<p>Korzystasz ze starej wersji aplikacji. Zapraszamy na <a href="https://openaedmap.org/pl/#map=5/51.8/19.53">OpenAEDMap.org</a>!</p>
</div>
<nav aria-label="main navigation" class="navbar is-success pl-1">
<div class="navbar-brand">
<a class="has-text-weight-light navbar-item has-text-white-ter is-size-4 is-size-5-mobile pr-1 pl-2" href="#">