summaryrefslogtreecommitdiff
path: root/themes/LoveIt/assets/css/_partial/_fixed-button.scss
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2021-02-18 21:44:01 +0100
committerChristoph Cullmann <cullmann@kde.org>2021-02-18 21:44:01 +0100
commite9ec93a471d9a753db01b682e75c52b32adf16f2 (patch)
tree5f6d9a2b7d90852965b6d24f9db6a9198570c03b /themes/LoveIt/assets/css/_partial/_fixed-button.scss
parentbcafaafff80184537a3116de5341a8caa24d63f4 (diff)
use LoveIt theme, self hosted
Diffstat (limited to 'themes/LoveIt/assets/css/_partial/_fixed-button.scss')
-rw-r--r--themes/LoveIt/assets/css/_partial/_fixed-button.scss46
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;
+}