2021-02-18 21:44:01 +01:00
|
|
|
#fixed-buttons {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fixed-button {
|
|
|
|
display: none;
|
|
|
|
z-index: 100;
|
|
|
|
position: fixed;
|
|
|
|
right: 1.5rem;
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.3rem;
|
2022-08-14 19:01:21 +02:00
|
|
|
padding: .6rem .6rem;
|
2021-02-18 21:44:01 +01:00
|
|
|
color: $global-font-secondary-color;
|
|
|
|
background: $header-background-color;
|
|
|
|
@include border-radius(2rem);
|
|
|
|
@include transition(color 0.4s ease);
|
|
|
|
|
|
|
|
@include blur;
|
|
|
|
|
2022-08-14 19:01:21 +02:00
|
|
|
&:hover, &:active {
|
2021-02-18 21:44:01 +01:00
|
|
|
color: $global-font-color;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2022-08-14 19:01:21 +02:00
|
|
|
&:active, &:focus, &:hover {
|
2021-02-18 21:44:01 +01:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2022-08-14 19:01:21 +02:00
|
|
|
[theme=dark] & {
|
2021-02-18 21:44:01 +01:00
|
|
|
color: $global-font-secondary-color-dark;
|
|
|
|
background: $header-background-color-dark;
|
|
|
|
|
2022-08-14 19:01:21 +02:00
|
|
|
&:hover, &:active {
|
2021-02-18 21:44:01 +01:00
|
|
|
color: $global-font-color-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#back-to-top {
|
|
|
|
display: block;
|
|
|
|
bottom: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#view-comments {
|
|
|
|
bottom: 4.5rem;
|
|
|
|
}
|