mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
Aktualizacja widoku scenerii
This commit is contained in:
+9
-24
@@ -25,7 +25,6 @@ body {
|
||||
padding: 0;
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
overflow-y: scroll;
|
||||
|
||||
}
|
||||
|
||||
*:focus-visible {
|
||||
@@ -59,19 +58,16 @@ body {
|
||||
|
||||
.content {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
||||
z-index: 100;
|
||||
|
||||
transform: translate(-50%, -120%);
|
||||
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
|
||||
min-width: 250px;
|
||||
|
||||
background-color: gray;
|
||||
background-color: #202020;
|
||||
text-align: center;
|
||||
|
||||
border-radius: 0.5em;
|
||||
@@ -79,25 +75,14 @@ body {
|
||||
transition: opacity 0.3s;
|
||||
padding: 0.25em;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 50%;
|
||||
margin-left: -5px;
|
||||
border-width: 5px;
|
||||
border-style: solid;
|
||||
border-color: gray transparent transparent transparent;
|
||||
}
|
||||
// @include smallScreen() {
|
||||
// right: 0;
|
||||
// left: 0;
|
||||
|
||||
@include smallScreen() {
|
||||
right: 0;
|
||||
left: 0;
|
||||
|
||||
&::after {
|
||||
left: 75%;
|
||||
}
|
||||
}
|
||||
// &::after {
|
||||
// left: 75%;
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
&:hover > .content {
|
||||
|
||||
Reference in New Issue
Block a user