mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-06 16:03:52 +00:00
40 lines
753 B
SCSS
40 lines
753 B
SCSS
@use '../../../../src/theme/ontimeColours' as *;
|
|
@use '../../../../src/theme/v2Styles' as *;
|
|
|
|
.followButton {
|
|
position: fixed;
|
|
bottom: 1.5rem;
|
|
bottom: calc(1.5rem + env(safe-area-inset-bottom));
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
z-index: 1;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.25rem 1rem;
|
|
background-color: $blue-700;
|
|
color: #fff;
|
|
font-size: 1rem;
|
|
border-radius: 99px;
|
|
transition: bottom 1s;
|
|
|
|
&:active {
|
|
transition: background-color $transition-time-action;
|
|
background-color: $blue-900;
|
|
}
|
|
}
|
|
|
|
.hidden {
|
|
transition: bottom 1s;
|
|
bottom: -50px;
|
|
}
|
|
|
|
// tablet
|
|
@media (min-width: $min-tablet) {
|
|
.followButton {
|
|
font-size: 1.25rem;
|
|
gap: 1rem;
|
|
padding: 0.25rem 1rem;
|
|
}
|
|
} |