chore: added active train's rolling stock vmax

This commit is contained in:
2024-06-03 20:09:15 +02:00
parent 26b1ec246d
commit dbd73d448d
4 changed files with 50 additions and 8 deletions
+13 -3
View File
@@ -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%;
}
}