Fix #369 and #375: library menu is now fixed

This commit is contained in:
Renon 2018-07-20 22:16:23 +02:00 committed by Eliot Berriot
parent 08c26f3e74
commit a467e400ac
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
4 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1 @@
Fix the most annoying offset in the whole fediverse (#369)

View File

@ -0,0 +1 @@
The navigation bar of Library is now fixed (#375)

View File

@ -194,6 +194,7 @@ html, body {
.main.pusher, .footer {
@include media(">desktop") {
margin-left: 350px !important;
margin-top: 50px;
}
transform: none !important;
}

View File

@ -42,7 +42,7 @@ export default {
.library.pusher > .ui.secondary.menu {
@include media(">tablet") {
margin: 0 2.5rem;
padding: 0 2.5rem;
}
.item {
padding-top: 1.5em;
@ -75,7 +75,30 @@ export default {
}
}
}
.ui.secondary.pointing.menu {
border: none;
box-shadow: inset 0px -2px 0px 0px rgba(34, 36, 38, 0.15);
.ui.item {
border: none;
border-bottom-style: none;
margin-bottom: 0px;
&.active {
box-shadow: inset 0px -2px 0px 0px #000;
}
}
}
.secondary.pointing.menu {
@include media(">desktop") {
position: fixed;
left: 350px;
right: 0px;
top: 0px;
z-index: 1;
}
background-color: white;
}
</style>