vikunja-frontend/src/styles/theme/update-notification.scss
konrad d1a2eefca6 Improve consistency of the layout (#386)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/386
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-01-23 17:18:09 +00:00

40 lines
658 B
SCSS

.update-notification {
margin: 1rem;
display: flex;
align-items: center;
background: $warning;
padding: 0 0 0 .5rem;
border-radius: $radius;
font-size: .9rem;
color: $grey-900;
justify-content: space-between;
@media screen and (max-width: $desktop) {
& {
position: fixed;
bottom: 1rem;
margin: 0;
width: 450px;
left: calc(50vw - 225px);
}
}
@media screen and (max-width: $tablet) {
& {
position: fixed;
left: 1rem;
right: 1rem;
bottom: 1rem;
width: auto;
}
}
p {
text-align: center;
width: 100%;
}
.button {
margin-left: .5rem;
}
}