mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-25 07:48:54 +00:00
45 lines
766 B
SCSS
45 lines
766 B
SCSS
.fixed-button {
|
|
position: fixed;
|
|
right: 1.5rem;
|
|
font-size: 1rem;
|
|
line-height: 1.5rem;
|
|
padding: 0.5rem 0.625rem;
|
|
color: $global-font-secondary-color;
|
|
background-color: $header-background-color;
|
|
@include z-index(1);
|
|
@include border-radius(1.25rem);
|
|
@include transition(color 0.4s ease);
|
|
@include blur;
|
|
@extend .print-d-none;
|
|
|
|
&:hover,
|
|
&:active {
|
|
color: $global-font-color;
|
|
cursor: pointer;
|
|
}
|
|
|
|
&:active,
|
|
&:focus,
|
|
&:hover {
|
|
outline: none;
|
|
}
|
|
|
|
[data-theme='dark'] & {
|
|
color: $global-font-secondary-color-dark;
|
|
background-color: $header-background-color-dark;
|
|
|
|
&:hover,
|
|
&:active {
|
|
color: $global-font-color-dark;
|
|
}
|
|
}
|
|
}
|
|
|
|
.back-to-top {
|
|
bottom: 1.5rem;
|
|
}
|
|
|
|
.view-comments {
|
|
bottom: 4.5rem;
|
|
}
|