Add a phase-out banner.

main
Michał Brzozowski 2024-01-23 23:51:28 +00:00 zatwierdzone przez Kamil Monicz
rodzic 3cd037b7ab
commit ad87eeec08
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: F9FB19F1C1DC9C23
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="#">