mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
chore: added active train's rolling stock vmax
This commit is contained in:
+13
-3
@@ -302,14 +302,15 @@ a.a-button {
|
||||
[data-tooltip]:hover::after,
|
||||
[data-tooltip]:focus::after {
|
||||
position: absolute;
|
||||
transform: translate(10px, -50%);
|
||||
transform: translate(0, -50%);
|
||||
|
||||
content: attr(data-tooltip);
|
||||
color: white;
|
||||
background-color: #171717;
|
||||
background-color: #333;
|
||||
box-shadow: 0 0 5px 2px #aaa;
|
||||
border-radius: 0.5em;
|
||||
padding: 0.5em;
|
||||
margin: 0 0.25em;
|
||||
margin: 0 0.5em;
|
||||
max-width: 300px;
|
||||
z-index: 100;
|
||||
}
|
||||
@@ -317,3 +318,12 @@ a.a-button {
|
||||
[data-tooltip] {
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
@include smallScreen {
|
||||
[data-tooltip]:hover::after,
|
||||
[data-tooltip]:focus::after {
|
||||
transform: translate(-50%, 2em);
|
||||
left: 50%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user