mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Zmiany w wyglądzie listy pociągów
This commit is contained in:
@@ -16,6 +16,50 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.tooltip {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
|
||||
z-index: 5;
|
||||
|
||||
& > .content {
|
||||
visibility: hidden;
|
||||
width: 120px;
|
||||
background-color: #830000;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
padding: 5px 0;
|
||||
border-radius: 6px;
|
||||
|
||||
font-size: 1rem;
|
||||
|
||||
position: absolute;
|
||||
bottom: 155%;
|
||||
left: 50%;
|
||||
margin-left: -60px;
|
||||
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s;
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 50%;
|
||||
margin-left: -5px;
|
||||
border-width: 5px;
|
||||
border-style: solid;
|
||||
border-color: #aa0000 transparent transparent transparent;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover > .content {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user