Es wurde an die Darstellung auf einen iPhone bzw. ähnlichen Geräten angepasst.

This commit is contained in:
2021-04-14 17:10:01 +02:00
parent 338c3ce5e4
commit b74e9bbd69
2 changed files with 53 additions and 15 deletions
+7 -8
View File
@@ -67,19 +67,18 @@
color: white;
width: 3rem;
height: 2rem;
top: 0.5rem;
right: 0.5rem;
left: auto;
top: 0.25rem;
left: 0.25rem;
.border-radius(4px);
border: none;
.vertical-gradient(#555; #000);
.vertical-gradient(@mainColorDark; @mainColor);
> ul {
height: auto;
width: auto;
position: absolute;
right: 0;
left: 0;
top: 100%;
background: fade(black,80%);
background: fade(@mainColorDark,80%);
.border-radius(5px);
display: none;
> li {
@@ -100,7 +99,7 @@
&:hover,
&:focus {
color: white;
.vertical-gradient(#59b4fd; #0560e8);
.vertical-gradient(@mainColorLight; @mainColor);
}
}
&:first-child {
@@ -115,7 +114,7 @@
}
}
}
&:hover, &:focus, &:active {
&:hover, &:focus, &:active, &:checked {
ul {
display: block;
}