diff options
author | Christoph Cullmann <cullmann@kde.org> | 2022-08-14 19:01:21 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2022-08-14 19:01:21 +0200 |
commit | 51fb029ca27d67d7cd67352cdede45e5b25868f7 (patch) | |
tree | 6d8e34b2abdc757310ffe11189e926d017417bae /themes/LoveIt/assets/css/_partial/_fixed-button.scss | |
parent | 260b6803e78609e16ad3d59792f1681d9df0f1e4 (diff) |
switch back to LoveIt, other theme is deprectated
Diffstat (limited to 'themes/LoveIt/assets/css/_partial/_fixed-button.scss')
-rw-r--r-- | themes/LoveIt/assets/css/_partial/_fixed-button.scss | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/themes/LoveIt/assets/css/_partial/_fixed-button.scss b/themes/LoveIt/assets/css/_partial/_fixed-button.scss new file mode 100644 index 0000000..eaad26e --- /dev/null +++ b/themes/LoveIt/assets/css/_partial/_fixed-button.scss @@ -0,0 +1,46 @@ +#fixed-buttons { + display: none; +} + +.fixed-button { + display: none; + z-index: 100; + position: fixed; + right: 1.5rem; + font-size: 1rem; + line-height: 1.3rem; + padding: .6rem .6rem; + color: $global-font-secondary-color; + background: $header-background-color; + @include border-radius(2rem); + @include transition(color 0.4s ease); + + @include blur; + + &:hover, &:active { + color: $global-font-color; + cursor: pointer; + } + + &:active, &:focus, &:hover { + outline: none; + } + + [theme=dark] & { + color: $global-font-secondary-color-dark; + background: $header-background-color-dark; + + &:hover, &:active { + color: $global-font-color-dark; + } + } +} + +#back-to-top { + display: block; + bottom: 1.5rem; +} + +#view-comments { + bottom: 4.5rem; +} |