[Glitch] Move "compose" on mobile to floating action button

Port e72db6d9dd to glitch-soc
This commit is contained in:
Thibaut Girka
2018-08-31 13:34:11 +02:00
committed by ThibG
parent 70c308c4aa
commit 5f035a2a1a
3 changed files with 37 additions and 5 deletions

View File

@ -503,3 +503,27 @@
margin-left: 5px;
}
}
.floating-action-button {
position: fixed;
display: flex;
justify-content: center;
align-items: center;
width: 3.9375rem;
height: 3.9375rem;
bottom: 1.3125rem;
right: 1.3125rem;
background: darken($ui-highlight-color, 3%);
color: $white;
border-radius: 50%;
font-size: 21px;
line-height: 21px;
text-decoration: none;
box-shadow: 2px 3px 9px rgba($base-shadow-color, 0.4);
&:hover,
&:focus,
&:active {
background: lighten($ui-highlight-color, 7%);
}
}