instant-workstation/frontend/header/css/nav.css

54 lines
953 B
CSS
Raw Permalink Normal View History

2026-08-21 18:25:07 +03:00
.nav {
align-items: center;
color: inherit;
display: flex;
flex: 1;
gap: 15px;
2026-08-26 22:44:27 +03:00
min-width: 0;
2026-08-21 18:25:07 +03:00
}
.nav-link {
color: inherit;
font-size: 15px;
font-weight: 600;
text-decoration: none;
}
.nav-link-account {
background-color: #0d6efd;
border-radius: 5px;
margin-left: auto;
padding: 5px 10px;
2026-08-26 22:44:27 +03:00
}
.news-ticker {
color: #00FF41;
display: none;
flex: 1;
margin-left: auto;
max-width: 480px;
overflow: hidden;
white-space: nowrap;
}
.news-ticker-content {
2026-09-05 13:28:49 +03:00
animation: news-ticker-animation 10s linear infinite;
animation-play-state: paused;
2026-08-26 22:44:27 +03:00
display: inline-block;
padding-left: 100%;
}
@keyframes news-ticker-animation {
from {
transform: translateX(0);
}
2026-09-05 13:28:49 +03:00
/* Finish the animation early to create a delay between announcements */
90% {
transform: translateX(-100%);
}
2026-08-26 22:44:27 +03:00
to {
transform: translateX(-100%);
}
2026-08-21 18:25:07 +03:00
}