feat: move scrollbar styles and add variables locally

This commit is contained in:
Dominik Pschenitschni 2021-10-18 14:19:36 +02:00
parent b304712b1e
commit 6195637001
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
5 changed files with 7 additions and 8 deletions

View file

@ -1,5 +1,3 @@
@import "base";
@import "attachments"; @import "attachments";
@import "gantt"; @import "gantt";
@import "tooltip"; @import "tooltip";

View file

@ -1 +0,0 @@
@import 'scrollbars';

View file

@ -1,3 +1,5 @@
@import "scrollbars";
@import "theme"; @import "theme";
@import "content"; @import "content";

View file

@ -1,3 +1,8 @@
$scrollbar-height: 8px;
$scrollbar-track-color: $grey-200;
$scrollbar-thumb-color: $grey-300;
$scrollbar-hover-color: $grey-500;
// Chrome // Chrome
::-webkit-scrollbar { ::-webkit-scrollbar {
width: $scrollbar-height; width: $scrollbar-height;

View file

@ -29,11 +29,6 @@ $vikunja-nav-logo-full-width: 164px;
$transition-duration: 150ms; $transition-duration: 150ms;
$transition: $transition-duration ease; $transition: $transition-duration ease;
$scrollbar-height: 8px;
$scrollbar-track-color: $grey-200;
$scrollbar-thumb-color: $grey-300;
$scrollbar-hover-color: $grey-500;
$button-height: 34px; $button-height: 34px;
$switch-view-height: 2.69rem; $switch-view-height: 2.69rem;