LoveIt/assets/css/_partial/_dynamic-to-top.scss

38 lines
765 B
SCSS
Raw Normal View History

#dynamic-to-top {
display: none;
overflow: hidden;
width: auto;
z-index: 100;
position: fixed;
bottom: 2rem;
right: 2rem;
top: auto;
left: auto;
2020-03-16 03:59:51 +01:00
font-size: 1rem;
line-height: 1.3rem;
padding: .6rem .6rem;
color: $global-font-secondary-color;
background: $header-background-color;
2020-03-16 03:59:51 +01:00
border: 1px solid darken($global-border-color, 10%);
border-radius: 2rem;
&:hover, &:active {
color: $global-font-color;
cursor: pointer;
}
&:active, &:focus, &:hover {
outline: none;
}
.dark-theme & {
color: $global-font-secondary-color-dark;
background: $header-background-color-dark;
2020-03-16 03:59:51 +01:00
border-color: darken($global-border-color-dark, 10%);
&:hover, &:active {
color: $global-font-color-dark;
}
}
}